From 6dcd2b76faaac7274bb0c49aefa42613b71b05be Mon Sep 17 00:00:00 2001 From: erciccione Date: Tue, 16 Oct 2018 12:32:37 +0100 Subject: [PATCH] fix strings not marked as translatable --- components/HistoryTable.qml | 6 +++--- pages/Sign.qml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/HistoryTable.qml b/components/HistoryTable.qml index d5c9879c..0077c4d2 100644 --- a/components/HistoryTable.qml +++ b/components/HistoryTable.qml @@ -151,7 +151,7 @@ ListView { anchors.leftMargin: 18 * scaleRatio font.family: MoneroComponents.Style.fontLight.name font.pixelSize: 14 * scaleRatio - text: isOut ? "Sent" : "Received" + text: isOut ? qsTr("Sent") + translationManager.emptyString : qsTr("Received") + translationManager.emptyString color: "#808080" } @@ -218,7 +218,7 @@ ListView { address = TxUtils.destinationsToAddress(destinations); if(address){ var truncated = TxUtils.addressTruncate(address); - return "To " + truncated; + return qsTr("To ") + translationManager.emptyString + truncated; } else { return "Unknown recipient"; } @@ -293,7 +293,7 @@ ListView { anchors.left: parent.left anchors.leftMargin: 30 * scaleRatio - labelHeader: "Transaction ID" + labelHeader: QsTr("Transaction ID") + translationManager.emptyString labelValue: hash.substring(0, 18) + "..." copyValue: hash } diff --git a/pages/Sign.qml b/pages/Sign.qml index 029be599..31c6e372 100644 --- a/pages/Sign.qml +++ b/pages/Sign.qml @@ -151,7 +151,7 @@ Rectangle { RowLayout { LineEdit { id: signFileLine - labelText: "Message from file" + labelText: qsTr("Message from file") + translationManager.emptyString placeholderText: qsTr("Path to file") + translationManager.emptyString; readOnly: false Layout.fillWidth: true @@ -218,7 +218,7 @@ Rectangle { LineEdit { id: verifyMessageLine Layout.fillWidth: true - labelText: qsTr("Verify message") + labelText: qsTr("Verify message") + translationManager.emptyString; placeholderText: qsTr("Message to verify") + translationManager.emptyString; readOnly: false }