diff --git a/WireGuard/WireGuard/Base.lproj/Localizable.strings b/WireGuard/WireGuard/Base.lproj/Localizable.strings index 892e097..1cc9693 100644 --- a/WireGuard/WireGuard/Base.lproj/Localizable.strings +++ b/WireGuard/WireGuard/Base.lproj/Localizable.strings @@ -349,6 +349,8 @@ "macButtonDeleteTunnels (%d)" = "Delete %d tunnels"; +"macButtonEdit" = "Edit"; + // Mac detail/edit view fields "macFieldKey (%@)" = "%@:"; diff --git a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift index eafa88f..5ce3dc7 100644 --- a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift +++ b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift @@ -60,7 +60,7 @@ class TunnelDetailTableViewController: NSViewController { let editButton: NSButton = { let button = NSButton() - button.title = tr("Edit") + button.title = tr("macButtonEdit") button.setButtonType(.momentaryPushIn) button.bezelStyle = .rounded button.toolTip = tr("macToolTipEditTunnel")