aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2019-03-09 16:07:48 +0530
committerJason A. Donenfeld <Jason@zx2c4.com>2019-03-18 06:46:56 +0100
commitd748382fce26d8e402c4fde71956e94686f97063 (patch)
treefd7bd5cfb74c296e12997629c2939c9f29be0fae
parenton-demand: macOS: Tunnel detail: List SSIDs (diff)
downloadwireguard-apple-d748382fce26d8e402c4fde71956e94686f97063.tar.xz
wireguard-apple-d748382fce26d8e402c4fde71956e94686f97063.zip
on-demand: "Only selected SSIDs" -> "Only these SSIDs"
Signed-off-by: Roopesh Chander <roop@roopc.net>
-rw-r--r--WireGuard/WireGuard/Base.lproj/Localizable.strings4
-rw-r--r--WireGuard/WireGuard/UI/ActivateOnDemandViewModel.swift4
2 files changed, 4 insertions, 4 deletions
diff --git a/WireGuard/WireGuard/Base.lproj/Localizable.strings b/WireGuard/WireGuard/Base.lproj/Localizable.strings
index 6150a0ae..31e9653d 100644
--- a/WireGuard/WireGuard/Base.lproj/Localizable.strings
+++ b/WireGuard/WireGuard/Base.lproj/Localizable.strings
@@ -87,8 +87,8 @@
"tunnelOnDemandSSIDsKey" = "SSIDs";
"tunnelOnDemandAnySSID" = "Any SSID";
-"tunnelOnDemandOnlySelectedSSIDs" = "Only selected SSIDs";
-"tunnelOnDemandExceptSelectedSSIDs" = "Except selected SSIDs";
+"tunnelOnDemandOnlyTheseSSIDs" = "Only these SSIDs";
+"tunnelOnDemandExceptTheseSSIDs" = "Except these SSIDs";
"tunnelOnDemandOnlySSID (%d)" = "Only %d SSID";
"tunnelOnDemandOnlySSIDs (%d)" = "Only %d SSIDs";
"tunnelOnDemandExceptSSID (%d)" = "Except %d SSID";
diff --git a/WireGuard/WireGuard/UI/ActivateOnDemandViewModel.swift b/WireGuard/WireGuard/UI/ActivateOnDemandViewModel.swift
index c7d01739..a4063933 100644
--- a/WireGuard/WireGuard/UI/ActivateOnDemandViewModel.swift
+++ b/WireGuard/WireGuard/UI/ActivateOnDemandViewModel.swift
@@ -36,8 +36,8 @@ class ActivateOnDemandViewModel {
var localizedUIString: String {
switch self {
case .anySSID: return tr("tunnelOnDemandAnySSID")
- case .onlySpecificSSIDs: return tr("tunnelOnDemandOnlySelectedSSIDs")
- case .exceptSpecificSSIDs: return tr("tunnelOnDemandExceptSelectedSSIDs")
+ case .onlySpecificSSIDs: return tr("tunnelOnDemandOnlyTheseSSIDs")
+ case .exceptSpecificSSIDs: return tr("tunnelOnDemandExceptTheseSSIDs")
}
}
}