dynamic translation support. closes #24

This commit is contained in:
Ilya Kitaev
2016-07-20 22:28:11 +03:00
parent 39b88daf32
commit 32ebf180ac
34 changed files with 837 additions and 314 deletions

View File

@@ -45,10 +45,11 @@ Item {
+ qsTr("<b>Enable auto donation: </b>") + wizard.settings['auto_donations_enabled'] + "<br>"
+ qsTr("<b>Auto donation amount: </b>") + wizard.settings['auto_donations_amount'] + "<br>"
+ qsTr("<b>Allow background mining: </b>") + wizard.settings['allow_background_mining'] + "<br>"
+ translationManager.emptyString
return str;
}
function updateSettingsSummary() {
settingsText.text = qsTr("An overview of your Monero configuration is below:")
settingsText.text = qsTr("An overview of your Monero configuration is below:") + translationManager.emptyString
+ "<br>"
+ buildSettingsString();
}
@@ -99,7 +100,7 @@ Item {
horizontalAlignment: Text.AlignHCenter
//renderType: Text.NativeRendering
color: "#3F3F3F"
text: qsTr("Youre all setup!")
text: qsTr("Youre all setup!") + translationManager.emptyString
}
Text {