From 7f1cbb93f55db2a5a035f3a42bb5c78c3699176e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Moreira?= Date: Fri, 31 Jan 2020 12:20:05 -0300 Subject: [PATCH] [fix][snap] warning message --- bauh/gems/snap/controller.py | 3 ++- bauh/view/resources/locale/ca | 1 - bauh/view/resources/locale/de | 1 - bauh/view/resources/locale/en | 1 - bauh/view/resources/locale/es | 1 - bauh/view/resources/locale/it | 1 - bauh/view/resources/locale/pt | 1 - 7 files changed, 2 insertions(+), 7 deletions(-) diff --git a/bauh/gems/snap/controller.py b/bauh/gems/snap/controller.py index 183b2ab0..bcf2cef2 100644 --- a/bauh/gems/snap/controller.py +++ b/bauh/gems/snap/controller.py @@ -217,7 +217,8 @@ class SnapManager(SoftwareManager): if not snap.is_snapd_running(): snap_bold = bold('Snap') return [self.i18n['snap.notification.snapd_unavailable'].format(bold('snapd'), snap_bold), - self.i18n['snap.notification.snap.disable'].format(snap_bold, bold(self.i18n['manage_window.settings.gems']))] + self.i18n['snap.notification.snap.disable'].format(snap_bold, bold('{} > {}'.format(self.i18n['settings'].capitalize(), + self.i18n['core.config.tab.types'])))] elif internet_available: available, output = snap.is_api_available() diff --git a/bauh/view/resources/locale/ca b/bauh/view/resources/locale/ca index cadd5e6b..1277d1e6 100644 --- a/bauh/view/resources/locale/ca +++ b/bauh/view/resources/locale/ca @@ -120,7 +120,6 @@ gem_selector.question=Quins tipus d’aplicacions voleu que es mostrin aquí? proceed=continua change=modifica exit=surt -manage_window.settings.gems=Tipus d’aplicacions style=estil manage_window.bt_settings.tooltip=Feu clic aquí per mostrar la configuració downloading=S’està baixant diff --git a/bauh/view/resources/locale/de b/bauh/view/resources/locale/de index 8c453a3c..33b6b03a 100644 --- a/bauh/view/resources/locale/de +++ b/bauh/view/resources/locale/de @@ -120,7 +120,6 @@ gem_selector.question=Welche Arten von Anwendungen willst du hier finden? proceed=Weiter change=Verändern exit=Beenden -manage_window.settings.gems=Anwendungsarten style=Stil manage_window.bt_settings.tooltip=Klicken Sie hier, um die Einstellungen anzuzeigen downloading=Herunterladen diff --git a/bauh/view/resources/locale/en b/bauh/view/resources/locale/en index 49f882a7..02f1eee8 100644 --- a/bauh/view/resources/locale/en +++ b/bauh/view/resources/locale/en @@ -120,7 +120,6 @@ gem_selector.question=What types of applications do you want to find here ? proceed=proceed change=change exit=exit -manage_window.settings.gems=Application types style=style manage_window.bt_settings.tooltip=Click here to display the settings downloading=Downloading diff --git a/bauh/view/resources/locale/es b/bauh/view/resources/locale/es index 425dd68e..2abf90c2 100644 --- a/bauh/view/resources/locale/es +++ b/bauh/view/resources/locale/es @@ -120,7 +120,6 @@ gem_selector.question=¿Qué tipos de aplicaciones quiere encontrar aquí? proceed=continuar change=cambiar exit=salir -manage_window.settings.gems=Tipos de aplicaciones style=estilo manage_window.bt_settings.tooltip=Pulse aquí para exhibir las configuraciones downloading=Descargando diff --git a/bauh/view/resources/locale/it b/bauh/view/resources/locale/it index c15dc3af..4c599b40 100644 --- a/bauh/view/resources/locale/it +++ b/bauh/view/resources/locale/it @@ -120,7 +120,6 @@ gem_selector.question=Quali tipi di applicazioni vuoi trovare qui ? proceed=procedere change=Cambia exit=esci -manage_window.settings.gems=Tipi di applicazione style=stile manage_window.bt_settings.tooltip=Fai clic qui per visualizzare le impostazioni downloading=Scaricamento diff --git a/bauh/view/resources/locale/pt b/bauh/view/resources/locale/pt index aebd3517..52798c48 100644 --- a/bauh/view/resources/locale/pt +++ b/bauh/view/resources/locale/pt @@ -120,7 +120,6 @@ gem_selector.question=Quais tipos de aplicativos você quer encontrar por aqui ? proceed=continuar change=alterar exit=sair -manage_window.settings.gems=Tipos de aplicativos style=estilo manage_window.bt_settings.tooltip=Clique aqui para exibir as configurações downloading=Baixando