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 /components/UpdateDialog.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 'components/UpdateDialog.qml')
| -rw-r--r-- | components/UpdateDialog.qml | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/components/UpdateDialog.qml b/components/UpdateDialog.qml index c3710cf7..fee6c685 100644 --- a/components/UpdateDialog.qml +++ b/components/UpdateDialog.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2020-2024, The Monero Project +// Copyright (c) 2020-2024, The Monzero Project // // All rights reserved. // @@ -32,7 +32,7 @@ import QtQuick.Layouts 1.1 import moneroComponents.Downloader 1.0 -import "../components" as MoneroComponents +import "../components" as MonzeroComponents Popup { id: updateDialog @@ -48,9 +48,9 @@ Popup { property string version: "" background: Rectangle { - border.color: MoneroComponents.Style.appWindowBorderColor + border.color: MonzeroComponents.Style.appWindowBorderColor border.width: 1 - color: MoneroComponents.Style.middlePanelBackgroundColor + color: MonzeroComponents.Style.middlePanelBackgroundColor } closePolicy: Popup.NoAutoClose padding: 20 @@ -70,17 +70,17 @@ Popup { spacing: updateDialog.padding Text { - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor font.bold: true - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 18 - text: qsTr("New Monero version v%1 is available.").arg(updateDialog.version) + text: qsTr("New Monzero version v%1 is available.").arg(updateDialog.version) } Text { id: errorText color: "red" - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 18 text: updateDialog.error visible: text @@ -88,14 +88,14 @@ Popup { Text { id: statusText - color: updateDialog.valid ? MoneroComponents.Style.green : MoneroComponents.Style.defaultFontColor - font.family: MoneroComponents.Style.fontRegular.name + color: updateDialog.valid ? MonzeroComponents.Style.green : MonzeroComponents.Style.defaultFontColor + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: 18 visible: !errorText.visible text: { if (!updateDialog.url) { - return qsTr("Please visit getmonero.org for details") + translationManager.emptyString; + return qsTr("Please visit monzero.org for details") + translationManager.emptyString; } if (downloader.active) { return "%1 (%2%)" @@ -112,13 +112,13 @@ Popup { Rectangle { id: progressBar - color: MoneroComponents.Style.lightGreyFontColor + color: MonzeroComponents.Style.lightGreyFontColor height: 3 Layout.fillWidth: true visible: updateDialog.valid || downloader.active Rectangle { - color: MoneroComponents.Style.buttonBackgroundColor + color: MonzeroComponents.Style.buttonBackgroundColor height: parent.height width: parent.width * updateDialog.progress / 100 } @@ -128,7 +128,7 @@ Popup { Layout.alignment: Qt.AlignRight spacing: parent.spacing - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: cancelButton fontBold: false primary: !updateDialog.url @@ -148,7 +148,7 @@ Popup { } } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: downloadButton KeyNavigation.tab: cancelButton fontBold: false @@ -172,7 +172,7 @@ Popup { } } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: saveButton KeyNavigation.tab: cancelButton fontBold: false |
