diff --git a/BasicPanel.qml b/BasicPanel.qml index 5698316f..3c8de955 100644 --- a/BasicPanel.qml +++ b/BasicPanel.qml @@ -152,7 +152,7 @@ Rectangle { height: 32 fontSize: 15 width: parent.width - sendButton.width - row.spacing - placeholderText: qsTr("amount...") + placeholderText: qsTr("amount...") + translationManager.emptyString } StandardButton { @@ -176,7 +176,7 @@ Rectangle { anchors.margins: 12 fontSize: 15 height: 32 - placeholderText: qsTr("destination...") + placeholderText: qsTr("destination...") + translationManager.emptyString } Text { @@ -188,7 +188,7 @@ Rectangle { font.family: "Arial" font.pixelSize: 12 color: "#535353" - text: qsTr("Privacy level") + text: qsTr("Privacy level") + translationManager.emptyString } PrivacyLevelSmall { @@ -209,6 +209,6 @@ Rectangle { anchors.margins: 12 fontSize: 15 height: 32 - placeholderText: qsTr("payment ID (optional)...") + placeholderText: qsTr("payment ID (optional)...") + translationManager.emptyString } } diff --git a/LeftPanel.qml b/LeftPanel.qml index 6e067d03..604f2d6e 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -103,7 +103,7 @@ Rectangle { text: qsTr("Balance") + translationManager.emptyString anchors.left: parent.left anchors.leftMargin: 50 - tipText: qsTr("Test tip 1

line 2") + tipText: qsTr("Test tip 1

line 2") + translationManager.emptyString } Row { @@ -135,10 +135,10 @@ Rectangle { } Label { - text: qsTr("Unlocked balance") + text: qsTr("Unlocked balance") + translationManager.emptyString anchors.left: parent.left anchors.leftMargin: 50 - tipText: qsTr("Test tip 2

line 2") + tipText: qsTr("Test tip 2

line 2") + translationManager.emptyString } Text { @@ -192,8 +192,8 @@ Rectangle { id: dashboardButton anchors.left: parent.left anchors.right: parent.right - text: qsTr("Dashboard") - symbol: qsTr("D") + text: qsTr("Dashboard") + translationManager.emptyString + symbol: qsTr("D") + translationManager.emptyString dotColor: "#FFE00A" checked: true onClicked: { @@ -219,8 +219,8 @@ Rectangle { id: transferButton anchors.left: parent.left anchors.right: parent.right - text: qsTr("Transfer") - symbol: qsTr("T") + text: qsTr("Transfer") + translationManager.emptyString + symbol: qsTr("T") + translationManager.emptyString dotColor: "#FF6C3C" onClicked: { parent.previousButton.checked = false @@ -242,8 +242,8 @@ Rectangle { id: receiveButton anchors.left: parent.left anchors.right: parent.right - text: qsTr("Receive") - symbol: qsTr("R") + text: qsTr("Receive") + translationManager.emptyString + symbol: qsTr("R") + translationManager.emptyString dotColor: "#AAFFBB" onClicked: { parent.previousButton.checked = false @@ -266,8 +266,8 @@ Rectangle { id: historyButton anchors.left: parent.left anchors.right: parent.right - text: qsTr("History") - symbol: qsTr("H") + text: qsTr("History") + translationManager.emptyString + symbol: qsTr("H") + translationManager.emptyString dotColor: "#6B0072" onClicked: { parent.previousButton.checked = false @@ -289,8 +289,8 @@ Rectangle { id: addressBookButton anchors.left: parent.left anchors.right: parent.right - text: qsTr("Address book") - symbol: qsTr("B") + text: qsTr("Address book") + translationManager.emptyString + symbol: qsTr("B") + translationManager.emptyString dotColor: "#FF4F41" onClicked: { parent.previousButton.checked = false @@ -312,8 +312,8 @@ Rectangle { id: miningButton anchors.left: parent.left anchors.right: parent.right - text: qsTr("Mining") - symbol: qsTr("M") + text: qsTr("Mining") + translationManager.emptyString + symbol: qsTr("M") + translationManager.emptyString dotColor: "#FFD781" onClicked: { parent.previousButton.checked = false @@ -335,8 +335,8 @@ Rectangle { id: settingsButton anchors.left: parent.left anchors.right: parent.right - text: qsTr("Settings") - symbol: qsTr("S") + text: qsTr("Settings") + translationManager.emptyString + symbol: qsTr("S") + translationManager.emptyString dotColor: "#36B25C" onClicked: { parent.previousButton.checked = false diff --git a/RightPanel.qml b/RightPanel.qml index c5878146..932b3916 100644 --- a/RightPanel.qml +++ b/RightPanel.qml @@ -56,9 +56,9 @@ Rectangle { Tab { id: twitter; title: qsTr("Twitter"); source: "tabs/Twitter.qml" } - Tab { title: "News" } - Tab { title: "Help" } - Tab { title: "About" } + Tab { title: qsTr("News") + translationManager.emptyString } + Tab { title: qsTr("Help") + translationManager.emptyString } + Tab { title: qsTr("About") + translationManager.emptyString } diff --git a/components/AddressBookTable.qml b/components/AddressBookTable.qml index ab4bf61d..756445f7 100644 --- a/components/AddressBookTable.qml +++ b/components/AddressBookTable.qml @@ -44,7 +44,7 @@ ListView { font.family: "Arial" font.pixelSize: 14 color: "#545454" - text: qsTr("No more results") + text: qsTr("No more results") + translationManager.emptyString } } @@ -103,7 +103,7 @@ ListView { font.pixelSize: 12 font.letterSpacing: -1 color: "#535353" - text: qsTr("Payment ID:") + text: qsTr("Payment ID:") + + translationManager.emptyString } Text { diff --git a/components/DashboardTable.qml b/components/DashboardTable.qml index 07fe6ac2..05b23c6e 100644 --- a/components/DashboardTable.qml +++ b/components/DashboardTable.qml @@ -44,7 +44,7 @@ ListView { font.family: "Arial" font.pixelSize: 14 color: "#545454" - text: qsTr("No more results") + text: qsTr("No more results") + translationManager.emptyString } } @@ -134,7 +134,7 @@ ListView { font.family: "Arial" font.pixelSize: 12 color: "#545454" - text: qsTr("Date") + text: qsTr("Date") + translationManager.emptyString } Row { @@ -169,7 +169,7 @@ ListView { font.family: "Arial" font.pixelSize: 12 color: "#545454" - text: qsTr("Balance") + text: qsTr("Balance") + translationManager.emptyString } Text { @@ -190,7 +190,7 @@ ListView { font.family: "Arial" font.pixelSize: 12 color: "#545454" - text: qsTr("Amount") + text: qsTr("Amount") + translationManager.emptyString } Row { diff --git a/components/HistoryTable.qml b/components/HistoryTable.qml index 3ee8c82c..db92aa69 100644 --- a/components/HistoryTable.qml +++ b/components/HistoryTable.qml @@ -44,7 +44,7 @@ ListView { font.family: "Arial" font.pixelSize: 14 color: "#545454" - text: qsTr("No more results") + text: qsTr("No more results") + translationManager.emptyString } } @@ -126,7 +126,7 @@ ListView { font.pixelSize: 12 font.letterSpacing: -1 color: "#535353" - text: paymentId !== "" ? qsTr("Payment ID:") : "" + text: paymentId !== "" ? qsTr("Payment ID:") + translationManager.emptyString : "" } Text { @@ -164,7 +164,7 @@ ListView { font.family: "Arial" font.pixelSize: 12 color: "#545454" - text: qsTr("Date") + text: qsTr("Date") + translationManager.emptyString } Row { @@ -199,7 +199,7 @@ ListView { font.family: "Arial" font.pixelSize: 12 color: "#545454" - text: qsTr("Balance") + text: qsTr("Balance") + translationManager.emptyString } Text { @@ -220,7 +220,7 @@ ListView { font.family: "Arial" font.pixelSize: 12 color: "#545454" - text: qsTr("Amount") + text: qsTr("Amount") + translationManager.emptyString } Row { diff --git a/components/NetworkStatusItem.qml b/components/NetworkStatusItem.qml index 720fe536..6fb1d2eb 100644 --- a/components/NetworkStatusItem.qml +++ b/components/NetworkStatusItem.qml @@ -63,7 +63,7 @@ Row { font.family: "Arial" font.pixelSize: 18 color: item.connected ? "#FF6C3B" : "#AAAAAA" - text: item.connected ? qsTr("Connected") : qsTr("Disconnected") + text: (item.connected ? qsTr("Connected") : qsTr("Disconnected")) + translationManager.emptyString } } } diff --git a/components/PrivacyLevelSmall.qml b/components/PrivacyLevelSmall.qml index 9321ffbd..cb1cd36e 100644 --- a/components/PrivacyLevelSmall.qml +++ b/components/PrivacyLevelSmall.qml @@ -99,7 +99,7 @@ Item { font.bold: true color: "#000000" x: row.x + (row.positions[0] !== undefined ? row.positions[0].currentX - 3 : 0) - width - text: qsTr("LOW") + text: qsTr("LOW") + translationManager.emptyString } Text { @@ -110,7 +110,7 @@ Item { font.bold: true color: "#000000" x: row.x + (row.positions[4] !== undefined ? row.positions[4].currentX - 3 : 0) - width - text: qsTr("MEDIUM") + text: qsTr("MEDIUM") + translationManager.emptyString } Text { @@ -121,7 +121,7 @@ Item { font.bold: true color: "#000000" x: row.x + (row.positions[13] !== undefined ? row.positions[13].currentX - 3 : 0) - width - text: qsTr("HIGH") + text: qsTr("HIGH") + translationManager.emptyString } MouseArea { diff --git a/components/SearchInput.qml b/components/SearchInput.qml index b104247c..35be896f 100644 --- a/components/SearchInput.qml +++ b/components/SearchInput.qml @@ -66,7 +66,7 @@ Item { anchors.leftMargin: 45 font.pixelSize: 18 verticalAlignment: TextInput.AlignVCenter - placeholderText: qsTr("Search by...") + placeholderText: qsTr("Search by...") + translationManager.emptyString } Item { diff --git a/components/TickDelegate.qml b/components/TickDelegate.qml index 70ef1b50..2163d3e7 100644 --- a/components/TickDelegate.qml +++ b/components/TickDelegate.qml @@ -52,9 +52,9 @@ Item { font.pixelSize: 12 color: "#4A4949" text: { - if(currentIndex === 0) return qsTr("LOW") - if(currentIndex === 3) return qsTr("MEDIUM") - if(currentIndex === 13) return qsTr("HIGH") + if(currentIndex === 0) return qsTr("LOW") + translationManager.emptyString + if(currentIndex === 3) return qsTr("MEDIUM") + translationManager.emptyString + if(currentIndex === 13) return qsTr("HIGH") + translationManager.emptyString return "" } } diff --git a/components/TitleBar.qml b/components/TitleBar.qml index f27caf73..e0baf8f1 100644 --- a/components/TitleBar.qml +++ b/components/TitleBar.qml @@ -35,7 +35,7 @@ Rectangle { color: "#000000" y: -height property int mouseX: 0 - property string title: "Monero - Donations" + property string title: qsTr("Monero - Donations") + translationManager.emptyString property bool containsMouse: false property alias maximizeButtonVisible: maximizeButton.visible property alias basicButtonVisible: goToBasicVersionButton.visible diff --git a/main.qml b/main.qml index 7316fc56..da8545af 100644 --- a/main.qml +++ b/main.qml @@ -145,7 +145,7 @@ ApplicationWindow { wallet = walletManager.openWallet(wallet_path, "", persistentSettings.testnet); if (wallet.status !== Wallet.Status_Ok) { console.log("Error opening wallet: ", wallet.errorString); - informationPopup.title = qsTr("Error"); + informationPopup.title = qsTr("Error") + translationManager.emptyString; informationPopup.text = qsTr("Couldn't open wallet: ") + wallet.errorString; informationPopup.icon = StandardIcon.Critical informationPopup.open() @@ -200,7 +200,7 @@ ApplicationWindow { transaction = wallet.createTransaction(address, paymentId, amountxmr, mixinCount, priority); if (transaction.status !== PendingTransaction.Status_Ok) { console.error("Can't create transaction: ", transaction.errorString); - informationPopup.title = qsTr("Error"); + informationPopup.title = qsTr("Error") + translationManager.emptyString; informationPopup.text = qsTr("Can't create transaction: ") + transaction.errorString informationPopup.icon = StandardIcon.Critical informationPopup.open(); @@ -213,12 +213,13 @@ ApplicationWindow { // here we show confirmation popup; - transactionConfirmationPopup.title = qsTr("Confirmation") + transactionConfirmationPopup.title = qsTr("Confirmation") + translationManager.emptyString transactionConfirmationPopup.text = qsTr("Please confirm transaction:\n\n") + qsTr("\nAddress: ") + address + qsTr("\nPayment ID: ") + paymentId + qsTr("\nAmount: ") + walletManager.displayAmount(transaction.amount) + qsTr("\nFee: ") + walletManager.displayAmount(transaction.fee) + + translationManager.emptyString transactionConfirmationPopup.icon = StandardIcon.Question transactionConfirmationPopup.open() // committing transaction @@ -229,12 +230,12 @@ ApplicationWindow { function handleTransactionConfirmed() { if (!transaction.commit()) { console.log("Error committing transaction: " + transaction.errorString); - informationPopup.title = qsTr("Error"); + informationPopup.title = qsTr("Error") + translationManager.emptyString informationPopup.text = qsTr("Couldn't send the money: ") + transaction.errorString informationPopup.icon = StandardIcon.Critical } else { - informationPopup.title = qsTr("Information") - informationPopup.text = qsTr("Money sent successfully") + informationPopup.title = qsTr("Information") + translationManager.emptyString + informationPopup.text = qsTr("Money sent successfully") + translationManager.emptyString informationPopup.icon = StandardIcon.Information } @@ -332,7 +333,7 @@ ApplicationWindow { PropertyChanges { target: titleBar; maximizeButtonVisible: false } PropertyChanges { target: frameArea; blocked: true } PropertyChanges { target: titleBar; y: 0 } - PropertyChanges { target: titleBar; title: "Program setup wizard" } + PropertyChanges { target: titleBar; title: qsTr("Program setup wizard") + translationManager.emptyString } }, State { name: "normal" PropertyChanges { target: leftPanel; visible: true } @@ -346,7 +347,7 @@ ApplicationWindow { PropertyChanges { target: titleBar; maximizeButtonVisible: true } PropertyChanges { target: frameArea; blocked: false } PropertyChanges { target: titleBar; y: -titleBar.height } - PropertyChanges { target: titleBar; title: "Monero - Donations" } + PropertyChanges { target: titleBar; title: qsTr("Monero - Donations") + translationManager.emptyString } } ] @@ -385,7 +386,7 @@ ApplicationWindow { TipItem { id: tipItem - text: "send to the same destination" + text: qsTr("send to the same destination") + translationManager.emptyString visible: false } diff --git a/pages/AddressBook.qml b/pages/AddressBook.qml index 2fcd939a..7ca79f35 100644 --- a/pages/AddressBook.qml +++ b/pages/AddressBook.qml @@ -44,7 +44,7 @@ Rectangle { font.family: "Arial" font.pixelSize: 18 color: "#4A4949" - text: qsTr("Add new entry") + text: qsTr("Add new entry") + translationManager.emptyString } Label { @@ -55,7 +55,7 @@ Rectangle { anchors.topMargin: 17 text: qsTr("Address") fontSize: 14 - tipText: qsTr("Tip tekst test") + tipText: qsTr("Tip tekst test") + translationManager.emptyString } LineEdit { @@ -74,9 +74,10 @@ Rectangle { anchors.top: addressLine.bottom anchors.leftMargin: 17 anchors.topMargin: 17 - text: qsTr("Payment ID (Optional)") + text: qsTr("Payment ID (Optional)") + translationManager.emptyString fontSize: 14 tipText: qsTr("Payment ID

A unique user name used in
the address book. It is not a
transfer of information sent
during thevtransfer") + + translationManager.emptyString } LineEdit { @@ -95,9 +96,9 @@ Rectangle { anchors.top: paymentIdLine.bottom anchors.leftMargin: 17 anchors.topMargin: 17 - text: qsTr("Description (Local database)") + text: qsTr("Description (Local database)") + translationManager.emptyString fontSize: 14 - tipText: qsTr("Tip tekst test

test line 2") + tipText: qsTr("Tip tekst test

test line 2") + translationManager.emptyString } LineEdit { @@ -169,9 +170,9 @@ Rectangle { ListModel { id: columnsModel - ListElement { columnName: "Address"; columnWidth: 148 } - ListElement { columnName: "Payment ID"; columnWidth: 148 } - ListElement { columnName: "Description"; columnWidth: 148 } + ListElement { columnName: qsTr("Address") + translationManager.emptyString; columnWidth: 148 } + ListElement { columnName: qsTr("Payment ID") + translationManager.emptyString; columnWidth: 148 } + ListElement { columnName: qsTr("Description") + translationManager.emptyString; columnWidth: 148 } } TableHeader { diff --git a/pages/Dashboard.qml b/pages/Dashboard.qml index da8642ec..3f1621ed 100644 --- a/pages/Dashboard.qml +++ b/pages/Dashboard.qml @@ -54,7 +54,7 @@ Rectangle { font.family: "Arial" font.pixelSize: 18 color: "#4A4949" - text: qsTr("Quick transfer") + text: qsTr("Quick transfer") + translationManager.emptyString } LineEdit { @@ -101,6 +101,7 @@ Rectangle { textFormat: Text.RichText text: qsTr("\ lookng for security level and address book? go to Transfer tab") + + translationManager.emptyString font.underline: false onLinkActivated: appWindow.showPageRequest("Transfer") } diff --git a/pages/History.qml b/pages/History.qml index 6e67d04e..9ec2dd2b 100644 --- a/pages/History.qml +++ b/pages/History.qml @@ -44,7 +44,7 @@ Rectangle { font.family: "Arial" font.pixelSize: 18 color: "#4A4949" - text: qsTr("Filter trasactions history") + text: qsTr("Filter trasactions history") + translationManager.emptyString } Label { @@ -55,7 +55,7 @@ Rectangle { anchors.topMargin: 17 text: qsTr("Address") fontSize: 14 - tipText: qsTr("Tip tekst test") + tipText: qsTr("Tip tekst test") + translationManager.emptyString } LineEdit { @@ -74,9 +74,10 @@ Rectangle { anchors.top: addressLine.bottom anchors.leftMargin: 17 anchors.topMargin: 17 - text: qsTr("Payment ID (Optional)") + text: qsTr("Payment ID (Optional)") + translationManager.emptyString fontSize: 14 tipText: qsTr("Payment ID

A unique user name used in
the address book. It is not a
transfer of information sent
during thevtransfer") + + translationManager.emptyString } LineEdit { @@ -95,9 +96,9 @@ Rectangle { anchors.top: paymentIdLine.bottom anchors.leftMargin: 17 anchors.topMargin: 17 - text: qsTr("Description (Local database)") + text: qsTr("Description (Local database)") + translationManager.emptyString fontSize: 14 - tipText: qsTr("Tip tekst test

test line 2") + tipText: qsTr("Tip tekst test

test line 2") + translationManager.emptyString } LineEdit { @@ -117,9 +118,9 @@ Rectangle { anchors.leftMargin: 17 anchors.topMargin: 17 width: 156 - text: qsTr("Date from") + text: qsTr("Date from") + translationManager.emptyString fontSize: 14 - tipText: qsTr("Tip tekst test") + tipText: qsTr("Tip tekst test") + translationManager.emptyString } DatePicker { @@ -139,7 +140,7 @@ Rectangle { anchors.topMargin: 17 text: qsTr("To") fontSize: 14 - tipText: qsTr("Tip tekst test") + tipText: qsTr("Tip tekst test") + translationManager.emptyString } DatePicker { @@ -185,9 +186,9 @@ Rectangle { anchors.leftMargin: 17 anchors.topMargin: 17 width: 156 - text: qsTr("Type of transation") + text: qsTr("Type of transation") + translationManager.emptyString fontSize: 14 - tipText: qsTr("Tip tekst test") + tipText: qsTr("Tip tekst test") + translationManager.emptyString } ListModel { @@ -219,9 +220,9 @@ Rectangle { anchors.leftMargin: 17 anchors.topMargin: 17 width: 156 - text: qsTr("Amount from") + text: qsTr("Amount from") + translationManager.emptyString fontSize: 14 - tipText: qsTr("Tip tekst test") + tipText: qsTr("Tip tekst test") + translationManager.emptyString } LineEdit { @@ -242,7 +243,7 @@ Rectangle { width: 156 text: qsTr("To") fontSize: 14 - tipText: qsTr("Tip tekst test") + tipText: qsTr("Tip tekst test") + translationManager.emptyString } LineEdit { diff --git a/pages/Receive.qml b/pages/Receive.qml index 623c629d..1218ed7c 100644 --- a/pages/Receive.qml +++ b/pages/Receive.qml @@ -76,14 +76,14 @@ Rectangle { Label { id: addressLabel fontSize: 14 - text: qsTr("Address") + text: qsTr("Address") + translationManager.emptyString width: mainLayout.labelWidth } LineEdit { id: addressLine fontSize: mainLayout.lineEditFontSize - placeholderText: "ReadOnly wallet address displayed here"; + placeholderText: qsTr("ReadOnly wallet address displayed here") + translationManager.emptyString; readOnly: true width: mainLayout.editWidth Layout.fillWidth: true @@ -103,7 +103,7 @@ Rectangle { Label { id: integratedAddressLabel fontSize: 14 - text: qsTr("Integrated address") + text: qsTr("Integrated address") + translationManager.emptyString width: mainLayout.labelWidth } @@ -112,7 +112,7 @@ Rectangle { id: integratedAddressLine fontSize: mainLayout.lineEditFontSize - placeholderText: "ReadOnly wallet integrated address displayed here"; + placeholderText: qsTr("ReadOnly wallet integrated address displayed here") + translationManager.emptyString readOnly: true width: mainLayout.editWidth Layout.fillWidth: true @@ -133,7 +133,7 @@ Rectangle { Label { id: paymentIdLabel fontSize: 14 - text: qsTr("Payment ID") + text: qsTr("Payment ID") + translationManager.emptyString width: mainLayout.labelWidth } @@ -141,7 +141,7 @@ Rectangle { LineEdit { id: paymentIdLine fontSize: mainLayout.lineEditFontSize - placeholderText: "PaymentID here"; + placeholderText: qsTr("PaymentID here") + translationManager.emptyString; readOnly: false width: mainLayout.editWidth diff --git a/pages/Transfer.qml b/pages/Transfer.qml index aa79c18f..342e73cb 100644 --- a/pages/Transfer.qml +++ b/pages/Transfer.qml @@ -54,7 +54,7 @@ Rectangle { anchors.leftMargin: 17 anchors.rightMargin: 17 anchors.topMargin: 17 - text: qsTr("Amount") + text: qsTr("Amount") + translationManager.emptyString fontSize: 14 } @@ -64,7 +64,7 @@ Rectangle { anchors.topMargin: 17 fontSize: 14 x: (parent.width - 17) / 2 + 17 - text: qsTr("Transaction priority") + text: qsTr("Transaction priority") + translationManager.emptyString } Row { @@ -86,16 +86,16 @@ Rectangle { // Amount input LineEdit { id: amountLine - placeholderText: qsTr("Amount...") + placeholderText: qsTr("Amount...") + translationManager.emptyString width: parent.width - 37 - 17 } } ListModel { id: priorityModel - ListElement { column1: "LOW"; column2: ""; priority: PendingTransaction.Priority_Low } - ListElement { column1: "MEDIUM"; column2: ""; priority: PendingTransaction.Priority_Medium } - ListElement { column1: "HIGH"; column2: ""; priority: PendingTransaction.Priority_High } + ListElement { column1: qsTr("LOW") + translationManager.emptyString; column2: ""; priority: PendingTransaction.Priority_Low } + ListElement { column1: qsTr("MEDIUM") + translationManager.emptyString; column2: ""; priority: PendingTransaction.Priority_Medium } + ListElement { column1: qsTr("HIGH") + translationManager.emptyString; column2: ""; priority: PendingTransaction.Priority_High } } StandardDropdown { @@ -124,7 +124,7 @@ Rectangle { anchors.rightMargin: 17 anchors.topMargin: 30 fontSize: 14 - text: qsTr("Privacy Level") + text: qsTr("Privacy Level") + translationManager.emptyString } PrivacyLevel { @@ -166,6 +166,7 @@ Rectangle { textFormat: Text.RichText text: qsTr("\ Address ( Type in or select from Address book )") + + translationManager.emptyString onLinkActivated: appWindow.showPageRequest("AddressBook") } @@ -190,7 +191,7 @@ Rectangle { anchors.rightMargin: 17 anchors.topMargin: 17 fontSize: 14 - text: qsTr("Payment ID ( Optional )") + text: qsTr("Payment ID ( Optional )") + translationManager.emptyString } // payment id input @@ -215,6 +216,7 @@ Rectangle { anchors.topMargin: 17 fontSize: 14 text: qsTr("Description ( An optional description that will be saved to the local address book if entered )") + + translationManager.emptyString } LineEdit { @@ -234,7 +236,7 @@ Rectangle { anchors.leftMargin: 17 anchors.topMargin: 17 width: 60 - text: qsTr("SEND") + text: qsTr("SEND") + translationManager.emptyString shadowReleasedColor: "#FF4304" shadowPressedColor: "#B32D00" releasedColor: "#FF6C3C" diff --git a/translations/monero-core_de.ts b/translations/monero-core_de.ts index f2c59688..ea08d710 100644 --- a/translations/monero-core_de.ts +++ b/translations/monero-core_de.ts @@ -10,6 +10,7 @@ + Address @@ -29,20 +30,30 @@ - + Description <font size='2'>(Local database)</font> - + <b>Tip tekst test</b><br/><br/>test line 2 - + ADD + + + Payment ID + + + + + Description + + AddressBookTable @@ -160,11 +171,11 @@ - - - - - + + + + + <b>Tip tekst test</b> @@ -179,43 +190,43 @@ - + Description <font size='2'>(Local database)</font> - + <b>Tip tekst test</b><br/><br/>test line 2 - + Date from - - + + To - + FILTER - + Advance filtering - + Type of transation - + Amount from @@ -334,16 +345,31 @@ Address + + + ReadOnly wallet address displayed here + + Integrated address + + + ReadOnly wallet integrated address displayed here + + Payment ID + + + PaymentID here + + Generate @@ -357,6 +383,21 @@ Twitter + + + News + + + + + Help + + + + + About + + SearchInput @@ -389,6 +430,14 @@ + + TitleBar + + + Monero - Donations + + + Transfer @@ -406,6 +455,21 @@ Amount... + + + LOW + + + + + MEDIUM + + + + + HIGH + + Privacy Level @@ -422,17 +486,17 @@ - + Payment ID <font size='2'>( Optional )</font> - + Description <font size='2'>( An optional description that will be saved to the local address book if entered )</font> - + SEND @@ -455,22 +519,22 @@ - + Enable disk conservation mode? - + Disk conservation mode uses substantially less disk-space, but the same amount of bandwidth as a regular Monero instance. However, storing the full blockchain is beneficial to the security of the Monero network. If you are on a device with limited disk space, then this option is appropriate for you. - + Allow background mining? - + Mining secures the Monero network, and also pays a small reward for the work done. This option will let Monero mine when your computer is on mains power and is idle. It will stop mining when you continue working. @@ -511,12 +575,12 @@ - + Allow background mining? - + Mining secures the Monero network, and also pays a small reward for the work done. This option will let Monero mine when your computer is on mains power and is idle. It will stop mining when you continue working. @@ -559,12 +623,12 @@ - + An overview of your Monero configuration is below: - + You’re all setup! @@ -604,6 +668,11 @@ Your wallet is stored in + + + Please choose a directory + + WizardMemoTextInput @@ -681,7 +750,7 @@ - + Error @@ -732,24 +801,39 @@ Fee: - + Couldn't send the money: - + Information - + Money sent successfully - + Initializing Wallet... + + + Program setup wizard + + + + + Monero - Donations + + + + + send to the same destination + + diff --git a/translations/monero-core_en.ts b/translations/monero-core_en.ts index f8f7b3ea..dca4c577 100644 --- a/translations/monero-core_en.ts +++ b/translations/monero-core_en.ts @@ -10,6 +10,7 @@ + Address @@ -29,20 +30,30 @@ - + Description <font size='2'>(Local database)</font> - + <b>Tip tekst test</b><br/><br/>test line 2 - + ADD + + + Payment ID + + + + + Description + + AddressBookTable @@ -160,11 +171,11 @@ - - - - - + + + + + <b>Tip tekst test</b> @@ -179,43 +190,43 @@ - + Description <font size='2'>(Local database)</font> - + <b>Tip tekst test</b><br/><br/>test line 2 - + Date from - - + + To - + FILTER - + Advance filtering - + Type of transation - + Amount from @@ -334,16 +345,31 @@ Address + + + ReadOnly wallet address displayed here + + Integrated address + + + ReadOnly wallet integrated address displayed here + + Payment ID + + + PaymentID here + + Generate @@ -357,6 +383,21 @@ Twitter + + + News + + + + + Help + + + + + About + + SearchInput @@ -389,6 +430,14 @@ + + TitleBar + + + Monero - Donations + + + Transfer @@ -406,6 +455,21 @@ Amount... + + + LOW + + + + + MEDIUM + + + + + HIGH + + Privacy Level @@ -422,17 +486,17 @@ - + Payment ID <font size='2'>( Optional )</font> - + Description <font size='2'>( An optional description that will be saved to the local address book if entered )</font> - + SEND @@ -455,22 +519,22 @@ - + Enable disk conservation mode? - + Disk conservation mode uses substantially less disk-space, but the same amount of bandwidth as a regular Monero instance. However, storing the full blockchain is beneficial to the security of the Monero network. If you are on a device with limited disk space, then this option is appropriate for you. - + Allow background mining? - + Mining secures the Monero network, and also pays a small reward for the work done. This option will let Monero mine when your computer is on mains power and is idle. It will stop mining when you continue working. @@ -511,12 +575,12 @@ - + Allow background mining? - + Mining secures the Monero network, and also pays a small reward for the work done. This option will let Monero mine when your computer is on mains power and is idle. It will stop mining when you continue working. @@ -559,12 +623,12 @@ - + An overview of your Monero configuration is below: - + You’re all setup! @@ -604,6 +668,11 @@ Your wallet is stored in + + + Please choose a directory + + WizardMemoTextInput @@ -681,7 +750,7 @@ - + Error @@ -732,24 +801,39 @@ Fee: - + Couldn't send the money: - + Information - + Money sent successfully - + Initializing Wallet... + + + Program setup wizard + + + + + Monero - Donations + + + + + send to the same destination + + diff --git a/translations/monero-core_it.ts b/translations/monero-core_it.ts index 3b4e2760..2c9c4b78 100644 --- a/translations/monero-core_it.ts +++ b/translations/monero-core_it.ts @@ -10,6 +10,7 @@ + Address @@ -29,20 +30,30 @@ - + Description <font size='2'>(Local database)</font> - + <b>Tip tekst test</b><br/><br/>test line 2 - + ADD + + + Payment ID + + + + + Description + + AddressBookTable @@ -160,11 +171,11 @@ - - - - - + + + + + <b>Tip tekst test</b> @@ -179,43 +190,43 @@ - + Description <font size='2'>(Local database)</font> - + <b>Tip tekst test</b><br/><br/>test line 2 - + Date from - - + + To - + FILTER - + Advance filtering - + Type of transation - + Amount from @@ -334,16 +345,31 @@ Address + + + ReadOnly wallet address displayed here + + Integrated address + + + ReadOnly wallet integrated address displayed here + + Payment ID + + + PaymentID here + + Generate @@ -357,6 +383,21 @@ Twitter + + + News + + + + + Help + + + + + About + + SearchInput @@ -389,6 +430,14 @@ + + TitleBar + + + Monero - Donations + + + Transfer @@ -406,6 +455,21 @@ Amount... + + + LOW + + + + + MEDIUM + + + + + HIGH + + Privacy Level @@ -422,17 +486,17 @@ - + Payment ID <font size='2'>( Optional )</font> - + Description <font size='2'>( An optional description that will be saved to the local address book if entered )</font> - + SEND @@ -455,22 +519,22 @@ - + Enable disk conservation mode? - + Disk conservation mode uses substantially less disk-space, but the same amount of bandwidth as a regular Monero instance. However, storing the full blockchain is beneficial to the security of the Monero network. If you are on a device with limited disk space, then this option is appropriate for you. - + Allow background mining? - + Mining secures the Monero network, and also pays a small reward for the work done. This option will let Monero mine when your computer is on mains power and is idle. It will stop mining when you continue working. @@ -511,12 +575,12 @@ - + Allow background mining? - + Mining secures the Monero network, and also pays a small reward for the work done. This option will let Monero mine when your computer is on mains power and is idle. It will stop mining when you continue working. @@ -559,12 +623,12 @@ - + An overview of your Monero configuration is below: - + You’re all setup! @@ -604,6 +668,11 @@ Your wallet is stored in + + + Please choose a directory + + WizardMemoTextInput @@ -681,7 +750,7 @@ - + Error @@ -732,24 +801,39 @@ Fee: - + Couldn't send the money: - + Information - + Money sent successfully - + Initializing Wallet... + + + Program setup wizard + + + + + Monero - Donations + + + + + send to the same destination + + diff --git a/translations/monero-core_pl.ts b/translations/monero-core_pl.ts index 6c15a0b0..a3496ddb 100644 --- a/translations/monero-core_pl.ts +++ b/translations/monero-core_pl.ts @@ -10,6 +10,7 @@ + Address @@ -29,20 +30,30 @@ - + Description <font size='2'>(Local database)</font> - + <b>Tip tekst test</b><br/><br/>test line 2 - + ADD + + + Payment ID + + + + + Description + + AddressBookTable @@ -160,11 +171,11 @@ - - - - - + + + + + <b>Tip tekst test</b> @@ -179,43 +190,43 @@ - + Description <font size='2'>(Local database)</font> - + <b>Tip tekst test</b><br/><br/>test line 2 - + Date from - - + + To - + FILTER - + Advance filtering - + Type of transation - + Amount from @@ -334,16 +345,31 @@ Address + + + ReadOnly wallet address displayed here + + Integrated address + + + ReadOnly wallet integrated address displayed here + + Payment ID + + + PaymentID here + + Generate @@ -357,6 +383,21 @@ Twitter + + + News + + + + + Help + + + + + About + + SearchInput @@ -389,6 +430,14 @@ + + TitleBar + + + Monero - Donations + + + Transfer @@ -406,6 +455,21 @@ Amount... + + + LOW + + + + + MEDIUM + + + + + HIGH + + Privacy Level @@ -422,17 +486,17 @@ - + Payment ID <font size='2'>( Optional )</font> - + Description <font size='2'>( An optional description that will be saved to the local address book if entered )</font> - + SEND @@ -455,22 +519,22 @@ - + Enable disk conservation mode? - + Disk conservation mode uses substantially less disk-space, but the same amount of bandwidth as a regular Monero instance. However, storing the full blockchain is beneficial to the security of the Monero network. If you are on a device with limited disk space, then this option is appropriate for you. - + Allow background mining? - + Mining secures the Monero network, and also pays a small reward for the work done. This option will let Monero mine when your computer is on mains power and is idle. It will stop mining when you continue working. @@ -511,12 +575,12 @@ - + Allow background mining? - + Mining secures the Monero network, and also pays a small reward for the work done. This option will let Monero mine when your computer is on mains power and is idle. It will stop mining when you continue working. @@ -559,12 +623,12 @@ - + An overview of your Monero configuration is below: - + You’re all setup! @@ -604,6 +668,11 @@ Your wallet is stored in + + + Please choose a directory + + WizardMemoTextInput @@ -681,7 +750,7 @@ - + Error @@ -732,24 +801,39 @@ Fee: - + Couldn't send the money: - + Information - + Money sent successfully - + Initializing Wallet... + + + Program setup wizard + + + + + Monero - Donations + + + + + send to the same destination + + diff --git a/translations/monero-core_ru.ts b/translations/monero-core_ru.ts index 7921567d..29bf9b7f 100644 --- a/translations/monero-core_ru.ts +++ b/translations/monero-core_ru.ts @@ -10,6 +10,7 @@ + Address @@ -29,20 +30,30 @@ - + Description <font size='2'>(Local database)</font> - + <b>Tip tekst test</b><br/><br/>test line 2 - + ADD + + + Payment ID + + + + + Description + + AddressBookTable @@ -160,11 +171,11 @@ - - - - - + + + + + <b>Tip tekst test</b> @@ -179,43 +190,43 @@ - + Description <font size='2'>(Local database)</font> - + <b>Tip tekst test</b><br/><br/>test line 2 - + Date from - - + + To - + FILTER - + Advance filtering - + Type of transation - + Amount from @@ -334,16 +345,31 @@ Address + + + ReadOnly wallet address displayed here + + Integrated address + + + ReadOnly wallet integrated address displayed here + + Payment ID + + + PaymentID here + + Generate @@ -357,6 +383,21 @@ Twitter + + + News + + + + + Help + + + + + About + + SearchInput @@ -389,6 +430,14 @@ + + TitleBar + + + Monero - Donations + + + Transfer @@ -406,6 +455,21 @@ Amount... + + + LOW + + + + + MEDIUM + + + + + HIGH + + Privacy Level @@ -422,17 +486,17 @@ - + Payment ID <font size='2'>( Optional )</font> - + Description <font size='2'>( An optional description that will be saved to the local address book if entered )</font> - + SEND @@ -455,22 +519,22 @@ - + Enable disk conservation mode? - + Disk conservation mode uses substantially less disk-space, but the same amount of bandwidth as a regular Monero instance. However, storing the full blockchain is beneficial to the security of the Monero network. If you are on a device with limited disk space, then this option is appropriate for you. - + Allow background mining? - + Mining secures the Monero network, and also pays a small reward for the work done. This option will let Monero mine when your computer is on mains power and is idle. It will stop mining when you continue working. @@ -511,12 +575,12 @@ - + Allow background mining? - + Mining secures the Monero network, and also pays a small reward for the work done. This option will let Monero mine when your computer is on mains power and is idle. It will stop mining when you continue working. @@ -559,12 +623,12 @@ - + An overview of your Monero configuration is below: - + You’re all setup! @@ -604,6 +668,11 @@ Your wallet is stored in + + + Please choose a directory + + WizardMemoTextInput @@ -681,7 +750,7 @@ - + Error @@ -732,24 +801,39 @@ Fee: - + Couldn't send the money: - + Information - + Money sent successfully - + Initializing Wallet... + + + Program setup wizard + + + + + Monero - Donations + + + + + send to the same destination + + diff --git a/translations/monero-core_zh.ts b/translations/monero-core_zh.ts index 0a2faf01..e5e60dab 100644 --- a/translations/monero-core_zh.ts +++ b/translations/monero-core_zh.ts @@ -10,6 +10,7 @@ + Address @@ -29,20 +30,30 @@ - + Description <font size='2'>(Local database)</font> - + <b>Tip tekst test</b><br/><br/>test line 2 - + ADD + + + Payment ID + + + + + Description + + AddressBookTable @@ -160,11 +171,11 @@ - - - - - + + + + + <b>Tip tekst test</b> @@ -179,43 +190,43 @@ - + Description <font size='2'>(Local database)</font> - + <b>Tip tekst test</b><br/><br/>test line 2 - + Date from - - + + To - + FILTER - + Advance filtering - + Type of transation - + Amount from @@ -334,16 +345,31 @@ Address + + + ReadOnly wallet address displayed here + + Integrated address + + + ReadOnly wallet integrated address displayed here + + Payment ID + + + PaymentID here + + Generate @@ -357,6 +383,21 @@ Twitter + + + News + + + + + Help + + + + + About + + SearchInput @@ -389,6 +430,14 @@ + + TitleBar + + + Monero - Donations + + + Transfer @@ -406,6 +455,21 @@ Amount... + + + LOW + + + + + MEDIUM + + + + + HIGH + + Privacy Level @@ -422,17 +486,17 @@ - + Payment ID <font size='2'>( Optional )</font> - + Description <font size='2'>( An optional description that will be saved to the local address book if entered )</font> - + SEND @@ -455,22 +519,22 @@ - + Enable disk conservation mode? - + Disk conservation mode uses substantially less disk-space, but the same amount of bandwidth as a regular Monero instance. However, storing the full blockchain is beneficial to the security of the Monero network. If you are on a device with limited disk space, then this option is appropriate for you. - + Allow background mining? - + Mining secures the Monero network, and also pays a small reward for the work done. This option will let Monero mine when your computer is on mains power and is idle. It will stop mining when you continue working. @@ -511,12 +575,12 @@ - + Allow background mining? - + Mining secures the Monero network, and also pays a small reward for the work done. This option will let Monero mine when your computer is on mains power and is idle. It will stop mining when you continue working. @@ -559,12 +623,12 @@ - + An overview of your Monero configuration is below: - + You’re all setup! @@ -604,6 +668,11 @@ Your wallet is stored in + + + Please choose a directory + + WizardMemoTextInput @@ -681,7 +750,7 @@ - + Error @@ -732,24 +801,39 @@ Fee: - + Couldn't send the money: - + Information - + Money sent successfully - + Initializing Wallet... + + + Program setup wizard + + + + + Monero - Donations + + + + + send to the same destination + + diff --git a/wizard/WizardConfigure.qml b/wizard/WizardConfigure.qml index acfae0bd..343f9c88 100644 --- a/wizard/WizardConfigure.qml +++ b/wizard/WizardConfigure.qml @@ -76,7 +76,7 @@ Item { wrapMode: Text.Wrap //renderType: Text.NativeRendering color: "#3F3F3F" - text: qsTr("We’re almost there - let’s just configure some Monero preferences") + text: qsTr("We’re almost there - let’s just configure some Monero preferences") + translationManager.emptyString } Column { @@ -94,7 +94,7 @@ Item { spacing: 12 CheckBox { - text: qsTr("Kickstart the Monero blockchain?") + text: qsTr("Kickstart the Monero blockchain?") + translationManager.emptyString anchors.left: parent.left anchors.right: parent.right background: "#F0EEEE" @@ -114,6 +114,7 @@ Item { wrapMode: Text.Wrap text: qsTr("It is very important to write it down as this is the only backup you will need for your wallet. " + "You will be asked to confirm the seed in the next screen to ensure it has copied down correctly.") + + translationManager.emptyString } } @@ -123,7 +124,7 @@ Item { spacing: 12 CheckBox { - text: qsTr("Enable disk conservation mode?") + text: qsTr("Enable disk conservation mode?") + translationManager.emptyString anchors.left: parent.left anchors.right: parent.right background: "#F0EEEE" @@ -144,6 +145,7 @@ Item { text: qsTr("Disk conservation mode uses substantially less disk-space, but the same amount of bandwidth as " + "a regular Monero instance. However, storing the full blockchain is beneficial to the security " + "of the Monero network. If you are on a device with limited disk space, then this option is appropriate for you.") + + translationManager.emptyString } } @@ -153,7 +155,7 @@ Item { spacing: 12 CheckBox { - text: qsTr("Allow background mining?") + text: qsTr("Allow background mining?") + translationManager.emptyString anchors.left: parent.left anchors.right: parent.right background: "#F0EEEE" @@ -173,6 +175,7 @@ Item { wrapMode: Text.Wrap text: qsTr("Mining secures the Monero network, and also pays a small reward for the work done. This option " + "will let Monero mine when your computer is on mains power and is idle. It will stop mining when you continue working.") + + translationManager.emptyString } } } diff --git a/wizard/WizardCreateWallet.qml b/wizard/WizardCreateWallet.qml index d39d52d2..2181a359 100644 --- a/wizard/WizardCreateWallet.qml +++ b/wizard/WizardCreateWallet.qml @@ -78,8 +78,8 @@ Item { WizardManageWalletUI { id: uiItem - titleText: qsTr("A new wallet has been created for you") - wordsTextTitle: qsTr("This is the 25 word mnemonic for your wallet") + titleText: qsTr("A new wallet has been created for you") + translationManager.emptyString + wordsTextTitle: qsTr("This is the 25 word mnemonic for your wallet") + translationManager.emptyString wordsTextItem.clipboardButtonVisible: true wordsTextItem.tipTextVisible: true wordsTextItem.memoTextReadOnly: true diff --git a/wizard/WizardDonation.qml b/wizard/WizardDonation.qml index 80ebd78b..57e03524 100644 --- a/wizard/WizardDonation.qml +++ b/wizard/WizardDonation.qml @@ -90,7 +90,7 @@ Item { wrapMode: Text.Wrap //renderType: Text.NativeRendering color: "#3F3F3F" - text: qsTr("Monero development is solely supported by donations") + text: qsTr("Monero development is solely supported by donations") + translationManager.emptyString } Column { @@ -110,7 +110,7 @@ Item { CheckBox { id: enableAutoDonationCheckBox anchors.verticalCenter: parent.verticalCenter - text: qsTr("Enable auto-donations of?") + text: qsTr("Enable auto-donations of?") + translationManager.emptyString background: "#F0EEEE" fontColor: "#4A4646" fontSize: 18 @@ -150,7 +150,7 @@ Item { font.family: "Arial" font.pixelSize: 18 color: "#4A4646" - text: qsTr("% of my fee added to each transaction") + text: qsTr("% of my fee added to each transaction") + translationManager.emptyString } } @@ -164,6 +164,7 @@ Item { text: qsTr("For every transaction, a small transaction fee is charged. This option lets you add an additional amount, " + "as a percentage of that fee, to your transaction to support Monero development. For instance, a 50% " + "autodonation take a transaction fee of 0.005 XMR and add a 0.0025 XMR to support Monero development.") + + translationManager.emptyString } Column { anchors.left: parent.left @@ -172,7 +173,7 @@ Item { CheckBox { id: allowBackgroundMiningCheckBox - text: qsTr("Allow background mining?") + text: qsTr("Allow background mining?") + translationManager.emptyString anchors.left: parent.left anchors.right: parent.right background: "#F0EEEE" @@ -192,6 +193,7 @@ Item { wrapMode: Text.Wrap text: qsTr("Mining secures the Monero network, and also pays a small reward for the work done. This option " + "will let Monero mine when your computer is on mains power and is idle. It will stop mining when you continue working.") + + translationManager.emptyString } } } diff --git a/wizard/WizardFinish.qml b/wizard/WizardFinish.qml index 427a2340..7c9c89e7 100644 --- a/wizard/WizardFinish.qml +++ b/wizard/WizardFinish.qml @@ -45,10 +45,11 @@ Item { + qsTr("Enable auto donation: ") + wizard.settings['auto_donations_enabled'] + "
" + qsTr("Auto donation amount: ") + wizard.settings['auto_donations_amount'] + "
" + qsTr("Allow background mining: ") + wizard.settings['allow_background_mining'] + "
" + + 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 + "
" + buildSettingsString(); } @@ -99,7 +100,7 @@ Item { horizontalAlignment: Text.AlignHCenter //renderType: Text.NativeRendering color: "#3F3F3F" - text: qsTr("You’re all setup!") + text: qsTr("You’re all setup!") + translationManager.emptyString } Text { diff --git a/wizard/WizardMain.qml b/wizard/WizardMain.qml index 987ac897..1103c2ff 100644 --- a/wizard/WizardMain.qml +++ b/wizard/WizardMain.qml @@ -82,9 +82,9 @@ Rectangle { // disable "next" button until passwords match nextButton.enabled = passwordPage.passwordValid; if (currentPath === "create_wallet") { - passwordPage.titleText = qsTr("Now that your wallet has been created, please set a password for the wallet") + passwordPage.titleText = qsTr("Now that your wallet has been created, please set a password for the wallet") + translationManager.emptyString } else { - passwordPage.titleText = qsTr("Now that your wallet has been restored, please set a password for the wallet") + passwordPage.titleText = qsTr("Now that your wallet has been restored, please set a password for the wallet") + translationManager.emptyString } break; case finishPage: @@ -306,7 +306,7 @@ Rectangle { anchors.bottom: parent.bottom anchors.margins: 50 width: 110 - text: qsTr("USE MONERO") + text: qsTr("USE MONERO") + translationManager.emptyString shadowReleasedColor: "#FF4304" shadowPressedColor: "#B32D00" releasedColor: "#FF6C3C" diff --git a/wizard/WizardManageWalletUI.qml b/wizard/WizardManageWalletUI.qml index 58f4e59a..a11ee094 100644 --- a/wizard/WizardManageWalletUI.qml +++ b/wizard/WizardManageWalletUI.qml @@ -100,7 +100,7 @@ Item { horizontalAlignment: Text.AlignHCenter //renderType: Text.NativeRendering color: "#4A4646" - text: qsTr("This is the name of your wallet. You can change it to a different name if you’d like:") + text: qsTr("This is the name of your wallet. You can change it to a different name if you’d like:") + translationManager.emptyString } } @@ -122,7 +122,7 @@ Item { renderType: Text.NativeRendering color: "#FF6C3C" focus: true - text: qsTr("My account name") + text: qsTr("My account name") + translationManager.emptyString } Rectangle { @@ -172,7 +172,7 @@ Item { font.pixelSize: 18 //renderType: Text.NativeRendering color: "#4A4646" - text: qsTr("Your wallet is stored in") + text: qsTr("Your wallet is stored in") + translationManager.emptyString } Item { @@ -184,7 +184,7 @@ Item { id: fileDialog selectMultiple: false selectFolder: true - title: "Please choose a directory" + title: qsTr("Please choose a directory") + translationManager.emptyString onAccepted: { fileUrlInput.text = fileDialog.folder fileDialog.visible = false diff --git a/wizard/WizardMemoTextInput.qml b/wizard/WizardMemoTextInput.qml index 39f9211b..9497d9e5 100644 --- a/wizard/WizardMemoTextInput.qml +++ b/wizard/WizardMemoTextInput.qml @@ -74,6 +74,7 @@ Column { color: "#4A4646" wrapMode: Text.Wrap text: qsTr("It is very important to write it down as this is the only backup you will need for your wallet. You will be asked to confirm the seed in the next screen to ensure it has copied down correctly.") + + translationManager.emptyString } } } diff --git a/wizard/WizardOptions.qml b/wizard/WizardOptions.qml index 621cac78..7aa3be2f 100644 --- a/wizard/WizardOptions.qml +++ b/wizard/WizardOptions.qml @@ -59,7 +59,7 @@ Item { color: "#3F3F3F" wrapMode: Text.Wrap horizontalAlignment: Text.AlignHCenter - text: qsTr("Welcome to Monero!") + text: qsTr("Welcome to Monero!") + translationManager.emptyString } Text { @@ -71,7 +71,7 @@ Item { color: "#4A4646" wrapMode: Text.Wrap horizontalAlignment: Text.AlignHCenter - text: qsTr("Please select one of the following options:") + text: qsTr("Please select one of the following options:") + translationManager.emptyString } } @@ -107,7 +107,7 @@ Item { font.pixelSize: 16 color: "#4A4949" horizontalAlignment: Text.AlignHCenter - text: qsTr("This is my first time, I want to
create a new account") + text: qsTr("This is my first time, I want to
create a new account") + translationManager.emptyString } } @@ -138,7 +138,7 @@ Item { font.pixelSize: 16 color: "#4A4949" horizontalAlignment: Text.AlignHCenter - text: qsTr("I want to recover my account
from my 24 work seed") + text: qsTr("I want to recover my account
from my 24 work seed") + translationManager.emptyString } } } diff --git a/wizard/WizardPassword.qml b/wizard/WizardPassword.qml index 4825c02d..0e79d57c 100644 --- a/wizard/WizardPassword.qml +++ b/wizard/WizardPassword.qml @@ -120,6 +120,7 @@ Item { horizontalAlignment: Text.AlignHCenter text: qsTr("Note that this password cannot be recovered, and if forgotten you will need to restore your wallet from the mnemonic seed you were just given

Your password will be used to protect your wallet and to confirm actions, so make sure that your password is sufficiently secure.") + + translationManager.emptyString } } diff --git a/wizard/WizardRecoveryWallet.qml b/wizard/WizardRecoveryWallet.qml index aded7661..972ee6a1 100644 --- a/wizard/WizardRecoveryWallet.qml +++ b/wizard/WizardRecoveryWallet.qml @@ -66,9 +66,9 @@ Item { WizardManageWalletUI { id: uiItem - accountNameText: qsTr("My account name") - titleText: qsTr("We're ready to recover your account") - wordsTextTitle: qsTr("Please enter your 25 word private key") + accountNameText: qsTr("My account name") + translationManager.emptyString + titleText: qsTr("We're ready to recover your account") + translationManager.emptyString + wordsTextTitle: qsTr("Please enter your 25 word private key") + translationManager.emptyString wordsTextItem.clipboardButtonVisible: false wordsTextItem.tipTextVisible: false wordsTextItem.memoTextReadOnly: false diff --git a/wizard/utils.js b/wizard/utils.js index 6d16951d..0cc910c6 100644 --- a/wizard/utils.js +++ b/wizard/utils.js @@ -37,3 +37,8 @@ function mapScope (inputScopeFrom, inputScopeTo, outputScopeFrom, outputScopeTo, var result = outputScopeFrom + ((outputScopeTo - outputScopeFrom) * x); return result; } + + +function tr(text) { + return qsTr(text) + translationManager.emptyString +}