From a2f01ea541e1e09956f4e7ea206d2011bd01ea12 Mon Sep 17 00:00:00 2001 From: Roy Jacobs Date: Thu, 9 Mar 2017 01:28:24 +0100 Subject: [PATCH] Added missing Receive/Settings/Sign/Transfer translations --- pages/Receive.qml | 4 ++-- pages/Settings.qml | 12 ++++++------ pages/Sign.qml | 4 ++-- pages/Transfer.qml | 8 ++++---- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/pages/Receive.qml b/pages/Receive.qml index 4a2f4fcd..889ee534 100644 --- a/pages/Receive.qml +++ b/pages/Receive.qml @@ -241,7 +241,7 @@ Rectangle { shadowPressedColor: "#B32D00" releasedColor: "#FF6C3C" pressedColor: "#FF4304" - text: qsTr("Generate") + text: qsTr("Generate") + translationManager.emptyString; anchors.right: parent.right onClicked: { appWindow.persistentSettings.payment_id = appWindow.currentWallet.generatePaymentId(); @@ -379,7 +379,7 @@ Rectangle { id: qrMenu title: "QrCode" MenuItem { - text: qsTr("Save As") + text: qsTr("Save As") + translationManager.emptyString; onTriggered: qrFileDialog.open() } } diff --git a/pages/Settings.qml b/pages/Settings.qml index 09483785..10ccb64a 100644 --- a/pages/Settings.qml +++ b/pages/Settings.qml @@ -117,7 +117,7 @@ Rectangle { shadowPressedColor: "#B32D00" releasedColor: "#FF6C3C" pressedColor: "#FF4304" - text: qsTr("Show seed") + text: qsTr("Show seed") + translationManager.emptyString Layout.alignment: Qt.AlignRight onClicked: { settingsPasswordDialog.open(); @@ -225,7 +225,7 @@ Rectangle { Layout.preferredWidth: 200 Layout.fillWidth: true text: (daemonAddress !== undefined) ? daemonAddress[0] : "" - placeholderText: qsTr("Hostname / IP") + placeholderText: qsTr("Hostname / IP") + translationManager.emptyString } @@ -234,7 +234,7 @@ Rectangle { Layout.preferredWidth: 100 Layout.fillWidth: true text: (daemonAddress !== undefined) ? daemonAddress[1] : "18081" - placeholderText: qsTr("Port") + placeholderText: qsTr("Port") + translationManager.emptyString } } @@ -253,7 +253,7 @@ Rectangle { Layout.preferredWidth: 100 Layout.fillWidth: true text: persistentSettings.daemonUsername - placeholderText: qsTr("Username") + placeholderText: qsTr("Username") + translationManager.emptyString } @@ -262,7 +262,7 @@ Rectangle { Layout.preferredWidth: 100 Layout.fillWidth: true text: persistentSettings.daemonPassword - placeholderText: qsTr("Password") + placeholderText: qsTr("Password") + translationManager.emptyString echoMode: TextInput.Password } @@ -400,7 +400,7 @@ Rectangle { id: daemonConsolePopup height:500 width:800 - title: qsTr("Daemon log") + title: qsTr("Daemon log") + translationManager.emptyString onAccepted: { close(); } diff --git a/pages/Sign.qml b/pages/Sign.qml index a5ace1a4..5edf0767 100644 --- a/pages/Sign.qml +++ b/pages/Sign.qml @@ -192,7 +192,7 @@ Rectangle { FileDialog { id: signFileDialog - title: "Please choose a file to sign" + title: qsTr("Please choose a file to sign") + translationManager.emptyString; folder: "file://" nameFilters: [ "*"] @@ -377,7 +377,7 @@ Rectangle { FileDialog { id: verifyFileDialog - title: "Please choose a file to verify" + title: qsTr("Please choose a file to verify") + translationManager.emptyString; folder: "file://" nameFilters: [ "*"] diff --git a/pages/Transfer.qml b/pages/Transfer.qml index 84542148..6714d248 100644 --- a/pages/Transfer.qml +++ b/pages/Transfer.qml @@ -41,7 +41,7 @@ Rectangle { signal sweepUnmixableClicked() color: "#F0EEEE" - property string startLinkText: " (Start daemon)" + property string startLinkText: qsTr(" (Start daemon)") + translationManager.emptyString property bool showAdvanced: false function scaleValueToMixinCount(scaleValue) { @@ -462,7 +462,7 @@ Rectangle { Label { id: costLabel fontSize: 14 - text: qsTr("Transaction cost") + text: qsTr("Transaction cost") + translationManager.emptyString anchors.right: parent.right } } @@ -581,7 +581,7 @@ Rectangle { //SignTxDialog FileDialog { id: signTxDialog - title: "Please choose a file" + title: qsTr("Please choose a file") + translationManager.emptyString folder: "file://" +moneroAccountsDir nameFilters: [ "Unsigned transfers (*)"] @@ -642,7 +642,7 @@ Rectangle { //SignTxDialog FileDialog { id: submitTxDialog - title: "Please choose a file" + title: qsTr("Please choose a file") + translationManager.emptyString folder: "file://" +moneroAccountsDir nameFilters: [ "signed transfers (*)"]