diff options
Diffstat (limited to 'pages/settings/SettingsInfo.qml')
| -rw-r--r-- | pages/settings/SettingsInfo.qml | 122 |
1 files changed, 61 insertions, 61 deletions
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); } } } |
