mark some strings as translatable

pull/2/head
erciccione 6 years ago
parent cd46edb23f
commit 53c3151a23
No known key found for this signature in database
GPG Key ID: 8C683AE08CD4A88C

@ -67,7 +67,7 @@ Rectangle {
font.pixelSize: 13 * scaleRatio font.pixelSize: 13 * scaleRatio
font.bold: true font.bold: true
color: "white" color: "white"
text: qsTr("Synchronizing %1").arg(syncType) text: qsTr("Synchronizing %1").arg(syncType) + translationManager.emptyString
height: 18 * scaleRatio height: 18 * scaleRatio
} }

@ -188,7 +188,7 @@ Rectangle {
id: fromDatePicker id: fromDatePicker
Layout.fillWidth: true Layout.fillWidth: true
width: 100 * scaleRatio width: 100 * scaleRatio
inputLabel.text: "Date from" inputLabel.text: qsTr("Date from") + translationManager.emptyString
onCurrentDateChanged: { onCurrentDateChanged: {
onFilterChanged() onFilterChanged()
@ -211,7 +211,7 @@ Rectangle {
id: toDatePicker id: toDatePicker
Layout.fillWidth: true Layout.fillWidth: true
width: 100 * scaleRatio width: 100 * scaleRatio
inputLabel.text: "Date to" inputLabel.text: qsTr("Date to") + translationManager.emptyString
onCurrentDateChanged: { onCurrentDateChanged: {
onFilterChanged() onFilterChanged()

@ -90,7 +90,7 @@ Rectangle {
Layout.topMargin: 12 * scaleRatio Layout.topMargin: 12 * scaleRatio
Layout.preferredWidth: statusRect.width - 80 Layout.preferredWidth: statusRect.width - 80
Layout.leftMargin: 6 Layout.leftMargin: 6
text: qsTr("WARNING: Do not reuse your Monero keys on another fork, UNLESS this fork has key reuse mitigations built in. Doing so will harm your privacy." + translationManager.emptyString) text: qsTr("WARNING: Do not reuse your Monero keys on another fork, UNLESS this fork has key reuse mitigations built in. Doing so will harm your privacy.") + translationManager.emptyString
wrapMode: Text.Wrap wrapMode: Text.Wrap
font.family: Style.fontRegular.name font.family: Style.fontRegular.name
font.pixelSize: 15 * scaleRatio font.pixelSize: 15 * scaleRatio

@ -65,7 +65,7 @@ Rectangle {
id: soloLocalDaemonsLabel id: soloLocalDaemonsLabel
fontSize: 18 fontSize: 18
color: "#D02020" color: "#D02020"
text: qsTr("(only available for local daemons)") text: qsTr("(only available for local daemons)") + translationManager.emptyString
visible: !walletManager.isDaemonLocal(appWindow.currentDaemonAddress) visible: !walletManager.isDaemonLocal(appWindow.currentDaemonAddress)
} }
@ -73,7 +73,7 @@ Rectangle {
id: soloSyncedLabel id: soloSyncedLabel
fontSize: 18 fontSize: 18
color: "#D02020" color: "#D02020"
text: qsTr("Your daemon must be synchronized before you can start mining") text: qsTr("Your daemon must be synchronized before you can start mining") + translationManager.emptyString
visible: walletManager.isDaemonLocal(appWindow.currentDaemonAddress) && !appWindow.daemonSynced visible: walletManager.isDaemonLocal(appWindow.currentDaemonAddress) && !appWindow.daemonSynced
} }

@ -256,8 +256,8 @@ Rectangle {
lineEditFontColor: "white" lineEditFontColor: "white"
lineEditBorderColor: Style.inputBorderColorActive lineEditBorderColor: Style.inputBorderColorActive
daemonAddrLabelText: qsTr("Address") daemonAddrLabelText: qsTr("Address") + translationManager.emptyString
daemonPortLabelText: qsTr("Port") daemonPortLabelText: qsTr("Port") + translationManager.emptyString
daemonAddrText: persistentSettings.bootstrapNodeAddress.split(":")[0].trim() daemonAddrText: persistentSettings.bootstrapNodeAddress.split(":")[0].trim()
daemonPortText: { daemonPortText: {
var node_split = persistentSettings.bootstrapNodeAddress.split(":"); var node_split = persistentSettings.bootstrapNodeAddress.split(":");

@ -195,7 +195,7 @@ Rectangle {
RowLayout { RowLayout {
LineEdit { LineEdit {
id: signSignatureLine id: signSignatureLine
labelText: qsTr("Signature") labelText: qsTr("Signature") + translationManager.emptyString;
placeholderText: qsTr("Signature") + translationManager.emptyString; placeholderText: qsTr("Signature") + translationManager.emptyString;
readOnly: true readOnly: true
Layout.fillWidth: true Layout.fillWidth: true
@ -245,7 +245,7 @@ Rectangle {
RowLayout { RowLayout {
LineEdit { LineEdit {
id: verifyFileLine id: verifyFileLine
labelText: qsTr("Verify file") labelText: qsTr("Verify file") + translationManager.emptyString;
placeholderText: qsTr("Filename with message to verify") + translationManager.emptyString; placeholderText: qsTr("Filename with message to verify") + translationManager.emptyString;
readOnly: false readOnly: false
Layout.fillWidth: true Layout.fillWidth: true
@ -287,7 +287,7 @@ Rectangle {
LineEditMulti { LineEditMulti {
id: verifyAddressLine id: verifyAddressLine
Layout.fillWidth: true Layout.fillWidth: true
labelText: qsTr("Address") labelText: qsTr("Address") + translationManager.emptyString;
addressValidation: true addressValidation: true
anchors.topMargin: 5 * scaleRatio anchors.topMargin: 5 * scaleRatio
placeholderText: "4.. / 8.." placeholderText: "4.. / 8.."