refactor(power): use built in dialog widget

This commit is contained in:
Ashley Wulber 2024-05-06 15:16:34 -04:00 • committed by Michael Murphy
parent efae49e90b
commit ba9100ec9d
15 changed files with 86 additions and 60 deletions

View file

@ -9,13 +9,29 @@ restart = Restart
shutdown = Shutdown
confirm = Confirm
cancel = Cancel
confirm-question =
Are you sure? { $action ->
confirm-button = {
$action ->
[restart] { restart }
[suspend] { suspend}
[shutdown] Power off
[log-out] { log-out }
*[other] { confirm}
}
confirm-title =
{ $action ->
[restart] { restart }
[suspend] { suspend }
[shutdown] { shutdown }
[lock-screen] Locking the screen
[log-out] Logging out
*[other] The selected action
} will continue in { $countdown } seconds.
[log-out] { log-out }
*[other] Apply the selected action
} now?
confirm-body =
The system will { $action ->
[restart] restart
[suspend] suspend
[shutdown] power off
[lock-screen] lock the screen
[log-out] log out
*[other] apply the selected action
} automatically in { $countdown } seconds.