diff options
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/Account.qml | 106 | ||||
| -rw-r--r-- | pages/AddressBook.qml | 94 | ||||
| -rw-r--r-- | pages/Advanced.qml | 14 | ||||
| -rw-r--r-- | pages/History.qml | 324 | ||||
| -rw-r--r-- | pages/Keys.qml | 65 | ||||
| -rw-r--r-- | pages/Mining.qml | 103 | ||||
| -rw-r--r-- | pages/Receive.qml | 168 | ||||
| -rw-r--r-- | pages/SharedRingDB.qml | 54 | ||||
| -rw-r--r-- | pages/Sign.qml | 58 | ||||
| -rw-r--r-- | pages/Transfer.qml | 106 | ||||
| -rw-r--r-- | pages/TxKey.qml | 56 | ||||
| -rw-r--r-- | pages/merchant/Merchant.qml | 34 | ||||
| -rw-r--r-- | pages/merchant/MerchantCheckbox.qml | 6 | ||||
| -rw-r--r-- | pages/merchant/MerchantTitlebar.qml | 19 | ||||
| -rw-r--r-- | pages/merchant/MerchantTrackingList.qml | 12 | ||||
| -rw-r--r-- | pages/settings/Settings.qml | 16 | ||||
| -rw-r--r-- | pages/settings/SettingsInfo.qml | 122 | ||||
| -rw-r--r-- | pages/settings/SettingsLayout.qml | 48 | ||||
| -rw-r--r-- | pages/settings/SettingsLog.qml | 44 | ||||
| -rw-r--r-- | pages/settings/SettingsNode.qml | 66 | ||||
| -rw-r--r-- | pages/settings/SettingsWallet.qml | 22 |
21 files changed, 769 insertions, 768 deletions
diff --git a/pages/Account.qml b/pages/Account.qml index 9bf0fe9c..4fbd6a88 100644 --- a/pages/Account.qml +++ b/pages/Account.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -33,8 +33,8 @@ import QtQuick.Layouts 1.1 import QtQuick.Dialogs 1.2 import FontAwesome 1.0 -import "../components" as MoneroComponents -import "../components/effects/" as MoneroEffects +import "../components" as MonzeroComponents +import "../components/effects/" as MonzeroEffects import moneroComponents.Clipboard 1.0 import moneroComponents.Wallet 1.0 @@ -82,7 +82,7 @@ Rectangle { visible: !selectAndSend spacing: 0 - MoneroComponents.LabelSubheader { + MonzeroComponents.LabelSubheader { Layout.fillWidth: true fontSize: 24 textFormat: Text.RichText @@ -92,28 +92,28 @@ Rectangle { RowLayout { Layout.topMargin: 22 - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { text: qsTr("Total balance: ") + translationManager.emptyString Layout.fillWidth: true - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor font.pixelSize: 16 - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name themeTransition: false } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: balanceAll Layout.rightMargin: 87 - font.family: MoneroComponents.Style.fontMonoRegular.name; + font.family: MonzeroComponents.Style.fontMonoRegular.name; font.pixelSize: 16 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor MouseArea { hoverEnabled: true anchors.fill: parent cursorShape: Qt.PointingHandCursor - onEntered: parent.color = MoneroComponents.Style.orange - onExited: parent.color = MoneroComponents.Style.defaultFontColor + onEntered: parent.color = MonzeroComponents.Style.orange + onExited: parent.color = MonzeroComponents.Style.defaultFontColor onClicked: { console.log("Copied to clipboard"); var balanceAllNumberOnly = parent.text.slice(0, -4); @@ -127,28 +127,28 @@ Rectangle { RowLayout { Layout.topMargin: 10 - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { text: qsTr("Total unlocked balance: ") + translationManager.emptyString Layout.fillWidth: true - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor font.pixelSize: 16 - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name themeTransition: false } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: unlockedBalanceAll Layout.rightMargin: 87 - font.family: MoneroComponents.Style.fontMonoRegular.name; + font.family: MonzeroComponents.Style.fontMonoRegular.name; font.pixelSize: 16 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor MouseArea { hoverEnabled: true anchors.fill: parent cursorShape: Qt.PointingHandCursor - onEntered: parent.color = MoneroComponents.Style.orange - onExited: parent.color = MoneroComponents.Style.defaultFontColor + onEntered: parent.color = MonzeroComponents.Style.orange + onExited: parent.color = MonzeroComponents.Style.defaultFontColor onClicked: { console.log("Copied to clipboard"); var unlockedBalanceAllNumberOnly = parent.text.slice(0, -4); @@ -167,14 +167,14 @@ Rectangle { RowLayout { spacing: 0 - MoneroComponents.LabelSubheader { + MonzeroComponents.LabelSubheader { Layout.fillWidth: true fontSize: 24 textFormat: Text.RichText text: qsTr("Accounts") + translationManager.emptyString } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: createNewAccountButton visible: !selectAndSend small: true @@ -197,12 +197,12 @@ Rectangle { anchors.left: createNewAccountButton.left anchors.right: createNewAccountButton.right height: 2 - color: MoneroComponents.Style.appWindowBorderColor + color: MonzeroComponents.Style.appWindowBorderColor - MoneroEffects.ColorTransition { + MonzeroEffects.ColorTransition { targetObj: parent - blackColor: MoneroComponents.Style._b_appWindowBorderColor - whiteColor: MoneroComponents.Style._w_appWindowBorderColor + blackColor: MonzeroComponents.Style._b_appWindowBorderColor + whiteColor: MonzeroComponents.Style._w_appWindowBorderColor } } } @@ -231,29 +231,29 @@ Rectangle { height: subaddressAccountListRow.subaddressAccountListItemHeight width: parent ? parent.width : undefined Layout.fillWidth: true - color: itemMouseArea.containsMouse || index === currentAccountIndex ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent" + color: itemMouseArea.containsMouse || index === currentAccountIndex ? MonzeroComponents.Style.titleBarButtonHoverColor : "transparent" Rectangle { visible: index === currentAccountIndex Layout.fillHeight: true anchors.top: parent.top anchors.bottom: parent.bottom - color: MoneroComponents.Style.accountColors[currentAccountIndex % MoneroComponents.Style.accountColors.length] + color: MonzeroComponents.Style.accountColors[currentAccountIndex % MonzeroComponents.Style.accountColors.length] width: 2 } Rectangle { - color: MoneroComponents.Style.appWindowBorderColor + color: MonzeroComponents.Style.appWindowBorderColor anchors.right: parent.right anchors.left: parent.left anchors.top: parent.top height: 1 visible: index !== 0 - MoneroEffects.ColorTransition { + MonzeroEffects.ColorTransition { targetObj: parent - blackColor: MoneroComponents.Style._b_appWindowBorderColor - whiteColor: MoneroComponents.Style._w_appWindowBorderColor + blackColor: MonzeroComponents.Style._b_appWindowBorderColor + whiteColor: MonzeroComponents.Style._w_appWindowBorderColor } } @@ -263,9 +263,9 @@ Rectangle { anchors.rightMargin: 80 color: "transparent" - MoneroComponents.Label { + MonzeroComponents.Label { id: idLabel - color: index === currentAccountIndex ? MoneroComponents.Style.defaultFontColor : "#757575" + color: index === currentAccountIndex ? MonzeroComponents.Style.defaultFontColor : "#757575" anchors.verticalCenter: parent.verticalCenter anchors.left: parent.left anchors.leftMargin: 6 @@ -274,9 +274,9 @@ Rectangle { themeTransition: false } - MoneroComponents.Label { + MonzeroComponents.Label { id: nameLabel - color: index === currentAccountIndex ? MoneroComponents.Style.defaultFontColor : MoneroComponents.Style.dimmedFontColor + color: index === currentAccountIndex ? MonzeroComponents.Style.defaultFontColor : MonzeroComponents.Style.dimmedFontColor anchors.verticalCenter: parent.verticalCenter anchors.left: idLabel.right anchors.leftMargin: 6 @@ -287,27 +287,27 @@ Rectangle { themeTransition: false } - MoneroComponents.Label { + MonzeroComponents.Label { id: addressLabel - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.verticalCenter: parent.verticalCenter anchors.left: balanceNumberLabel.left anchors.leftMargin: -addressLabel.width - 30 fontSize: 16 - fontFamily: MoneroComponents.Style.fontMonoRegular.name; + fontFamily: MonzeroComponents.Style.fontMonoRegular.name; text: TxUtils.addressTruncatePretty(address, mainLayout.width < 740 ? 1 : (mainLayout.width < 900 ? 2 : 3)) themeTransition: false } - MoneroComponents.Label { + MonzeroComponents.Label { id: balanceNumberLabel - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.verticalCenter: parent.verticalCenter anchors.left: parent.right anchors.leftMargin: -balanceNumberLabel.width fontSize: 16 - fontFamily: MoneroComponents.Style.fontMonoRegular.name; - text: balance + " XMR" + fontFamily: MonzeroComponents.Style.fontMonoRegular.name; + text: balance + " XMZ" elide: Text.ElideRight textWidth: 180 themeTransition: false @@ -333,12 +333,12 @@ Rectangle { height: 21 spacing: 10 - MoneroComponents.IconButton { + MonzeroComponents.IconButton { id: renameButton image: "qrc:///images/edit.svg" fontAwesomeFallbackIcon: FontAwesome.edit fontAwesomeFallbackSize: 22 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor opacity: isOpenGL ? 0.5 : 1 fontAwesomeFallbackOpacity: 0.5 Layout.preferredWidth: 23 @@ -348,12 +348,12 @@ Rectangle { onClicked: pageAccount.renameSubaddressAccountLabel(index); } - MoneroComponents.IconButton { + MonzeroComponents.IconButton { id: copyButton image: "qrc:///images/copy.svg" fontAwesomeFallbackIcon: FontAwesome.clipboard fontAwesomeFallbackSize: 22 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor opacity: isOpenGL ? 0.5 : 1 fontAwesomeFallbackOpacity: 0.5 Layout.preferredWidth: 16 @@ -376,14 +376,14 @@ Rectangle { } Rectangle { - color: MoneroComponents.Style.appWindowBorderColor + color: MonzeroComponents.Style.appWindowBorderColor Layout.fillWidth: true height: 1 - MoneroEffects.ColorTransition { + MonzeroEffects.ColorTransition { targetObj: parent - blackColor: MoneroComponents.Style._b_appWindowBorderColor - whiteColor: MoneroComponents.Style._w_appWindowBorderColor + blackColor: MonzeroComponents.Style._b_appWindowBorderColor + whiteColor: MonzeroComponents.Style._w_appWindowBorderColor } } } @@ -396,8 +396,8 @@ Rectangle { subaddressAccountListView.model = appWindow.currentWallet.subaddressAccountModel; appWindow.currentWallet.subaddress.refresh(appWindow.currentWallet.currentSubaddressAccount) - balanceAll.text = walletManager.displayAmount(appWindow.currentWallet.balanceAll()) + " XMR" - unlockedBalanceAll.text = walletManager.displayAmount(appWindow.currentWallet.unlockedBalanceAll()) + " XMR" + balanceAll.text = walletManager.displayAmount(appWindow.currentWallet.balanceAll()) + " XMZ" + unlockedBalanceAll.text = walletManager.displayAmount(appWindow.currentWallet.unlockedBalanceAll()) + " XMZ" } } diff --git a/pages/AddressBook.qml b/pages/AddressBook.qml index 65e315e2..6af941d3 100644 --- a/pages/AddressBook.qml +++ b/pages/AddressBook.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -31,8 +31,8 @@ import QtQuick.Controls 2.0 import QtQuick.Layouts 1.1 import QtQuick.Dialogs 1.2 -import "../components" as MoneroComponents -import "../components/effects/" as MoneroEffects +import "../components" as MonzeroComponents +import "../components/effects/" as MonzeroEffects import "../js/TxUtils.js" as TxUtils import moneroComponents.AddressBook 1.0 @@ -70,8 +70,8 @@ Rectangle { Text { id: titleLabel Layout.fillWidth: true - color: MoneroComponents.Style.defaultFontColor - font.family: MoneroComponents.Style.fontRegular.name + color: MonzeroComponents.Style.defaultFontColor + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 32 horizontalAlignment: TextInput.AlignLeft wrapMode: Text.WordWrap; @@ -83,18 +83,18 @@ Rectangle { Text { Layout.fillWidth: true - color: MoneroComponents.Style.dimmedFontColor - font.family: MoneroComponents.Style.fontRegular.name + color: MonzeroComponents.Style.dimmedFontColor + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 16 horizontalAlignment: TextInput.AlignLeft wrapMode: Text.WordWrap; leftPadding: 0 topPadding: 0 - text: qsTr("This makes it easier to send or receive Monero and reduces errors when typing in addresses manually.") + translationManager.emptyString + text: qsTr("This makes it easier to send or receive Monzero and reduces errors when typing in addresses manually.") + translationManager.emptyString width: parent.width } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: addFirstEntryButton Layout.topMargin: 20 Layout.alignment: Qt.AlignHCenter @@ -111,13 +111,13 @@ Rectangle { visible: addressBookListView.count >= 1 spacing: 0 - MoneroComponents.Label { + MonzeroComponents.Label { Layout.bottomMargin: 20 fontSize: 32 text: qsTr("Address book") + translationManager.emptyString } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: addAddressButton Layout.bottomMargin: 8 Layout.alignment: Qt.AlignRight @@ -148,7 +148,7 @@ Rectangle { height: addressBookListRow.addressBookListItemHeight width: parent ? parent.width : undefined Layout.fillWidth: true - color: itemMouseArea.containsMouse ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent" + color: itemMouseArea.containsMouse ? MonzeroComponents.Style.titleBarButtonHoverColor : "transparent" function doSend() { console.log("Sending to: ", address +" "+ paymentId); @@ -157,16 +157,16 @@ Rectangle { } Rectangle { - color: MoneroComponents.Style.appWindowBorderColor + color: MonzeroComponents.Style.appWindowBorderColor anchors.right: parent.right anchors.left: parent.left anchors.top: parent.top height: 1 - MoneroEffects.ColorTransition { + MonzeroEffects.ColorTransition { targetObj: parent - blackColor: MoneroComponents.Style._b_appWindowBorderColor - whiteColor: MoneroComponents.Style._w_appWindowBorderColor + blackColor: MonzeroComponents.Style._b_appWindowBorderColor + whiteColor: MonzeroComponents.Style._w_appWindowBorderColor } } @@ -176,9 +176,9 @@ Rectangle { anchors.rightMargin: 125 color: "transparent" - MoneroComponents.Label { + MonzeroComponents.Label { id: descriptionLabel - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.verticalCenter: parent.verticalCenter anchors.left: parent.left anchors.leftMargin: 6 @@ -188,15 +188,15 @@ Rectangle { textWidth: addressLabel.x - descriptionLabel.x - 1 } - MoneroComponents.Label { + MonzeroComponents.Label { id: addressLabel - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.verticalCenter: parent.verticalCenter anchors.left: parent.right anchors.leftMargin: -addressLabel.width - 5 fontSize: 16 - fontFamily: MoneroComponents.Style.fontMonoRegular.name; + fontFamily: MonzeroComponents.Style.fontMonoRegular.name; text: TxUtils.addressTruncatePretty(address, mainLayout.width < 540 ? 1 : (mainLayout.width < 700 ? 2 : 3)); } @@ -219,10 +219,10 @@ Rectangle { height: 21 spacing: 10 - MoneroComponents.IconButton { + MonzeroComponents.IconButton { id: sendToButton image: "qrc:///images/arrow-right-in-circle-outline-medium-white.svg" - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor opacity: isOpenGL ? 0.5 : 1 fontAwesomeFallbackIcon: FontAwesome.arrowRight fontAwesomeFallbackSize: 22 @@ -236,10 +236,10 @@ Rectangle { } } - MoneroComponents.IconButton { + MonzeroComponents.IconButton { fontAwesomeFallbackIcon: FontAwesome.searchPlus fontAwesomeFallbackSize: 22 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor fontAwesomeFallbackOpacity: 0.5 Layout.preferredWidth: 23 Layout.preferredHeight: 21 @@ -248,10 +248,10 @@ Rectangle { onClicked: doSearchInHistory(address) } - MoneroComponents.IconButton { + MonzeroComponents.IconButton { id: editEntryButton image: "qrc:///images/edit.svg" - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor opacity: isOpenGL ? 0.5 : 1 fontAwesomeFallbackIcon: FontAwesome.edit fontAwesomeFallbackSize: 22 @@ -266,10 +266,10 @@ Rectangle { } } - MoneroComponents.IconButton { + MonzeroComponents.IconButton { id: copyButton image: "qrc:///images/copy.svg" - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor opacity: isOpenGL ? 0.5 : 1 fontAwesomeFallbackIcon: FontAwesome.clipboard fontAwesomeFallbackSize: 22 @@ -291,14 +291,14 @@ Rectangle { Rectangle { id: border2 - color: MoneroComponents.Style.appWindowBorderColor + color: MonzeroComponents.Style.appWindowBorderColor Layout.fillWidth: true height: 1 - MoneroEffects.ColorTransition { + MonzeroEffects.ColorTransition { targetObj: border2 - blackColor: MoneroComponents.Style._b_appWindowBorderColor - whiteColor: MoneroComponents.Style._w_appWindowBorderColor + blackColor: MonzeroComponents.Style._b_appWindowBorderColor + whiteColor: MonzeroComponents.Style._w_appWindowBorderColor } } } @@ -307,13 +307,13 @@ Rectangle { visible: false spacing: 0 - MoneroComponents.Label { + MonzeroComponents.Label { fontSize: 32 wrapMode: Text.WordWrap text: (root.editEntry ? qsTr("Edit entry") : qsTr("Add an address")) + translationManager.emptyString } - MoneroComponents.LineEditMulti { + MonzeroComponents.LineEditMulti { id: addressLine visible: !root.editEntry Layout.topMargin: 20 @@ -323,11 +323,11 @@ Rectangle { .arg(qsTr("Address")) + translationManager.emptyString placeholderText: { if(persistentSettings.nettype == NetworkType.MAINNET){ - return "4.. / 8.. / monero:.. / OpenAlias"; + return "F.. / monzero:.. / OpenAlias"; } else if (persistentSettings.nettype == NetworkType.STAGENET){ - return "5.. / 7.. / monero:.."; + return "F.. / monzero:.."; } else if(persistentSettings.nettype == NetworkType.TESTNET){ - return "9.. / B.. / monero:.."; + return "F.. / monzero:.."; } } wrapMode: Text.WrapAnywhere @@ -343,7 +343,7 @@ Rectangle { onEnterPressed: addButton.enabled ? addButton.clicked() : "" onReturnPressed: addButton.enabled ? addButton.clicked() : "" - MoneroComponents.InlineButton { + MonzeroComponents.InlineButton { fontFamily: FontAwesome.fontFamilySolid fontStyleName: "Solid" fontPixelSize: 18 @@ -366,8 +366,8 @@ Rectangle { } } - MoneroComponents.InlineButton { - buttonColor: MoneroComponents.Style.orange + MonzeroComponents.InlineButton { + buttonColor: MonzeroComponents.Style.orange fontFamily: FontAwesome.fontFamily text: FontAwesome.qrcode visible : appWindow.qrScannerEnabled && !addressLine.text @@ -378,7 +378,7 @@ Rectangle { } } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: resolveButton KeyNavigation.backtab: addressLine KeyNavigation.tab: descriptionLine @@ -414,7 +414,7 @@ Rectangle { } } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: descriptionLine KeyNavigation.backtab: resolveButton.visible ? resolveButton : addressLine KeyNavigation.tab: addButton.enabled ? addButton : cancelButton @@ -431,7 +431,7 @@ Rectangle { Layout.topMargin: 20 Layout.alignment: Qt.AlignRight - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: cancelButton KeyNavigation.backtab: addButton KeyNavigation.tab: deleteButton.visible ? deleteButton : addressLine @@ -441,7 +441,7 @@ Rectangle { onClicked: root.showAddressBook(); } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: deleteButton KeyNavigation.backtab: cancelButton KeyNavigation.tab: addressLine @@ -455,7 +455,7 @@ Rectangle { } } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: addButton KeyNavigation.backtab: descriptionLine KeyNavigation.tab: cancelButton @@ -558,7 +558,7 @@ Rectangle { confirmationDialog.open() } - MoneroComponents.StandardDialog { + MonzeroComponents.StandardDialog { // dynamically change onclose handler property var onCloseCallback id: oaPopup diff --git a/pages/Advanced.qml b/pages/Advanced.qml index 5cb0d3d8..22ee5d7c 100644 --- a/pages/Advanced.qml +++ b/pages/Advanced.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2021-2024, The Monero Project +// Copyright (c) 2021-2024, The Monzero Project // // All rights reserved. // @@ -30,7 +30,7 @@ import QtQuick 2.9 import QtQuick.Controls 1.4 import QtQuick.Controls.Styles 1.4 import QtQuick.Layouts 1.1 -import "../components" as MoneroComponents +import "../components" as MonzeroComponents import "." ColumnLayout { @@ -44,29 +44,29 @@ ColumnLayout { property alias prooveView: stateView.prooveView property alias state: stateView.state - MoneroComponents.Navbar { + MonzeroComponents.Navbar { id: navbarId Layout.alignment: Qt.AlignHCenter Layout.topMargin: height Layout.bottomMargin: height - MoneroComponents.NavbarItem { + MonzeroComponents.NavbarItem { active: state == "Mining" text: qsTr("Mining") + translationManager.emptyString onSelected: state = "Mining" visible: !isAndroid } - MoneroComponents.NavbarItem { + MonzeroComponents.NavbarItem { active: state == "Prove" text: qsTr("Prove/check") + translationManager.emptyString onSelected: state = "Prove" } - MoneroComponents.NavbarItem { + MonzeroComponents.NavbarItem { active: state == "SharedRingDB" text: qsTr("Shared RingDB") + translationManager.emptyString onSelected: state = "SharedRingDB" } - MoneroComponents.NavbarItem { + MonzeroComponents.NavbarItem { active: state == "Sign" text: qsTr("Sign/verify") + translationManager.emptyString onSelected: state = "Sign" diff --git a/pages/History.qml b/pages/History.qml index 6871405d..f928fd5b 100644 --- a/pages/History.qml +++ b/pages/History.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -38,8 +38,8 @@ import moneroComponents.TransactionHistoryModel 1.0 import moneroComponents.Clipboard 1.0 import FontAwesome 1.0 -import "../components/effects/" as MoneroEffects -import "../components" as MoneroComponents +import "../components/effects/" as MonzeroEffects +import "../components" as MonzeroComponents import "../js/Utils.js" as Utils import "../js/TxUtils.js" as TxUtils @@ -84,7 +84,7 @@ Rectangle { Layout.rightMargin: sideMargin Layout.bottomMargin: 10 - MoneroComponents.Label { + MonzeroComponents.Label { fontSize: 24 text: qsTr("Transactions") + translationManager.emptyString } @@ -102,12 +102,12 @@ Rectangle { Layout.preferredHeight: 15 spacing: 8 - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { Layout.alignment: Qt.AlignVCenter - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: qsTr("Sort & filter") + translationManager.emptyString - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor MouseArea { anchors.fill: parent @@ -119,7 +119,7 @@ Rectangle { } } - MoneroEffects.ImageMask { + MonzeroEffects.ImageMask { id: sortCollapsedIcon Layout.alignment: Qt.AlignVCenter height: 8 @@ -128,7 +128,7 @@ Rectangle { fontAwesomeFallbackIcon: FontAwesome.arrowDown fontAwesomeFallbackSize: 14 rotation: sortAndFilter.collapsed ? 180 : 0 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor MouseArea { anchors.fill: parent @@ -149,7 +149,7 @@ Rectangle { Layout.rightMargin: sideMargin visible: sortAndFilter.collapsed - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: searchInput Layout.fillWidth: true input.topPadding: 6 @@ -181,7 +181,7 @@ Rectangle { Layout.rightMargin: -8 Layout.leftMargin: -2 - MoneroComponents.InlineButton { + MonzeroComponents.InlineButton { id: cleanButton buttonColor: "transparent" fontFamily: FontAwesome.fontFamilySolid @@ -206,7 +206,7 @@ Rectangle { columns: 2 columnSpacing: 20 - MoneroComponents.DatePicker { + MonzeroComponents.DatePicker { id: fromDatePicker Layout.fillWidth: true width: 100 @@ -220,7 +220,7 @@ Rectangle { } } - MoneroComponents.DatePicker { + MonzeroComponents.DatePicker { id: toDatePicker Layout.fillWidth: true width: 100 @@ -248,11 +248,11 @@ Rectangle { Layout.preferredWidth: childrenRect.width + 38 Layout.preferredHeight: 20 - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: qsTr("Sort by") + ":" + translationManager.emptyString - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.verticalCenter: parent.verticalCenter } } @@ -268,16 +268,16 @@ Rectangle { clip: true anchors.fill: parent - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: sortBlockheightText - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: qsTr("Blockheight") + translationManager.emptyString - color: root.sortBy === "blockheight" ? MoneroComponents.Style.defaultFontColor : MoneroComponents.Style.dimmedFontColor + color: root.sortBy === "blockheight" ? MonzeroComponents.Style.defaultFontColor : MonzeroComponents.Style.dimmedFontColor themeTransition: false } - MoneroEffects.ImageMask { + MonzeroEffects.ImageMask { height: 8 width: 12 visible: root.sortBy === "blockheight" ? true : false @@ -285,7 +285,7 @@ Rectangle { image: "qrc:///images/whiteDropIndicator.png" fontAwesomeFallbackIcon: FontAwesome.arrowDown fontAwesomeFallbackSize: 14 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor rotation: { if(root.sortBy === "blockheight"){ return root.sortDirection ? 0 : 180 @@ -327,16 +327,16 @@ Rectangle { clip: true anchors.fill: parent - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: sortDateText - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: qsTr("Date") + translationManager.emptyString - color: root.sortBy === "timestamp" ? MoneroComponents.Style.defaultFontColor : MoneroComponents.Style.dimmedFontColor + color: root.sortBy === "timestamp" ? MonzeroComponents.Style.defaultFontColor : MonzeroComponents.Style.dimmedFontColor themeTransition: false } - MoneroEffects.ImageMask { + MonzeroEffects.ImageMask { height: 8 width: 12 visible: root.sortBy === "timestamp" ? true : false @@ -344,7 +344,7 @@ Rectangle { image: "qrc:///images/whiteDropIndicator.png" fontAwesomeFallbackIcon: FontAwesome.arrowDown fontAwesomeFallbackSize: 14 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor rotation: { if(root.sortBy === "timestamp"){ return root.sortDirection ? 0 : 180 @@ -386,16 +386,16 @@ Rectangle { clip: true anchors.fill: parent - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: sortAmountText - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: qsTr("Amount") + translationManager.emptyString - color: root.sortBy === "amount" ? MoneroComponents.Style.defaultFontColor : MoneroComponents.Style.dimmedFontColor + color: root.sortBy === "amount" ? MonzeroComponents.Style.defaultFontColor : MonzeroComponents.Style.dimmedFontColor themeTransition: false } - MoneroEffects.ImageMask { + MonzeroEffects.ImageMask { height: 8 width: 12 visible: root.sortBy === "amount" ? true : false @@ -403,7 +403,7 @@ Rectangle { image: "qrc:///images/whiteDropIndicator.png" fontAwesomeFallbackIcon: FontAwesome.arrowDown fontAwesomeFallbackSize: 14 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor rotation: { if(root.sortBy === "amount"){ return root.sortDirection ? 0 : 180 @@ -439,13 +439,13 @@ Rectangle { visible: !sortAndFilter.collapsed Layout.preferredHeight: 20 - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { // status message - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: root.historyStatusMessage - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.verticalCenter: parent.verticalCenter } } @@ -467,11 +467,11 @@ Rectangle { Layout.preferredWidth: childrenRect.width + 2 Layout.preferredHeight: 20 - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: qsTr("Page") + ":" + translationManager.emptyString - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.verticalCenter: parent.verticalCenter } } @@ -482,10 +482,10 @@ Rectangle { Layout.leftMargin: 4 Layout.preferredHeight: 20 - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: paginationText text: root.txPage + "/" + Math.ceil(root.txCount / root.txMax) - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.verticalCenter: parent.verticalCenter MouseArea { @@ -494,8 +494,8 @@ Rectangle { anchors.fill: parent hoverEnabled: pages > 1 cursorShape: hoverEnabled ? Qt.PointingHandCursor : Qt.ArrowCursor - onEntered: parent.color = MoneroComponents.Style.orange - onExited: parent.color = MoneroComponents.Style.defaultFontColor + onEntered: parent.color = MonzeroComponents.Style.orange + onExited: parent.color = MonzeroComponents.Style.defaultFontColor onClicked: { if(pages === 1) return; @@ -525,7 +525,7 @@ Rectangle { opacity: enabled ? 1.0 : 0.2 enabled: false - MoneroEffects.ImageMask { + MonzeroEffects.ImageMask { id: prevIcon anchors.verticalCenter: parent.verticalCenter anchors.left: parent.left @@ -534,7 +534,7 @@ Rectangle { image: "qrc:///images/whiteDropIndicator.png" fontAwesomeFallbackIcon: FontAwesome.arrowDown fontAwesomeFallbackSize: 14 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor rotation: 90 } @@ -557,7 +557,7 @@ Rectangle { opacity: enabled ? 1.0 : 0.2 enabled: false - MoneroEffects.ImageMask { + MonzeroEffects.ImageMask { id: nextIcon anchors.verticalCenter: parent.verticalCenter anchors.right: parent.right @@ -567,7 +567,7 @@ Rectangle { fontAwesomeFallbackIcon: FontAwesome.arrowDown fontAwesomeFallbackSize: 14 rotation: 270 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor } MouseArea { @@ -601,7 +601,7 @@ Rectangle { } color: { if(!collapsed) return "transparent" - return MoneroComponents.Style.blackTheme ? "#06FFFFFF" : "#04000000" + return MonzeroComponents.Style.blackTheme ? "#06FFFFFF" : "#04000000" } Rectangle { @@ -622,7 +622,7 @@ Rectangle { color: isout ? "#d85a00" : "#2eb358" } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { visible: isFailed || isPending anchors.top: parent.top anchors.topMargin: 24 @@ -631,7 +631,7 @@ Rectangle { font.styleName: isFailed ? "Solid" : "" font.pixelSize: 15 text: isFailed ? FontAwesome.times : FontAwesome.clockO - color: isFailed ? "#FF0000" : MoneroComponents.Style.defaultFontColor + color: isFailed ? "#FF0000" : MonzeroComponents.Style.defaultFontColor themeTransition: false } } @@ -668,14 +668,14 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: 20 - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: (isout ? qsTr("Sent") : qsTr("Received")) + (isFailed ? " (" + qsTr("Failed") + ")" : (isPending ? " (" + qsTr("Pending") + ")" : "")) + translationManager.emptyString - color: MoneroComponents.Style.historyHeaderTextColor + color: MonzeroComponents.Style.historyHeaderTextColor anchors.verticalCenter: parent.verticalCenter - themeTransitionBlackColor: MoneroComponents.Style._b_historyHeaderTextColor - themeTransitionWhiteColor: MoneroComponents.Style._w_historyHeaderTextColor + themeTransitionBlackColor: MonzeroComponents.Style._b_historyHeaderTextColor + themeTransitionWhiteColor: MonzeroComponents.Style._w_historyHeaderTextColor } } @@ -684,19 +684,19 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: 20 - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: (amount == 0 ? qsTr("Unknown amount") : displayAmount) + translationManager.emptyString - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.verticalCenter: parent.verticalCenter MouseArea { state: "copyable" anchors.fill: parent hoverEnabled: true - onEntered: parent.color = MoneroComponents.Style.orange - onExited: parent.color = MoneroComponents.Style.defaultFontColor + onEntered: parent.color = MonzeroComponents.Style.orange + onExited: parent.color = MonzeroComponents.Style.defaultFontColor } } } @@ -718,13 +718,13 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: 20 - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: isout ? qsTr("Fee") : confirmationsRequired === 60 ? qsTr("Mined") : qsTr("Fee") + translationManager.emptyString - color: MoneroComponents.Style.historyHeaderTextColor - themeTransitionBlackColor: MoneroComponents.Style._b_historyHeaderTextColor - themeTransitionWhiteColor: MoneroComponents.Style._w_historyHeaderTextColor + color: MonzeroComponents.Style.historyHeaderTextColor + themeTransitionBlackColor: MonzeroComponents.Style._b_historyHeaderTextColor + themeTransitionWhiteColor: MonzeroComponents.Style._w_historyHeaderTextColor anchors.verticalCenter: parent.verticalCenter } } @@ -734,24 +734,24 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: 20 - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: { if(!isout && confirmationsRequired === 60) return qsTr("Yes") + translationManager.emptyString; - if(fee !== "") return Utils.removeTrailingZeros(fee) + " XMR"; + if(fee !== "") return Utils.removeTrailingZeros(fee) + " XMZ"; return "-"; } - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.verticalCenter: parent.verticalCenter MouseArea { state: "copyable" anchors.fill: parent hoverEnabled: true - onEntered: parent.color = MoneroComponents.Style.orange - onExited: parent.color = MoneroComponents.Style.defaultFontColor + onEntered: parent.color = MonzeroComponents.Style.orange + onExited: parent.color = MonzeroComponents.Style.defaultFontColor } } } @@ -780,13 +780,13 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: 20 - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: (isout ? qsTr("To") : qsTr("In")) + translationManager.emptyString - color: MoneroComponents.Style.historyHeaderTextColor - themeTransitionBlackColor: MoneroComponents.Style._b_historyHeaderTextColor - themeTransitionWhiteColor: MoneroComponents.Style._w_historyHeaderTextColor + color: MonzeroComponents.Style.historyHeaderTextColor + themeTransitionBlackColor: MonzeroComponents.Style._b_historyHeaderTextColor + themeTransitionWhiteColor: MonzeroComponents.Style._w_historyHeaderTextColor anchors.verticalCenter: parent.verticalCenter } } @@ -796,9 +796,9 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: 20 - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: addressField - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: { if (isout) { @@ -827,15 +827,15 @@ Rectangle { } } - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.verticalCenter: parent.verticalCenter MouseArea { state: isout ? "copyable_address" : "copyable_receiving_address" anchors.fill: parent hoverEnabled: true - onEntered: parent.color = MoneroComponents.Style.orange - onExited: parent.color = MoneroComponents.Style.defaultFontColor + onEntered: parent.color = MonzeroComponents.Style.orange + onExited: parent.color = MonzeroComponents.Style.defaultFontColor } } } @@ -857,13 +857,13 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: 20 - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: qsTr("Confirmations") + translationManager.emptyString - color: MoneroComponents.Style.historyHeaderTextColor - themeTransitionBlackColor: MoneroComponents.Style._b_historyHeaderTextColor - themeTransitionWhiteColor: MoneroComponents.Style._w_historyHeaderTextColor + color: MonzeroComponents.Style.historyHeaderTextColor + themeTransitionBlackColor: MonzeroComponents.Style._b_historyHeaderTextColor + themeTransitionWhiteColor: MonzeroComponents.Style._w_historyHeaderTextColor anchors.verticalCenter: parent.verticalCenter } } @@ -873,20 +873,20 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: 20 - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { property bool confirmed: confirmations < confirmationsRequired ? false : true - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: confirmed ? confirmations : confirmations + "/" + confirmationsRequired - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.verticalCenter: parent.verticalCenter MouseArea { state: "copyable" anchors.fill: parent hoverEnabled: true - onEntered: parent.color = MoneroComponents.Style.orange - onExited: parent.color = MoneroComponents.Style.defaultFontColor + onEntered: parent.color = MonzeroComponents.Style.orange + onExited: parent.color = MonzeroComponents.Style.defaultFontColor } } } @@ -915,13 +915,13 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: 20 - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: qsTr("Date") - color: MoneroComponents.Style.historyHeaderTextColor - themeTransitionBlackColor: MoneroComponents.Style._b_historyHeaderTextColor - themeTransitionWhiteColor: MoneroComponents.Style._w_historyHeaderTextColor + color: MonzeroComponents.Style.historyHeaderTextColor + themeTransitionBlackColor: MonzeroComponents.Style._b_historyHeaderTextColor + themeTransitionWhiteColor: MonzeroComponents.Style._w_historyHeaderTextColor anchors.verticalCenter: parent.verticalCenter } } @@ -931,12 +931,12 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: 20 - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: persistentSettings.historyHumanDates ? dateHuman : dateTime - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.verticalCenter: parent.verticalCenter MouseArea { @@ -944,13 +944,13 @@ Rectangle { anchors.fill: parent hoverEnabled: true onEntered: { - parent.color = MoneroComponents.Style.orange + parent.color = MonzeroComponents.Style.orange if (persistentSettings.historyHumanDates) { parent.text = dateTime; } } onExited: { - parent.color = MoneroComponents.Style.defaultFontColor + parent.color = MonzeroComponents.Style.defaultFontColor if (persistentSettings.historyHumanDates) { parent.text = dateHuman } @@ -975,7 +975,7 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: 50 - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: btnDetails text: FontAwesome.info small: true @@ -1011,7 +1011,7 @@ Rectangle { source: "qrc:///images/miningxmr.png" } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { visible: isout enabled: currentWallet ? !currentWallet.isHwBacked() : false anchors.left: btnDetails.right @@ -1054,13 +1054,13 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: 20 - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: qsTr("Description") + translationManager.emptyString - color: MoneroComponents.Style.historyHeaderTextColor - themeTransitionBlackColor: MoneroComponents.Style._b_historyHeaderTextColor - themeTransitionWhiteColor: MoneroComponents.Style._w_historyHeaderTextColor + color: MonzeroComponents.Style.historyHeaderTextColor + themeTransitionBlackColor: MonzeroComponents.Style._b_historyHeaderTextColor + themeTransitionWhiteColor: MonzeroComponents.Style._w_historyHeaderTextColor anchors.verticalCenter: parent.verticalCenter } } @@ -1070,31 +1070,31 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: 20 - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: txNoteText - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: tx_note !== "" ? tx_note : "-" - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.verticalCenter: parent.verticalCenter MouseArea { state: "copyable" anchors.fill: parent hoverEnabled: true - onEntered: parent.color = MoneroComponents.Style.orange - onExited: parent.color = MoneroComponents.Style.defaultFontColor + onEntered: parent.color = MonzeroComponents.Style.orange + onExited: parent.color = MonzeroComponents.Style.defaultFontColor } } - MoneroEffects.ImageMask { + MonzeroEffects.ImageMask { anchors.top: parent.top anchors.left: txNoteText.right anchors.leftMargin: 12 image: "qrc:///images/edit.svg" fontAwesomeFallbackIcon: FontAwesome.pencilSquare fontAwesomeFallbackSize: 22 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor opacity: 0.75 width: 23 height: 21 @@ -1122,13 +1122,13 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: 20 - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: qsTr("Transaction ID") + translationManager.emptyString - color: MoneroComponents.Style.historyHeaderTextColor - themeTransitionBlackColor: MoneroComponents.Style._b_historyHeaderTextColor - themeTransitionWhiteColor: MoneroComponents.Style._w_historyHeaderTextColor + color: MonzeroComponents.Style.historyHeaderTextColor + themeTransitionBlackColor: MonzeroComponents.Style._b_historyHeaderTextColor + themeTransitionWhiteColor: MonzeroComponents.Style._w_historyHeaderTextColor anchors.verticalCenter: parent.verticalCenter } } @@ -1138,19 +1138,19 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: 20 - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: hash - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.verticalCenter: parent.verticalCenter MouseArea { state: "copyable" anchors.fill: parent hoverEnabled: true - onEntered: parent.color = MoneroComponents.Style.orange - onExited: parent.color = MoneroComponents.Style.defaultFontColor + onEntered: parent.color = MonzeroComponents.Style.orange + onExited: parent.color = MonzeroComponents.Style.defaultFontColor } } } @@ -1166,13 +1166,13 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: 20 - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: qsTr("Transaction key") + translationManager.emptyString - color: MoneroComponents.Style.historyHeaderTextColor - themeTransitionBlackColor: MoneroComponents.Style._b_historyHeaderTextColor - themeTransitionWhiteColor: MoneroComponents.Style._w_historyHeaderTextColor + color: MonzeroComponents.Style.historyHeaderTextColor + themeTransitionBlackColor: MonzeroComponents.Style._b_historyHeaderTextColor + themeTransitionWhiteColor: MonzeroComponents.Style._w_historyHeaderTextColor anchors.verticalCenter: parent.verticalCenter } } @@ -1182,11 +1182,11 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: 20 - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: qsTr("Click to reveal") - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.verticalCenter: parent.verticalCenter state: "txkey_hidden" @@ -1194,8 +1194,8 @@ Rectangle { state: "copyable_txkey" anchors.fill: parent hoverEnabled: true - onEntered: parent.color = MoneroComponents.Style.orange - onExited: parent.color = MoneroComponents.Style.defaultFontColor + onEntered: parent.color = MonzeroComponents.Style.orange + onExited: parent.color = MonzeroComponents.Style.defaultFontColor } } } @@ -1211,13 +1211,13 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: 20 - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: qsTr("Blockheight") + translationManager.emptyString - color: MoneroComponents.Style.historyHeaderTextColor - themeTransitionBlackColor: MoneroComponents.Style._b_historyHeaderTextColor - themeTransitionWhiteColor: MoneroComponents.Style._w_historyHeaderTextColor + color: MonzeroComponents.Style.historyHeaderTextColor + themeTransitionBlackColor: MonzeroComponents.Style._b_historyHeaderTextColor + themeTransitionWhiteColor: MonzeroComponents.Style._w_historyHeaderTextColor anchors.verticalCenter: parent.verticalCenter } } @@ -1227,20 +1227,20 @@ Rectangle { Layout.fillWidth: true Layout.preferredHeight: 20 - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 14 text: (blockheight > 0 ? blockheight : qsTr('Pending')) + translationManager.emptyString; - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.verticalCenter: parent.verticalCenter MouseArea { state: "copyable" anchors.fill: parent hoverEnabled: true - onEntered: parent.color = MoneroComponents.Style.orange - onExited: parent.color = MoneroComponents.Style.defaultFontColor + onEntered: parent.color = MonzeroComponents.Style.orange + onExited: parent.color = MonzeroComponents.Style.defaultFontColor } } } @@ -1302,7 +1302,7 @@ Rectangle { color: "transparent" - MoneroEffects.ImageMask { + MonzeroEffects.ImageMask { id: collapsedIcon anchors.top: parent.top anchors.topMargin: 24 @@ -1311,7 +1311,7 @@ Rectangle { width: 12 image: "qrc:///images/whiteDropIndicator.png" rotation: delegate.collapsed ? 180 : 0 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor fontAwesomeFallbackIcon: FontAwesome.arrowDown fontAwesomeFallbackSize: 14 } @@ -1322,12 +1322,12 @@ Rectangle { anchors.right: parent.right anchors.top: parent.top height: 1 - color: MoneroComponents.Style.appWindowBorderColor + color: MonzeroComponents.Style.appWindowBorderColor - MoneroEffects.ColorTransition { + MonzeroEffects.ColorTransition { targetObj: parent - blackColor: MoneroComponents.Style._b_appWindowBorderColor - whiteColor: MoneroComponents.Style._w_appWindowBorderColor + blackColor: MonzeroComponents.Style._b_appWindowBorderColor + whiteColor: MonzeroComponents.Style._w_appWindowBorderColor } } @@ -1336,12 +1336,12 @@ Rectangle { anchors.right: parent.right anchors.top: parent.bottom height: 1 - color: MoneroComponents.Style.appWindowBorderColor + color: MonzeroComponents.Style.appWindowBorderColor - MoneroEffects.ColorTransition { + MonzeroEffects.ColorTransition { targetObj: parent - blackColor: MoneroComponents.Style._b_appWindowBorderColor - whiteColor: MoneroComponents.Style._w_appWindowBorderColor + blackColor: MonzeroComponents.Style._b_appWindowBorderColor + whiteColor: MonzeroComponents.Style._w_appWindowBorderColor } } } @@ -1354,20 +1354,20 @@ Rectangle { Layout.leftMargin: sideMargin Layout.rightMargin: sideMargin - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { // status message Layout.fillWidth: true Layout.alignment: Qt.AlignHCenter - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 text: root.historyStatusMessage; - color: MoneroComponents.Style.dimmedFontColor - themeTransitionBlackColor: MoneroComponents.Style._b_dimmedFontColor - themeTransitionWhiteColor: MoneroComponents.Style._w_dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor + themeTransitionBlackColor: MonzeroComponents.Style._b_dimmedFontColor + themeTransitionWhiteColor: MonzeroComponents.Style._w_dimmedFontColor } } - MoneroComponents.CheckBox2 { + MonzeroComponents.CheckBox2 { id: showAdvancedCheckbox Layout.topMargin: 30 Layout.bottomMargin: 20 @@ -1384,7 +1384,7 @@ Rectangle { Layout.rightMargin: sideMargin spacing: 20 - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: humanDatesCheckBox checked: persistentSettings.historyHumanDates onClicked: { @@ -1394,7 +1394,7 @@ Rectangle { text: qsTr("Human readable date format") + translationManager.emptyString } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { visible: !isIOS small: true text: qsTr("Export all history") + translationManager.emptyString @@ -1574,7 +1574,7 @@ Rectangle { // has the correct amount, so we try to fetch it from that instead. amount = Number(TxUtils.destinationsToAmount(destinations)); } - var displayAmount = Utils.removeTrailingZeros(amount.toFixed(12)) + " XMR"; + var displayAmount = Utils.removeTrailingZeros(amount.toFixed(12)) + " XMZ"; var tx_note = currentWallet.getUserNote(hash); var address = ""; diff --git a/pages/Keys.qml b/pages/Keys.qml index 99618d90..a4a842d7 100644 --- a/pages/Keys.qml +++ b/pages/Keys.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -33,7 +33,7 @@ import QtQuick.Layouts 1.1 import QtQuick.Dialogs 1.2 import moneroComponents.Clipboard 1.0 import "../version.js" as Version -import "../components" as MoneroComponents +import "../components" as MonzeroComponents import "." 1.0 @@ -58,15 +58,15 @@ Rectangle { spacing: 30 Layout.fillWidth: true - MoneroComponents.WarningBox { - text: qsTr("WARNING: Do not reuse your Monero keys on another fork, UNLESS this fork has key reuse mitigations built in. Doing so will harm your privacy.") + translationManager.emptyString; + MonzeroComponents.WarningBox { + text: qsTr("WARNING: Do not reuse your Monzero keys on another fork, UNLESS this fork has key reuse mitigations built in. Doing so will harm your privacy.") + translationManager.emptyString; } //! Manage wallet ColumnLayout { Layout.fillWidth: true - MoneroComponents.Label { + MonzeroComponents.Label { Layout.fillWidth: true fontSize: 22 Layout.topMargin: 10 @@ -76,30 +76,30 @@ Rectangle { Rectangle { Layout.fillWidth: true height: 2 - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity Layout.bottomMargin: 10 } - MoneroComponents.WarningBox { - text: qsTr("WARNING: Copying your seed to clipboard can expose you to malicious software, which may record your seed and steal your Monero. Please write down your seed manually.") + translationManager.emptyString + MonzeroComponents.WarningBox { + text: qsTr("WARNING: Copying your seed to clipboard can expose you to malicious software, which may record your seed and steal your Monzero. Please write down your seed manually.") + translationManager.emptyString } - MoneroComponents.LineEditMulti { + MonzeroComponents.LineEditMulti { id: seedText spacing: 0 copyButton: true addressValidation: false readOnly: true wrapMode: Text.WordWrap - fontColor: MoneroComponents.Style.defaultFontColor + fontColor: MonzeroComponents.Style.defaultFontColor } } ColumnLayout { Layout.fillWidth: true - MoneroComponents.Label { + MonzeroComponents.Label { Layout.fillWidth: true fontSize: 22 Layout.topMargin: 10 @@ -109,12 +109,12 @@ Rectangle { Rectangle { Layout.fillWidth: true height: 2 - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity Layout.bottomMargin: 10 } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { Layout.fillWidth: true id: walletCreationHeight readOnly: true @@ -127,7 +127,7 @@ Rectangle { ColumnLayout { Layout.fillWidth: true - MoneroComponents.Label { + MonzeroComponents.Label { Layout.fillWidth: true fontSize: 22 Layout.topMargin: 10 @@ -136,11 +136,11 @@ Rectangle { Rectangle { Layout.fillWidth: true height: 2 - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity Layout.bottomMargin: 10 } - MoneroComponents.LineEditMulti { + MonzeroComponents.LineEditMulti { Layout.fillWidth: true id: primaryAddress readOnly: true @@ -149,7 +149,7 @@ Rectangle { labelText: qsTr("Primary address") + translationManager.emptyString fontSize: 16 } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { Layout.fillWidth: true Layout.topMargin: 25 id: secretViewKey @@ -158,7 +158,7 @@ Rectangle { labelText: qsTr("Secret view key") + translationManager.emptyString fontSize: 16 } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { Layout.fillWidth: true Layout.topMargin: 25 id: publicViewKey @@ -167,7 +167,7 @@ Rectangle { labelText: qsTr("Public view key") + translationManager.emptyString fontSize: 16 } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { Layout.fillWidth: true Layout.topMargin: 25 id: secretSpendKey @@ -176,7 +176,7 @@ Rectangle { labelText: qsTr("Secret spend key") + translationManager.emptyString fontSize: 16 } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { Layout.fillWidth: true Layout.topMargin: 25 id: publicSpendKey @@ -190,7 +190,7 @@ Rectangle { ColumnLayout { Layout.fillWidth: true - MoneroComponents.Label { + MonzeroComponents.Label { Layout.fillWidth: true fontSize: 22 Layout.topMargin: 10 @@ -199,13 +199,13 @@ Rectangle { Rectangle { Layout.fillWidth: true height: 2 - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity Layout.bottomMargin: 10 } ColumnLayout { - MoneroComponents.RadioButton { + MonzeroComponents.RadioButton { id: showFullQr enabled: !this.checked checked: fullWalletQRCode.visible @@ -215,7 +215,7 @@ Rectangle { showViewOnlyQr.checked = false } } - MoneroComponents.RadioButton { + MonzeroComponents.RadioButton { enabled: !this.checked id: showViewOnlyQr checked: viewOnlyQRCode.visible @@ -246,16 +246,16 @@ Rectangle { fillMode: Image.PreserveAspectFit } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { Layout.fillWidth: true font.bold: true font.pixelSize: 16 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor text: (viewOnlyQRCode.visible) ? qsTr("View Only Wallet") + translationManager.emptyString : qsTr("Spendable Wallet") + translationManager.emptyString horizontalAlignment: Text.AlignHCenter } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { small: true text: qsTr("Done") + translationManager.emptyString onClicked: { @@ -281,7 +281,7 @@ Rectangle { seedText.text = currentWallet.seed === "" ? qsTr("Mnemonic seed protected by hardware device.") + translationManager.emptyString : currentWallet.seed if(typeof currentWallet != "undefined") { - viewOnlyQRCode.source = "image://qrcode/monero_wallet:" + currentWallet.address(0, 0) + "?view_key="+currentWallet.secretViewKey+"&height="+currentWallet.walletCreationHeight + viewOnlyQRCode.source = "image://qrcode/monzero_wallet:" + currentWallet.address(0, 0) + "?view_key="+currentWallet.secretViewKey+"&height="+currentWallet.walletCreationHeight fullWalletQRCode.source = viewOnlyQRCode.source +"&spend_key="+currentWallet.secretSpendKey if(currentWallet.viewOnly) { @@ -311,4 +311,3 @@ Rectangle { - diff --git a/pages/Mining.qml b/pages/Mining.qml index 85bd4d0a..8f073815 100644 --- a/pages/Mining.qml +++ b/pages/Mining.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -30,7 +30,7 @@ import QtQml.Models 2.2 import QtQuick 2.9 import QtQuick.Layouts 1.1 import QtQuick.Dialogs 1.2 -import "../components" as MoneroComponents +import "../components" as MonzeroComponents import moneroComponents.Wallet 1.0 import moneroComponents.P2PoolManager 1.0 import moneroComponents.DaemonManager 1.0 @@ -53,43 +53,44 @@ Rectangle { anchors.right: parent.right spacing: 20 - MoneroComponents.Label { + MonzeroComponents.Label { id: soloTitleLabel fontSize: 24 text: qsTr("Mining") + translationManager.emptyString } - MoneroComponents.WarningBox { + MonzeroComponents.WarningBox { Layout.bottomMargin: 8 id: localDaemonWarning text: qsTr("Mining is only available on local daemons.") + translationManager.emptyString - visible: persistentSettings.useRemoteNode && !persistentSettings.allowRemoteNodeMining + visible: false } - MoneroComponents.WarningBox { + MonzeroComponents.WarningBox { Layout.bottomMargin: 8 text: qsTr("Your daemon must be synchronized before you can start mining") + translationManager.emptyString - visible: !persistentSettings.useRemoteNode && !appWindow.daemonSynced + visible: false } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: soloMainLabel - text: qsTr("Mining with your computer helps strengthen the Monero network. The more people mine, the harder it is for the network to be attacked, and every little bit helps.\n\nMining also gives you a small chance to earn some Monero. Your computer will create hashes looking for block solutions. If you find a block, you will get the associated reward. Good luck!") + "\n\n" + qsTr("P2Pool mining is a decentralized way to pool mine that pays out more frequently compared to solo mining, while also supporting the network.") + translationManager.emptyString + text: qsTr("Mining is managed separately from the Monzero wallet. Keeping the miner independent lets you close this GUI without interrupting mining and prevents the wallet from silently starting CPU work.\n\nStart the node with ./start-node.sh, then run ./start-mining.sh YOUR_MONZERO_ADDRESS THREADS from the Genesis pre2 package. Use ./stop-mining.sh to stop mining. Coinbase rewards will appear in this wallet after refresh and unlock after 60 blocks.") + translationManager.emptyString wrapMode: Text.Wrap Layout.fillWidth: true - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 14 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor } - MoneroComponents.WarningBox { + MonzeroComponents.WarningBox { id: warningLabel Layout.topMargin: 8 Layout.bottomMargin: 8 - text: qsTr("Mining may reduce the performance of other running applications and processes.") + translationManager.emptyString + text: qsTr("This GUI does not start or stop the miner. Mining continues independently when the wallet is closed.") + translationManager.emptyString } GridLayout { + visible: false columns: 2 Layout.fillWidth: true columnSpacing: 20 @@ -106,9 +107,9 @@ Rectangle { Layout.fillWidth: true Layout.alignment : Qt.AlignTop | Qt.AlignLeft - MoneroComponents.Label { + MonzeroComponents.Label { id: miningModeLabel - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor text: qsTr("Mining mode") + translationManager.emptyString fontSize: 16 } @@ -118,7 +119,7 @@ Rectangle { Layout.topMargin: 5 spacing: 10 - MoneroComponents.StandardDropdown { + MonzeroComponents.StandardDropdown { Layout.maximumWidth: 200 id: miningModeDropdown visible: true @@ -137,9 +138,9 @@ Rectangle { Layout.fillWidth: true Layout.alignment : Qt.AlignTop | Qt.AlignLeft - MoneroComponents.Label { + MonzeroComponents.Label { id: soloMinerThreadsLabel - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor text: qsTr("CPU threads") + translationManager.emptyString fontSize: 16 wrapMode: Text.WordWrap @@ -151,7 +152,7 @@ Rectangle { spacing: 16 RowLayout { - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: removeThreadButton small: true primary: false @@ -160,10 +161,10 @@ Rectangle { onClicked: threads-- } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { Layout.bottomMargin: 1 Layout.minimumWidth: 45 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor text: threads horizontalAlignment: Text.AlignHCenter font.pixelSize: 16 @@ -181,7 +182,7 @@ Rectangle { } } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: addThreadButton small: true primary: false @@ -192,7 +193,7 @@ Rectangle { } RowLayout { - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: autoRecommendedThreadsButton small: true primary: false @@ -204,7 +205,7 @@ Rectangle { } } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: autoSetMaxThreadsButton small: true primary: false @@ -220,7 +221,7 @@ Rectangle { RowLayout { // Disable this option until stable visible: false - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: ignoreBattery enabled: startSoloMinerButton.enabled checked: !persistentSettings.miningIgnoreBattery @@ -234,9 +235,9 @@ Rectangle { Layout.alignment: Qt.AlignTop | Qt.AlignLeft Layout.minimumWidth: 140 - MoneroComponents.Label { + MonzeroComponents.Label { id: optionsLabel - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor visible: !persistentSettings.allow_p2pool_mining text: qsTr("Options") + translationManager.emptyString fontSize: 16 @@ -250,7 +251,7 @@ Rectangle { spacing: 16 RowLayout { - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: backgroundMining visible: !persistentSettings.allow_p2pool_mining enabled: startSoloMinerButton.enabled && !persistentSettings.allow_p2pool_mining @@ -264,9 +265,9 @@ Rectangle { ColumnLayout { Layout.alignment : Qt.AlignTop | Qt.AlignLeft - MoneroComponents.Label { + MonzeroComponents.Label { id: manageSoloMinerLabel - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor text: qsTr("Manage miner") + translationManager.emptyString fontSize: 16 wrapMode: Text.Wrap @@ -279,7 +280,7 @@ Rectangle { spacing: 16 RowLayout { - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { visible: true id: startSoloMinerButton small: true @@ -337,7 +338,7 @@ Rectangle { } } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { visible: true id: stopSoloMinerButton small: true @@ -356,9 +357,9 @@ Rectangle { Layout.fillWidth: true Layout.alignment : Qt.AlignTop | Qt.AlignLeft - MoneroComponents.Label { + MonzeroComponents.Label { id: statusLabel - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor text: qsTr("Status") + translationManager.emptyString fontSize: 16 } @@ -368,7 +369,7 @@ Rectangle { Layout.fillWidth: true spacing: 16 - MoneroComponents.LineEditMulti { + MonzeroComponents.LineEditMulti { id: statusText Layout.minimumWidth: 300 text: qsTr("Not mining") + translationManager.emptyString @@ -391,15 +392,15 @@ Rectangle { Layout.fillWidth: true Layout.alignment : Qt.AlignTop | Qt.AlignLeft - MoneroComponents.Label { + MonzeroComponents.Label { id: chainLabel - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor visible: persistentSettings.allow_p2pool_mining text: qsTr("Chain") + translationManager.emptyString fontSize: 16 } - MoneroComponents.Tooltip { + MonzeroComponents.Tooltip { id: chainsHelpTooltip text: qsTr("Use the mini or nano chains if you have a low hashrate.") + translationManager.emptyString } @@ -423,7 +424,7 @@ Rectangle { Layout.topMargin: 5 spacing: 10 - MoneroComponents.StandardDropdown { + MonzeroComponents.StandardDropdown { Layout.maximumWidth: 200 id: chainDropdown visible: persistentSettings.allow_p2pool_mining @@ -437,22 +438,22 @@ Rectangle { Layout.fillWidth: true Layout.alignment : Qt.AlignTop | Qt.AlignLeft - MoneroComponents.Label { + MonzeroComponents.Label { id: flagsLabel visible: persistentSettings.allow_p2pool_mining - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor text: qsTr("Flags") + translationManager.emptyString fontSize: 16 } - MoneroComponents.Tooltip { + MonzeroComponents.Tooltip { id: flagsHelpTooltip text: " Usage:<br> --wallet Wallet address to mine to. Subaddresses and integrated addresses are not supported!<br> - --host IP address of your Monero node, default is 127.0.0.1<br> - --rpc-port monerod RPC API port number, default is 18081<br> - --zmq-port monerod ZMQ pub port number, default is 18083 (same port as in monerod\'s \"--zmq-pub\" command line parameter)<br> + --host IP address of your Monzero node, default is 127.0.0.1<br> + --rpc-port monzerod RPC API port number, default is 6175<br> + --zmq-port monzerod ZMQ pub port number, default is 6176 (same port as in monzerod\'s \"--zmq-pub\" command line parameter)<br> --stratum Comma-separated list of IP:port for stratum server to listen on<br> --p2p Comma-separated list of IP:port for p2p server to listen on<br> --addpeers Comma-separated list of IP:port of other p2pool nodes to connect to<br> @@ -466,12 +467,12 @@ Rectangle { --stratum-api An alias for --local-api<br> --no-cache Disable p2pool.cache<br> --no-color Disable colors in console output<br> - --no-randomx Disable internal RandomX hasher: p2pool will use RPC calls to monerod to check PoW hashes<br> + --no-randomx Disable internal RandomX hasher: p2pool will use RPC calls to monzerod to check PoW hashes<br> --out-peers N Maximum number of outgoing connections for p2p server (any value between 10 and 1000)<br> --in-peers N Maximum number of incoming connections for p2p server (any value between 10 and 1000)<br> --start-mining N Start built-in miner using N threads (any value between 1 and 64)<br> --no-autodiff Disable automatic difficulty adjustment for miners connected to stratum (WARNING: incompatible with Nicehash and MRR)<br> - --rpc-login Specify username[:password] required for Monero RPC server<br> + --rpc-login Specify username[:password] required for Monzero RPC server<br> --socks5 Specify IP:port of a SOCKS5 proxy to use for outgoing connections<br> --no-dns Disable DNS queries, use only IP addresses to connect to peers (seed node DNS will be unavailable too)<br> --p2p-external-port Port number that your router uses for mapping to your local p2p port. Use it if you are behind a NAT and still want to accept incoming connections<br> @@ -482,8 +483,8 @@ Rectangle { --version Print p2pool's version and build details<br> --tls-cert file Load TLS certificate chain from \"file\" in the PEM format<br> --tls-cert-key file Load TLS certificate private key from \"file\" in the PEM format<br> - --rpc-ssl Enable SSL on RPC connections to the Monero node<br> - --rpc-ssl-fingerprint base64-encoded fingerprint of the Monero node's certificate (optional, use it for certificate pinning)<br> + --rpc-ssl Enable SSL on RPC connections to the Monzero node<br> + --rpc-ssl-fingerprint base64-encoded fingerprint of the Monzero node's certificate (optional, use it for certificate pinning)<br> --no-stratum-http Disable HTTP on Stratum ports<br> --help Show this help message " @@ -506,7 +507,7 @@ Rectangle { ColumnLayout { Layout.fillWidth: true - MoneroComponents.LineEditMulti { + MonzeroComponents.LineEditMulti { id: p2poolFlags Layout.minimumWidth: 100 Layout.bottomMargin: 20 @@ -590,7 +591,7 @@ Rectangle { errorPopup.open() } - MoneroComponents.StandardDialog { + MonzeroComponents.StandardDialog { id: errorPopup cancelVisible: false } diff --git a/pages/Receive.qml b/pages/Receive.qml index 9a36a279..9d0f0ccb 100644 --- a/pages/Receive.qml +++ b/pages/Receive.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -33,8 +33,8 @@ import QtQuick.Layouts 1.1 import QtQuick.Dialogs 1.2 import FontAwesome 1.0 -import "../components" as MoneroComponents -import "../components/effects/" as MoneroEffects +import "../components" as MonzeroComponents +import "../components/effects/" as MonzeroEffects import moneroComponents.Clipboard 1.0 import moneroComponents.Wallet 1.0 @@ -64,7 +64,7 @@ Rectangle { function generateQRCodeString() { if (pageReceive.state == "PaymentRequest") { return walletManager.make_uri(appWindow.current_address, - walletManager.amountFromString(amountToReceiveXMR.text), + walletManager.amountFromString(amountToReceiveXMZ.text), txDescriptionInput.text, receiverNameInput.text); } else { return walletManager.make_uri(appWindow.current_address); @@ -91,17 +91,17 @@ Rectangle { spacing: 0 property int qrSize: 220 - MoneroComponents.Navbar { + MonzeroComponents.Navbar { Layout.alignment: Qt.AlignHCenter Layout.bottomMargin: 10 - MoneroComponents.NavbarItem { + MonzeroComponents.NavbarItem { active: state == "Address" text: qsTr("Address") + translationManager.emptyString onSelected: state = "Address" } - MoneroComponents.NavbarItem { + MonzeroComponents.NavbarItem { active: state == "PaymentRequest" text: qsTr("Payment request") + translationManager.emptyString onSelected: { @@ -113,7 +113,7 @@ Rectangle { Rectangle { id: qrContainer - color: MoneroComponents.Style.blackTheme ? "white" : "transparent" + color: MonzeroComponents.Style.blackTheme ? "white" : "transparent" Layout.fillWidth: true Layout.alignment: Qt.AlignHCenter Layout.maximumWidth: parent.qrSize @@ -166,13 +166,13 @@ Rectangle { } } - MoneroComponents.Tooltip { + MonzeroComponents.Tooltip { id: qrCodeTooltip text: qsTr("Left click: copy QR code to clipboard") + "<br>" + qsTr("Right click: save QR code as image file") + translationManager.emptyString } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: qrCodeText Layout.alignment: Qt.AlignHCenter Layout.topMargin: 6 @@ -181,7 +181,7 @@ Rectangle { verticalAlignment: Text.AlignVCenter visible: paymentRequestGridLayout.visible font.pixelSize: 12 - color: qrCodeTextMouseArea.containsMouse ? MoneroComponents.Style.orange : MoneroComponents.Style.defaultFontColor + color: qrCodeTextMouseArea.containsMouse ? MonzeroComponents.Style.orange : MonzeroComponents.Style.defaultFontColor text: generateQRCodeString(); wrapMode: Text.WrapAnywhere tooltip: qsTr("Copy payment request to clipboard") + translationManager.emptyString @@ -211,7 +211,7 @@ Rectangle { Layout.preferredWidth: 285 Layout.maximumWidth: 285 - MoneroComponents.Label { + MonzeroComponents.Label { id: amountTitleFiat Layout.bottomMargin: 3 Layout.preferredWidth: 90 @@ -220,26 +220,26 @@ Rectangle { text: qsTr("Amount") + translationManager.emptyString } - MoneroComponents.Input { + MonzeroComponents.Input { id: amountToReceiveFiat Layout.preferredWidth: 165 Layout.maximumWidth: 165 visible: persistentSettings.fiatPriceEnabled topPadding: 5 leftPadding: 5 - font.family: MoneroComponents.Style.fontMonoRegular.name + font.family: MonzeroComponents.Style.fontMonoRegular.name font.pixelSize: 14 font.bold: false horizontalAlignment: TextInput.AlignLeft verticalAlignment: TextInput.AlignVCenter selectByMouse: true - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor placeholderText: "0.00" background: Rectangle { - color: MoneroComponents.Style.blackTheme ? "transparent" : "white" + color: MonzeroComponents.Style.blackTheme ? "transparent" : "white" radius: 3 - border.color: parent.activeFocus ? MoneroComponents.Style.inputBorderColorActive : MoneroComponents.Style.inputBorderColorInActive + border.color: parent.activeFocus ? MonzeroComponents.Style.inputBorderColorActive : MonzeroComponents.Style.inputBorderColorInActive border.width: 1 } onTextEdited: { @@ -256,9 +256,9 @@ Rectangle { } } if (amountToReceiveFiat.text == "") { - amountToReceiveXMR.text = ""; + amountToReceiveXMZ.text = ""; } else { - amountToReceiveXMR.text = fiatApiConvertToXMR(amountToReceiveFiat.text); + amountToReceiveXMZ.text = fiatApiConvertToXMZ(amountToReceiveFiat.text); } } validator: RegExpValidator { @@ -266,40 +266,40 @@ Rectangle { } } - MoneroComponents.Label { + MonzeroComponents.Label { Layout.bottomMargin: 3 visible: persistentSettings.fiatPriceEnabled fontSize: 14 text: appWindow.fiatApiCurrencySymbol(); } - MoneroComponents.Label { - id: amountTitleXMR + MonzeroComponents.Label { + id: amountTitleXMZ Layout.bottomMargin: 3 Layout.preferredWidth: 90 fontSize: 14 text: persistentSettings.fiatPriceEnabled ? "" : qsTr("Amount") + translationManager.emptyString } - MoneroComponents.Input { - id: amountToReceiveXMR + MonzeroComponents.Input { + id: amountToReceiveXMZ Layout.preferredWidth: 165 Layout.maximumWidth: 165 topPadding: 5 leftPadding: 5 - font.family: MoneroComponents.Style.fontMonoRegular.name + font.family: MonzeroComponents.Style.fontMonoRegular.name font.pixelSize: 14 font.bold: false horizontalAlignment: TextInput.AlignLeft verticalAlignment: TextInput.AlignVCenter selectByMouse: true - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor placeholderText: "0.000000000000" background: Rectangle { - color: MoneroComponents.Style.blackTheme ? "transparent" : "white" + color: MonzeroComponents.Style.blackTheme ? "transparent" : "white" radius: 3 - border.color: parent.activeFocus ? MoneroComponents.Style.inputBorderColorActive : MoneroComponents.Style.inputBorderColorInActive + border.color: parent.activeFocus ? MonzeroComponents.Style.inputBorderColorActive : MonzeroComponents.Style.inputBorderColorInActive border.width: 1 } onTextEdited: { @@ -315,10 +315,10 @@ Rectangle { cursorPosition = 1; } } - if (amountToReceiveXMR.text == "") { + if (amountToReceiveXMZ.text == "") { amountToReceiveFiat.text = ""; } else { - amountToReceiveFiat.text = fiatApiConvertToFiat(amountToReceiveXMR.text); + amountToReceiveFiat.text = fiatApiConvertToFiat(amountToReceiveXMZ.text); } } validator: RegExpValidator { @@ -326,13 +326,13 @@ Rectangle { } } - MoneroComponents.Label { + MonzeroComponents.Label { Layout.bottomMargin: 3 fontSize: 14 - text: "XMR" + text: "XMZ" } - MoneroComponents.Label { + MonzeroComponents.Label { id: txDescription Layout.bottomMargin: 3 Layout.preferredWidth: 90 @@ -342,7 +342,7 @@ Rectangle { tooltipIconVisible: true } - MoneroComponents.Input { + MonzeroComponents.Input { id: txDescriptionInput Layout.preferredWidth: 165 Layout.maximumWidth: 165 @@ -354,24 +354,24 @@ Rectangle { horizontalAlignment: TextInput.AlignLeft verticalAlignment: TextInput.AlignVCenter selectByMouse: true - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor placeholderText: qsTr("Visible to the sender") + translationManager.emptyString background: Rectangle { - color: MoneroComponents.Style.blackTheme ? "transparent" : "white" + color: MonzeroComponents.Style.blackTheme ? "transparent" : "white" radius: 3 - border.color: parent.activeFocus ? MoneroComponents.Style.inputBorderColorActive : MoneroComponents.Style.inputBorderColorInActive + border.color: parent.activeFocus ? MonzeroComponents.Style.inputBorderColorActive : MonzeroComponents.Style.inputBorderColorInActive border.width: 1 } } - MoneroComponents.Label { + MonzeroComponents.Label { Layout.bottomMargin: 3 fontSize: 14 text: "" } - MoneroComponents.Label { + MonzeroComponents.Label { id: receiverNameLabel Layout.bottomMargin: 3 Layout.preferredWidth: 90 @@ -381,7 +381,7 @@ Rectangle { tooltipIconVisible: true } - MoneroComponents.Input { + MonzeroComponents.Input { id: receiverNameInput Layout.preferredWidth: 165 Layout.maximumWidth: 165 @@ -392,26 +392,26 @@ Rectangle { horizontalAlignment: TextInput.AlignLeft verticalAlignment: TextInput.AlignVCenter selectByMouse: true - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor placeholderText: qsTr("Visible to the sender") + translationManager.emptyString maximumLength: 100 background: Rectangle { - color: MoneroComponents.Style.blackTheme ? "transparent" : "white" + color: MonzeroComponents.Style.blackTheme ? "transparent" : "white" radius: 3 - border.color: parent.activeFocus ? MoneroComponents.Style.inputBorderColorActive : MoneroComponents.Style.inputBorderColorInActive + border.color: parent.activeFocus ? MonzeroComponents.Style.inputBorderColorActive : MonzeroComponents.Style.inputBorderColorInActive border.width: 1 } } - MoneroComponents.Label { + MonzeroComponents.Label { Layout.bottomMargin: 3 fontSize: 14 text: "" } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: selectedaddressIndex Layout.alignment: Qt.AlignHCenter Layout.preferredWidth: 220 @@ -421,14 +421,14 @@ Rectangle { horizontalAlignment: Text.AlignHCenter text: qsTr("Address #") + subaddressListView.currentIndex + translationManager.emptyString wrapMode: Text.WordWrap - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 17 textFormat: Text.RichText - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor themeTransition: false } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: selectedAddressDrescription Layout.alignment: Qt.AlignHCenter Layout.preferredWidth: 220 @@ -438,10 +438,10 @@ Rectangle { horizontalAlignment: Text.AlignHCenter text: "(" + qsTr("no label") + ")" + translationManager.emptyString wrapMode: Text.WordWrap - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 17 textFormat: Text.RichText - color: selectedAddressDrescriptionMouseArea.containsMouse ? MoneroComponents.Style.orange : MoneroComponents.Style.dimmedFontColor + color: selectedAddressDrescriptionMouseArea.containsMouse ? MonzeroComponents.Style.orange : MonzeroComponents.Style.dimmedFontColor themeTransition: false tooltip: subaddressListView.currentIndex > 0 ? qsTr("Edit address label") : "" + translationManager.emptyString MouseArea { @@ -458,7 +458,7 @@ Rectangle { } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: selectedAddress Layout.alignment: Qt.AlignHCenter Layout.maximumWidth: 300 @@ -468,9 +468,9 @@ Rectangle { horizontalAlignment: TextInput.AlignHCenter wrapMode: Text.Wrap textFormat: Text.RichText - color: selectedAddressMouseArea.containsMouse ? MoneroComponents.Style.orange : MoneroComponents.Style.defaultFontColor + color: selectedAddressMouseArea.containsMouse ? MonzeroComponents.Style.orange : MonzeroComponents.Style.defaultFontColor font.pixelSize: 15 - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name themeTransition: false tooltip: qsTr("Copy address to clipboard") + translationManager.emptyString MouseArea { @@ -487,7 +487,7 @@ Rectangle { } } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { Layout.preferredWidth: 220 Layout.alignment: Qt.AlignHCenter Layout.topMargin: 18 @@ -511,14 +511,14 @@ Rectangle { RowLayout { spacing: 0 - MoneroComponents.LabelSubheader { + MonzeroComponents.LabelSubheader { Layout.fillWidth: true fontSize: 24 textFormat: Text.RichText text: qsTr("Addresses") + translationManager.emptyString } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: createAddressButton small: true text: qsTr("Create new address") + translationManager.emptyString @@ -540,12 +540,12 @@ Rectangle { anchors.left: createAddressButton.left anchors.right: createAddressButton.right height: 2 - color: MoneroComponents.Style.appWindowBorderColor + color: MonzeroComponents.Style.appWindowBorderColor - MoneroEffects.ColorTransition { + MonzeroEffects.ColorTransition { targetObj: parent - blackColor: MoneroComponents.Style._b_appWindowBorderColor - whiteColor: MoneroComponents.Style._w_appWindowBorderColor + blackColor: MonzeroComponents.Style._b_appWindowBorderColor + whiteColor: MonzeroComponents.Style._w_appWindowBorderColor } } } @@ -573,7 +573,7 @@ Rectangle { height: subaddressListRow.subaddressListItemHeight width: parent ? parent.width : undefined Layout.fillWidth: true - color: itemMouseArea.containsMouse || index === appWindow.current_subaddress_table_index ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent" + color: itemMouseArea.containsMouse || index === appWindow.current_subaddress_table_index ? MonzeroComponents.Style.titleBarButtonHoverColor : "transparent" Rectangle { visible: index === appWindow.current_subaddress_table_index @@ -581,7 +581,7 @@ Rectangle { anchors.top: parent.top anchors.bottom: parent.bottom property int currentAccountIndex: currentWallet ? currentWallet.currentSubaddressAccount : 0 - color: MoneroComponents.Style.accountColors[currentAccountIndex % MoneroComponents.Style.accountColors.length] + color: MonzeroComponents.Style.accountColors[currentAccountIndex % MonzeroComponents.Style.accountColors.length] width: 2 } @@ -590,13 +590,13 @@ Rectangle { anchors.left: parent.left anchors.top: parent.top height: 1 - color: MoneroComponents.Style.appWindowBorderColor + color: MonzeroComponents.Style.appWindowBorderColor visible: index !== 0 - MoneroEffects.ColorTransition { + MonzeroEffects.ColorTransition { targetObj: parent - blackColor: MoneroComponents.Style._b_appWindowBorderColor - whiteColor: MoneroComponents.Style._w_appWindowBorderColor + blackColor: MonzeroComponents.Style._b_appWindowBorderColor + whiteColor: MonzeroComponents.Style._w_appWindowBorderColor } } @@ -606,9 +606,9 @@ Rectangle { anchors.rightMargin: 90 color: "transparent" - MoneroComponents.Label { + MonzeroComponents.Label { id: idLabel - color: index === appWindow.current_subaddress_table_index ? MoneroComponents.Style.defaultFontColor : "#757575" + color: index === appWindow.current_subaddress_table_index ? MonzeroComponents.Style.defaultFontColor : "#757575" anchors.verticalCenter: parent.verticalCenter anchors.left: parent.left anchors.leftMargin: 6 @@ -617,9 +617,9 @@ Rectangle { themeTransition: false } - MoneroComponents.Label { + MonzeroComponents.Label { id: nameLabel - color: index === appWindow.current_subaddress_table_index ? MoneroComponents.Style.defaultFontColor : MoneroComponents.Style.dimmedFontColor + color: index === appWindow.current_subaddress_table_index ? MonzeroComponents.Style.defaultFontColor : MonzeroComponents.Style.dimmedFontColor anchors.verticalCenter: parent.verticalCenter anchors.left: idLabel.right anchors.leftMargin: 6 @@ -630,14 +630,14 @@ Rectangle { themeTransition: false } - MoneroComponents.Label { + MonzeroComponents.Label { id: addressLabel - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.verticalCenter: parent.verticalCenter anchors.left: parent.right anchors.leftMargin: -addressLabel.width - 5 fontSize: 16 - fontFamily: MoneroComponents.Style.fontMonoRegular.name; + fontFamily: MonzeroComponents.Style.fontMonoRegular.name; text: TxUtils.addressTruncatePretty(address, mainLayout.width < 520 ? 1 : (mainLayout.width < 650 ? 2 : 3)) themeTransition: false } @@ -658,10 +658,10 @@ Rectangle { height: 21 spacing: 10 - MoneroComponents.IconButton { + MonzeroComponents.IconButton { fontAwesomeFallbackIcon: FontAwesome.searchPlus fontAwesomeFallbackSize: 22 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor fontAwesomeFallbackOpacity: 0.5 Layout.preferredWidth: 23 Layout.preferredHeight: 21 @@ -670,12 +670,12 @@ Rectangle { onClicked: doSearchInHistory(address) } - MoneroComponents.IconButton { + MonzeroComponents.IconButton { id: renameButton image: "qrc:///images/edit.svg" fontAwesomeFallbackIcon: FontAwesome.edit fontAwesomeFallbackSize: 22 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor opacity: isOpenGL ? 0.5 : 1 fontAwesomeFallbackOpacity: 0.5 Layout.preferredWidth: 23 @@ -688,12 +688,12 @@ Rectangle { } } - MoneroComponents.IconButton { + MonzeroComponents.IconButton { id: copyButton image: "qrc:///images/copy.svg" fontAwesomeFallbackIcon: FontAwesome.clipboard fontAwesomeFallbackSize: 22 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor opacity: isOpenGL ? 0.5 : 1 fontAwesomeFallbackOpacity: 0.5 Layout.preferredWidth: 16 @@ -730,14 +730,14 @@ Rectangle { } Rectangle { - color: MoneroComponents.Style.appWindowBorderColor + color: MonzeroComponents.Style.appWindowBorderColor Layout.fillWidth: true height: 1 - MoneroEffects.ColorTransition { + MonzeroEffects.ColorTransition { targetObj: parent - blackColor: MoneroComponents.Style._b_appWindowBorderColor - whiteColor: MoneroComponents.Style._w_appWindowBorderColor + blackColor: MonzeroComponents.Style._b_appWindowBorderColor + whiteColor: MonzeroComponents.Style._w_appWindowBorderColor } } } @@ -783,7 +783,7 @@ Rectangle { function clearFields() { amountToReceiveFiat.text = ""; - amountToReceiveXMR.text = ""; + amountToReceiveXMZ.text = ""; txDescriptionInput.text = ""; receiverNameInput.text = ""; } diff --git a/pages/SharedRingDB.qml b/pages/SharedRingDB.qml index cfe1e253..aaf8ec28 100644 --- a/pages/SharedRingDB.qml +++ b/pages/SharedRingDB.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2018-2024, The Monero Project +// Copyright (c) 2018-2024, The Monzero Project // // All rights reserved. // @@ -32,7 +32,7 @@ import QtQuick.Controls.Styles 1.4 import QtQuick.Layouts 1.1 import QtQuick.Dialogs 1.2 -import "../components" as MoneroComponents +import "../components" as MonzeroComponents import moneroComponents.Clipboard 1.0 Rectangle { @@ -84,53 +84,53 @@ Rectangle { standardButtons: StandardButton.Ok } - MoneroComponents.Label { + MonzeroComponents.Label { id: signTitleLabel fontSize: 24 text: qsTr("Shared RingDB") + translationManager.emptyString } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { text: qsTr("This page allows you to interact with the shared ring database. " + - "This database is meant for use by Monero wallets as well as wallets from Monero clones which reuse the Monero keys.") + translationManager.emptyString + "This database is meant for use by Monzero wallets as well as wallets from Monzero clones which reuse the Monzero keys.") + translationManager.emptyString wrapMode: Text.Wrap Layout.fillWidth: true - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 14 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor } - MoneroComponents.LabelSubheader { + MonzeroComponents.LabelSubheader { Layout.fillWidth: true Layout.topMargin: 24 textFormat: Text.RichText text: qsTr("Rings") + translationManager.emptyString tooltip: qsTr( - "In order to avoid nullifying the protection afforded by Monero's ring signatures, an output should not " + + "In order to avoid nullifying the protection afforded by Monzero's ring signatures, an output should not " + "be spent with different rings on different blockchains. While this is normally not a concern, it can become one " + - "when a key-reusing Monero clone allows you to spend existing outputs. In this case, you need to ensure this " + + "when a key-reusing Monzero clone allows you to spend existing outputs. In this case, you need to ensure this " + "existing outputs uses the same ring on both chains.<br>" + - "This will be done automatically by Monero and any key-reusing software which is not trying to actively strip " + + "This will be done automatically by Monzero and any key-reusing software which is not trying to actively strip " + "you of your privacy.<br>" + - "If you are using a key-reusing Monero clone too, and this clone does not include this protection, you can still " + + "If you are using a key-reusing Monzero clone too, and this clone does not include this protection, you can still " + "ensure your transactions are protected by spending on the clone first, then manually adding the ring on this page, " + - "which allows you to then spend your Monero safely.<br>" + - "If you do not use a key-reusing Monero clone without these safety features, then you do not need to do anything " + + "which allows you to then spend your Monzero safely.<br>" + + "If you do not use a key-reusing Monzero clone without these safety features, then you do not need to do anything " + "as it is all automated.<br>" ) + translationManager.emptyString } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { textFormat: Text.RichText - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 14 - text: qsTr("This records rings used by outputs spent on Monero on a key reusing chain, so that the same ring may be reused to avoid privacy issues.") + translationManager.emptyString + text: qsTr("This records rings used by outputs spent on Monzero on a key reusing chain, so that the same ring may be reused to avoid privacy issues.") + translationManager.emptyString wrapMode: Text.Wrap Layout.fillWidth: true; - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: keyImageLine Layout.fillWidth: true fontSize: 16 @@ -149,7 +149,7 @@ Rectangle { ColumnLayout { RowLayout { - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: getRingLine Layout.fillWidth: true fontSize: 16 @@ -164,7 +164,7 @@ Rectangle { Layout.fillWidth: true Layout.topMargin: 18 - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: getRingButton text: qsTr("Get Ring") + translationManager.emptyString small: true @@ -184,7 +184,7 @@ Rectangle { ColumnLayout { RowLayout { - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: setRingLine Layout.fillWidth: true fontSize: 16 @@ -200,7 +200,7 @@ Rectangle { Layout.fillWidth: true Layout.topMargin: 18 - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: setRingButton text: qsTr("Set Ring") + translationManager.emptyString small: true @@ -218,7 +218,7 @@ Rectangle { columnSpacing: 20 columns: 2 - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: segregatePreForkOutputs checked: persistentSettings.segregatePreForkOutputs text: qsTr("I intend to spend on key-reusing fork(s)") + translationManager.emptyString @@ -230,7 +230,7 @@ Rectangle { } } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: keyReuseMitigation2 checked: persistentSettings.keyReuseMitigation2 text: qsTr("I might want to spend on key-reusing fork(s)") + translationManager.emptyString @@ -242,7 +242,7 @@ Rectangle { } } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: setRingRelative checked: true text: qsTr("Relative") + translationManager.emptyString @@ -256,7 +256,7 @@ Rectangle { columns: 2 columnSpacing: 32 - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: segregationHeightLine property bool edited: false Layout.fillWidth: true diff --git a/pages/Sign.qml b/pages/Sign.qml index 7fcc1219..10682581 100644 --- a/pages/Sign.qml +++ b/pages/Sign.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -34,7 +34,7 @@ import QtQuick.Dialogs 1.2 import moneroComponents.Clipboard 1.0 import moneroComponents.WalletManager 1.0 -import "../components" as MoneroComponents +import "../components" as MonzeroComponents Rectangle { property alias signHeight: mainLayout.height @@ -96,41 +96,41 @@ Rectangle { spacing: 20 - MoneroComponents.Label { + MonzeroComponents.Label { fontSize: 24 text: qsTr("Sign/verify") + translationManager.emptyString } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { text: qsTr("This page lets you sign/verify a message (or file contents) with your address.") + translationManager.emptyString wrapMode: Text.Wrap Layout.fillWidth: true - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 14 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor } ColumnLayout { id: modeRow Layout.fillWidth: true - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: modeText Layout.fillWidth: true Layout.topMargin: 12 text: qsTr("Mode") + translationManager.emptyString wrapMode: Text.Wrap - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 20 textFormat: Text.RichText - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor } ColumnLayout { id: modeButtonsColumn Layout.topMargin: 10 - MoneroComponents.RadioButton { + MonzeroComponents.RadioButton { id: handleMessageButton text: qsTr("Message") + translationManager.emptyString fontSize: 16 @@ -143,7 +143,7 @@ Rectangle { } } - MoneroComponents.RadioButton { + MonzeroComponents.RadioButton { id: handleFileButton text: qsTr("File") + translationManager.emptyString fontSize: 16 @@ -162,7 +162,7 @@ Rectangle { id: signSection spacing: 10 - MoneroComponents.LabelSubheader { + MonzeroComponents.LabelSubheader { Layout.fillWidth: true Layout.topMargin: 12 Layout.bottomMargin: 24 @@ -176,7 +176,7 @@ Rectangle { spacing: 10 visible: messageMode - MoneroComponents.LineEditMulti{ + MonzeroComponents.LineEditMulti{ id: signMessageLine Layout.fillWidth: true labelFontSize: 14 @@ -194,7 +194,7 @@ Rectangle { Layout.fillWidth: true visible: fileMode - MoneroComponents.LineEditMulti { + MonzeroComponents.LineEditMulti { id: signFileLine labelFontSize: 14 labelText: qsTr("File") + translationManager.emptyString @@ -207,7 +207,7 @@ Rectangle { text: '' } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: loadFileToSignButton Layout.alignment: Qt.AlignBottom small: false @@ -222,7 +222,7 @@ Rectangle { ColumnLayout { id: signSignatureRow - MoneroComponents.LineEditMulti { + MonzeroComponents.LineEditMulti { id: signSignatureLine labelFontSize: 14 labelText: qsTr("Signature") + translationManager.emptyString @@ -239,7 +239,7 @@ Rectangle { Layout.fillWidth: true Layout.alignment: Qt.AlignRight - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: clearSignButton text: qsTr("Clear") + translationManager.emptyString enabled: signMessageLine.text !== '' || signFileLine.text !== '' @@ -251,7 +251,7 @@ Rectangle { } } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: signMessageButton visible: messageMode text: qsTr("Sign Message") + translationManager.emptyString @@ -263,7 +263,7 @@ Rectangle { } } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: signFileButton visible: fileMode small: true @@ -282,14 +282,14 @@ Rectangle { id: verifySection spacing: 16 - MoneroComponents.LabelSubheader { + MonzeroComponents.LabelSubheader { Layout.fillWidth: true Layout.bottomMargin: 24 textFormat: Text.RichText text: fileMode ? qsTr("Verify file") + translationManager.emptyString : qsTr("Verify message") + translationManager.emptyString } - MoneroComponents.LineEditMulti { + MonzeroComponents.LineEditMulti { id: verifyMessageLine visible: messageMode Layout.fillWidth: true @@ -307,7 +307,7 @@ Rectangle { Layout.fillWidth: true visible: fileMode - MoneroComponents.LineEditMulti { + MonzeroComponents.LineEditMulti { id: verifyFileLine labelFontSize: 14 labelText: qsTr("File") + translationManager.emptyString @@ -319,7 +319,7 @@ Rectangle { text: '' } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: loadFileToVerifyButton Layout.alignment: Qt.AlignBottom small: false @@ -331,19 +331,19 @@ Rectangle { } } - MoneroComponents.LineEditMulti { + MonzeroComponents.LineEditMulti { id: verifyAddressLine Layout.fillWidth: true labelFontSize: 14 labelText: qsTr("Address") + translationManager.emptyString addressValidation: true placeholderFontSize: 16 - placeholderText: qsTr("Enter the Monero Address (example: 44AFFq5kSiGBoZ...)") + translationManager.emptyString + placeholderText: qsTr("Enter the Monzero Address (example: 44AFFq5kSiGBoZ...)") + translationManager.emptyString wrapMode: Text.WrapAnywhere text: '' } - MoneroComponents.LineEditMulti { + MonzeroComponents.LineEditMulti { id: verifySignatureLine labelFontSize: 14 labelText: qsTr("Signature") + translationManager.emptyString @@ -359,7 +359,7 @@ Rectangle { Layout.topMargin: 12 Layout.alignment: Qt.AlignRight - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: clearVerifyButton text: qsTr("Clear") + translationManager.emptyString enabled: verifyMessageLine.text !== '' || verifyFileLine.text !== '' || verifyAddressLine.text !== '' || verifySignatureLine.text !== '' @@ -372,7 +372,7 @@ Rectangle { } } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: verifyFileButton visible: fileMode small: true @@ -384,7 +384,7 @@ Rectangle { } } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: verifyMessageButton visible: messageMode small: true diff --git a/pages/Transfer.qml b/pages/Transfer.qml index 9641139f..640849fb 100644 --- a/pages/Transfer.qml +++ b/pages/Transfer.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -37,7 +37,7 @@ import moneroComponents.Wallet 1.0 import moneroComponents.NetworkType 1.0 import FontAwesome 1.0 import "../components" -import "../components" as MoneroComponents +import "../components" as MonzeroComponents import "." 1.0 import "../js/TxUtils.js" as TxUtils import "../js/Utils.js" as Utils @@ -181,7 +181,7 @@ Rectangle { RowLayout { visible: root.warningContent !== "" - MoneroComponents.WarningBox { + MonzeroComponents.WarningBox { text: warningContent onLinkActivated: { appWindow.startDaemon(appWindow.persistentSettings.daemonFlags); @@ -192,8 +192,8 @@ Rectangle { RowLayout { visible: leftPanel.minutesToUnlock !== "" - MoneroComponents.WarningBox { - text: qsTr("Spendable funds: %1 XMR. Please wait ~%2 minutes for your whole balance to become spendable.").arg(leftPanel.balanceUnlockedString).arg(leftPanel.minutesToUnlock) + MonzeroComponents.WarningBox { + text: qsTr("Spendable funds: %1 XMZ. Please wait ~%2 minutes for your whole balance to become spendable.").arg(leftPanel.balanceUnlockedString).arg(leftPanel.minutesToUnlock) } } @@ -291,14 +291,14 @@ Rectangle { spacing: 6 Layout.fillWidth: true - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 16 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor text: qsTr("Address") + translationManager.emptyString } - MoneroComponents.InlineButton { + MonzeroComponents.InlineButton { fontFamily: FontAwesome.fontFamilySolid fontStyleName: "Solid" fontPixelSize: 18 @@ -320,7 +320,7 @@ Rectangle { } } - MoneroComponents.InlineButton { + MonzeroComponents.InlineButton { fontFamily: FontAwesome.fontFamilySolid fontStyleName: "Solid" text: FontAwesome.qrcode @@ -332,7 +332,7 @@ Rectangle { } } - MoneroComponents.InlineButton { + MonzeroComponents.InlineButton { fontFamily: FontAwesome.fontFamily text: FontAwesome.addressBook tooltip: qsTr("Import from address book") + translationManager.emptyString @@ -353,14 +353,14 @@ Rectangle { Layout.preferredWidth: 125 Layout.maximumWidth: recipientLayout.secondRowWidth - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 16 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor text: qsTr("Amount") + translationManager.emptyString } - MoneroComponents.InlineButton { + MonzeroComponents.InlineButton { fontFamily: FontAwesome.fontFamilySolid fontStyleName: "Solid" fontPixelSize: 16 @@ -392,7 +392,7 @@ Rectangle { Layout.topMargin: -1 Layout.leftMargin: 1 Layout.rightMargin: recipientLayout.thirdRowWidth + 1 - color: MoneroComponents.Style.inputBorderColorInActive + color: MonzeroComponents.Style.inputBorderColorInActive height: 1 visible: index > 0 } @@ -400,7 +400,7 @@ Rectangle { RowLayout { spacing: 0 - MoneroComponents.LineEditMulti { + MonzeroComponents.LineEditMulti { KeyNavigation.backtab: index > 0 ? recipientRepeater.itemAt(index - 1).children[1].children[2] : sendButton KeyNavigation.tab: parent.children[2] Layout.alignment: Qt.AlignVCenter @@ -409,23 +409,23 @@ Rectangle { Layout.fillWidth: true addressValidation: true borderDisabled: true - fontColor: error && text != "" ? MoneroComponents.Style.errorColor : MoneroComponents.Style.defaultFontColor - fontFamily: MoneroComponents.Style.fontMonoRegular.name + fontColor: error && text != "" ? MonzeroComponents.Style.errorColor : MonzeroComponents.Style.defaultFontColor + fontFamily: MonzeroComponents.Style.fontMonoRegular.name fontSize: 14 inputPaddingBottom: 0 inputPaddingTop: 0 inputPaddingRight: 0 - placeholderFontFamily: MoneroComponents.Style.fontMonoRegular.name + placeholderFontFamily: MonzeroComponents.Style.fontMonoRegular.name placeholderFontSize: 14 spacing: 0 wrapMode: Text.WrapAnywhere placeholderText: { if(persistentSettings.nettype == NetworkType.MAINNET){ - return "4.. / 8.. / monero:.. / OpenAlias"; + return "F.. / monzero:.. / OpenAlias"; } else if (persistentSettings.nettype == NetworkType.STAGENET){ - return "5.. / 7.. / monero:.."; + return "F.. / monzero:.."; } else if(persistentSettings.nettype == NetworkType.TESTNET){ - return "9.. / B.. / monero:.."; + return "F.. / monzero:.."; } } onTextChanged: { @@ -437,7 +437,7 @@ Rectangle { } text: address - MoneroComponents.InlineButton { + MonzeroComponents.InlineButton { small: true text: qsTr("Resolve") + translationManager.emptyString visible: TxUtils.isValidOpenAliasAddress(address) @@ -478,11 +478,11 @@ Rectangle { Layout.bottomMargin: 1 Layout.leftMargin: recipientLayout.colSpacing / 2 - width Layout.rightMargin: recipientLayout.colSpacing / 2 - color: MoneroComponents.Style.inputBorderColorInActive + color: MonzeroComponents.Style.inputBorderColorInActive width: 1 } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { KeyNavigation.backtab: parent.children[0] KeyNavigation.tab: index + 1 < recipientRepeater.count ? recipientRepeater.itemAt(index + 1).children[1].children[0] : sendButton Layout.alignment: Qt.AlignVCenter @@ -492,13 +492,13 @@ Rectangle { Layout.preferredWidth: 125 Layout.maximumWidth: 125 borderDisabled: true - fontFamily: MoneroComponents.Style.fontMonoRegular.name + fontFamily: MonzeroComponents.Style.fontMonoRegular.name fontSize: 14 inputPaddingLeft: 0 inputPaddingRight: 0 inputPaddingTop: 0 inputPaddingBottom: 0 - placeholderFontFamily: MoneroComponents.Style.fontMonoRegular.name + placeholderFontFamily: MonzeroComponents.Style.fontMonoRegular.name placeholderFontSize: 14 placeholderLeftMargin: 0 placeholderText: "0.00" @@ -525,7 +525,7 @@ Rectangle { } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { Layout.leftMargin: recipientLayout.colSpacing / 2 Layout.preferredWidth: recipientLayout.thirdRowWidth font.family: FontAwesome.fontFamilySolid @@ -548,12 +548,12 @@ Rectangle { } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { Layout.leftMargin: recipientLayout.colSpacing / 2 Layout.preferredWidth: recipientLayout.thirdRowWidth horizontalAlignment: Text.AlignHCenter - font.family: MoneroComponents.Style.fontRegular.name - text: "XMR" + font.family: MonzeroComponents.Style.fontRegular.name + text: "XMZ" visible: recipientModel.count == 1 } } @@ -598,16 +598,16 @@ Rectangle { } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { Layout.fillWidth: true horizontalAlignment: Text.AlignRight - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 16 text: recipientModel.count > 1 ? qsTr("Total") + translationManager.emptyString : "" } } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: totalValue Layout.column: 1 Layout.row: 0 @@ -615,7 +615,7 @@ Rectangle { Layout.topMargin: recipientModel.count > 1 ? 0 : -1 Layout.maximumWidth: recipientLayout.secondRowWidth borderDisabled: true - fontFamily: MoneroComponents.Style.fontMonoRegular.name + fontFamily: MonzeroComponents.Style.fontMonoRegular.name fontSize: 14 inputHeight: 30 inputPaddingLeft: 0 @@ -627,25 +627,25 @@ Rectangle { visible: recipientModel.count > 1 } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { Layout.column: 2 Layout.row: 0 Layout.preferredWidth: recipientLayout.thirdRowWidth Layout.maximumWidth: recipientLayout.thirdRowWidth horizontalAlignment: Text.AlignHCenter - font.family: MoneroComponents.Style.fontRegular.name - text: "XMR" + font.family: MonzeroComponents.Style.fontRegular.name + text: "XMZ" visible: recipientModel.count > 1 } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { Layout.column: 1 Layout.row: recipientModel.count > 1 ? 1 : 0 Layout.preferredWidth: recipientLayout.secondRowWidth Layout.topMargin: recipientModel.count > 1 ? 0 : -1 Layout.maximumWidth: recipientLayout.secondRowWidth borderDisabled: true - fontFamily: MoneroComponents.Style.fontMonoRegular.name + fontFamily: MonzeroComponents.Style.fontMonoRegular.name fontSize: 14 inputHeight: 30 inputPaddingLeft: 0 @@ -658,13 +658,13 @@ Rectangle { visible: persistentSettings.fiatPriceEnabled } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { Layout.column: 2 Layout.row: recipientModel.count > 1 ? 1 : 0 Layout.preferredWidth: recipientLayout.thirdRowWidth Layout.topMargin: recipientModel.count > 1 ? 0 : -1 Layout.maximumWidth: recipientLayout.thirdRowWidth - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name horizontalAlignment: Text.AlignHCenter opacity: 0.7 text: fiatApiCurrencySymbol() @@ -682,7 +682,7 @@ Rectangle { anchors.right: recipientLayout.right anchors.rightMargin: recipientLayout.thirdRowWidth color: "transparent" - border.color: MoneroComponents.Style.inputBorderColorInActive + border.color: MonzeroComponents.Style.inputBorderColorInActive border.width: 1 radius: 4 } @@ -723,13 +723,13 @@ Rectangle { labelFontSize: 16 } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: feeLabel Layout.alignment: Qt.AlignBottom Layout.bottomMargin: 11 - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 14 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor opacity: 0.7 property bool estimating: false property var estimatedFee: null @@ -768,7 +768,7 @@ Rectangle { if (!sendButton.enabled || estimatedFee == null) { return "" } - return "~%1 XMR%2 %3".arg(estimatedFee) + return "~%1 XMZ%2 %3".arg(estimatedFee) .arg(estimatedFeeFiat) .arg(qsTr("fee") + translationManager.emptyString); } @@ -783,7 +783,7 @@ Rectangle { } } - MoneroComponents.WarningBox { + MonzeroComponents.WarningBox { text: qsTr("Description field contents match long payment ID format. \ Please don't paste long payment ID into description field, your funds might be lost.") + translationManager.emptyString; visible: warningLongPidDescription @@ -854,7 +854,7 @@ Rectangle { } } - MoneroComponents.WarningBox { + MonzeroComponents.WarningBox { id: paymentIdWarningBox text: qsTr("Long payment IDs are obsolete. \ Long payment IDs were not encrypted on the blockchain and would harm your privacy. \ @@ -862,7 +862,7 @@ Rectangle { visible: root.paymentIdBlocked } - MoneroComponents.WarningBox { + MonzeroComponents.WarningBox { id: sendButtonWarningBox text: root.sendButtonWarning visible: root.sendButtonWarning !== "" @@ -992,7 +992,7 @@ Rectangle { if (appWindow.viewOnly && !root.hasValidTransferInfo) { errorMessage = "<p class='orange'>" + qsTr("* To create a transaction file, please enter address and amount above") + "</p>"; } - var header = qsTr("Spend XMR from a cold (offline) wallet") + translationManager.emptyString; + var header = qsTr("Spend XMZ from a cold (offline) wallet") + translationManager.emptyString; return "<style type='text/css'>.header{ font-size: 13px; } p{line-height:20px; margin-top:0px; margin-bottom:0px; " + ";} p.orange{color:#ff9323;}</style>" + "<div class='header'>" + header + "</div>" + @@ -1078,7 +1078,7 @@ Rectangle { informationPopup.open(); } else { informationPopup.title = qsTr("Information") + translationManager.emptyString - informationPopup.text = qsTr("Monero sent successfully") + translationManager.emptyString + informationPopup.text = qsTr("Monzero sent successfully") + translationManager.emptyString informationPopup.icon = StandardIcon.Information informationPopup.onCloseCallback = null informationPopup.open(); diff --git a/pages/TxKey.qml b/pages/TxKey.qml index e2808e2a..45bd6e3a 100644 --- a/pages/TxKey.qml +++ b/pages/TxKey.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -31,7 +31,7 @@ import QtQuick.Controls 1.4 import QtQuick.Controls.Styles 1.4 import QtQuick.Layouts 1.1 -import "../components" as MoneroComponents +import "../components" as MonzeroComponents import moneroComponents.Clipboard 1.0 import "../js/TxUtils.js" as TxUtils @@ -57,23 +57,23 @@ Rectangle { id: soloBox spacing: 20 - MoneroComponents.Label { + MonzeroComponents.Label { id: soloTitleLabel fontSize: 24 text: qsTr("Prove Transaction") + " / " + qsTr("Reserve") + translationManager.emptyString } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { Layout.fillWidth: true text: qsTr("Generate a proof of your incoming/outgoing payment by supplying the transaction ID, the recipient address and an optional message. \n" + "For the case of outgoing payments, you can get a 'Spend Proof' that proves the authorship of a transaction. In this case, you don't need to specify the recipient address.") + qsTr("\nFor reserve proofs you don't need to specify tx id or address.") + translationManager.emptyString wrapMode: Text.Wrap - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 14 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: getProofTxIdLine Layout.fillWidth: true labelFontSize: 14 @@ -86,7 +86,7 @@ Rectangle { enabled: getReserveProofAmtLine.text.length === 0 } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: getProofAddressLine Layout.fillWidth: true labelFontSize: 14 @@ -99,14 +99,14 @@ Rectangle { enabled: getReserveProofAmtLine.text.length === 0 } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: getReserveProofAmtLine Layout.fillWidth: true labelFontSize: 14 labelText: qsTr("Amount") + translationManager.emptyString fontSize: 16 placeholderFontSize: 16 - placeholderText: qsTr("Paste amount of XMR (reserve proof only)") + translationManager.emptyString + placeholderText: qsTr("Paste amount of XMZ (reserve proof only)") + translationManager.emptyString readOnly: false copyButton: true enabled: getProofAddressLine.text.length === 0 && getProofTxIdLine.text.length === 0 @@ -130,7 +130,7 @@ Rectangle { } } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: getProofMessageLine Layout.fillWidth: true fontSize: 16 @@ -142,7 +142,7 @@ Rectangle { copyButton: true } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { Layout.topMargin: 16 small: true text: qsTr("Generate") + translationManager.emptyString @@ -156,30 +156,30 @@ Rectangle { // underline Rectangle { height: 1 - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity Layout.fillWidth: true Layout.alignment: Qt.AlignHCenter anchors.bottomMargin: 3 } - MoneroComponents.Label { + MonzeroComponents.Label { id: soloTitleLabel2 fontSize: 24 text: qsTr("Check Transaction") + " / " + qsTr("Reserve") + translationManager.emptyString } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { text: qsTr("Verify that funds were paid to an address by supplying the transaction ID, the recipient address, the message used for signing and the signature.\n" + "For the case with Spend Proof, you don't need to specify the recipient address.") + "\n" + qsTr("Transaction is not needed for reserve proof.") + translationManager.emptyString wrapMode: Text.Wrap Layout.fillWidth: true - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 14 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: checkProofTxIdLine Layout.fillWidth: true labelFontSize: 14 @@ -191,7 +191,7 @@ Rectangle { copyButton: true } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: checkProofAddressLine Layout.fillWidth: true labelFontSize: 14 @@ -203,7 +203,7 @@ Rectangle { copyButton: true } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: checkProofMessageLine Layout.fillWidth: true fontSize: 16 @@ -215,7 +215,7 @@ Rectangle { copyButton: true } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: checkProofSignatureLine Layout.fillWidth: true fontSize: 16 @@ -227,7 +227,7 @@ Rectangle { copyButton: true } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { Layout.topMargin: 16 small: true text: qsTr("Check") + translationManager.emptyString @@ -241,20 +241,20 @@ Rectangle { // underline Rectangle { height: 1 - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity Layout.fillWidth: true Layout.alignment: Qt.AlignHCenter anchors.bottomMargin: 3 } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { text: qsTr("If a payment had several transactions then each must be checked and the results combined.") + translationManager.emptyString wrapMode: Text.Wrap Layout.fillWidth: true - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 14 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor } } } diff --git a/pages/merchant/Merchant.qml b/pages/merchant/Merchant.qml index 86d47560..4d4b2d3a 100644 --- a/pages/merchant/Merchant.qml +++ b/pages/merchant/Merchant.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2026, The Monero Project +// Copyright (c) 2014-2026, The Monzero Project // // All rights reserved. // @@ -44,7 +44,7 @@ import moneroComponents.SubaddressModel 1.0 import "../../js/Windows.js" as Windows import "../../js/TxUtils.js" as TxUtils import "../../js/Utils.js" as Utils -import "../../components" as MoneroComponents +import "../../components" as MonzeroComponents import "../../pages" import "." @@ -153,7 +153,7 @@ Item { Layout.preferredWidth: 10 } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { font.pixelSize: 16 font.bold: true color: "#767676" @@ -287,7 +287,7 @@ Item { width: (parent.width - qrImg.width) - (50) height: 32 - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { anchors.verticalCenter: parent.verticalCenter anchors.horizontalCenter: parent.horizontalCenter font.pixelSize: 12 @@ -315,7 +315,7 @@ Item { width: 220 height: 32 - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { anchors.verticalCenter: parent.verticalCenter anchors.horizontalCenter: parent.horizontalCenter font.pixelSize: 12 @@ -361,7 +361,7 @@ Item { Layout.preferredWidth: 10 } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { font.pixelSize: 14 font.bold: true color: "#767676" @@ -382,7 +382,7 @@ Item { // Layout.fillHeight: true // color: "transparent" -// MoneroComponents.TextPlain { +// MonzeroComponents.TextPlain { // anchors.verticalCenter: parent.verticalCenter // anchors.right: parent.right // anchors.rightMargin: 20 @@ -416,7 +416,7 @@ Item { color: "#d9d9d9" } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { property string _color: "#767676" Layout.fillWidth: true Layout.margins: 20 @@ -436,7 +436,7 @@ Item { hoverEnabled: true cursorShape: Qt.PointingHandCursor onEntered: { - parent.color = MoneroComponents.Style.orange + parent.color = MonzeroComponents.Style.orange } onExited: { parent.color = parent._color @@ -473,11 +473,11 @@ Item { anchors.left: parent.left anchors.right: parent.right - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { font.pixelSize: 14 font.bold: false color: "white" - text: qsTr("Amount to receive") + " (XMR)" + translationManager.emptyString + text: qsTr("Amount to receive") + " (XMZ)" + translationManager.emptyString themeTransition: false } @@ -486,7 +486,7 @@ Item { width: 220 source: "qrc:///images/merchant/input_box.png" - MoneroComponents.Input { + MonzeroComponents.Input { id: amountToReceive topPadding: 0 leftPadding: 10 @@ -524,8 +524,8 @@ Item { width: 220 } - MoneroComponents.TextPlain { - // @TODO: When we have XMR/USD rate avi. in the future. + MonzeroComponents.TextPlain { + // @TODO: When we have XMZ/USD rate avi. in the future. visible: false font.pixelSize: 14 font.bold: false @@ -564,7 +564,7 @@ Item { } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: content font.pixelSize: 14 font.bold: false @@ -593,12 +593,12 @@ Item { width: 400 radius: 5 - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 14 font.bold: true - color: MoneroComponents.Style.moneroGrey + color: MonzeroComponents.Style.moneroGrey text: qsTr("The merchant page requires a larger window") + translationManager.emptyString themeTransition: false } diff --git a/pages/merchant/MerchantCheckbox.qml b/pages/merchant/MerchantCheckbox.qml index bed9dea1..191e098b 100644 --- a/pages/merchant/MerchantCheckbox.qml +++ b/pages/merchant/MerchantCheckbox.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2026, The Monero Project +// Copyright (c) 2014-2026, The Monzero Project // // All rights reserved. // @@ -30,7 +30,7 @@ import QtQuick 2.9 import QtQuick.Layouts 1.1 import QtGraphicalEffects 1.0 -import "../../components" as MoneroComponents +import "../../components" as MonzeroComponents Item { id: root @@ -72,7 +72,7 @@ Item { source: checkbox } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: content font.pixelSize: 14 font.bold: false diff --git a/pages/merchant/MerchantTitlebar.qml b/pages/merchant/MerchantTitlebar.qml index 485ff4f1..5258e9c4 100644 --- a/pages/merchant/MerchantTitlebar.qml +++ b/pages/merchant/MerchantTitlebar.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -32,8 +32,8 @@ import QtGraphicalEffects 1.0 import QtQuick.Layouts 1.2 import FontAwesome 1.0 -import "../../components/" as MoneroComponents -import "../../components/effects/" as MoneroEffects +import "../../components/" as MonzeroComponents +import "../../components/effects/" as MonzeroEffects Rectangle { id: root @@ -85,7 +85,8 @@ Rectangle { anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter - source: "qrc:///images/moneroLogo_white.png" + source: "qrc:///images/monzero-xmz-coin.png" + fillMode: Image.PreserveAspectFit } } @@ -96,13 +97,13 @@ Rectangle { Layout.preferredWidth: parent.height Layout.preferredHeight: parent.height - MoneroEffects.ImageMask { + MonzeroEffects.ImageMask { anchors.bottom: parent.bottom anchors.bottomMargin: 18 anchors.horizontalCenter: parent.horizontalCenter height: 3 width: 15 - image: MoneroComponents.Style.titleBarMinimizeSource + image: MonzeroComponents.Style.titleBarMinimizeSource color: "white" opacity: 0.75 } @@ -128,7 +129,7 @@ Rectangle { Image { anchors.verticalCenter: parent.verticalCenter anchors.horizontalCenter: parent.horizontalCenter - source: MoneroComponents.Style._b_titleBarFullscreenSource + source: MonzeroComponents.Style._b_titleBarFullscreenSource sourceSize.width: 16 sourceSize.height: 16 smooth: true @@ -155,12 +156,12 @@ Rectangle { Layout.preferredWidth: parent.height Layout.preferredHeight: parent.height - MoneroEffects.ImageMask { + MonzeroEffects.ImageMask { anchors.verticalCenter: parent.verticalCenter anchors.horizontalCenter: parent.horizontalCenter height: 16 width: 16 - image: MoneroComponents.Style._b_titleBarCloseSource + image: MonzeroComponents.Style._b_titleBarCloseSource color: "white" opacity: 0.75 } diff --git a/pages/merchant/MerchantTrackingList.qml b/pages/merchant/MerchantTrackingList.qml index 611df81e..784afa55 100644 --- a/pages/merchant/MerchantTrackingList.qml +++ b/pages/merchant/MerchantTrackingList.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2026, The Monero Project +// Copyright (c) 2014-2026, The Monzero Project // // All rights reserved. // @@ -33,7 +33,7 @@ import QtQuick.Layouts 1.1 import QtQuick.Dialogs 1.2 import "../../js/Utils.js" as Utils -import "../../components" as MoneroComponents +import "../../components" as MonzeroComponents ListView { id: trackingListView @@ -65,7 +65,7 @@ ListView { color: "#767676" textFormat: Text.RichText text: parent.message - selectionColor: MoneroComponents.Style.textSelectionColor + selectionColor: MonzeroComponents.Style.textSelectionColor selectByMouse: true readOnly: true onFocusChanged: {if(focus === false) deselect() } @@ -105,7 +105,7 @@ ListView { font.bold: false color: "#707070" text: time_date + " (" + Utils.ago(time_epoch) + ") " - selectionColor: MoneroComponents.Style.textSelectionColor + selectionColor: MonzeroComponents.Style.textSelectionColor selectByMouse: true readOnly: true onFocusChanged: {if(focus === false) deselect() } @@ -154,7 +154,7 @@ ListView { font.bold: true color: hide_amount ? "#707070" : "#009F1E" text: hide_amount ? '-' : '+' + amount + (in_txpool ? ' (%1)'.arg(qsTr('unconfirmed')) : '') - selectionColor: MoneroComponents.Style.textSelectionColor + selectionColor: MonzeroComponents.Style.textSelectionColor selectByMouse: true readOnly: true onFocusChanged: {if(focus === false) deselect() } @@ -201,7 +201,7 @@ ListView { } } } - selectionColor: MoneroComponents.Style.textSelectionColor + selectionColor: MonzeroComponents.Style.textSelectionColor selectByMouse: true readOnly: true onFocusChanged: {if(focus === false) deselect() } diff --git a/pages/settings/Settings.qml b/pages/settings/Settings.qml index 17457f98..df149311 100644 --- a/pages/settings/Settings.qml +++ b/pages/settings/Settings.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -33,7 +33,7 @@ import QtQuick.Layouts 1.1 import QtQuick.Dialogs 1.2 import "../../js/Windows.js" as Windows import "../../js/Utils.js" as Utils -import "../../components" as MoneroComponents +import "../../components" as MonzeroComponents import "../../pages" import "." import moneroComponents.Clipboard 1.0 @@ -48,35 +48,35 @@ ColumnLayout { property int settingsHeight: 900 property alias settingsStateViewState: settingsStateView.state - MoneroComponents.Navbar { + MonzeroComponents.Navbar { id: navbarId Layout.alignment: Qt.AlignHCenter Layout.topMargin: height Layout.bottomMargin: height - MoneroComponents.NavbarItem { + MonzeroComponents.NavbarItem { active: settingsStateView.state == "Wallet" text: qsTr("Wallet") + translationManager.emptyString onSelected: settingsStateView.state = "Wallet" } - MoneroComponents.NavbarItem { + MonzeroComponents.NavbarItem { active: settingsStateView.state == "UI" text: qsTr("Interface") + translationManager.emptyString onSelected: settingsStateView.state = "UI" } - MoneroComponents.NavbarItem { + MonzeroComponents.NavbarItem { active: settingsStateView.state == "Node" text: qsTr("Node") + translationManager.emptyString visible: appWindow.walletMode >= 2 onSelected: settingsStateView.state = "Node" } - MoneroComponents.NavbarItem { + MonzeroComponents.NavbarItem { active: settingsStateView.state == "Log" text: qsTr("Log") + translationManager.emptyString onSelected: settingsStateView.state = "Log" visible: !isAndroid } - MoneroComponents.NavbarItem { + MonzeroComponents.NavbarItem { active: settingsStateView.state == "Info" text: qsTr("Info") + translationManager.emptyString onSelected: settingsStateView.state = "Info" diff --git a/pages/settings/SettingsInfo.qml b/pages/settings/SettingsInfo.qml index e126383a..b366446f 100644 --- a/pages/settings/SettingsInfo.qml +++ b/pages/settings/SettingsInfo.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -34,7 +34,7 @@ import QtQuick.Dialogs 1.2 import "../../js/Wizard.js" as Wizard import "../../js/Utils.js" as Utils import "../../version.js" as Version -import "../../components" as MoneroComponents +import "../../components" as MonzeroComponents Rectangle { @@ -67,14 +67,14 @@ Rectangle { columns: 2 columnSpacing: 0 - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { font.pixelSize: 14 text: qsTr("GUI version: ") + translationManager.emptyString } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { font.pixelSize: 14 - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor text: Version.GUI_VERSION + " (Qt " + qtRuntimeVersion + ")" + translationManager.emptyString } @@ -83,8 +83,8 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } Rectangle { @@ -92,19 +92,19 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } - MoneroComponents.TextBlock { - id: guiMoneroVersion + MonzeroComponents.TextBlock { + id: guiMonzeroVersion font.pixelSize: 14 - text: qsTr("Embedded Monero version: ") + translationManager.emptyString + text: qsTr("Embedded Monzero version: ") + translationManager.emptyString } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { font.pixelSize: 14 - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor text: moneroVersion } @@ -113,8 +113,8 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } Rectangle { @@ -122,20 +122,20 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { Layout.fillWidth: true font.pixelSize: 14 text: qsTr("Wallet path: ") + translationManager.emptyString } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { id: walletLocation Layout.fillWidth: true - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor font.pixelSize: 14 property string walletPath: (isIOS ? appWindow.accountsDir : "") + persistentSettings.wallet_path text: "\ @@ -158,8 +158,8 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } Rectangle { @@ -167,22 +167,22 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { id: restoreHeight font.pixelSize: 14 textFormat: Text.RichText text: (typeof currentWallet == "undefined") ? "" : qsTr("Wallet restore height: ") + translationManager.emptyString } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { id: restoreHeightText Layout.fillWidth: true textFormat: Text.RichText - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor font.pixelSize: 14 property var style: "<style type='text/css'>a {cursor:pointer;text-decoration: none; color: #FF6C3C}</style>" text: (currentWallet ? currentWallet.walletCreationHeight : "") + style + " <a href='#'> (%1)</a>".arg(qsTr("Change")) + translationManager.emptyString @@ -241,8 +241,8 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } Rectangle { @@ -250,19 +250,19 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { Layout.fillWidth: true font.pixelSize: 14 text: qsTr("Wallet log path: ") + translationManager.emptyString } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { Layout.fillWidth: true - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor font.pixelSize: 14 text: "\ <style type='text/css'>\ @@ -284,8 +284,8 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } Rectangle { @@ -293,19 +293,19 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { Layout.fillWidth: true font.pixelSize: 14 text: qsTr("Wallet mode: ") + translationManager.emptyString } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { Layout.fillWidth: true - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor font.pixelSize: 14 text: walletModeString } @@ -315,8 +315,8 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } Rectangle { @@ -324,19 +324,19 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { Layout.fillWidth: true font.pixelSize: 14 text: qsTr("Graphics mode: ") + translationManager.emptyString } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { Layout.fillWidth: true - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor font.pixelSize: 14 text: isOpenGL ? "OpenGL" : "Low graphics mode" } @@ -347,8 +347,8 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } Rectangle { @@ -357,21 +357,21 @@ Rectangle { Layout.topMargin: 2 Layout.bottomMargin: 2 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { visible: isTails Layout.fillWidth: true font.pixelSize: 14 text: qsTr("Tails: ") + translationManager.emptyString } - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { visible: isTails Layout.fillWidth: true - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor font.pixelSize: 14 text: tailsUsePersistence ? qsTr("persistent") + translationManager.emptyString : qsTr("persistence disabled") + translationManager.emptyString; } @@ -380,13 +380,13 @@ Rectangle { RowLayout { spacing: 20; - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { small: true text: qsTr("Copy to clipboard") + translationManager.emptyString onClicked: { var data = ""; data += "GUI version: " + Version.GUI_VERSION + " (Qt " + qtRuntimeVersion + ")"; - data += "\nEmbedded Monero version: " + moneroVersion; + data += "\nEmbedded Monzero version: " + moneroVersion; data += "\nWallet path: " + walletLocation.walletPath; data += "\nWallet restore height: "; @@ -405,11 +405,11 @@ Rectangle { } } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { small: true - text: qsTr("Donate to Monero") + translationManager.emptyString + text: qsTr("Donate to Monzero") + translationManager.emptyString onClicked: { - middlePanel.sendTo("888tNkZrPN6JsEgekjMnABU4TBzc2Dt29EPAvkRxbANsAnjyPbb3iQ1YBRk1UXcdRsiKc9dhwMVgN5S9cQUiyoogDavup3H", "", qsTr("Donation to Monero Core Team") + translationManager.emptyString); + middlePanel.sendTo("888tNkZrPN6JsEgekjMnABU4TBzc2Dt29EPAvkRxbANsAnjyPbb3iQ1YBRk1UXcdRsiKc9dhwMVgN5S9cQUiyoogDavup3H", "", qsTr("Donation to Monzero Core Team") + translationManager.emptyString); } } } diff --git a/pages/settings/SettingsLayout.qml b/pages/settings/SettingsLayout.qml index e73355ae..29f1c202 100644 --- a/pages/settings/SettingsLayout.qml +++ b/pages/settings/SettingsLayout.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -35,7 +35,7 @@ import moneroComponents.Wallet 1.0 import "../../js/Utils.js" as Utils import "../../js/Windows.js" as Windows -import "../../components" as MoneroComponents +import "../../components" as MonzeroComponents Rectangle { color: "transparent" @@ -53,14 +53,14 @@ Rectangle { anchors.topMargin: 0 spacing: 6 - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: customDecorationsCheckBox checked: persistentSettings.customDecorations onClicked: Windows.setCustomWindowDecorations(checked) text: qsTr("Custom decorations") + translationManager.emptyString } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: checkForUpdatesCheckBox enabled: !disableCheckUpdatesFlag checked: persistentSettings.checkForUpdates && !disableCheckUpdatesFlag @@ -68,13 +68,13 @@ Rectangle { text: qsTr("Check for updates periodically") + translationManager.emptyString } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { checked: persistentSettings.displayWalletNameInTitleBar onClicked: persistentSettings.displayWalletNameInTitleBar = !persistentSettings.displayWalletNameInTitleBar text: qsTr("Display wallet name in title bar") + translationManager.emptyString } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: hideBalanceCheckBox checked: persistentSettings.hideBalance onClicked: { @@ -84,17 +84,17 @@ Rectangle { text: qsTr("Hide balance") + translationManager.emptyString } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: themeCheckbox - checked: !MoneroComponents.Style.blackTheme + checked: !MonzeroComponents.Style.blackTheme text: qsTr("Light theme") + translationManager.emptyString toggleOnClick: false onClicked: { - MoneroComponents.Style.blackTheme = !MoneroComponents.Style.blackTheme; + MonzeroComponents.Style.blackTheme = !MonzeroComponents.Style.blackTheme; } } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { checked: persistentSettings.askPasswordBeforeSending text: qsTr("Ask for password before sending a transaction") + translationManager.emptyString toggleOnClick: false @@ -115,13 +115,13 @@ Rectangle { } } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { checked: persistentSettings.autosave onClicked: persistentSettings.autosave = !persistentSettings.autosave text: qsTr("Autosave") + translationManager.emptyString } - MoneroComponents.Slider { + MonzeroComponents.Slider { Layout.fillWidth: true Layout.leftMargin: 35 Layout.topMargin: 6 @@ -134,14 +134,14 @@ Rectangle { onMoved: persistentSettings.autosaveMinutes = value } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: userInActivityCheckbox checked: persistentSettings.lockOnUserInActivity onClicked: persistentSettings.lockOnUserInActivity = !persistentSettings.lockOnUserInActivity text: qsTr("Lock wallet on inactivity") + translationManager.emptyString } - MoneroComponents.Slider { + MonzeroComponents.Slider { visible: userInActivityCheckbox.checked Layout.fillWidth: true Layout.topMargin: 6 @@ -157,7 +157,7 @@ Rectangle { onMoved: persistentSettings.lockOnUserInActivityInterval = value } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: backgroundSyncCheckbox visible: !!currentWallet && !currentWallet.isHwBacked() && !appWindow.viewOnly checked: appWindow.backgroundSyncType != Wallet.BackgroundSync_Off @@ -179,7 +179,7 @@ Rectangle { } } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { checked: persistentSettings.askStopLocalNode onClicked: persistentSettings.askStopLocalNode = !persistentSettings.askStopLocalNode text: qsTr("Ask to stop local node during program exit") + translationManager.emptyString @@ -187,7 +187,7 @@ Rectangle { //! Manage pricing RowLayout { - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: enableConvertCurrency text: qsTr("Enable displaying balance in other currencies") + translationManager.emptyString checked: persistentSettings.fiatPriceEnabled @@ -207,7 +207,7 @@ Rectangle { Layout.leftMargin: 36 columnSpacing: 32 - MoneroComponents.StandardDropdown { + MonzeroComponents.StandardDropdown { id: fiatPriceProviderDropDown Layout.maximumWidth: 200 labelText: qsTr("Price source") + translationManager.emptyString @@ -222,7 +222,7 @@ Rectangle { } } - MoneroComponents.StandardDropdown { + MonzeroComponents.StandardDropdown { id: fiatPriceCurrencyDropdown Layout.maximumWidth: 100 labelText: qsTr("Currency") + translationManager.emptyString @@ -248,11 +248,11 @@ Rectangle { Layout.topMargin: 5 Layout.leftMargin: 36 - MoneroComponents.WarningBox { + MonzeroComponents.WarningBox { text: qsTr("Enabling price conversion exposes your IP address to the selected price source.") + translationManager.emptyString; } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { Layout.topMargin: 10 Layout.bottomMargin: 10 small: true @@ -265,7 +265,7 @@ Rectangle { } } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: proxyCheckbox Layout.topMargin: 6 enabled: !socksProxyFlagSet @@ -278,7 +278,7 @@ Rectangle { .arg(qsTr("updates downloading, fetching price sources")) + translationManager.emptyString } - MoneroComponents.RemoteNodeEdit { + MonzeroComponents.RemoteNodeEdit { id: proxyEdit enabled: proxyCheckbox.enabled Layout.leftMargin: 36 @@ -296,7 +296,7 @@ Rectangle { } } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { visible: !persistentSettings.customDecorations Layout.topMargin: 10 small: true diff --git a/pages/settings/SettingsLog.qml b/pages/settings/SettingsLog.qml index efe06f0e..c0100c2a 100644 --- a/pages/settings/SettingsLog.qml +++ b/pages/settings/SettingsLog.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -31,7 +31,7 @@ import QtQuick.Layouts 1.1 import QtQuick.Controls 2.2 import "../../js/Utils.js" as Utils -import "../../components" as MoneroComponents +import "../../components" as MonzeroComponents Rectangle { @@ -56,15 +56,15 @@ Rectangle { // Layout.preferredHeight: 1 // Layout.fillWidth: true // Layout.bottomMargin: 8 -// color: MoneroComponents.Style.dividerColor -// opacity: MoneroComponents.Style.dividerOpacity +// color: MonzeroComponents.Style.dividerColor +// opacity: MonzeroComponents.Style.dividerOpacity // } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { Layout.bottomMargin: 2 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor font.pixelSize: 18 - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name text: qsTr("Log level") + translationManager.emptyString } @@ -84,7 +84,7 @@ Rectangle { ListElement { column1: "custom"; } } - MoneroComponents.StandardDropdown { + MonzeroComponents.StandardDropdown { id: logLevelDropdown dataModel: logLevel itemTopMargin: 2 @@ -105,7 +105,7 @@ Rectangle { z: parent.z + 1 } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: logCategories visible: logLevelDropdown.currentIndex === 5 Layout.fillWidth: true @@ -125,19 +125,19 @@ Rectangle { } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { Layout.topMargin: 10 Layout.bottomMargin: 2 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor font.pixelSize: 18 - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name text: qsTr("Daemon log") + translationManager.emptyString themeTransition: false onColorChanged: { var flickableContentYBefore = flickable.contentY var daemonLogText = consoleArea.text consoleArea.clear(); - if (MoneroComponents.Style.blackTheme) { + if (MonzeroComponents.Style.blackTheme) { consoleArea.append(daemonLogText.replace(/#000000/g, '#ffffff').replace(/#008000/g, '#00ff00')); } else { consoleArea.append(daemonLogText.replace(/#ffffff/g, '#000000').replace(/#00ff00/g, '#008000')); @@ -154,7 +154,7 @@ Rectangle { Rectangle { anchors.fill: parent color: "transparent" - border.color: MoneroComponents.Style.inputBorderColorInActive + border.color: MonzeroComponents.Style.inputBorderColorInActive border.width: 1 radius: 4 } @@ -166,24 +166,24 @@ Rectangle { TextArea.flickable: TextArea { id : consoleArea - color: MoneroComponents.Style.defaultFontColor - selectionColor: MoneroComponents.Style.textSelectionColor + color: MonzeroComponents.Style.defaultFontColor + selectionColor: MonzeroComponents.Style.textSelectionColor textFormat: TextEdit.RichText selectByMouse: true selectByKeyboard: true - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 14 wrapMode: TextEdit.Wrap readOnly: true function logCommand(msg){ - msg = log_color(msg, MoneroComponents.Style.blackTheme ? "lime" : "green"); + msg = log_color(msg, MonzeroComponents.Style.blackTheme ? "lime" : "green"); consoleArea.append(msg); } function logMessage(msg){ msg = Utils.htmlEscape(msg.trim()); - var color = MoneroComponents.Style.defaultFontColor; + var color = MonzeroComponents.Style.defaultFontColor; if(msg.toLowerCase().indexOf('error') >= 0){ - color = MoneroComponents.Style.errorColor; + color = MonzeroComponents.Style.errorColor; } else if (msg.toLowerCase().indexOf('warning') >= 0){ color = "#fa6800" } @@ -205,7 +205,7 @@ Rectangle { timeZoneName: undefined }); - var _timestamp = log_color("[" + timestamp + "]", MoneroComponents.Style.defaultFontColor); + var _timestamp = log_color("[" + timestamp + "]", MonzeroComponents.Style.defaultFontColor); var _msg = log_color(msg, color); consoleArea.append(_timestamp + " " + _msg); @@ -223,7 +223,7 @@ Rectangle { } } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: sendCommandText Layout.fillWidth: true inputPaddingTop: 0 diff --git a/pages/settings/SettingsNode.qml b/pages/settings/SettingsNode.qml index 28480419..63902207 100644 --- a/pages/settings/SettingsNode.qml +++ b/pages/settings/SettingsNode.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -31,8 +31,8 @@ import QtQuick.Layouts 1.1 import QtQuick.Controls 2.0 import FontAwesome 1.0 -import "../../components" as MoneroComponents -import "../../components/effects" as MoneroEffects +import "../../components" as MonzeroComponents +import "../../components/effects" as MonzeroEffects Rectangle{ color: "transparent" @@ -64,8 +64,8 @@ Rectangle{ anchors.left: parent.left anchors.right: parent.right height: 1 - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } Rectangle { @@ -93,25 +93,25 @@ Rectangle{ anchors.leftMargin: 16 anchors.verticalCenter: parent.verticalCenter - MoneroComponents.Label { + MonzeroComponents.Label { fontSize: 32 text: FontAwesome.home fontFamily: FontAwesome.fontFamilySolid anchors.centerIn: parent - fontColor: MoneroComponents.Style.defaultFontColor + fontColor: MonzeroComponents.Style.defaultFontColor styleName: "Solid" } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: localNodeHeader anchors.left: localNodeIcon.right anchors.leftMargin: 14 anchors.top: parent.top - color: MoneroComponents.Style.defaultFontColor - opacity: MoneroComponents.Style.blackTheme ? 1.0 : 0.8 + color: MonzeroComponents.Style.defaultFontColor + opacity: MonzeroComponents.Style.blackTheme ? 1.0 : 0.8 font.bold: true - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 16 text: qsTr("Local node") + translationManager.emptyString } @@ -122,8 +122,8 @@ Rectangle{ anchors.topMargin: 4 anchors.left: localNodeIcon.right anchors.leftMargin: 14 - color: MoneroComponents.Style.dimmedFontColor - font.family: MoneroComponents.Style.fontRegular.name + color: MonzeroComponents.Style.dimmedFontColor + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 horizontalAlignment: TextInput.AlignLeft wrapMode: Text.WordWrap; @@ -157,8 +157,8 @@ Rectangle{ anchors.left: parent.left anchors.right: parent.right height: 1 - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } Rectangle { @@ -186,25 +186,25 @@ Rectangle{ anchors.leftMargin: 16 anchors.verticalCenter: parent.verticalCenter - MoneroComponents.Label { + MonzeroComponents.Label { fontSize: 28 text: FontAwesome.cloud fontFamily: FontAwesome.fontFamilySolid styleName: "Solid" anchors.centerIn: parent - fontColor: MoneroComponents.Style.defaultFontColor + fontColor: MonzeroComponents.Style.defaultFontColor } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: remoteNodeHeader anchors.left: remoteNodeIcon.right anchors.leftMargin: 14 anchors.top: parent.top - color: MoneroComponents.Style.defaultFontColor - opacity: MoneroComponents.Style.blackTheme ? 1.0 : 0.8 + color: MonzeroComponents.Style.defaultFontColor + opacity: MonzeroComponents.Style.blackTheme ? 1.0 : 0.8 font.bold: true - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 16 text: qsTr("Remote node") + translationManager.emptyString } @@ -215,14 +215,14 @@ Rectangle{ anchors.topMargin: 4 anchors.left: remoteNodeIcon.right anchors.leftMargin: 14 - color: MoneroComponents.Style.dimmedFontColor - font.family: MoneroComponents.Style.fontRegular.name + color: MonzeroComponents.Style.dimmedFontColor + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 horizontalAlignment: TextInput.AlignLeft wrapMode: Text.WordWrap; leftPadding: 0 topPadding: 0 - text: qsTr("Uses a third-party server to connect to the Monero network. Less secure, but easier on your computer.") + translationManager.emptyString + text: qsTr("Uses a third-party server to connect to the Monzero network. Less secure, but easier on your computer.") + translationManager.emptyString width: parent.width - (remoteNodeIcon.width + remoteNodeIcon.anchors.leftMargin + anchors.leftMargin) } @@ -244,18 +244,18 @@ Rectangle{ anchors.right: parent.right anchors.bottom: parent.bottom height: 1 - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } } - MoneroComponents.WarningBox { + MonzeroComponents.WarningBox { Layout.topMargin: 46 - text: qsTr("To find a remote node, type 'Monero remote node' into your favorite search engine. Please ensure the node is run by a trusted third-party.") + translationManager.emptyString + text: qsTr("To find a remote node, type 'Monzero remote node' into your favorite search engine. Please ensure the node is run by a trusted third-party.") + translationManager.emptyString visible: persistentSettings.useRemoteNode } - MoneroComponents.RemoteNodeList { + MonzeroComponents.RemoteNodeList { Layout.fillWidth: true Layout.topMargin: 26 visible: persistentSettings.useRemoteNode @@ -267,7 +267,7 @@ Rectangle{ Layout.topMargin: 40 visible: !persistentSettings.useRemoteNode - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { small: true text: (appWindow.daemonRunning ? qsTr("Stop daemon") : qsTr("Start daemon")) + translationManager.emptyString onClicked: { @@ -281,7 +281,7 @@ Rectangle{ } RowLayout { - MoneroComponents.LineEditMulti { + MonzeroComponents.LineEditMulti { id: blockchainFolder Layout.preferredWidth: 200 Layout.fillWidth: true @@ -308,7 +308,7 @@ Rectangle{ } } - MoneroComponents.LineEditMulti { + MonzeroComponents.LineEditMulti { id: daemonFlags Layout.fillWidth: true labelFontSize: 14 @@ -333,7 +333,7 @@ Rectangle{ ColumnLayout { Layout.fillWidth: true - MoneroComponents.RemoteNodeEdit { + MonzeroComponents.RemoteNodeEdit { id: bootstrapNodeEdit Layout.minimumWidth: 100 Layout.bottomMargin: 20 diff --git a/pages/settings/SettingsWallet.qml b/pages/settings/SettingsWallet.qml index f43d64e2..a7fa0901 100644 --- a/pages/settings/SettingsWallet.qml +++ b/pages/settings/SettingsWallet.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -33,7 +33,7 @@ import QtQuick.Dialogs 1.2 import FontAwesome 1.0 import "../../js/Utils.js" as Utils -import "../../components" as MoneroComponents +import "../../components" as MonzeroComponents Rectangle { color: "transparent" @@ -50,7 +50,7 @@ Rectangle { anchors.topMargin: 0 spacing: 0 - MoneroComponents.SettingsListItem { + MonzeroComponents.SettingsListItem { iconText: FontAwesome.lock description: qsTr("Locks the wallet on demand.") + translationManager.emptyString title: qsTr("Lock this wallet") + translationManager.emptyString @@ -58,7 +58,7 @@ Rectangle { onClicked: appWindow.lock(); } - MoneroComponents.SettingsListItem { + MonzeroComponents.SettingsListItem { iconText: FontAwesome.signOutAlt description: qsTr("Logs out of this wallet.") + translationManager.emptyString title: qsTr("Close this wallet") + translationManager.emptyString @@ -66,7 +66,7 @@ Rectangle { onClicked: appWindow.showWizard() } - MoneroComponents.SettingsListItem { + MonzeroComponents.SettingsListItem { iconText: FontAwesome.eye description: qsTr("Creates a new wallet that can only view and initiate transactions, but requires a spendable wallet to sign transactions before sending.") + translationManager.emptyString title: qsTr("Create a view-only wallet") + translationManager.emptyString @@ -88,7 +88,7 @@ Rectangle { } } - MoneroComponents.SettingsListItem { + MonzeroComponents.SettingsListItem { iconText: FontAwesome.key description: qsTr("Store this information safely to recover your wallet in the future.") + translationManager.emptyString title: qsTr("Show seed & keys") + translationManager.emptyString @@ -98,7 +98,7 @@ Rectangle { } } - MoneroComponents.SettingsListItem { + MonzeroComponents.SettingsListItem { enabled: leftPanel.progressBar.fillLevel == 100 iconText: FontAwesome.repeat description: qsTr("Use this feature if you think the shown balance is not accurate.") + translationManager.emptyString @@ -127,7 +127,7 @@ Rectangle { } } - MoneroComponents.SettingsListItem { + MonzeroComponents.SettingsListItem { enabled: leftPanel.progressBar.fillLevel == 100 iconText: FontAwesome.magnifyingGlass description: qsTr("Use this feature if a transaction is missing in your wallet history. This will expose the transaction ID to the remote node, which can harm your privacy.") + translationManager.emptyString @@ -158,7 +158,7 @@ Rectangle { } } - MoneroComponents.SettingsListItem { + MonzeroComponents.SettingsListItem { iconText: FontAwesome.ellipsisH description: qsTr("Change the password of your wallet.") + translationManager.emptyString title: qsTr("Change wallet password") + translationManager.emptyString @@ -181,10 +181,10 @@ Rectangle { } } - MoneroComponents.SettingsListItem { + MonzeroComponents.SettingsListItem { iconText: FontAwesome.cashRegister isLast: true - description: qsTr("Receive Monero for your business, easily.") + translationManager.emptyString + description: qsTr("Receive Monzero for your business, easily.") + translationManager.emptyString title: qsTr("Enter merchant mode") + translationManager.emptyString onClicked: { |
