From 37caff4de760dfa67befe151d53987e9cd784210 Mon Sep 17 00:00:00 2001 From: qvqc Date: Thu, 30 Apr 2020 09:32:33 -0400 Subject: [PATCH] wow a few other things --- components/InputMulti.qml | 2 +- main.qml | 10 +++++----- pages/History.qml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/components/InputMulti.qml b/components/InputMulti.qml index ddbd5552..fa743133 100644 --- a/components/InputMulti.qml +++ b/components/InputMulti.qml @@ -57,7 +57,7 @@ TextArea { onTextChanged: { if(addressValidation){ // js replacement for `RegExpValidator { regExp: /[0-9A-Fa-f]{95}/g }` - if (textArea.text.startsWith("monero:")) { + if (textArea.text.startsWith("wownero:")) { error = false; return; } diff --git a/main.qml b/main.qml index fb0b15e4..99dc98a2 100644 --- a/main.qml +++ b/main.qml @@ -49,7 +49,7 @@ import "version.js" as Version ApplicationWindow { id: appWindow - title: "Monero" + (walletName ? " - " + walletName : "") + title: "Wownero" + (walletName ? " - " + walletName : "") minimumWidth: 750 minimumHeight: 450 @@ -758,7 +758,7 @@ ApplicationWindow { function onWalletMoneySent(txId, amount) { // refresh transaction history here - console.log("monero sent found") + console.log("wownero sent found") currentWallet.history.refresh(currentWallet.currentSubaddressAccount); // this will refresh model if(middlePanel.state == "History") @@ -971,7 +971,7 @@ ApplicationWindow { txid_text += ", " txid_text += txid[i] } - informationPopup.text = (viewOnly)? qsTr("Transaction saved to file: %1").arg(path) : qsTr("Monero sent successfully: %1 transaction(s) ").arg(txid.length) + txid_text + translationManager.emptyString + informationPopup.text = (viewOnly)? qsTr("Transaction saved to file: %1").arg(path) : qsTr("Wownero sent successfully: %1 transaction(s) ").arg(txid.length) + txid_text + translationManager.emptyString informationPopup.icon = StandardIcon.Information if (transactionDescription.length > 0) { for (var i = 0; i < txid.length; ++i) @@ -1055,10 +1055,10 @@ ApplicationWindow { informationPopup.icon = StandardIcon.Critical; } else if (received > 0) { if (in_pool) { - informationPopup.text = qsTr("This address received %1 monero, but the transaction is not yet mined").arg(walletManager.displayAmount(received)); + informationPopup.text = qsTr("This address received %1 wownero, but the transaction is not yet mined").arg(walletManager.displayAmount(received)); } else { - informationPopup.text = qsTr("This address received %1 monero, with %2 confirmation(s).").arg(walletManager.displayAmount(received)).arg(confirmations); + informationPopup.text = qsTr("This address received %1 wownero, with %2 confirmation(s).").arg(walletManager.displayAmount(received)).arg(confirmations); } } else { diff --git a/pages/History.qml b/pages/History.qml index 3d720492..eab0a304 100644 --- a/pages/History.qml +++ b/pages/History.qml @@ -1511,7 +1511,7 @@ Rectangle { "i": i, "isout": isout, "amount": Number(amount), - "displayAmount": displayAmount + " XMR", + "displayAmount": displayAmount + " WOW", "hash": hash, "paymentId": paymentId, "address": address,