aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2019-01-03 17:49:32 +0530
committerRoopesh Chander <roop@roopc.net>2019-01-14 14:52:31 +0530
commit4a4eeb4a213eeb4fb44e6679d8f2b4cf472cc770 (patch)
tree63a5c2c6fb60749c14b61012fcf0e51343bad0ee /WireGuard
parentmacOS: Manage tunnels: Tunnel detail view (diff)
downloadwireguard-apple-4a4eeb4a213eeb4fb44e6679d8f2b4cf472cc770.tar.xz
wireguard-apple-4a4eeb4a213eeb4fb44e6679d8f2b4cf472cc770.zip
macOS: s/macMenuStatus/macStatus/g;
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to '')
-rw-r--r--WireGuard/WireGuard/Base.lproj/Localizable.strings5
-rw-r--r--WireGuard/WireGuard/UI/macOS/StatusMenu.swift4
2 files changed, 6 insertions, 3 deletions
diff --git a/WireGuard/WireGuard/Base.lproj/Localizable.strings b/WireGuard/WireGuard/Base.lproj/Localizable.strings
index b1aa979..f7c440c 100644
--- a/WireGuard/WireGuard/Base.lproj/Localizable.strings
+++ b/WireGuard/WireGuard/Base.lproj/Localizable.strings
@@ -223,7 +223,6 @@
// Mac status bar menu
-"macMenuStatus (%@)" = "Status: %@";
"macMenuNetworks (%@)" = "Networks: %@";
"macMenuNetworksInactive" = "Networks: -";
"macMenuNetworksNone" = "Networks: None";
@@ -234,3 +233,7 @@
// Mac detail view fields
"macDetailFieldKey (%@)" = "%@:";
+
+// Mac status display
+
+"macStatus (%@)" = "Status: %@";
diff --git a/WireGuard/WireGuard/UI/macOS/StatusMenu.swift b/WireGuard/WireGuard/UI/macOS/StatusMenu.swift
index a539073..b18f7b1 100644
--- a/WireGuard/WireGuard/UI/macOS/StatusMenu.swift
+++ b/WireGuard/WireGuard/UI/macOS/StatusMenu.swift
@@ -39,7 +39,7 @@ class StatusMenu: NSMenu {
}
func addStatusMenuItems() {
- let statusTitle = tr(format: "macMenuStatus (%@)", tr("tunnelStatusInactive"))
+ let statusTitle = tr(format: "macStatus (%@)", tr("tunnelStatusInactive"))
let statusMenuItem = NSMenuItem(title: statusTitle, action: #selector(manageTunnelsClicked), keyEquivalent: "")
statusMenuItem.isEnabled = false
addItem(statusMenuItem)
@@ -75,7 +75,7 @@ class StatusMenu: NSMenu {
statusText = tr("tunnelStatusRestarting")
}
- statusMenuItem.title = tr(format: "macMenuStatus (%@)", statusText)
+ statusMenuItem.title = tr(format: "macStatus (%@)", statusText)
let addresses = tunnel.tunnelConfiguration?.interface.addresses ?? []
let addressesString = addresses.map { $0.stringRepresentation }.joined(separator: ", ")