Skip to content

Commit

Permalink
Firmware update dialog: update text and icon
Browse files Browse the repository at this point in the history
Fixes #1592
  • Loading branch information
blammit committed Oct 24, 2024
1 parent 0891a89 commit 0022348
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1113,6 +1113,7 @@ qt_add_resources(${PROJECT_NAME} "${PROJECT_NAME}_large_resources"
images/icon_checkmark_32.svg
images/icon_close_32.svg
images/icon_info_32.svg
images/icon_info_48.svg
images/welcome-brief.png
images/welcome-controls.png
images/welcome-dark.png
Expand Down
5 changes: 5 additions & 0 deletions images/icon_info_48.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions pages/DialogLayer.qml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@ Item {
property Component _firmwareVersionRestartDialog: Component {
ModalWarningDialog {
dialogDoneOptions: VenusOS.ModalDialog_DoneOptions_NoOptions
//% "Firmware version update detected"
title: qsTrId("firmware_installed_build_version_update_detected")
//% "GX Device has been updated"
title: qsTrId("firmware_installed_build_gx_device_updated")
//% "Page will automatically reload in ten seconds to load the latest version."
description: qsTrId("firmware_installed_build_page_will_reload")
icon.source: "qrc:/images/icon_info_48.svg"
icon.color: Theme.color_blue
Timer {
running: true
interval: 10*1000
Expand Down

0 comments on commit 0022348

Please sign in to comment.