wow a few other things

pull/7/head
qvqc 4 years ago committed by wowario
parent bc5285ac62
commit 37caff4de7
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -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;
}

@ -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 {

@ -1511,7 +1511,7 @@ Rectangle {
"i": i,
"isout": isout,
"amount": Number(amount),
"displayAmount": displayAmount + " XMR",
"displayAmount": displayAmount + " WOW",
"hash": hash,
"paymentId": paymentId,
"address": address,