Apply translation for "normal" mode

This commit is contained in:
Ilya Kitaev 2016-07-19 23:45:12 +03:00
parent a9339838ac
commit 39b88daf32
10 changed files with 122 additions and 134 deletions

View file

@ -100,7 +100,7 @@ Rectangle {
spacing: 6 spacing: 6
Label { Label {
text: qsTr("Balance") text: qsTr("Balance") + translationManager.emptyString
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: 50 anchors.leftMargin: 50
tipText: qsTr("Test tip 1<br/><br/>line 2") tipText: qsTr("Test tip 1<br/><br/>line 2")

View file

@ -125,8 +125,16 @@ ApplicationWindow {
function initialize() { function initialize() {
console.log("initializing..") console.log("initializing..")
// setup language
var locale = persistentSettings.locale
if (locale !== "") {
translationManager.setLanguage(locale.split("_")[0]);
}
middlePanel.paymentClicked.connect(handlePayment); middlePanel.paymentClicked.connect(handlePayment);
if (typeof wizard.settings['wallet'] !== 'undefined') { if (typeof wizard.settings['wallet'] !== 'undefined') {
wallet = wizard.settings['wallet']; wallet = wizard.settings['wallet'];
} else { } else {
@ -262,6 +270,7 @@ ApplicationWindow {
Settings { Settings {
id: persistentSettings id: persistentSettings
property string language property string language
property string locale
property string account_name property string account_name
property string wallet_path property string wallet_path
property bool auto_donations_enabled : true property bool auto_donations_enabled : true

View file

@ -582,7 +582,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../wizard/WizardMain.qml" line="308"/> <location filename="../wizard/WizardMain.qml" line="309"/>
<source>USE MONERO</source> <source>USE MONERO</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -666,13 +666,12 @@
<context> <context>
<name>WizardWelcome</name> <name>WizardWelcome</name>
<message> <message>
<location filename="../wizard/WizardWelcome.qml" line="49"/> <location filename="../wizard/WizardWelcome.qml" line="69"/>
<location filename="../wizard/WizardWelcome.qml" line="73"/>
<source>Welcome</source> <source>Welcome</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../wizard/WizardWelcome.qml" line="86"/> <location filename="../wizard/WizardWelcome.qml" line="82"/>
<source>Please choose a language and regional format.</source> <source>Please choose a language and regional format.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -680,75 +679,75 @@
<context> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.qml" line="140"/> <location filename="../main.qml" line="148"/>
<location filename="../main.qml" line="195"/> <location filename="../main.qml" line="203"/>
<location filename="../main.qml" line="224"/> <location filename="../main.qml" line="232"/>
<source>Error</source> <source>Error</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="141"/> <location filename="../main.qml" line="149"/>
<source>Couldn&apos;t open wallet: </source> <source>Couldn&apos;t open wallet: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="196"/> <location filename="../main.qml" line="204"/>
<source>Can&apos;t create transaction: </source> <source>Can&apos;t create transaction: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="208"/> <location filename="../main.qml" line="216"/>
<source>Confirmation</source> <source>Confirmation</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="209"/> <location filename="../main.qml" line="217"/>
<source>Please confirm transaction: <source>Please confirm transaction:
</source> </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="210"/> <location filename="../main.qml" line="218"/>
<source> <source>
Address: </source> Address: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="211"/> <location filename="../main.qml" line="219"/>
<source> <source>
Payment ID: </source> Payment ID: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="212"/> <location filename="../main.qml" line="220"/>
<source> <source>
Amount: </source> Amount: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="213"/> <location filename="../main.qml" line="221"/>
<source> <source>
Fee: </source> Fee: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="225"/> <location filename="../main.qml" line="233"/>
<source>Couldn&apos;t send the money: </source> <source>Couldn&apos;t send the money: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="228"/> <location filename="../main.qml" line="236"/>
<source>Information</source> <source>Information</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="229"/> <location filename="../main.qml" line="237"/>
<source>Money sent successfully</source> <source>Money sent successfully</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="300"/> <location filename="../main.qml" line="309"/>
<source>Initializing Wallet...</source> <source>Initializing Wallet...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View file

@ -582,7 +582,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../wizard/WizardMain.qml" line="308"/> <location filename="../wizard/WizardMain.qml" line="309"/>
<source>USE MONERO</source> <source>USE MONERO</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -666,13 +666,12 @@
<context> <context>
<name>WizardWelcome</name> <name>WizardWelcome</name>
<message> <message>
<location filename="../wizard/WizardWelcome.qml" line="49"/> <location filename="../wizard/WizardWelcome.qml" line="69"/>
<location filename="../wizard/WizardWelcome.qml" line="73"/>
<source>Welcome</source> <source>Welcome</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../wizard/WizardWelcome.qml" line="86"/> <location filename="../wizard/WizardWelcome.qml" line="82"/>
<source>Please choose a language and regional format.</source> <source>Please choose a language and regional format.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -680,75 +679,75 @@
<context> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.qml" line="140"/> <location filename="../main.qml" line="148"/>
<location filename="../main.qml" line="195"/> <location filename="../main.qml" line="203"/>
<location filename="../main.qml" line="224"/> <location filename="../main.qml" line="232"/>
<source>Error</source> <source>Error</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="141"/> <location filename="../main.qml" line="149"/>
<source>Couldn&apos;t open wallet: </source> <source>Couldn&apos;t open wallet: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="196"/> <location filename="../main.qml" line="204"/>
<source>Can&apos;t create transaction: </source> <source>Can&apos;t create transaction: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="208"/> <location filename="../main.qml" line="216"/>
<source>Confirmation</source> <source>Confirmation</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="209"/> <location filename="../main.qml" line="217"/>
<source>Please confirm transaction: <source>Please confirm transaction:
</source> </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="210"/> <location filename="../main.qml" line="218"/>
<source> <source>
Address: </source> Address: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="211"/> <location filename="../main.qml" line="219"/>
<source> <source>
Payment ID: </source> Payment ID: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="212"/> <location filename="../main.qml" line="220"/>
<source> <source>
Amount: </source> Amount: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="213"/> <location filename="../main.qml" line="221"/>
<source> <source>
Fee: </source> Fee: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="225"/> <location filename="../main.qml" line="233"/>
<source>Couldn&apos;t send the money: </source> <source>Couldn&apos;t send the money: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="228"/> <location filename="../main.qml" line="236"/>
<source>Information</source> <source>Information</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="229"/> <location filename="../main.qml" line="237"/>
<source>Money sent successfully</source> <source>Money sent successfully</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="300"/> <location filename="../main.qml" line="309"/>
<source>Initializing Wallet...</source> <source>Initializing Wallet...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View file

@ -582,7 +582,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../wizard/WizardMain.qml" line="308"/> <location filename="../wizard/WizardMain.qml" line="309"/>
<source>USE MONERO</source> <source>USE MONERO</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -666,13 +666,12 @@
<context> <context>
<name>WizardWelcome</name> <name>WizardWelcome</name>
<message> <message>
<location filename="../wizard/WizardWelcome.qml" line="49"/> <location filename="../wizard/WizardWelcome.qml" line="69"/>
<location filename="../wizard/WizardWelcome.qml" line="73"/>
<source>Welcome</source> <source>Welcome</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../wizard/WizardWelcome.qml" line="86"/> <location filename="../wizard/WizardWelcome.qml" line="82"/>
<source>Please choose a language and regional format.</source> <source>Please choose a language and regional format.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -680,75 +679,75 @@
<context> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.qml" line="140"/> <location filename="../main.qml" line="148"/>
<location filename="../main.qml" line="195"/> <location filename="../main.qml" line="203"/>
<location filename="../main.qml" line="224"/> <location filename="../main.qml" line="232"/>
<source>Error</source> <source>Error</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="141"/> <location filename="../main.qml" line="149"/>
<source>Couldn&apos;t open wallet: </source> <source>Couldn&apos;t open wallet: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="196"/> <location filename="../main.qml" line="204"/>
<source>Can&apos;t create transaction: </source> <source>Can&apos;t create transaction: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="208"/> <location filename="../main.qml" line="216"/>
<source>Confirmation</source> <source>Confirmation</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="209"/> <location filename="../main.qml" line="217"/>
<source>Please confirm transaction: <source>Please confirm transaction:
</source> </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="210"/> <location filename="../main.qml" line="218"/>
<source> <source>
Address: </source> Address: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="211"/> <location filename="../main.qml" line="219"/>
<source> <source>
Payment ID: </source> Payment ID: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="212"/> <location filename="../main.qml" line="220"/>
<source> <source>
Amount: </source> Amount: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="213"/> <location filename="../main.qml" line="221"/>
<source> <source>
Fee: </source> Fee: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="225"/> <location filename="../main.qml" line="233"/>
<source>Couldn&apos;t send the money: </source> <source>Couldn&apos;t send the money: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="228"/> <location filename="../main.qml" line="236"/>
<source>Information</source> <source>Information</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="229"/> <location filename="../main.qml" line="237"/>
<source>Money sent successfully</source> <source>Money sent successfully</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="300"/> <location filename="../main.qml" line="309"/>
<source>Initializing Wallet...</source> <source>Initializing Wallet...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View file

@ -582,7 +582,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../wizard/WizardMain.qml" line="308"/> <location filename="../wizard/WizardMain.qml" line="309"/>
<source>USE MONERO</source> <source>USE MONERO</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -666,13 +666,12 @@
<context> <context>
<name>WizardWelcome</name> <name>WizardWelcome</name>
<message> <message>
<location filename="../wizard/WizardWelcome.qml" line="49"/> <location filename="../wizard/WizardWelcome.qml" line="69"/>
<location filename="../wizard/WizardWelcome.qml" line="73"/>
<source>Welcome</source> <source>Welcome</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../wizard/WizardWelcome.qml" line="86"/> <location filename="../wizard/WizardWelcome.qml" line="82"/>
<source>Please choose a language and regional format.</source> <source>Please choose a language and regional format.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -680,75 +679,75 @@
<context> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.qml" line="140"/> <location filename="../main.qml" line="148"/>
<location filename="../main.qml" line="195"/> <location filename="../main.qml" line="203"/>
<location filename="../main.qml" line="224"/> <location filename="../main.qml" line="232"/>
<source>Error</source> <source>Error</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="141"/> <location filename="../main.qml" line="149"/>
<source>Couldn&apos;t open wallet: </source> <source>Couldn&apos;t open wallet: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="196"/> <location filename="../main.qml" line="204"/>
<source>Can&apos;t create transaction: </source> <source>Can&apos;t create transaction: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="208"/> <location filename="../main.qml" line="216"/>
<source>Confirmation</source> <source>Confirmation</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="209"/> <location filename="../main.qml" line="217"/>
<source>Please confirm transaction: <source>Please confirm transaction:
</source> </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="210"/> <location filename="../main.qml" line="218"/>
<source> <source>
Address: </source> Address: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="211"/> <location filename="../main.qml" line="219"/>
<source> <source>
Payment ID: </source> Payment ID: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="212"/> <location filename="../main.qml" line="220"/>
<source> <source>
Amount: </source> Amount: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="213"/> <location filename="../main.qml" line="221"/>
<source> <source>
Fee: </source> Fee: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="225"/> <location filename="../main.qml" line="233"/>
<source>Couldn&apos;t send the money: </source> <source>Couldn&apos;t send the money: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="228"/> <location filename="../main.qml" line="236"/>
<source>Information</source> <source>Information</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="229"/> <location filename="../main.qml" line="237"/>
<source>Money sent successfully</source> <source>Money sent successfully</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="300"/> <location filename="../main.qml" line="309"/>
<source>Initializing Wallet...</source> <source>Initializing Wallet...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View file

@ -138,7 +138,7 @@
<message> <message>
<location filename="../components/DashboardTable.qml" line="172"/> <location filename="../components/DashboardTable.qml" line="172"/>
<source>Balance</source> <source>Balance</source>
<translation type="unfinished"></translation> <translation type="unfinished">Баланс</translation>
</message> </message>
<message> <message>
<location filename="../components/DashboardTable.qml" line="193"/> <location filename="../components/DashboardTable.qml" line="193"/>
@ -240,7 +240,7 @@
<message> <message>
<location filename="../components/HistoryTable.qml" line="202"/> <location filename="../components/HistoryTable.qml" line="202"/>
<source>Balance</source> <source>Balance</source>
<translation type="unfinished"></translation> <translation type="unfinished">Баланс</translation>
</message> </message>
<message> <message>
<location filename="../components/HistoryTable.qml" line="223"/> <location filename="../components/HistoryTable.qml" line="223"/>
@ -253,7 +253,7 @@
<message> <message>
<location filename="../LeftPanel.qml" line="103"/> <location filename="../LeftPanel.qml" line="103"/>
<source>Balance</source> <source>Balance</source>
<translation type="unfinished"></translation> <translation>Баланс</translation>
</message> </message>
<message> <message>
<location filename="../LeftPanel.qml" line="106"/> <location filename="../LeftPanel.qml" line="106"/>
@ -582,7 +582,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../wizard/WizardMain.qml" line="308"/> <location filename="../wizard/WizardMain.qml" line="309"/>
<source>USE MONERO</source> <source>USE MONERO</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -666,13 +666,12 @@
<context> <context>
<name>WizardWelcome</name> <name>WizardWelcome</name>
<message> <message>
<location filename="../wizard/WizardWelcome.qml" line="49"/> <location filename="../wizard/WizardWelcome.qml" line="69"/>
<location filename="../wizard/WizardWelcome.qml" line="73"/>
<source>Welcome</source> <source>Welcome</source>
<translation>Добро пожаловать</translation> <translation>Добро пожаловать</translation>
</message> </message>
<message> <message>
<location filename="../wizard/WizardWelcome.qml" line="86"/> <location filename="../wizard/WizardWelcome.qml" line="82"/>
<source>Please choose a language and regional format.</source> <source>Please choose a language and regional format.</source>
<translation>Пожалуйста выберите язык и региональный формат.</translation> <translation>Пожалуйста выберите язык и региональный формат.</translation>
</message> </message>
@ -680,75 +679,75 @@
<context> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.qml" line="140"/> <location filename="../main.qml" line="148"/>
<location filename="../main.qml" line="195"/> <location filename="../main.qml" line="203"/>
<location filename="../main.qml" line="224"/> <location filename="../main.qml" line="232"/>
<source>Error</source> <source>Error</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="141"/> <location filename="../main.qml" line="149"/>
<source>Couldn&apos;t open wallet: </source> <source>Couldn&apos;t open wallet: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="196"/> <location filename="../main.qml" line="204"/>
<source>Can&apos;t create transaction: </source> <source>Can&apos;t create transaction: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="208"/> <location filename="../main.qml" line="216"/>
<source>Confirmation</source> <source>Confirmation</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="209"/> <location filename="../main.qml" line="217"/>
<source>Please confirm transaction: <source>Please confirm transaction:
</source> </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="210"/> <location filename="../main.qml" line="218"/>
<source> <source>
Address: </source> Address: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="211"/> <location filename="../main.qml" line="219"/>
<source> <source>
Payment ID: </source> Payment ID: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="212"/> <location filename="../main.qml" line="220"/>
<source> <source>
Amount: </source> Amount: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="213"/> <location filename="../main.qml" line="221"/>
<source> <source>
Fee: </source> Fee: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="225"/> <location filename="../main.qml" line="233"/>
<source>Couldn&apos;t send the money: </source> <source>Couldn&apos;t send the money: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="228"/> <location filename="../main.qml" line="236"/>
<source>Information</source> <source>Information</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="229"/> <location filename="../main.qml" line="237"/>
<source>Money sent successfully</source> <source>Money sent successfully</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="300"/> <location filename="../main.qml" line="309"/>
<source>Initializing Wallet...</source> <source>Initializing Wallet...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View file

@ -582,7 +582,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../wizard/WizardMain.qml" line="308"/> <location filename="../wizard/WizardMain.qml" line="309"/>
<source>USE MONERO</source> <source>USE MONERO</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -666,13 +666,12 @@
<context> <context>
<name>WizardWelcome</name> <name>WizardWelcome</name>
<message> <message>
<location filename="../wizard/WizardWelcome.qml" line="49"/> <location filename="../wizard/WizardWelcome.qml" line="69"/>
<location filename="../wizard/WizardWelcome.qml" line="73"/>
<source>Welcome</source> <source>Welcome</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../wizard/WizardWelcome.qml" line="86"/> <location filename="../wizard/WizardWelcome.qml" line="82"/>
<source>Please choose a language and regional format.</source> <source>Please choose a language and regional format.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -680,75 +679,75 @@
<context> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.qml" line="140"/> <location filename="../main.qml" line="148"/>
<location filename="../main.qml" line="195"/> <location filename="../main.qml" line="203"/>
<location filename="../main.qml" line="224"/> <location filename="../main.qml" line="232"/>
<source>Error</source> <source>Error</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="141"/> <location filename="../main.qml" line="149"/>
<source>Couldn&apos;t open wallet: </source> <source>Couldn&apos;t open wallet: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="196"/> <location filename="../main.qml" line="204"/>
<source>Can&apos;t create transaction: </source> <source>Can&apos;t create transaction: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="208"/> <location filename="../main.qml" line="216"/>
<source>Confirmation</source> <source>Confirmation</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="209"/> <location filename="../main.qml" line="217"/>
<source>Please confirm transaction: <source>Please confirm transaction:
</source> </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="210"/> <location filename="../main.qml" line="218"/>
<source> <source>
Address: </source> Address: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="211"/> <location filename="../main.qml" line="219"/>
<source> <source>
Payment ID: </source> Payment ID: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="212"/> <location filename="../main.qml" line="220"/>
<source> <source>
Amount: </source> Amount: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="213"/> <location filename="../main.qml" line="221"/>
<source> <source>
Fee: </source> Fee: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="225"/> <location filename="../main.qml" line="233"/>
<source>Couldn&apos;t send the money: </source> <source>Couldn&apos;t send the money: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="228"/> <location filename="../main.qml" line="236"/>
<source>Information</source> <source>Information</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="229"/> <location filename="../main.qml" line="237"/>
<source>Money sent successfully</source> <source>Money sent successfully</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.qml" line="300"/> <location filename="../main.qml" line="309"/>
<source>Initializing Wallet...</source> <source>Initializing Wallet...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View file

@ -147,6 +147,7 @@ Rectangle {
// persist settings // persist settings
appWindow.persistentSettings.language = settings.language appWindow.persistentSettings.language = settings.language
appWindow.persistentSettings.locale = settings.locale
appWindow.persistentSettings.account_name = settings.account_name appWindow.persistentSettings.account_name = settings.account_name
appWindow.persistentSettings.wallet_path = settings.wallet_path appWindow.persistentSettings.wallet_path = settings.wallet_path
appWindow.persistentSettings.allow_background_mining = settings.allow_background_mining appWindow.persistentSettings.allow_background_mining = settings.allow_background_mining

View file

@ -45,19 +45,6 @@ Item {
} }
// function retranslateUi() {
// welcomeText.text = qsTr("Welcome")
// }
// Connections {
// target: translationManager
// onEmptyStringChanged: {
// console.log("languageChanged")
// retranslateUi()
// }
// }
Column { Column {
id: headerColumn id: headerColumn
anchors.left: parent.left anchors.left: parent.left
@ -132,9 +119,6 @@ Item {
width: gridView.cellWidth width: gridView.cellWidth
height: gridView.cellHeight height: gridView.cellHeight
Rectangle { Rectangle {
id: flagRect id: flagRect
width: 60; height: 60 width: 60; height: 60