Localization: macOS: Fix localization for 'Edit' button
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
parent
20bcabbca4
commit
174a6e8e32
|
@ -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 (%@)" = "%@:";
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue