diff options
| author | Monzero Build System <builds@monzero.org> | 2026-08-15 21:26:40 +0100 |
|---|---|---|
| committer | Monzero Build System <builds@monzero.org> | 2026-08-15 21:26:40 +0100 |
| commit | dceeb88444ce966caa1a133d2926d5f7213c87ff (patch) | |
| tree | d74c9c7d7e43c2a0d39d656c690c63050cff7f53 /wizard | |
| parent | 81f33c7e00bf183823909a02e6d96ce11e41adce (diff) | |
| download | monzero-gui-dceeb88444ce966caa1a133d2926d5f7213c87ff.tar.gz monzero-gui-dceeb88444ce966caa1a133d2926d5f7213c87ff.tar.xz monzero-gui-dceeb88444ce966caa1a133d2926d5f7213c87ff.zip | |
Establish Monzero GUI Phase 0 baselinemonzero-gui-phase0-20260815
Diffstat (limited to 'wizard')
27 files changed, 262 insertions, 262 deletions
diff --git a/wizard/SeedListGrid.qml b/wizard/SeedListGrid.qml index 74355f93..3a901f5c 100644 --- a/wizard/SeedListGrid.qml +++ b/wizard/SeedListGrid.qml @@ -5,7 +5,7 @@ import QtQuick.Controls 2.0 import "../js/Wizard.js" as Wizard import "../js/Utils.js" as Utils -import "../components" as MoneroComponents +import "../components" as MonzeroComponents GridLayout { id: seedGrid diff --git a/wizard/SeedListItem.qml b/wizard/SeedListItem.qml index 71212cbd..4905211a 100644 --- a/wizard/SeedListItem.qml +++ b/wizard/SeedListItem.qml @@ -1,4 +1,4 @@ -import "../components" as MoneroComponents; +import "../components" as MonzeroComponents; import QtQuick 2.9 import QtQuick.Layouts 1.2 import FontAwesome 1.0 @@ -82,14 +82,14 @@ ColumnLayout { id: wordRow spacing: 0 - MoneroComponents.Label { - color: lineEdit.inputHasFocus ? MoneroComponents.Style.defaultFontColor : MoneroComponents.Style.dimmedFontColor + MonzeroComponents.Label { + color: lineEdit.inputHasFocus ? MonzeroComponents.Style.defaultFontColor : MonzeroComponents.Style.dimmedFontColor fontSize: 13 text: (wordNumber + 1) themeTransition: false } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: lineEdit property bool firstUserInput: true inputHeight: 29 @@ -111,17 +111,17 @@ ColumnLayout { onTabPressed: focusOnNextField() } - MoneroComponents.Label { + MonzeroComponents.Label { id: wordText Layout.leftMargin: 10 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor fontSize: seedListItem.focus ? 19 : 16 fontBold: true text: word themeTransition: false } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: icon Layout.leftMargin: wordsMatch ? 10 : 0 property bool wordsMatch: lineEdit.text === wordText.text @@ -131,7 +131,7 @@ ColumnLayout { font.styleName: "Solid" font.pixelSize: 15 text: wordsMatch ? FontAwesome.checkCircle : FontAwesome.exclamationCircle - color: wordsMatch ? (MoneroComponents.Style.blackTheme ? "#00FF00" : "#008000") : "#FF0000" + color: wordsMatch ? (MonzeroComponents.Style.blackTheme ? "#00FF00" : "#008000") : "#FF0000" themeTransition: false onTextChanged: { if (wizardCreateWallet2.seedListGrid && wordsMatch) { @@ -146,7 +146,7 @@ ColumnLayout { Rectangle { id: underLine - color: lineEdit.inputHasFocus ? MoneroComponents.Style.defaultFontColor : MoneroComponents.Style.appWindowBorderColor + color: lineEdit.inputHasFocus ? MonzeroComponents.Style.defaultFontColor : MonzeroComponents.Style.appWindowBorderColor Layout.fillWidth: true height: 1 } diff --git a/wizard/WizardAskPassword.qml b/wizard/WizardAskPassword.qml index ca9c94c3..48c7e38e 100644 --- a/wizard/WizardAskPassword.qml +++ b/wizard/WizardAskPassword.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -32,7 +32,7 @@ import QtQuick.Controls 2.0 import FontAwesome 1.0 import "../js/Wizard.js" as Wizard -import "../components" as MoneroComponents +import "../components" as MonzeroComponents ColumnLayout { id: root @@ -74,10 +74,10 @@ ColumnLayout { fillRect.color = "#FF0000"; } else if(strength <= 66){ strengthString = qsTr("Medium"); - fillRect.color = (MoneroComponents.Style.blackTheme ? "#FFFF00" : "#FFCC00"); + fillRect.color = (MonzeroComponents.Style.blackTheme ? "#FFFF00" : "#FFCC00"); } else { strengthString = qsTr("High"); - fillRect.color = (MoneroComponents.Style.blackTheme ? "#00FF00" : "#008000"); + fillRect.color = (MonzeroComponents.Style.blackTheme ? "#00FF00" : "#008000"); } progressText.text = passwordStrengthText + strengthString + translationManager.emptyString; @@ -90,14 +90,14 @@ ColumnLayout { subtitle: qsTr("This password cannot be recovered. If you forget it then the wallet will have to be restored from your %1.").arg(!wizardController.walletOptionsIsRecoveringFromDevice ? qsTr("25 word mnemonic seed") : qsTr("hardware wallet"))+ translationManager.emptyString } - MoneroComponents.WarningBox { + MonzeroComponents.WarningBox { text: "<b>%1</b> (%2).".arg(qsTr("Enter a strong password")).arg(qsTr("Using letters, numbers, and/or symbols")) + translationManager.emptyString } ColumnLayout { Layout.fillWidth: true - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: passwordInput Layout.fillWidth: true KeyNavigation.tab: passwordInputConfirm @@ -117,10 +117,10 @@ ColumnLayout { id: progressText Layout.topMargin: 6 Layout.bottomMargin: 6 - font.family: MoneroComponents.Style.fontMedium.name + font.family: MonzeroComponents.Style.fontMedium.name font.pixelSize: 14 font.bold: false - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor height: 18 passwordCharacter: "*" } @@ -131,7 +131,7 @@ ColumnLayout { Layout.preferredHeight: 8 radius: 8 - color: MoneroComponents.Style.progressBarBackgroundColor + color: MonzeroComponents.Style.progressBarBackgroundColor Rectangle { id: fillRect @@ -146,7 +146,7 @@ ColumnLayout { } Rectangle { - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor anchors.bottom: parent.bottom anchors.left: parent.left anchors.leftMargin: 8 @@ -158,7 +158,7 @@ ColumnLayout { ColumnLayout { Layout.fillWidth: true - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: passwordInputConfirm property bool firstUserInput: true Layout.fillWidth: true @@ -181,7 +181,7 @@ ColumnLayout { Layout.topMargin: 0 Layout.minimumHeight: passwordInputMessage.height + 3 - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { visible: passwordInputMessage.visible font.family: FontAwesome.fontFamilySolid font.styleName: "Solid" @@ -191,7 +191,7 @@ ColumnLayout { themeTransition: false } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: passwordInputMessage property bool passwordsMatch: passwordInputConfirm.text === passwordInput.text property bool partialPasswordsMatch: passwordInputConfirm.text === passwordInput.text.substring(0, passwordInputConfirm.text.length) @@ -199,8 +199,8 @@ ColumnLayout { Layout.topMargin: 3 text: passwordsMatch ? qsTr("Passwords match!") : qsTr("Passwords do not match") + translationManager.emptyString textFormat: Text.PlainText - color: passwordsMatch ? (MoneroComponents.Style.blackTheme ? "#00FF00" : "#008000") : "#FF0000" - font.family: MoneroComponents.Style.fontRegular.name + color: passwordsMatch ? (MonzeroComponents.Style.blackTheme ? "#00FF00" : "#008000") : "#FF0000" + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 14 themeTransition: false } diff --git a/wizard/WizardController.qml b/wizard/WizardController.qml index a7932fd7..343e6cb9 100644 --- a/wizard/WizardController.qml +++ b/wizard/WizardController.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -39,15 +39,15 @@ import moneroComponents.Wallet 1.0 import "../js/Wizard.js" as Wizard import "../js/Windows.js" as Windows import "../js/Utils.js" as Utils -import "../components" as MoneroComponents -import "../components/effects/" as MoneroEffects +import "../components" as MonzeroComponents +import "../components/effects/" as MonzeroEffects import "../pages" Rectangle { id: wizardController anchors.fill: parent - signal useMoneroClicked() + signal useMonzeroClicked() signal walletCreatedFromDevice(bool success) function restart(generatingNewSeed) { @@ -248,15 +248,15 @@ Rectangle { } ] - MoneroEffects.GradientBackground { + MonzeroEffects.GradientBackground { anchors.fill: parent - fallBackColor: MoneroComponents.Style.middlePanelBackgroundColor - initialStartColor: MoneroComponents.Style.wizardBackgroundGradientStart - initialStopColor: MoneroComponents.Style.middlePanelBackgroundGradientStop - blackColorStart: MoneroComponents.Style._b_wizardBackgroundGradientStart - blackColorStop: MoneroComponents.Style._b_middlePanelBackgroundGradientStop - whiteColorStart: MoneroComponents.Style._w_wizardBackgroundGradientStart - whiteColorStop: MoneroComponents.Style._w_middlePanelBackgroundGradientStop + fallBackColor: MonzeroComponents.Style.middlePanelBackgroundColor + initialStartColor: MonzeroComponents.Style.wizardBackgroundGradientStart + initialStopColor: MonzeroComponents.Style.middlePanelBackgroundGradientStop + blackColorStart: MonzeroComponents.Style._b_wizardBackgroundGradientStart + blackColorStop: MonzeroComponents.Style._b_middlePanelBackgroundGradientStop + whiteColorStart: MonzeroComponents.Style._w_wizardBackgroundGradientStart + whiteColorStop: MonzeroComponents.Style._w_middlePanelBackgroundGradientStop start: Qt.point(0, 0) end: Qt.point(height, width) } diff --git a/wizard/WizardCreateDevice1.qml b/wizard/WizardCreateDevice1.qml index 268091c3..0c75a2e8 100644 --- a/wizard/WizardCreateDevice1.qml +++ b/wizard/WizardCreateDevice1.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/Wizard.js" as Wizard import "../js/Utils.js" as Utils import "../components" -import "../components" as MoneroComponents +import "../components" as MonzeroComponents Rectangle { id: wizardCreateDevice1 @@ -104,16 +104,16 @@ Rectangle { Layout.fillWidth: true Layout.alignment: Qt.AlignTop - MoneroComponents.TextPlain { - font.family: MoneroComponents.Style.fontRegular.name + MonzeroComponents.TextPlain { + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 14 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor wrapMode: Text.Wrap Layout.fillWidth: true text: qsTr("Hardware wallet model") } - MoneroComponents.StandardDropdown { + MonzeroComponents.StandardDropdown { id: deviceNameDropdown dataModel: deviceNameModel Layout.preferredWidth: 450 @@ -121,7 +121,7 @@ Rectangle { z: 3 } - MoneroComponents.RadioButton { + MonzeroComponents.RadioButton { id: newDeviceWallet Layout.topMargin: 20 text: qsTr("Create a new wallet from device.") + translationManager.emptyString @@ -134,7 +134,7 @@ Rectangle { } } - MoneroComponents.RadioButton { + MonzeroComponents.RadioButton { id: restoreDeviceWallet Layout.topMargin: 10 text: qsTr("Restore a wallet from device. Use this if you used your hardware wallet before.") + translationManager.emptyString @@ -206,7 +206,7 @@ Rectangle { Layout.fillWidth: true spacing: 20 - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: restoreHeight visible: !newDeviceWallet.checked Layout.fillWidth: true @@ -227,7 +227,7 @@ Rectangle { text: qsTr("Advanced options") + translationManager.emptyString } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: lookahead Layout.fillWidth: true visible: showAdvancedCheckbox.checked @@ -244,8 +244,8 @@ Rectangle { text: qsTr("Error writing wallet from hardware device. Check application logs.") + translationManager.emptyString; visible: errorMsg.text !== "" Layout.fillWidth: true - font.family: MoneroComponents.Style.fontRegular.name - color: MoneroComponents.Style.errorColor + font.family: MonzeroComponents.Style.fontRegular.name + color: MonzeroComponents.Style.errorColor font.pixelSize: 16 wrapMode: Text.WordWrap diff --git a/wizard/WizardCreateWallet1.qml b/wizard/WizardCreateWallet1.qml index cff802df..9dbb6717 100644 --- a/wizard/WizardCreateWallet1.qml +++ b/wizard/WizardCreateWallet1.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.Controls 2.0 import "../js/Wizard.js" as Wizard import "../js/Utils.js" as Utils -import "../components" as MoneroComponents +import "../components" as MonzeroComponents Rectangle { id: wizardCreateWallet1 diff --git a/wizard/WizardCreateWallet2.qml b/wizard/WizardCreateWallet2.qml index 7664474d..4edc7818 100644 --- a/wizard/WizardCreateWallet2.qml +++ b/wizard/WizardCreateWallet2.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 moneroComponents.Clipboard 1.0 import "../js/Wizard.js" as Wizard import "../js/Utils.js" as Utils -import "../components" as MoneroComponents +import "../components" as MonzeroComponents Rectangle { id: wizardCreateWallet2 @@ -57,7 +57,7 @@ Rectangle { name: "verify"; when: typeof currentWallet != "undefined" && wizardStateView.state == "wizardCreateWallet2" PropertyChanges { target: header; title: qsTr("Verify your recovery phrase") + translationManager.emptyString } - PropertyChanges { target: header; imageIcon: wizardController.layoutScale != 4 ? (MoneroComponents.Style.blackTheme ? "qrc:///images/verify.png" : "qrc:///images/verify-white.png") : "" } + PropertyChanges { target: header; imageIcon: wizardController.layoutScale != 4 ? (MonzeroComponents.Style.blackTheme ? "qrc:///images/verify.png" : "qrc:///images/verify-white.png") : "" } PropertyChanges { target: header; subtitle: qsTr("Please confirm that you have written down your recover phrase by filling in the five blank fields with the correct words. If you have not written down your recovery phrase on a piece of paper, click on the Previous button and write it down right now!") + translationManager.emptyString} PropertyChanges { target: walletCreationDate; opacity: 0; enabled: false} PropertyChanges { target: walletCreationDateValue; opacity: 0; enabled: false} @@ -80,16 +80,16 @@ Rectangle { } ] - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { //PDF template text // the translation of these strings is used to create localized PDF templates visible: false text: qsTr("Print this paper, fill it out, and keep it in a safe location. Never share your recovery phrase with anybody, especially with strangers offering technical support.") + qsTr("Recovery phrase (mnemonic seed)") + - qsTr("These words are a backup of your wallet. They are the only thing needed to access your funds and restore your Monero wallet, so keep this paper in a safe place and do not disclose it to anybody! It is strongly not recommended to store your recovery phrase digitally (in an email, online service, screenshot, photo, or any other type of computer file).") + + qsTr("These words are a backup of your wallet. They are the only thing needed to access your funds and restore your Monzero wallet, so keep this paper in a safe place and do not disclose it to anybody! It is strongly not recommended to store your recovery phrase digitally (in an email, online service, screenshot, photo, or any other type of computer file).") + qsTr("Wallet creation date") + qsTr("Wallet restore height") + - qsTr("For instructions on how to restore this wallet, visit www.getmonero.org and go to Resources > User Guides > \"How to restore a wallet from mnemonic seed\". Use only Monero wallets that are trusted and recommended by the Monero community (see a list of them in www.getmonero.org/downloads).") + translationManager.emptyString + qsTr("For instructions on how to restore this wallet, visit monzero.org. Use only Monzero wallets that are trusted and recommended by the Monzero community.") + translationManager.emptyString } ColumnLayout { @@ -127,7 +127,7 @@ Rectangle { id: mobileImage Layout.alignment: Qt.AlignHCenter fillMode: Image.PreserveAspectCrop - source: MoneroComponents.Style.blackTheme ? "qrc:///images/write-down@2x.png" : "qrc:///images/write-down-white@2x.png" + source: MonzeroComponents.Style.blackTheme ? "qrc:///images/write-down@2x.png" : "qrc:///images/write-down-white@2x.png" width: 125 height: 125 sourceSize.width: 125 @@ -142,7 +142,7 @@ Rectangle { Rectangle { width: mobileImage.width height: mobileImage.height - color: mobileImage.focus ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent" + color: mobileImage.focus ? MonzeroComponents.Style.titleBarButtonHoverColor : "transparent" } } @@ -150,10 +150,10 @@ Rectangle { id: mobileText Layout.fillWidth: true Layout.alignment: Qt.AlignHCenter - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor text: qsTr("The next page will display your recovery phrase, also known as mnemonic seed.") + " " + qsTr("These words are a backup of your wallet. Write these words down now on a piece of paper in the same order displayed. Keep this paper in a safe place and do not disclose it to anybody! Do not store these words digitally, always use a paper!") + translationManager.emptyString - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 14 wrapMode: Text.WordWrap leftPadding: 0 @@ -167,11 +167,11 @@ Rectangle { Rectangle { anchors.fill: parent - color: parent.focus ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent" + color: parent.focus ? MonzeroComponents.Style.titleBarButtonHoverColor : "transparent" } } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: displaySeedButton Layout.alignment: Qt.AlignHCenter; text: qsTr("Display recovery phrase") + translationManager.emptyString @@ -198,7 +198,7 @@ Rectangle { WizardHeader { id: header - imageIcon: wizardController.layoutScale != 4 ? (MoneroComponents.Style.blackTheme ? "qrc:///images/write-down.png" : "qrc:///images/write-down-white.png") : "" + imageIcon: wizardController.layoutScale != 4 ? (MonzeroComponents.Style.blackTheme ? "qrc:///images/write-down.png" : "qrc:///images/write-down-white.png") : "" title: qsTr("Write down your recovery phrase") + translationManager.emptyString subtitleVisible: wizardController.layoutScale != 4 subtitle: qsTr("These words are a backup of your wallet. Write these words down now on a piece of paper in the same order displayed. Keep this paper in a safe place and do not disclose it to anybody! Do not store these words digitally, always use a paper!") + translationManager.emptyString @@ -223,14 +223,14 @@ Rectangle { } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: recoveryPhraseLabel visible: wizardController.layoutScale != 4 - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 font.bold: false textFormat: Text.RichText - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor text: qsTr("Recovery phrase (mnemonic seed)") + ":" + translationManager.emptyString themeTransition: false tooltip: qsTr("These words encode your private spend key in a human readable format.") + "<br>" + qsTr("It is expected that some words may be repeated.") + translationManager.emptyString @@ -273,7 +273,7 @@ Rectangle { } } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: createNewSeedButton visible: appWindow.walletMode >= 2 small: true @@ -294,7 +294,7 @@ Rectangle { KeyNavigation.tab: copyToClipboardButton } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: copyToClipboardButton visible: appWindow.walletMode >= 2 small: true @@ -312,7 +312,7 @@ Rectangle { KeyNavigation.tab: printPDFTemplate.visible ? printPDFTemplate : walletCreationDate } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: printPDFTemplate small: true primary: false @@ -340,13 +340,13 @@ Rectangle { spacing: 5 Layout.fillWidth: true - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: walletCreationDate - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 font.bold: false textFormat: Text.RichText - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor text: qsTr("Creation date") + ": " + translationManager.emptyString themeTransition: false Accessible.role: Accessible.StaticText @@ -357,15 +357,15 @@ Rectangle { KeyNavigation.tab: walletRestoreHeight } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: walletCreationDateValue property var locale: Qt.locale() property date currentDate: new Date() - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 16 font.bold: true textFormat: Text.RichText - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor text: currentDate.toLocaleDateString(locale, Locale.ShortFormat) } } @@ -374,13 +374,13 @@ Rectangle { spacing: 5 Layout.fillWidth: true - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: walletRestoreHeight - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 15 font.bold: false textFormat: Text.RichText - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor text: qsTr("Restore height") + ":" + translationManager.emptyString tooltip: wizardController.layoutScale != 4 ? qsTr("Enter this number when restoring the wallet to make your initial wallet synchronization faster.") : "" + translationManager.emptyString tooltipIconVisible: true @@ -393,13 +393,13 @@ Rectangle { Keys.onTabPressed: navigation.btnPrev.forceActiveFocus(); } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: walletRestoreHeightValue - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 16 font.bold: true textFormat: Text.RichText - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor text: Utils.roundDownToNearestThousand(wizardController.m_wallet ? wizardController.m_wallet.walletCreationHeight : 0) } } diff --git a/wizard/WizardCreateWallet3.qml b/wizard/WizardCreateWallet3.qml index dfb51f16..2caad66e 100644 --- a/wizard/WizardCreateWallet3.qml +++ b/wizard/WizardCreateWallet3.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 QtQuick 2.9 import QtQuick.Layouts 1.2 import QtQuick.Controls 2.0 -import "../components" as MoneroComponents +import "../components" as MonzeroComponents Rectangle { id: wizardCreateWallet3 diff --git a/wizard/WizardCreateWallet4.qml b/wizard/WizardCreateWallet4.qml index 8919b53c..c2c9e962 100644 --- a/wizard/WizardCreateWallet4.qml +++ b/wizard/WizardCreateWallet4.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 QtQuick 2.9 import QtQuick.Layouts 1.2 import QtQuick.Controls 2.0 -import "../components" as MoneroComponents +import "../components" as MonzeroComponents Rectangle { id: wizardCreateWallet4 @@ -57,7 +57,7 @@ Rectangle { WizardHeader { title: qsTr("Daemon settings") + translationManager.emptyString - subtitle: qsTr("To be able to communicate with the Monero network your wallet needs to be connected to a Monero node. For best privacy it's recommended to run your own node.") + translationManager.emptyString + subtitle: qsTr("To be able to communicate with the Monzero network your wallet needs to be connected to a Monzero node. For best privacy it's recommended to run your own node.") + translationManager.emptyString } WizardDaemonSettings { diff --git a/wizard/WizardCreateWallet5.qml b/wizard/WizardCreateWallet5.qml index e6cb9e93..b881316f 100644 --- a/wizard/WizardCreateWallet5.qml +++ b/wizard/WizardCreateWallet5.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.2 import QtQuick.Controls 2.0 import "../js/Wizard.js" as Wizard -import "../components" as MoneroComponents +import "../components" as MonzeroComponents Rectangle { id: wizardCreateWallet5 @@ -83,7 +83,7 @@ Rectangle { wizardController.wizardStateView.wizardCreateWallet3View.pwField = ""; wizardController.wizardStateView.wizardCreateWallet3View.pwConfirmField = ""; wizardController.writeWallet(function() { - wizardController.useMoneroClicked(); + wizardController.useMonzeroClicked(); wizardController.walletOptionsIsRecoveringFromDevice = false; }); btnNext.enabled = true; diff --git a/wizard/WizardDaemonSettings.qml b/wizard/WizardDaemonSettings.qml index bada5da3..5a2d5762 100644 --- a/wizard/WizardDaemonSettings.qml +++ b/wizard/WizardDaemonSettings.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -32,7 +32,7 @@ import QtQuick.Layouts 1.2 import QtQuick.Controls 2.0 import "../js/Wizard.js" as Wizard -import "../components" as MoneroComponents +import "../components" as MonzeroComponents ColumnLayout { Layout.fillWidth: true @@ -49,7 +49,7 @@ ColumnLayout { } } - MoneroComponents.RadioButton { + MonzeroComponents.RadioButton { id: localNode Layout.fillWidth: true text: qsTr("Start a node automatically in background (recommended)") + translationManager.emptyString @@ -70,7 +70,7 @@ ColumnLayout { Layout.topMargin: 8 Layout.fillWidth: true - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: blockchainFolder Layout.fillWidth: true @@ -90,7 +90,7 @@ ColumnLayout { text: persistentSettings.blockchainDataDir onLabelLinkActivated: persistentSettings.blockchainDataDir = "" - MoneroComponents.InlineButton { + MonzeroComponents.InlineButton { small: true text: qsTr("Browse") + translationManager.emptyString onClicked: { @@ -104,7 +104,7 @@ ColumnLayout { RowLayout { id: pruningOptionRow - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: pruneBlockchainCheckBox checked: !existingDbWarning.visible ? persistentSettings.pruneBlockchain : false enabled: !existingDbWarning.visible @@ -119,8 +119,8 @@ ColumnLayout { id: existingDbWarning text: "A blockchain database already exists here. Select a new location to start a pruned node" visible: daemonManager ? daemonManager.checkLmdbExists(blockchainFolder.text) : false - color: MoneroComponents.Style.defaultFontColor - font.family: MoneroComponents.Style.fontRegular.name + color: MonzeroComponents.Style.defaultFontColor + font.family: MonzeroComponents.Style.fontRegular.name } } @@ -132,8 +132,8 @@ ColumnLayout { text: qsTr("Bootstrap node") + translationManager.emptyString Layout.topMargin: 10 Layout.fillWidth: true - font.family: MoneroComponents.Style.fontRegular.name - color: MoneroComponents.Style.defaultFontColor + font.family: MonzeroComponents.Style.fontRegular.name + color: MonzeroComponents.Style.defaultFontColor font.pixelSize: { if(wizardController.layoutScale === 2 ){ return 22; @@ -149,12 +149,12 @@ ColumnLayout { } Text { - text: qsTr("Additionally, you may specify a bootstrap node to use Monero immediately.") + translationManager.emptyString + text: qsTr("Additionally, you may specify a bootstrap node to use Monzero immediately.") + translationManager.emptyString Layout.topMargin: 4 Layout.fillWidth: true - font.family: MoneroComponents.Style.fontRegular.name - color: MoneroComponents.Style.dimmedFontColor + font.family: MonzeroComponents.Style.fontRegular.name + color: MonzeroComponents.Style.dimmedFontColor font.pixelSize: { if(wizardController.layoutScale === 2 ){ @@ -175,7 +175,7 @@ ColumnLayout { spacing: 8 Layout.fillWidth: true - MoneroComponents.RemoteNodeEdit { + MonzeroComponents.RemoteNodeEdit { id: bootstrapNodeEdit Layout.minimumWidth: 300 //labelText: qsTr("Bootstrap node (leave blank if not wanted)") + translationManager.emptyString @@ -185,7 +185,7 @@ ColumnLayout { } } - MoneroComponents.RadioButton { + MonzeroComponents.RadioButton { id: remoteNode Layout.fillWidth: true Layout.topMargin: 8 @@ -198,7 +198,7 @@ ColumnLayout { } } - MoneroComponents.RemoteNodeList { + MonzeroComponents.RemoteNodeList { Layout.fillWidth: true Layout.topMargin: 8 visible: remoteNode.checked diff --git a/wizard/WizardHeader.qml b/wizard/WizardHeader.qml index 3febfa49..52b967cc 100644 --- a/wizard/WizardHeader.qml +++ b/wizard/WizardHeader.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -28,7 +28,7 @@ import "../js/Wizard.js" as Wizard import "../components" -import "../components" as MoneroComponents +import "../components" as MonzeroComponents import QtQuick 2.9 import QtQuick.Layouts 1.2 @@ -56,9 +56,9 @@ ColumnLayout { Text { text: title - font.family: MoneroComponents.Style.fontRegular.name - color: MoneroComponents.Style.defaultFontColor - opacity: MoneroComponents.Style.blackTheme ? 1.0 : 0.8 + font.family: MonzeroComponents.Style.fontRegular.name + color: MonzeroComponents.Style.defaultFontColor + opacity: MonzeroComponents.Style.blackTheme ? 1.0 : 0.8 font.pixelSize: { if (wizardController.layoutScale == 4) { return 16; @@ -76,7 +76,7 @@ ColumnLayout { Rectangle { anchors.fill: parent - color: parent.parent.parent.focus ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent" + color: parent.parent.parent.focus ? MonzeroComponents.Style.titleBarButtonHoverColor : "transparent" } } } @@ -86,10 +86,10 @@ ColumnLayout { Layout.alignment: Qt.AlignLeft visible: parent.subtitle !== "" && subtitleVisible - color: MoneroComponents.Style.dimmedFontColor + color: MonzeroComponents.Style.dimmedFontColor text: subtitle - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: { if (wizardController.layoutScale <= 2 ) { return 16; @@ -104,7 +104,7 @@ ColumnLayout { Rectangle { anchors.fill: parent - color: parent.parent.focus ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent" + color: parent.parent.focus ? MonzeroComponents.Style.titleBarButtonHoverColor : "transparent" } } } diff --git a/wizard/WizardHome.qml b/wizard/WizardHome.qml index 9d65a7f0..e21379c7 100644 --- a/wizard/WizardHome.qml +++ b/wizard/WizardHome.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -32,7 +32,7 @@ import QtQuick.Layouts 1.2 import QtQuick.Controls 2.0 import moneroComponents.NetworkType 1.0 -import "../components" as MoneroComponents +import "../components" as MonzeroComponents Rectangle { id: wizardHome @@ -63,11 +63,11 @@ Rectangle { WizardHeader { Layout.bottomMargin: 7 Layout.fillWidth: true - title: qsTr("Welcome to Monero") + translationManager.emptyString + title: qsTr("Welcome to Monzero") + translationManager.emptyString subtitle: "" } - MoneroComponents.LanguageButton { + MonzeroComponents.LanguageButton { Layout.bottomMargin: 8 } } @@ -79,7 +79,7 @@ Rectangle { : nettype === 1 ? " (" + qsTr("testnet") + ")" : "") + translationManager.emptyString } - bodyText: qsTr("Choose this option if this is your first time using Monero.") + translationManager.emptyString + bodyText: qsTr("Choose this option if this is your first time using Monzero.") + translationManager.emptyString imageIcon: "qrc:///images/create-wallet.png" onMenuClicked: { @@ -95,8 +95,8 @@ Rectangle { Layout.topMargin: 3 Layout.bottomMargin: 3 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } WizardMenuItem { @@ -106,7 +106,7 @@ Rectangle { : nettype === 1 ? " (" + qsTr("testnet") + ")" : "") + translationManager.emptyString } - bodyText: qsTr("Connect your hardware wallet to create a new Monero wallet.") + translationManager.emptyString + bodyText: qsTr("Connect your hardware wallet to create a new Monzero wallet.") + translationManager.emptyString imageIcon: "qrc:///images/restore-wallet-from-hardware.png" onMenuClicked: { @@ -120,8 +120,8 @@ Rectangle { Layout.topMargin: 3 Layout.bottomMargin: 3 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } WizardMenuItem { @@ -140,8 +140,8 @@ Rectangle { Layout.topMargin: 3 Layout.bottomMargin: 3 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } WizardMenuItem { @@ -160,7 +160,7 @@ Rectangle { Layout.topMargin: 16 spacing: 20 - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { small: true text: qsTr("Change wallet mode") + translationManager.emptyString @@ -171,7 +171,7 @@ Rectangle { } } - MoneroComponents.CheckBox2 { + MonzeroComponents.CheckBox2 { id: showAdvancedCheckbox Layout.topMargin: 30 Layout.fillWidth: true @@ -195,7 +195,7 @@ Rectangle { Layout.fillWidth: true Layout.topMargin: 10 - MoneroComponents.StandardDropdown { + MonzeroComponents.StandardDropdown { id: networkTypeDropdown currentIndex: persistentSettings.nettype dataModel: networkTypeModel @@ -218,7 +218,7 @@ Rectangle { } } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: kdfRoundsText Layout.maximumWidth: 180 diff --git a/wizard/WizardLanguage.qml b/wizard/WizardLanguage.qml index 0c5b980e..83e4c26c 100644 --- a/wizard/WizardLanguage.qml +++ b/wizard/WizardLanguage.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.2 import QtQuick.Controls 2.0 import "../components" -import "../components" as MoneroComponents -import "../components/effects/" as MoneroEffects +import "../components" as MonzeroComponents +import "../components/effects/" as MonzeroEffects import "../version.js" as Version Rectangle { @@ -62,10 +62,10 @@ Rectangle { opacity: 0 Layout.preferredWidth: parent.width / 1.3 Layout.alignment: Qt.AlignCenter - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor text: "Welcome - Wilkommen - Bonvenon - Bienvenido - Bienvenue - Välkommen - Selamat datang - Benvenuto - 歡迎 - Welkom - Bem Vindo - добро пожаловать" - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.bold: true font.pixelSize: 18 horizontalAlignment: TextInput.AlignHCenter @@ -152,9 +152,9 @@ Rectangle { Layout.fillWidth: true columnSpacing: 20 - MoneroComponents.LanguageButton { } + MonzeroComponents.LanguageButton { } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: btnContinue Layout.minimumWidth: 150 text: qsTr("Continue") + translationManager.emptyString @@ -177,14 +177,14 @@ Rectangle { } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: versionText opacity: 0 Layout.alignment: Qt.AlignCenter font.bold: true font.pixelSize: 12 - font.family: MoneroComponents.Style.fontRegular.name - color: MoneroComponents.Style.defaultFontColor + font.family: MonzeroComponents.Style.fontRegular.name + color: MonzeroComponents.Style.defaultFontColor text: Version.GUI_VERSION + " (Qt " + qtRuntimeVersion + ")" Behavior on opacity { diff --git a/wizard/WizardMenuItem.qml b/wizard/WizardMenuItem.qml index 5e9964b5..149ac806 100644 --- a/wizard/WizardMenuItem.qml +++ b/wizard/WizardMenuItem.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -32,7 +32,7 @@ import QtQuick.Layouts 1.2 import QtGraphicalEffects 1.0 import QtQuick.Controls 2.0 -import "../components" as MoneroComponents +import "../components" as MonzeroComponents RowLayout { id: rowlayout @@ -50,7 +50,7 @@ RowLayout { Layout.preferredWidth: 70 Layout.preferredHeight: 70 - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: checkboxItem anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter @@ -60,14 +60,14 @@ RowLayout { Image { id: icon - visible: !rowlayout.checkbox && (!isOpenGL || MoneroComponents.Style.blackTheme) + visible: !rowlayout.checkbox && (!isOpenGL || MonzeroComponents.Style.blackTheme) anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter source: "" } DropShadow { - visible: !rowlayout.checkbox && (isOpenGL && !MoneroComponents.Style.blackTheme) + visible: !rowlayout.checkbox && (isOpenGL && !MonzeroComponents.Style.blackTheme) anchors.fill: icon horizontalOffset: 3 verticalOffset: 3 @@ -92,15 +92,15 @@ RowLayout { Layout.fillWidth: true spacing: 0 - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: header Layout.fillWidth: true leftPadding: parent.leftPadding topPadding: 0 - 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: { if (wizardController.layoutScale == 4) { return 16; @@ -120,11 +120,11 @@ RowLayout { } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: body 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: { if (wizardController.layoutScale <= 2 ){ return 16; diff --git a/wizard/WizardModeBootstrap.qml b/wizard/WizardModeBootstrap.qml index df4d8efb..19f551df 100644 --- a/wizard/WizardModeBootstrap.qml +++ b/wizard/WizardModeBootstrap.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.2 import QtQuick.Controls 2.0 import "../js/Wizard.js" as Wizard -import "../components" as MoneroComponents +import "../components" as MonzeroComponents Rectangle { id: wizardModeBootstrapWarning @@ -68,36 +68,36 @@ Rectangle { Layout.topMargin: 10 Layout.fillWidth: true - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { text: qsTr("This mode will use a remote node whilst also syncing the blockchain. This is different from the first menu option (Simple mode), since it will only use the remote node until the blockchain is fully synced locally. It is a reasonable tradeoff for most people who care about privacy but also want the convenience of an automatic fallback option.") + translationManager.emptyString wrapMode: Text.Wrap Layout.topMargin: 14 Layout.fillWidth: true textFormat: Text.RichText - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 16 - color: MoneroComponents.Style.lightGreyFontColor + color: MonzeroComponents.Style.lightGreyFontColor } - MoneroComponents.TextPlain { - text: qsTr("Temporary use of remote nodes is useful in order to use Monero immediately (hence the name bootstrap), however be aware that when using remote nodes (including with the bootstrap setting), nodes could track your IP address, track your \"restore height\" and associated block request data, and send you inaccurate information to learn more about transactions you make.") + translationManager.emptyString + MonzeroComponents.TextPlain { + text: qsTr("Temporary use of remote nodes is useful in order to use Monzero immediately (hence the name bootstrap), however be aware that when using remote nodes (including with the bootstrap setting), nodes could track your IP address, track your \"restore height\" and associated block request data, and send you inaccurate information to learn more about transactions you make.") + translationManager.emptyString wrapMode: Text.Wrap Layout.topMargin: 8 Layout.fillWidth: true - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 16 - color: MoneroComponents.Style.lightGreyFontColor + color: MonzeroComponents.Style.lightGreyFontColor } - MoneroComponents.WarningBox{ + MonzeroComponents.WarningBox{ Layout.topMargin: 14 Layout.bottomMargin: 6 text: qsTr("Remain aware of these limitations. <b>Users who prioritize privacy and decentralization must use a full node instead</b>.") + translationManager.emptyString } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: understoodCheckbox Layout.topMargin: 20 fontSize: 16 diff --git a/wizard/WizardModeRemoteNodeWarning.qml b/wizard/WizardModeRemoteNodeWarning.qml index e7a94773..58547838 100644 --- a/wizard/WizardModeRemoteNodeWarning.qml +++ b/wizard/WizardModeRemoteNodeWarning.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.2 import QtQuick.Controls 2.0 import "../js/Wizard.js" as Wizard -import "../components" as MoneroComponents +import "../components" as MonzeroComponents Rectangle { id: wizardModeRemoteNodeWarning @@ -68,39 +68,39 @@ Rectangle { Layout.topMargin: 10 Layout.fillWidth: true - MoneroComponents.TextPlain { - text: qsTr("This mode is ideal for managing small amounts of Monero. You have access to basic features for making and managing transactions. It will automatically connect to the Monero network so you can start using Monero immediately.") + translationManager.emptyString - themeTransitionBlackColor: MoneroComponents.Style._b_lightGreyFontColor - themeTransitionWhiteColor: MoneroComponents.Style._w_lightGreyFontColor + MonzeroComponents.TextPlain { + text: qsTr("This mode is ideal for managing small amounts of Monzero. You have access to basic features for making and managing transactions. It will automatically connect to the Monzero network so you can start using Monzero immediately.") + translationManager.emptyString + themeTransitionBlackColor: MonzeroComponents.Style._b_lightGreyFontColor + themeTransitionWhiteColor: MonzeroComponents.Style._w_lightGreyFontColor wrapMode: Text.Wrap Layout.topMargin: 14 Layout.fillWidth: true - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 16 - color: MoneroComponents.Style.lightGreyFontColor + color: MonzeroComponents.Style.lightGreyFontColor } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { text: qsTr("Remote nodes are useful if you are not able/don't want to download the whole blockchain, but be advised that malicious remote nodes could compromise some privacy. They could track your IP address, track your \"restore height\" and associated block request data, and send you inaccurate information to learn more about transactions you make.") + translationManager.emptyString - themeTransitionBlackColor: MoneroComponents.Style._b_lightGreyFontColor - themeTransitionWhiteColor: MoneroComponents.Style._w_lightGreyFontColor + themeTransitionBlackColor: MonzeroComponents.Style._b_lightGreyFontColor + themeTransitionWhiteColor: MonzeroComponents.Style._w_lightGreyFontColor wrapMode: Text.Wrap Layout.topMargin: 8 Layout.fillWidth: true - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 16 - color: MoneroComponents.Style.lightGreyFontColor + color: MonzeroComponents.Style.lightGreyFontColor } - MoneroComponents.WarningBox { + MonzeroComponents.WarningBox { Layout.topMargin: 14 Layout.bottomMargin: 6 text: qsTr("Remain aware of these limitations. <b>Users who prioritize privacy and decentralization must use a full node instead</b>.") + translationManager.emptyString } - MoneroComponents.CheckBox { + MonzeroComponents.CheckBox { id: understoodCheckbox Layout.topMargin: 20 fontSize: 16 diff --git a/wizard/WizardModeSelection.qml b/wizard/WizardModeSelection.qml index 050b440f..e809f040 100644 --- a/wizard/WizardModeSelection.qml +++ b/wizard/WizardModeSelection.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -32,7 +32,7 @@ import QtQuick.Layouts 1.2 import QtQuick.Controls 2.0 import "../js/Wizard.js" as Wizard -import "../components" as MoneroComponents +import "../components" as MonzeroComponents Rectangle { id: wizardModeSelection1 @@ -106,8 +106,8 @@ Rectangle { Layout.topMargin: 5 Layout.bottomMargin: 10 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } WizardMenuItem { @@ -139,8 +139,8 @@ Rectangle { Layout.topMargin: 5 Layout.bottomMargin: 10 Layout.fillWidth: true - color: MoneroComponents.Style.dividerColor - opacity: MoneroComponents.Style.dividerOpacity + color: MonzeroComponents.Style.dividerColor + opacity: MonzeroComponents.Style.dividerOpacity } WizardMenuItem { @@ -163,7 +163,7 @@ Rectangle { WizardMenuItem { Layout.topMargin: 20 headerText: qsTr("Portable mode") + translationManager.emptyString - bodyText: qsTr("Create portable wallets and use them on any PC. Enable if you installed Monero on a USB stick, an external drive, or any other portable storage medium.") + translationManager.emptyString + bodyText: qsTr("Create portable wallets and use them on any PC. Enable if you installed Monzero on a USB stick, an external drive, or any other portable storage medium.") + translationManager.emptyString checkbox: true checked: wizardModeSelection1.portable diff --git a/wizard/WizardNav.qml b/wizard/WizardNav.qml index b5511b3e..c55b4f59 100644 --- a/wizard/WizardNav.qml +++ b/wizard/WizardNav.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.2 import QtQuick.Controls 2.0 import "../js/Wizard.js" as Wizard -import "../components" as MoneroComponents +import "../components" as MonzeroComponents RowLayout { id: menuNav @@ -69,7 +69,7 @@ RowLayout { Layout.preferredHeight: parent.height color: "transparent" - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: btnPrev width: appWindow.width <= 506 ? 45 : appWindow.width <= 660 ? 120 : 180 small: true @@ -115,7 +115,7 @@ RowLayout { implicitHeight: 10 radius: 10 // @TODO: Qt 5.10+ replace === with <= - color: index === menuNav.progress ? MoneroComponents.Style.defaultFontColor : MoneroComponents.Style.progressBarBackgroundColor + color: index === menuNav.progress ? MonzeroComponents.Style.defaultFontColor : MonzeroComponents.Style.progressBarBackgroundColor } Accessible.role: Accessible.Indicator Accessible.name: qsTr("Step (%1) of (%2)").arg(currentIndex + 1).arg(count) + translationManager.emptyString @@ -126,7 +126,7 @@ RowLayout { Rectangle { anchors.fill: parent - color: wizardProgress.focus ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent" + color: wizardProgress.focus ? MonzeroComponents.Style.titleBarButtonHoverColor : "transparent" } } } @@ -135,7 +135,7 @@ RowLayout { Layout.preferredHeight: parent.height color: "transparent" - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: btnNext width: appWindow.width <= 506 ? 45 : appWindow.width <= 660 ? 120 : 180 small: true diff --git a/wizard/WizardOpenWallet1.qml b/wizard/WizardOpenWallet1.qml index 991a72d0..b22f6b92 100644 --- a/wizard/WizardOpenWallet1.qml +++ b/wizard/WizardOpenWallet1.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 FontAwesome 1.0 import "../js/Wizard.js" as Wizard import "../components" -import "../components" as MoneroComponents -import "../components/effects/" as MoneroEffects +import "../components" as MonzeroComponents +import "../components/effects/" as MonzeroEffects Rectangle { id: wizardOpenWallet1 @@ -90,10 +90,10 @@ Rectangle { columnSpacing: 20 columns: 2 - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { Layout.fillWidth: true text: qsTr("Recently opened") + ":" + translationManager.emptyString - font.family: MoneroComponents.Style.fontLight.name + font.family: MonzeroComponents.Style.fontLight.name font.pixelSize: 16 } @@ -169,9 +169,9 @@ Rectangle { else if(networktype === 2) return qsTr("Stagenet"); return ""; } - color: item.focus || itemMouseArea.containsMouse ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent" + color: item.focus || itemMouseArea.containsMouse ? MonzeroComponents.Style.titleBarButtonHoverColor : "transparent" border.width: item.focus ? 3 : 0 - border.color: MoneroComponents.Style.inputBorderColorActive + border.color: MonzeroComponents.Style.inputBorderColorActive Accessible.role: Accessible.ListItem Accessible.name: { @@ -192,13 +192,13 @@ Rectangle { height: 1 width: parent.width anchors.top: parent.top - color: MoneroComponents.Style.appWindowBorderColor + color: MonzeroComponents.Style.appWindowBorderColor visible: index <= 2 // top row - 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 } } @@ -229,13 +229,13 @@ Rectangle { } visible: { if(!isOpenGL) return true; - if(MoneroComponents.Style.blackTheme) return true; + if(MonzeroComponents.Style.blackTheme) return true; return false; } } Colorize { - visible: isOpenGL && !MoneroComponents.Style.blackTheme + visible: isOpenGL && !MonzeroComponents.Style.blackTheme anchors.fill: icon source: icon lightness: 0.65 // +65% @@ -265,8 +265,8 @@ Rectangle { Layout.preferredHeight: 26 Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter Layout.fillWidth: true - font.family: MoneroComponents.Style.fontRegular.name - color: MoneroComponents.Style.defaultFontColor + font.family: MonzeroComponents.Style.fontRegular.name + color: MonzeroComponents.Style.defaultFontColor font.pixelSize: 16 wrapMode: Text.WordWrap @@ -281,8 +281,8 @@ Rectangle { Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter Layout.fillWidth: true text: item.networkType - font.family: MoneroComponents.Style.fontRegular.name - color: MoneroComponents.Style.dimmedFontColor + font.family: MonzeroComponents.Style.fontRegular.name + color: MonzeroComponents.Style.dimmedFontColor font.pixelSize: 14 wrapMode: Text.WordWrap @@ -301,13 +301,13 @@ Rectangle { Rectangle { height: 1 width: parent.width - color: MoneroComponents.Style.appWindowBorderColor + color: MonzeroComponents.Style.appWindowBorderColor anchors.bottom: parent.bottom - 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 } } diff --git a/wizard/WizardRestoreWallet1.qml b/wizard/WizardRestoreWallet1.qml index 61818c3c..4c56c637 100644 --- a/wizard/WizardRestoreWallet1.qml +++ b/wizard/WizardRestoreWallet1.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -32,7 +32,7 @@ import QtQuick.Controls 2.0 import "../js/Wizard.js" as Wizard import "../js/Utils.js" as Utils -import "../components" as MoneroComponents +import "../components" as MonzeroComponents Rectangle { id: wizardRestoreWallet1 @@ -114,7 +114,7 @@ Rectangle { spacing: 30 Layout.fillWidth: true - MoneroComponents.RadioButton { + MonzeroComponents.RadioButton { id: seedRadioButton text: qsTr("Restore from seed") + translationManager.emptyString fontSize: 16 @@ -127,7 +127,7 @@ Rectangle { } } - MoneroComponents.RadioButton { + MonzeroComponents.RadioButton { id: keysRadioButton text: qsTr("Restore from keys") + translationManager.emptyString fontSize: 16 @@ -140,7 +140,7 @@ Rectangle { } } - MoneroComponents.RadioButton { + MonzeroComponents.RadioButton { id: qrRadioButton text: qsTr("Restore from QR Code") + translationManager.emptyString fontSize: 16 @@ -173,53 +173,53 @@ Rectangle { border.width: 1 border.color: { if(seedInput.text !== "" && seedInput.error){ - return MoneroComponents.Style.inputBorderColorInvalid; + return MonzeroComponents.Style.inputBorderColorInvalid; } else if(seedInput.activeFocus){ - return MoneroComponents.Style.inputBorderColorActive; + return MonzeroComponents.Style.inputBorderColorActive; } else { - return MoneroComponents.Style.inputBorderColorInActive; + return MonzeroComponents.Style.inputBorderColorInActive; } } - MoneroComponents.InputMulti { + MonzeroComponents.InputMulti { id: seedInput property bool error: false width: parent.width height: 100 - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor textMargin: 2 text: "" - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 16 - selectionColor: MoneroComponents.Style.textSelectionColor - selectedTextColor: MoneroComponents.Style.textSelectedColor + selectionColor: MonzeroComponents.Style.textSelectionColor + selectedTextColor: MonzeroComponents.Style.textSelectedColor wrapMode: TextInput.Wrap selectByMouse: true - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: memoTextPlaceholder opacity: 0.35 anchors.fill:parent font.pixelSize: 16 anchors.margins: 8 anchors.leftMargin: 10 - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name text: qsTr("Enter your 25 word mnemonic seed") + translationManager.emptyString - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor visible: !seedInput.text } } } - MoneroComponents.CheckBox2 { + MonzeroComponents.CheckBox2 { id: seedOffsetCheckbox text: qsTr("Seed offset passphrase (optional)") + translationManager.emptyString } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: seedOffset password: true Layout.fillWidth: true @@ -229,7 +229,7 @@ Rectangle { } } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: addressLine visible: wizardController.walletRestoreMode === 'keys' Layout.fillWidth: true @@ -241,7 +241,7 @@ Rectangle { } } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: viewKeyLine visible: wizardController.walletRestoreMode === 'keys' Layout.fillWidth: true @@ -253,7 +253,7 @@ Rectangle { } } - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: spendKeyLine visible: wizardController.walletRestoreMode === 'keys' Layout.fillWidth: true @@ -266,7 +266,7 @@ Rectangle { } GridLayout{ - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: restoreHeight Layout.fillWidth: true labelText: qsTr("Wallet creation date as `YYYY-MM-DD` or restore height") + translationManager.emptyString diff --git a/wizard/WizardRestoreWallet2.qml b/wizard/WizardRestoreWallet2.qml index f66950d5..e6929e8f 100644 --- a/wizard/WizardRestoreWallet2.qml +++ b/wizard/WizardRestoreWallet2.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -27,7 +27,7 @@ // THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. import "../js/Wizard.js" as Wizard -import "../components" as MoneroComponents +import "../components" as MonzeroComponents import QtQuick 2.9 import QtQuick.Layouts 1.2 diff --git a/wizard/WizardRestoreWallet3.qml b/wizard/WizardRestoreWallet3.qml index fe433a4e..c8f8aee0 100644 --- a/wizard/WizardRestoreWallet3.qml +++ b/wizard/WizardRestoreWallet3.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -27,7 +27,7 @@ // THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. import "../js/Wizard.js" as Wizard -import "../components" as MoneroComponents +import "../components" as MonzeroComponents import QtQuick 2.9 import QtQuick.Layouts 1.2 @@ -60,7 +60,7 @@ Rectangle { WizardHeader { title: qsTr("Daemon settings") + translationManager.emptyString - subtitle: qsTr("To be able to communicate with the Monero network your wallet needs to be connected to a Monero node. For best privacy it's recommended to run your own node.\n\nIf you don't have the option to run your own node, there's an option to connect to a remote node.") + translationManager.emptyString + subtitle: qsTr("To be able to communicate with the Monzero network your wallet needs to be connected to a Monzero node. For best privacy it's recommended to run your own node.\n\nIf you don't have the option to run your own node, there's an option to connect to a remote node.") + translationManager.emptyString } WizardDaemonSettings { diff --git a/wizard/WizardRestoreWallet4.qml b/wizard/WizardRestoreWallet4.qml index d2d129b1..1c40a6d8 100644 --- a/wizard/WizardRestoreWallet4.qml +++ b/wizard/WizardRestoreWallet4.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -26,7 +26,7 @@ // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF // THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -import "../components" as MoneroComponents +import "../components" as MonzeroComponents import QtQuick 2.9 import QtQuick.Layouts 1.2 @@ -85,7 +85,7 @@ Rectangle { wizardController.wizardStateView.wizardRestoreWallet2View.pwConfirmField = ""; wizardController.recoveryWallet(); wizardController.writeWallet(function() { - wizardController.useMoneroClicked(); + wizardController.useMonzeroClicked(); btnNext.enabled = true; }); } diff --git a/wizard/WizardSummary.qml b/wizard/WizardSummary.qml index 85ee174a..43b2be8a 100644 --- a/wizard/WizardSummary.qml +++ b/wizard/WizardSummary.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 moneroComponents.NetworkType 1.0 import "../js/Wizard.js" as Wizard import "../js/Utils.js" as Utils -import "../components" as MoneroComponents +import "../components" as MonzeroComponents ColumnLayout { Layout.fillWidth: true diff --git a/wizard/WizardSummaryItem.qml b/wizard/WizardSummaryItem.qml index d3284b0d..79eedacc 100644 --- a/wizard/WizardSummaryItem.qml +++ b/wizard/WizardSummaryItem.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -32,7 +32,7 @@ import QtQuick.Controls 2.0 import "../js/Wizard.js" as Wizard import "../js/Utils.js" as Utils -import "../components" as MoneroComponents +import "../components" as MonzeroComponents ColumnLayout { property alias header: key.text @@ -50,7 +50,7 @@ ColumnLayout { Layout.preferredHeight: 20 color: "transparent" - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { id: key Layout.fillWidth: true Layout.alignment: Qt.AlignVCenter @@ -64,7 +64,7 @@ ColumnLayout { Layout.preferredHeight: 20 color: "transparent" - MoneroComponents.TextBlock { + MonzeroComponents.TextBlock { id: val Layout.fillWidth: true Layout.alignment: Qt.AlignVCenter @@ -79,7 +79,7 @@ ColumnLayout { 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 } } diff --git a/wizard/WizardWalletInput.qml b/wizard/WizardWalletInput.qml index 2054fe52..21446bf5 100644 --- a/wizard/WizardWalletInput.qml +++ b/wizard/WizardWalletInput.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 FontAwesome 1.0 import "../js/Wizard.js" as Wizard import "../components" -import "../components" as MoneroComponents +import "../components" as MonzeroComponents GridLayout { id: grid @@ -69,7 +69,7 @@ GridLayout { } ColumnLayout { - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: walletName Layout.fillWidth: true @@ -115,7 +115,7 @@ GridLayout { RowLayout { Layout.fillWidth: true - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { visible: errorMessageWalletName.text != "" font.family: FontAwesome.fontFamilySolid font.styleName: "Solid" @@ -125,10 +125,10 @@ GridLayout { themeTransition: false } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: errorMessageWalletName textFormat: Text.PlainText - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 14 color: "#FF0000" themeTransition: false @@ -145,7 +145,7 @@ GridLayout { ColumnLayout { visible: appWindow.walletMode >= 2 - MoneroComponents.LineEdit { + MonzeroComponents.LineEdit { id: walletLocation Layout.fillWidth: true @@ -181,7 +181,7 @@ GridLayout { KeyNavigation.down: browseButton KeyNavigation.tab: browseButton - MoneroComponents.InlineButton { + MonzeroComponents.InlineButton { id: browseButton fontFamily: FontAwesome.fontFamilySolid fontStyleName: "Solid" @@ -206,7 +206,7 @@ GridLayout { RowLayout { Layout.fillWidth: true - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { visible: errorMessageWalletLocation.text != "" font.family: FontAwesome.fontFamilySolid font.styleName: "Solid" @@ -216,10 +216,10 @@ GridLayout { themeTransition: false } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: errorMessageWalletLocation textFormat: Text.PlainText - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 14 color: "#FF0000" themeTransition: false |
