mark some strings as translatable

This commit is contained in:
erciccione 2018-06-26 13:28:31 +03:00
parent cd46edb23f
commit 53c3151a23
No known key found for this signature in database
GPG key ID: 8C683AE08CD4A88C
6 changed files with 11 additions and 11 deletions

View file

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

View file

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

View file

@ -90,7 +90,7 @@ Rectangle {
Layout.topMargin: 12 * scaleRatio
Layout.preferredWidth: statusRect.width - 80
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
font.family: Style.fontRegular.name
font.pixelSize: 15 * scaleRatio

View file

@ -65,7 +65,7 @@ Rectangle {
id: soloLocalDaemonsLabel
fontSize: 18
color: "#D02020"
text: qsTr("(only available for local daemons)")
text: qsTr("(only available for local daemons)") + translationManager.emptyString
visible: !walletManager.isDaemonLocal(appWindow.currentDaemonAddress)
}
@ -73,7 +73,7 @@ Rectangle {
id: soloSyncedLabel
fontSize: 18
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
}

View file

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

View file

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