Localization: macOS: Fix localization for 'Edit' button

Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
Roopesh Chander 2020-04-11 16:56:54 +05:30
parent 20bcabbca4
commit 174a6e8e32
2 changed files with 3 additions and 1 deletions

View File

@ -349,6 +349,8 @@
"macButtonDeleteTunnels (%d)" = "Delete %d tunnels"; "macButtonDeleteTunnels (%d)" = "Delete %d tunnels";
"macButtonEdit" = "Edit";
// Mac detail/edit view fields // Mac detail/edit view fields
"macFieldKey (%@)" = "%@:"; "macFieldKey (%@)" = "%@:";

View File

@ -60,7 +60,7 @@ class TunnelDetailTableViewController: NSViewController {
let editButton: NSButton = { let editButton: NSButton = {
let button = NSButton() let button = NSButton()
button.title = tr("Edit") button.title = tr("macButtonEdit")
button.setButtonType(.momentaryPushIn) button.setButtonType(.momentaryPushIn)
button.bezelStyle = .rounded button.bezelStyle = .rounded
button.toolTip = tr("macToolTipEditTunnel") button.toolTip = tr("macToolTipEditTunnel")