Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firmware update dialog: update text and icon #1621

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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