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/WizardCreateWallet2.qml | |
| 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/WizardCreateWallet2.qml')
| -rw-r--r-- | wizard/WizardCreateWallet2.qml | 62 |
1 files changed, 31 insertions, 31 deletions
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) } } |
