- 协议: InitMessage 增加 ip6/prefix6/server_ip6 字段(omitempty,向后兼容) - TUN: Device 接口新增 ConfigureIPv6, macOS 用 ifconfig inet6, Linux 用 ip -6 addr add - 路由: full 模式自动添加 ::/1+8000::/1, v6 服务器旁路 /128, resolveHosts 双栈解析 - 会话: setupTUN 解析 v6 字段并配置 TUN+路由, connectOnce 传 v6 给 stats/日志 - 统计: SetConnected(ip,ip6), Snapshot.AssignedIP6 - DB: connection_logs 增加 assigned_ip6 列 + migrateV3 幂等迁移 - UI: 状态卡片新增独立 IPv6 行, 始终可见(未获取显示 IPv6: —) - 文档: 同步 client-development.md 至服务端 IPv6 版本
85 lines
2.3 KiB
TOML
85 lines
2.3 KiB
TOML
WindowTitle = "LMVPN"
|
|
|
|
StatusLabel = "Status"
|
|
ProfileLabel = "Profile"
|
|
|
|
StateDisconnected = "Disconnected"
|
|
StateConnecting = "Connecting..."
|
|
StateConnected = "Connected"
|
|
StateReconnecting = "Reconnecting..."
|
|
StateError = "Error"
|
|
|
|
BtnConnect = "Connect"
|
|
BtnDisconnect = "Disconnect"
|
|
BtnAddProfile = "Add Profile"
|
|
BtnEdit = "Edit"
|
|
BtnDelete = "Delete"
|
|
BtnSave = "Save"
|
|
BtnCancel = "Cancel"
|
|
BtnOK = "OK"
|
|
|
|
IpLabel = "IP: {{.ip}}"
|
|
Ip6Label = "IPv6: {{.ip}}"
|
|
Ip6None = "IPv6: —"
|
|
IpNone = "IP: —"
|
|
UptimeLabel = "Uptime: {{.uptime}}"
|
|
UptimeNone = "Uptime: —"
|
|
RxLabel = "↓ {{.bytes}}"
|
|
TxLabel = "↑ {{.bytes}}"
|
|
RxZero = "↓ 0 B"
|
|
TxZero = "↑ 0 B"
|
|
|
|
DlgNoProfileTitle = "No Profile"
|
|
DlgNoProfileEditMsg = "Select a profile to edit."
|
|
DlgNoProfileConnectMsg = "Please select or create a profile first."
|
|
DlgDeleteProfileTitle = "Delete Profile"
|
|
DlgDeleteProfileMsg = 'Delete profile "{{.name}}" and its stored credentials?'
|
|
DlgProfileTitle = "Profile"
|
|
DlgValidationTitle = "Validation"
|
|
DlgValidationMsg = "Name, Host, and Username are required."
|
|
DlgDaemonError = "Daemon Error"
|
|
DlgCredentialError = "Credential Error"
|
|
DlgCredentialErrorMsg = "No password stored for this profile. Edit the profile to set it."
|
|
DlgIPCError = "IPC Error"
|
|
DlgVPNError = "VPN Error"
|
|
DlgSaveError = "Save Error"
|
|
DlgKeychainError = "Keychain Error"
|
|
DlgError = "Error"
|
|
|
|
BtnResetDB = "Reset Database"
|
|
DlgResetDBTitle = "Reset Database"
|
|
DlgResetDBMsg = "Delete all profiles and connection logs? This cannot be undone."
|
|
|
|
TrayShowWindow = "Show Window"
|
|
TrayConnect = "Connect"
|
|
TrayDisconnect = "Disconnect"
|
|
TrayLanguage = "Language"
|
|
TrayLanguageAuto = "Auto"
|
|
TrayQuit = "Quit"
|
|
|
|
FieldName = "Name"
|
|
FieldProtocol = "Protocol"
|
|
FieldHost = "Host"
|
|
FieldServerIPs = "Server IPs (CDN)"
|
|
FieldPort = "Port"
|
|
FieldPath = "Path"
|
|
FieldUsername = "Username"
|
|
FieldPassword = "Password"
|
|
FieldAuthMode = "Auth Mode"
|
|
FieldRoutingMode = "Routing Mode"
|
|
FieldCustomCIDRs = "Custom CIDRs (comma-separated)"
|
|
FieldMTUOverride = "MTU Override"
|
|
|
|
PlaceholderCIDRs = "10.0.0.0/8, 172.16.0.0/12"
|
|
PlaceholderMTU = "0 = use server MTU"
|
|
PlaceholderPasswordUnchanged = "(unchanged)"
|
|
PlaceholderServerIPs = "e.g. 1.2.3.4, 5.6.7.8"
|
|
|
|
AuthModeBoth = "Both (JWT + Password)"
|
|
AuthModeJWT = "JWT"
|
|
AuthModePassword = "Password"
|
|
|
|
RoutingModeFull = "Full Tunnel"
|
|
RoutingModeSplit = "Split Tunnel"
|
|
RoutingModeCustom = "Custom"
|