Fix strings in OnDemandRulesView
This commit is contained in:
@@ -11,17 +11,17 @@ private enum OnDemandMode: String, CaseIterable, Identifiable {
|
|||||||
|
|
||||||
var name: String {
|
var name: String {
|
||||||
switch self {
|
switch self {
|
||||||
case .disabled: "Disabled"
|
case .disabled: String(localized: "Disabled")
|
||||||
case .alwaysOn: "Always On"
|
case .alwaysOn: String(localized: "Always On")
|
||||||
case .enabled: "Enabled"
|
case .enabled: String(localized: "Enabled")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var description: String {
|
var description: String {
|
||||||
switch self {
|
switch self {
|
||||||
case .disabled: "VPN will not connect automatically."
|
case .disabled: String(localized: "VPN will not connect automatically.")
|
||||||
case .alwaysOn: "Automatically connect VPN on any network."
|
case .alwaysOn: String(localized: "Automatically connect VPN on any network.")
|
||||||
case .enabled: "Automatically connect or disconnect VPN based on rules."
|
case .enabled: String(localized: "Automatically connect or disconnect VPN based on rules.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+31
-1
@@ -287,6 +287,26 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Automatically connect or disconnect VPN based on rules." : {
|
||||||
|
"localizations" : {
|
||||||
|
"zh-Hans" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "根据规则自动连接或断开 VPN 连接。"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Automatically connect VPN on any network." : {
|
||||||
|
"localizations" : {
|
||||||
|
"zh-Hans" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "在任何网络上自动连接 VPN。"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Browse" : {
|
"Browse" : {
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
"zh-Hans" : {
|
"zh-Hans" : {
|
||||||
@@ -2798,6 +2818,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"VPN will not connect automatically." : {
|
||||||
|
"localizations" : {
|
||||||
|
"zh-Hans" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "VPN 不会自动连接。"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"What is QRS" : {
|
"What is QRS" : {
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
"zh-Hans" : {
|
"zh-Hans" : {
|
||||||
@@ -2860,4 +2890,4 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version" : "1.0"
|
"version" : "1.0"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user