From f7271d1c7b0f416fd52abb3133c55184ed36be8d Mon Sep 17 00:00:00 2001 From: rating89us <45968869+rating89us@users.noreply.github.com> Date: Sat, 9 May 2020 19:31:36 +0200 Subject: [PATCH] SettingsNode: add translation to Address and Port strings --- pages/settings/SettingsNode.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/settings/SettingsNode.qml b/pages/settings/SettingsNode.qml index 05c6e18f..960e7a35 100644 --- a/pages/settings/SettingsNode.qml +++ b/pages/settings/SettingsNode.qml @@ -265,8 +265,8 @@ Rectangle{ Layout.minimumWidth: 100 placeholderFontSize: 15 - daemonAddrLabelText: qsTr("Address") - daemonPortLabelText: qsTr("Port") + daemonAddrLabelText: qsTr("Address") + translationManager.emptyString + daemonPortLabelText: qsTr("Port") + translationManager.emptyString property var rna: persistentSettings.remoteNodeAddress daemonAddrText: rna.search(":") != -1 ? rna.split(":")[0].trim() : "" @@ -417,8 +417,8 @@ Rectangle{ Layout.minimumWidth: 100 Layout.bottomMargin: 20 - daemonAddrLabelText: qsTr("Bootstrap Address") - daemonPortLabelText: qsTr("Bootstrap Port") + daemonAddrLabelText: qsTr("Bootstrap Address") + translationManager.emptyString + daemonPortLabelText: qsTr("Bootstrap Port") + translationManager.emptyString daemonAddrText: persistentSettings.bootstrapNodeAddress.split(":")[0].trim() daemonPortText: { var node_split = persistentSettings.bootstrapNodeAddress.split(":");