mirror of
https://github.com/passepartoutvpn/wireguard-apple.git
synced 2025-01-18 22:39:08 +00:00
macOS: s/macMenuStatus/macStatus/g;
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
parent
ada7db3dca
commit
4a4eeb4a21
@ -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: %@";
|
||||
|
@ -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: ", ")
|
||||
|
Loading…
Reference in New Issue
Block a user