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,7 +9,7 @@ restart = Neustart
shutdown = Ausschalten
confirm = Bestätigen
cancel = Abbrechen
confirm-question = Sind Sie sicher? { $action ->
confirm-body = Sind Sie sicher? { $action ->
[restart] Ihr System wird
[suspend] Ihr System wird
[shutdown] Ihr System wird

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.

View file

@ -9,7 +9,7 @@ restart = Reiniciar
shutdown = Apagar
confirm = Vale
cancel = Cancelar
confirm-question =
confirm-body =
¿Está bien? { $action ->
[restart] El ordenador se reiniciará
[suspend] El ordenador se suspenderá

View file

@ -9,7 +9,7 @@ restart = Uudelleenkäynnistä
shutdown = Sammuta
confirm = Varmista
cancel = Peruuta
confirm-question =
confirm-body =
Oletko Varma? { $action ->
[restart] { restart }
[suspend] { suspend }

View file

@ -9,7 +9,7 @@ restart = Redémarrer
shutdown = Éteindre
confirm = Confirmer
cancel = Annuler
confirm-question =
confirm-body =
Êtes-vous sûr ? { $action ->
[restart] Redémarrer l'ordinateur
[suspend] Mettre en veille

View file

@ -9,7 +9,7 @@ restart = Riavvia
shutdown = Spegni
confirm = Conferma
cancel = Annulla
confirm-question =
confirm-body =
Confermi? { $action ->
[restart] { restart }
[suspend] { suspend }

View file

@ -9,7 +9,7 @@ restart = 再起動
shutdown = シャットダウン
confirm = 確認
cancel = キャンセル
confirm-question =
confirm-body =
よろしいでしょうか? { $countdown }秒後にシステムは自動的に{ $action ->
[restart] { restart }
[suspend] { suspend }

View file

@ -9,7 +9,7 @@ restart = 다시 시작
shutdown = 시스템 종료
confirm = 확인
cancel = 취소
confirm-question =
confirm-body =
계속하시겠습니까? { $countdown }초 후 { $action ->
[restart] { restart }
[suspend] { suspend }

View file

@ -9,7 +9,7 @@ restart = Herstarten
shutdown = Afsluiten
confirm = Bevestigen
cancel = Annuleren
confirm-question =
confirm-body =
Weet je het zeker? { $action ->
[restart] { restart }
[suspend] { suspend }

View file

@ -9,7 +9,7 @@ restart = Reiniciar
shutdown = Encerrar
confirm = Confirmar
cancel = Cancelar
confirm-question =
confirm-body =
Tem a certeza? { $action ->
[restart] { restart }
[suspend] { suspend }

View file

@ -9,7 +9,7 @@ restart = Перезагрузка
shutdown = Выключение
confirm = Подтвердить
cancel = Отмена
confirm-question =
confirm-body =
Вы уверены? { $action ->
[restart] Перезагрузка
[suspend] Переход в режим сна

View file

@ -9,7 +9,7 @@ restart = Поново покрени
shutdown = Искључи
confirm = Потврди
cancel = Откажи
confirm-question =
confirm-body =
Јесте ли сигурни? { $action ->
[restart] Поновно покретање
[suspend] Стање спавања

View file

@ -9,7 +9,7 @@ restart = Ponovo pokreni
shutdown = Isključi
confirm = Potvrdi
cancel = Otkaži
confirm-question =
confirm-body =
Jeste li sigurni? { $action ->
[restart] Ponovno pokretanje
[suspend] Stanje spavanja

View file

@ -9,7 +9,7 @@ restart = Перезавантажити
shutdown = Вимкнути
confirm = Підтвердити
cancel = Скасувати
confirm-question =
confirm-body =
Are you sure? { $action ->
[restart] { restart }
[suspend] { suspend }