From a03b853336f09516570e19d4d47cd46152bafaa9 Mon Sep 17 00:00:00 2001
From: Vinicius Moreira {}
{}
'.format(self.i18n['action.update.success.reboot.line1'], - self.i18n['action.update.success.reboot.line2'], - self.i18n['action.update.success.reboot.line3']) - self.request_reboot(msg) + if bool(app_config['updates']['ask_for_reboot']): + msg = '{}
{}{}
'.format(self.i18n['action.update.success.reboot.line1'], + self.i18n['action.update.success.reboot.line2'], + self.i18n['action.update.success.reboot.line3']) + self.request_reboot(msg) self.notify_finished({'success': success, 'updated': updated, 'types': updated_types, 'id': upgrade_id}) self.pkgs = None diff --git a/bauh/view/resources/locale/ca b/bauh/view/resources/locale/ca index 03a1758a..ec9edcd9 100644 --- a/bauh/view/resources/locale/ca +++ b/bauh/view/resources/locale/ca @@ -222,6 +222,8 @@ core.config.ui.tray.updates_icon=Update icon core.config.ui.tray.updates_icon.tip=The displayed icon when there are updates available core.config.updates.interval=Updates interval core.config.updates.interval.tip=Defines the time interval in which the update-checking for the installed applications will happen ( in SECONDS ) +core.config.updates.reboot=Reboot after upgrading +core.config.updates.reboot.tip=A message asking for a system reboot will be displayed after a successful upgrade custom_action.proceed_with=Proceed with {} ? description=descripció details=detalls diff --git a/bauh/view/resources/locale/de b/bauh/view/resources/locale/de index b95c1078..0a2306ff 100644 --- a/bauh/view/resources/locale/de +++ b/bauh/view/resources/locale/de @@ -221,6 +221,8 @@ core.config.ui.tray.updates_icon=Icon bei Updates core.config.ui.tray.updates_icon.tip=The displayed icon when there are updates available core.config.updates.interval=Update-Intervall core.config.updates.interval.tip=Das Intervall (in Sekunden), in dem nach Updates für die installierten Anwendungen gesucht wird. +core.config.updates.reboot=Reboot after upgrading +core.config.updates.reboot.tip=A message asking for a system reboot will be displayed after a successful upgrade custom_action.proceed_with=Proceed with {} ? description=Beschreibung details=Details diff --git a/bauh/view/resources/locale/en b/bauh/view/resources/locale/en index b594ccf3..404372f1 100644 --- a/bauh/view/resources/locale/en +++ b/bauh/view/resources/locale/en @@ -221,6 +221,8 @@ core.config.ui.tray.updates_icon.tip=The displayed icon when there are updates a core.config.ui.tray.updates_icon=Update icon core.config.updates.interval.tip=Defines the time interval in which the update-checking for the installed applications will happen ( in SECONDS ) core.config.updates.interval=Updates interval +core.config.updates.reboot=Reboot after upgrading +core.config.updates.reboot.tip=A message asking for a system reboot will be displayed after a successful upgrade custom_action.proceed_with=Proceed with {} ? description=description details=details diff --git a/bauh/view/resources/locale/es b/bauh/view/resources/locale/es index 0fa23bd8..76fb99b0 100644 --- a/bauh/view/resources/locale/es +++ b/bauh/view/resources/locale/es @@ -222,6 +222,8 @@ core.config.ui.tray.updates_icon=Icono de actualización core.config.ui.tray.updates_icon.tip=El icono que se muestra cuando hay actualizaciones disponibles core.config.updates.interval=Intervalo de actualizaciones core.config.updates.interval.tip=Define el intervalo de tiempo en el que se realizará la verificación de actualizaciones para las aplicaciones instaladas ( en SEGUNDOS ) +core.config.updates.reboot=Reiniciar después de actualizar +core.config.updates.reboot.tip=Se mostrará un mensaje solicitando el reinicio del sistema después de una actualización exitosa custom_action.proceed_with=¿Continuar con {}? description=descripción details=detalles diff --git a/bauh/view/resources/locale/it b/bauh/view/resources/locale/it index 169854d7..def0b8db 100644 --- a/bauh/view/resources/locale/it +++ b/bauh/view/resources/locale/it @@ -222,6 +222,8 @@ core.config.ui.tray.updates_icon=Update icon core.config.ui.tray.updates_icon.tip=The displayed icon when there are updates available core.config.updates.interval=Updates interval core.config.updates.interval.tip=Defines the time interval in which the update-checking for the installed applications will happen ( in SECONDS ) +core.config.updates.reboot=Reboot after upgrading +core.config.updates.reboot.tip=A message asking for a system reboot will be displayed after a successful upgrade custom_action.proceed_with=Proceed with {} ? description=descrizione details=dettagli diff --git a/bauh/view/resources/locale/pt b/bauh/view/resources/locale/pt index a1e763b0..0ecf7902 100644 --- a/bauh/view/resources/locale/pt +++ b/bauh/view/resources/locale/pt @@ -221,6 +221,8 @@ core.config.ui.tray.updates_icon.tip=O ícone exibido quando há atualizações core.config.ui.tray.updates_icon=Ícone de atualização core.config.updates.interval.tip=Define o intervalo de tempo em que ocorrerá a verificação de atualizações para os aplicativos instalados ( em SEGUNDOS ) core.config.updates.interval=Intervalo de atualizações +core.config.updates.reboot=Reinicializar após atualizar +core.config.updates.reboot.tip=Uma mensagem perguntando se o sistema deve ser reinicializado será exibida após uma atualização bem sucedida custom_action.proceed_with=Continuar com {} ? description=descrição details=detalhes diff --git a/bauh/view/resources/locale/ru b/bauh/view/resources/locale/ru index bbc5bc8e..311da13c 100644 --- a/bauh/view/resources/locale/ru +++ b/bauh/view/resources/locale/ru @@ -221,6 +221,8 @@ core.config.ui.tray.updates_icon=Значок обновления core.config.ui.tray.updates_icon.tip=Значок, отображаемый при наличии доступных обновлений core.config.updates.interval=Интервал обновления core.config.updates.interval.tip=Определяет интервал времени, в течение которого будет происходить проверка обновлений для установленных приложений ( в секундах ) +core.config.updates.reboot=Reboot after upgrading +core.config.updates.reboot.tip=A message asking for a system reboot will be displayed after a successful upgrade custom_action.proceed_with=Proceed with {} ? description=Описание details=Детали diff --git a/bauh/view/resources/locale/tr b/bauh/view/resources/locale/tr index 5a0d7d98..a3178561 100644 --- a/bauh/view/resources/locale/tr +++ b/bauh/view/resources/locale/tr @@ -221,6 +221,8 @@ core.config.ui.tray.updates_icon.tip=Güncelleme mevcut olduğunda görüntülen core.config.ui.tray.updates_icon=Simge değiştir core.config.updates.interval.tip=Yüklü uygulamalar için güncelleme denetiminin gerçekleşeceği zaman aralığını tanımlar (SANİYE) core.config.updates.interval=Güncelleme aralığı +core.config.updates.reboot=Reboot after upgrading +core.config.updates.reboot.tip=A message asking for a system reboot will be displayed after a successful upgrade custom_action.proceed_with={} ile devam et ? description=açıklama details=detaylar