From af25d9b401ae17ab73646c69ceab8ddd8b84bead Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Moreira?= Date: Tue, 28 Jan 2020 17:13:09 -0300 Subject: [PATCH] [fix][ui][settings] flatpak inputs scaling | i18n --- bauh/gems/appimage/controller.py | 2 +- bauh/gems/appimage/resources/locale/ca | 2 +- bauh/gems/appimage/resources/locale/de | 2 +- bauh/gems/appimage/resources/locale/en | 2 +- bauh/gems/appimage/resources/locale/es | 2 +- bauh/gems/appimage/resources/locale/it | 2 +- bauh/gems/appimage/resources/locale/pt | 2 +- bauh/gems/flatpak/controller.py | 1 + bauh/view/core/controller.py | 3 +-- bauh/view/resources/locale/ca | 4 ++-- bauh/view/resources/locale/de | 4 ++-- bauh/view/resources/locale/en | 4 ++-- bauh/view/resources/locale/es | 2 +- bauh/view/resources/locale/it | 4 ++-- bauh/view/resources/locale/pt | 2 +- 15 files changed, 19 insertions(+), 19 deletions(-) diff --git a/bauh/gems/appimage/controller.py b/bauh/gems/appimage/controller.py index 7232bdfd..8c6ec3eb 100644 --- a/bauh/gems/appimage/controller.py +++ b/bauh/gems/appimage/controller.py @@ -512,7 +512,7 @@ class AppImageManager(SoftwareManager): default_option=[o for o in enabled_opts if o.value == config['db_updater']['enabled']][0], max_per_line=len(enabled_opts), type_=SelectViewType.RADIO, - tooltip=self.i18n['appimage.config.db_updates.activated.tip'].format(app=self.context.app_name), + tooltip=self.i18n['appimage.config.db_updates.activated.tip'], max_width=200, id_='up_enabled'), TextInputComponent(label=self.i18n['interval'], diff --git a/bauh/gems/appimage/resources/locale/ca b/bauh/gems/appimage/resources/locale/ca index 224905cb..b8e9429c 100644 --- a/bauh/gems/appimage/resources/locale/ca +++ b/bauh/gems/appimage/resources/locale/ca @@ -19,5 +19,5 @@ appimage.install.download.error=No s’ha pogut baixar el fitxer {}. El servidor appimage.install.appimagelauncher.error = {appimgl} no permet la instal·lació de {app}. Desinstal·leu {appimgl}, reinicieu el sistema i torneu a provar d’instal·lar {app}. appimage.config.db_updates=Database update appimage.config.db_updates.activated=activated -appimage.config.db_updates.activated.tip={app} is able to verify if there are updates for your installed applications +appimage.config.db_updates.activated.tip=It will be possible to check for updates related to the installed applications appimage.config.db_updates.interval.tip=Update interval in SECONDS \ No newline at end of file diff --git a/bauh/gems/appimage/resources/locale/de b/bauh/gems/appimage/resources/locale/de index 84224851..11fcbaa6 100644 --- a/bauh/gems/appimage/resources/locale/de +++ b/bauh/gems/appimage/resources/locale/de @@ -19,5 +19,5 @@ appimage.install.download.error=Das Herunterladen der Datei {} ist fehlgeschlage appimage.install.appimagelauncher.error={appimgl} verhindert die installation von {app}. Deinstalliere {appimgl}, starte deinen Computer neu und versuche die installation von {app} erneut. appimage.config.db_updates=Database update appimage.config.db_updates.activated=activated -appimage.config.db_updates.activated.tip={app} is able to verify if there are updates for your installed applications +appimage.config.db_updates.activated.tip=It will be possible to check for updates related to the installed applications appimage.config.db_updates.interval.tip=Update interval in SECONDS \ No newline at end of file diff --git a/bauh/gems/appimage/resources/locale/en b/bauh/gems/appimage/resources/locale/en index 074e57d6..4e887779 100644 --- a/bauh/gems/appimage/resources/locale/en +++ b/bauh/gems/appimage/resources/locale/en @@ -19,5 +19,5 @@ appimage.install.download.error=It was not possible to download the file {}. The appimage.install.appimagelauncher.error={appimgl} is not allowing {app} to be installed. Uninstall {appimgl}, reboot your system and try to install {app} again. appimage.config.db_updates=Database update appimage.config.db_updates.activated=activated -appimage.config.db_updates.activated.tip={app} is able to verify if there are updates for your installed applications +appimage.config.db_updates.activated.tip=It will be possible to check for updates related to the installed applications appimage.config.db_updates.interval.tip=Update interval in SECONDS \ No newline at end of file diff --git a/bauh/gems/appimage/resources/locale/es b/bauh/gems/appimage/resources/locale/es index c68e0106..a51d4dcc 100644 --- a/bauh/gems/appimage/resources/locale/es +++ b/bauh/gems/appimage/resources/locale/es @@ -19,5 +19,5 @@ appimage.install.download.error=No fue posible descargar el archivo {}. El servi appimage.install.appimagelauncher.error={appimgl} no permite la instalación de {app}. Desinstale {appimgl}, reinicie su sistema e intente instalar {app} nuevamente. appimage.config.db_updates=Actualización de la base de datos appimage.config.db_updates.activated=activada -appimage.config.db_updates.activated.tip={app} puede verificar si hay actualizaciones para sus aplicaciones instaladas +appimage.config.db_updates.activated.tip=Será posible buscar actualizaciones relacionadas con las aplicaciones instaladas appimage.config.db_updates.interval.tip=Intervalo de actualización en SEGUNDOS \ No newline at end of file diff --git a/bauh/gems/appimage/resources/locale/it b/bauh/gems/appimage/resources/locale/it index f323df82..a42d6d5a 100644 --- a/bauh/gems/appimage/resources/locale/it +++ b/bauh/gems/appimage/resources/locale/it @@ -19,6 +19,6 @@ appimage.install.download.error=Non è stato possibile scaricare il file {}. Il appimage.install.appimagelauncher.error={appimgl} non consente l'installazione di {app}. Disinstallare {appimgl}, riavviare il sistema e provare a installare nuovamente {app}. appimage.config.db_updates=Database update appimage.config.db_updates.activated=activated -appimage.config.db_updates.activated.tip={app} is able to verify if there are updates for your installed applications +appimage.config.db_updates.activated.tip=It will be possible to check for updates related to the installed applications appimage.config.db_updates.interval.tip=Update interval in SECONDS diff --git a/bauh/gems/appimage/resources/locale/pt b/bauh/gems/appimage/resources/locale/pt index f2dc4f00..376e5cbe 100644 --- a/bauh/gems/appimage/resources/locale/pt +++ b/bauh/gems/appimage/resources/locale/pt @@ -19,5 +19,5 @@ appimage.install.download.error=Não foi possível baixar o arquivo {}. O servid appimage.install.appimagelauncher.error={appimgl} não está permitindo que o {app} seja instalado. Desinstale o {appimgl}, reinicie o sistema e tente instalar o {app} novamente. appimage.config.db_updates=Atualização da base de dados appimage.config.db_updates.activated=ativada -appimage.config.db_updates.activated.tip=O {app} consegue verificar se há atualizações para seus aplicativos instalados +appimage.config.db_updates.activated.tip=Será possível verificar se há atualizações para os aplicativos instalados appimage.config.db_updates.interval.tip=Intervalo de atualização em SEGUNDOS \ No newline at end of file diff --git a/bauh/gems/flatpak/controller.py b/bauh/gems/flatpak/controller.py index 372b8868..fc361d11 100644 --- a/bauh/gems/flatpak/controller.py +++ b/bauh/gems/flatpak/controller.py @@ -436,6 +436,7 @@ class FlatpakManager(SoftwareManager): options=install_opts, default_option=[o for o in install_opts if o.value == config['installation_level']][0], max_per_line=len(install_opts), + max_width=300, type_=SelectViewType.RADIO)) return PanelComponent([FormComponent(fields, self.i18n['installation'].capitalize())]) diff --git a/bauh/view/core/controller.py b/bauh/view/core/controller.py index aac80e0e..355df19d 100755 --- a/bauh/view/core/controller.py +++ b/bauh/view/core/controller.py @@ -464,8 +464,7 @@ class GenericSoftwareManager(SoftwareManager): def _gen_adv_settings(self, core_config: dict) -> TabComponent: select_dcache = self._gen_bool_component(label=self.i18n['core.config.disk_cache'], - tooltip=self.i18n['core.config.disk_cache.tip'].format( - app=self.context.app_name), + tooltip=self.i18n['core.config.disk_cache.tip'], value=core_config['disk_cache']['enabled'], id_='dcache') diff --git a/bauh/view/resources/locale/ca b/bauh/view/resources/locale/ca index 4bc6178d..0839353f 100644 --- a/bauh/view/resources/locale/ca +++ b/bauh/view/resources/locale/ca @@ -226,7 +226,7 @@ core.config.tab.tray=Tray core.config.tab.types=Types core.config.locale.label=language core.config.disk_cache=Disk cache -core.config.disk_cache.tip={app} will save some data about your installed applications into the disk to load them faster in the next initializations +core.config.disk_cache.tip=Some data about the installed applications will be stored into the disk so they can be quickly loaded in the next initializations 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.downloads=downloads @@ -252,7 +252,7 @@ core.config.system.dep_checking.tip=If the availability checking of your system core.config.suggestions.by_type=Suggestions by type core.config.suggestions.by_type.tip=Maximum number of suggestions that should be displayed by application type core.config.types.tip=Check the application types you want to manage -settings.changed.success.warning=Settings successfully changed. Some of them will only take effect after the restart. +settings.changed.success.warning=Settings successfully changed. Some of them will only take effect after a restart. settings.changed.success.reboot=Restart now ? settings.error=It was not possible to properly change all the settings locale.en=anglès diff --git a/bauh/view/resources/locale/de b/bauh/view/resources/locale/de index b1787ca9..769fc17d 100644 --- a/bauh/view/resources/locale/de +++ b/bauh/view/resources/locale/de @@ -181,7 +181,7 @@ core.config.tab.tray=Tray core.config.tab.types=Types core.config.locale.label=language core.config.disk_cache=Disk cache -core.config.disk_cache.tip={app} will save some data about your installed applications into the disk to load them faster in the next initializations +core.config.disk_cache.tip=Some data about the installed applications will be stored into the disk so they can be quickly loaded in the next initializations 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.downloads=downloads @@ -207,7 +207,7 @@ core.config.system.dep_checking.tip=If the availability checking of your system core.config.suggestions.by_type=Suggestions by type core.config.suggestions.by_type.tip=Maximum number of suggestions that should be displayed by application type core.config.types.tip=Check the application types you want to manage -settings.changed.success.warning=Settings successfully changed. Some of them will only take effect after the restart. +settings.changed.success.warning=Settings successfully changed. Some of them will only take effect after a restart. settings.changed.success.reboot=Restart now ? settings.error=It was not possible to properly change all the settings locale.en=englisch diff --git a/bauh/view/resources/locale/en b/bauh/view/resources/locale/en index 16a2f6c1..817f32d5 100644 --- a/bauh/view/resources/locale/en +++ b/bauh/view/resources/locale/en @@ -185,7 +185,7 @@ core.config.tab.tray=Tray core.config.tab.types=Types core.config.locale.label=language core.config.disk_cache=Disk cache -core.config.disk_cache.tip={app} will save some data about your installed applications into the disk to load them faster in the next initializations +core.config.disk_cache.tip=Some data about the installed applications will be stored into the disk so they can be quickly loaded in the next initializations 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.download.icons=Download icons @@ -214,7 +214,7 @@ core.config.system.dep_checking.tip=If the availability checking of your system core.config.suggestions.by_type=Suggestions by type core.config.suggestions.by_type.tip=Maximum number of suggestions that should be displayed by application type core.config.types.tip=Check the application types you want to manage -settings.changed.success.warning=Settings successfully changed. Some of them will only take effect after the restart. +settings.changed.success.warning=Settings successfully changed. Some of them will only take effect after a restart. settings.changed.success.reboot=Restart now ? settings.error=It was not possible to properly change all the settings locale.en=english diff --git a/bauh/view/resources/locale/es b/bauh/view/resources/locale/es index 8a2f32e2..d8e97e45 100644 --- a/bauh/view/resources/locale/es +++ b/bauh/view/resources/locale/es @@ -225,7 +225,7 @@ core.config.tab.tray=Bandeja core.config.tab.types=Tipos core.config.locale.label=idioma core.config.disk_cache=Cache em disco -core.config.disk_cache.tip={app} guardará algunos datos sobre sus aplicaciones instaladas en el disco para cargarlas más rápido en las próximas inicializaciones +core.config.disk_cache.tip=Algunos datos sobre las aplicaciones instaladas serán almacenados en el disco para que puedan cargarse rápidamente en las siguientes inicializaciones 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.downloads=downloads diff --git a/bauh/view/resources/locale/it b/bauh/view/resources/locale/it index a50314de..96fafd9f 100644 --- a/bauh/view/resources/locale/it +++ b/bauh/view/resources/locale/it @@ -181,7 +181,7 @@ core.config.tab.ui=Interface core.config.tab.types=Types core.config.locale.label=language core.config.disk_cache=Disk cache -core.config.disk_cache.tip={app} will save some data about your installed applications into the disk to load them faster in the next initializations +core.config.disk_cache.tip=Some data about the installed applications will be stored into the disk so they can be quickly loaded in the next initializations 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.downloads=downloads @@ -207,7 +207,7 @@ core.config.system.dep_checking.tip=If the availability checking of your system core.config.suggestions.by_type=Suggestions by type core.config.suggestions.by_type.tip=Maximum number of suggestions that should be displayed by application type core.config.types.tip=Check the application types you want to manage -settings.changed.success.warning=Settings successfully changed. Some of them will only take effect after the restart. +settings.changed.success.warning=Settings successfully changed. Some of them will only take effect after a restart. settings.changed.success.reboot=Restart now ? settings.error=It was not possible to properly change all the settings locale.en=inglese diff --git a/bauh/view/resources/locale/pt b/bauh/view/resources/locale/pt index 385cb22e..7954abc0 100644 --- a/bauh/view/resources/locale/pt +++ b/bauh/view/resources/locale/pt @@ -228,7 +228,7 @@ core.config.tab.tray=Bandeja core.config.tab.types=Tipos core.config.locale.label=idioma core.config.disk_cache=Cache em disco -core.config.disk_cache.tip={app} gravará alguns dados sobre seus aplicativos instalados no disco para que eles sejam carregados rapidamente nas próximas inicializações +core.config.disk_cache.tip=Alguns dados sobre os aplicativos instalados serão armazenados em disco para que os mesmos sejam carregados rapidamente nas próximas inicializações core.config.updates.interval=Intervalo de atualizações 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.downloads=downloads