aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2020-04-11 16:56:54 +0530
committerRoopesh Chander <roop@roopc.net>2020-04-11 16:56:54 +0530
commit174a6e8e326c831d497a74934577ab5ad38f9397 (patch)
treea139c7a402e27dbb5b6072543ce0c3687b0a08e8
parentLocalization: Add German translation (diff)
downloadwireguard-apple-174a6e8e326c831d497a74934577ab5ad38f9397.tar.xz
wireguard-apple-174a6e8e326c831d497a74934577ab5ad38f9397.zip
Localization: macOS: Fix localization for 'Edit' button
Signed-off-by: Roopesh Chander <roop@roopc.net>
-rw-r--r--WireGuard/WireGuard/Base.lproj/Localizable.strings2
-rw-r--r--WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift2
2 files changed, 3 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/Base.lproj/Localizable.strings b/WireGuard/WireGuard/Base.lproj/Localizable.strings
index 892e097a..1cc96934 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 eafa88f7..5ce3dc7e 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")