fix strings not marked as translatable

This commit is contained in:
erciccione 2018-10-16 12:32:37 +01:00
parent 3aa6da058a
commit 6dcd2b76fa
No known key found for this signature in database
GPG Key ID: 8C683AE08CD4A88C
2 changed files with 5 additions and 5 deletions

View File

@ -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
}

View File

@ -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
}