diff --git a/CHANGELOG.md b/CHANGELOG.md index d60fc245..87eb52f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - General - minor memory improvements - code refactoring + - update checking interval on tray mode is now measured in minutes instead of seconds (default: 30) - Arch - info dialog: diff --git a/README.md b/README.md index 17611ad7..bd6eabb2 100644 --- a/README.md +++ b/README.md @@ -409,7 +409,7 @@ ui: theme: defines the path to the theme/stylesheet file with a .qss extension (e.g: /path/to/my/theme.qss). For themes provided by bauh, only a string key is needed (e.g: light). Default: light system_theme: merges the system's theme/stylesheet with bauh's. Default: false. updates: - check_interval: 30 # the updates checking interval in SECONDS + check_interval: 30 # the updates checking interval in MINUTES ask_for_reboot: true # if a dialog asking for a system reboot should be displayed after a successful upgrade disk: trim: diff --git a/bauh/view/qt/systray.py b/bauh/view/qt/systray.py index dec42eda..1567eccd 100755 --- a/bauh/view/qt/systray.py +++ b/bauh/view/qt/systray.py @@ -85,7 +85,7 @@ class UpdateCheck(QThread): if updates is not None: self.signal.emit(updates) - self.sleep(self.check_interval) + self.sleep(int(self.check_interval * 60)) def run(self): while True: diff --git a/bauh/view/resources/locale/ca b/bauh/view/resources/locale/ca index 235c43ae..7e95e8cf 100644 --- a/bauh/view/resources/locale/ca +++ b/bauh/view/resources/locale/ca @@ -245,7 +245,7 @@ core.config.ui.tray.default_icon.tip=The default icon displayed on the tray 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.interval.tip=Defines the time interval (in minutes) in which the update-checking for the installed applications will happen 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 {} ? diff --git a/bauh/view/resources/locale/de b/bauh/view/resources/locale/de index b1160a35..12c94b42 100644 --- a/bauh/view/resources/locale/de +++ b/bauh/view/resources/locale/de @@ -244,7 +244,7 @@ core.config.ui.tray.default_icon.tip=The default icon displayed on the tray 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.interval.tip=Das Intervall (in Protokoll), 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 {} ? diff --git a/bauh/view/resources/locale/en b/bauh/view/resources/locale/en index 79a4f384..1d54a14c 100644 --- a/bauh/view/resources/locale/en +++ b/bauh/view/resources/locale/en @@ -243,7 +243,7 @@ core.config.ui.tray.default_icon.tip=The default icon displayed on the tray core.config.ui.tray.default_icon=Default icon core.config.ui.tray.updates_icon.tip=The displayed icon when there are updates available 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.tip=Defines the time interval (in minutes) in which the update-checking for the installed applications will happen 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 diff --git a/bauh/view/resources/locale/es b/bauh/view/resources/locale/es index a83aaf7c..f29725d8 100644 --- a/bauh/view/resources/locale/es +++ b/bauh/view/resources/locale/es @@ -245,7 +245,7 @@ core.config.ui.tray.default_icon.tip=El icono predeterminado que se muestra en l 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.interval.tip=Define el intervalo de tiempo (en minutos) en que se realizará la verificación de actualizaciones para las aplicaciones instaladas 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 {}? diff --git a/bauh/view/resources/locale/fr b/bauh/view/resources/locale/fr index b6eae8c3..c8a95bef 100644 --- a/bauh/view/resources/locale/fr +++ b/bauh/view/resources/locale/fr @@ -241,7 +241,7 @@ core.config.ui.tray.default_icon.tip=Icône par défaut dans la barre système core.config.ui.tray.default_icon=Icône par dafaut core.config.ui.tray.updates_icon.tip=Icône affichée quand il y a des mises à jour disponibles core.config.ui.tray.updates_icon=Icône de mise à jour -core.config.updates.interval.tip=Définit l'intervalle durant lequel les mises à jour pour les applications installées seront rafraichies ( en SECONDES ) +core.config.updates.interval.tip=Définit l'intervalle (en minutes) durant lequel les mises à jour pour les applications installées seront rafraichies core.config.updates.interval=Intervalle de mises à jour core.config.updates.reboot=Redémarrer après mise à jour core.config.updates.reboot.tip=Après chaque mise à jour réussie, il vous sera demandé de redémarrer. diff --git a/bauh/view/resources/locale/it b/bauh/view/resources/locale/it index afc72f0c..039ce1b1 100644 --- a/bauh/view/resources/locale/it +++ b/bauh/view/resources/locale/it @@ -245,7 +245,7 @@ core.config.ui.tray.default_icon.tip=The default icon displayed on the tray 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.interval.tip=Defines the time interval (in minutes) in which the update-checking for the installed applications will happen 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 {} ? diff --git a/bauh/view/resources/locale/pt b/bauh/view/resources/locale/pt index c66d3a8a..89ec530a 100644 --- a/bauh/view/resources/locale/pt +++ b/bauh/view/resources/locale/pt @@ -243,7 +243,7 @@ core.config.ui.tray.default_icon.tip=O ícone padrão exibido na bandeja core.config.ui.tray.default_icon=Ícone padrão core.config.ui.tray.updates_icon.tip=O ícone exibido quando há atualizações disponíveis 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.tip=Define o intervalo de tempo (em minutos) em que ocorrerá a verificação de atualizações para os aplicativos instalados 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 diff --git a/bauh/view/resources/locale/ru b/bauh/view/resources/locale/ru index 6fcef3c8..8ac7182a 100644 --- a/bauh/view/resources/locale/ru +++ b/bauh/view/resources/locale/ru @@ -244,7 +244,7 @@ core.config.ui.tray.default_icon.tip=Значок по умолчанию для 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.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 {} ? diff --git a/bauh/view/resources/locale/tr b/bauh/view/resources/locale/tr index ba66e4b8..32c1d0a2 100644 --- a/bauh/view/resources/locale/tr +++ b/bauh/view/resources/locale/tr @@ -243,7 +243,7 @@ core.config.ui.tray.default_icon.tip=Tepside görüntülenen için varsayılan s core.config.ui.tray.default_icon=Varsayılan simge core.config.ui.tray.updates_icon.tip=Güncelleme mevcut olduğunda görüntülenen simge 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.tip=Yüklü uygulamalar için güncelleme denetiminin gerçekleşeceği zaman aralığını tanımlar (dakikalar içinde) 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