Fix strings in OnDemandRulesView
This commit is contained in:
@@ -11,17 +11,17 @@ private enum OnDemandMode: String, CaseIterable, Identifiable {
|
||||
|
||||
var name: String {
|
||||
switch self {
|
||||
case .disabled: "Disabled"
|
||||
case .alwaysOn: "Always On"
|
||||
case .enabled: "Enabled"
|
||||
case .disabled: String(localized: "Disabled")
|
||||
case .alwaysOn: String(localized: "Always On")
|
||||
case .enabled: String(localized: "Enabled")
|
||||
}
|
||||
}
|
||||
|
||||
var description: String {
|
||||
switch self {
|
||||
case .disabled: "VPN will not connect automatically."
|
||||
case .alwaysOn: "Automatically connect VPN on any network."
|
||||
case .enabled: "Automatically connect or disconnect VPN based on rules."
|
||||
case .disabled: String(localized: "VPN will not connect automatically.")
|
||||
case .alwaysOn: String(localized: "Automatically connect VPN on any network.")
|
||||
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" : {
|
||||
"localizations" : {
|
||||
"zh-Hans" : {
|
||||
@@ -2798,6 +2818,16 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"VPN will not connect automatically." : {
|
||||
"localizations" : {
|
||||
"zh-Hans" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "VPN 不会自动连接。"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"What is QRS" : {
|
||||
"localizations" : {
|
||||
"zh-Hans" : {
|
||||
@@ -2860,4 +2890,4 @@
|
||||
}
|
||||
},
|
||||
"version" : "1.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user