From 01293e872f9d582ed9a6387a38b3cc6c74e08e3d Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Wed, 15 Dec 2021 16:05:11 -0300 Subject: [PATCH] [appimage] improvement: not displaying a confirmation dialog for the custom action 'Install AppImage file' --- bauh/gems/appimage/controller.py | 3 ++- 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/fr | 2 +- bauh/gems/appimage/resources/locale/it | 2 +- bauh/gems/appimage/resources/locale/pt | 2 +- 8 files changed, 9 insertions(+), 8 deletions(-) diff --git a/bauh/gems/appimage/controller.py b/bauh/gems/appimage/controller.py index 8a29e1b9..fc7b5c75 100644 --- a/bauh/gems/appimage/controller.py +++ b/bauh/gems/appimage/controller.py @@ -857,7 +857,8 @@ class AppImageManager(SoftwareManager): manager=self, manager_method='install_file', icon_path=resource.get_path('img/appimage.svg', ROOT_DIR), - requires_root=False), + requires_root=False, + requires_confirmation=False), CustomSoftwareAction(i18n_label_key='appimage.custom_action.update_db', i18n_status_key='appimage.custom_action.update_db.status', manager=self, diff --git a/bauh/gems/appimage/resources/locale/ca b/bauh/gems/appimage/resources/locale/ca index 3007e66d..f3074bc9 100644 --- a/bauh/gems/appimage/resources/locale/ca +++ b/bauh/gems/appimage/resources/locale/ca @@ -3,7 +3,7 @@ appimage.config.database.expiration.tip=It defines the period (in minutes) in wh appimage.config.suggestions.expiration=Suggestions expiration appimage.config.suggestions.expiration.tip=It defines the period (in hours) in which the suggestions stored in disc will be considered up to date. Use 0 if you always want to update them. appimage.custom_action.install_file=Install AppImage file -appimage.custom_action.install_file.details=Installation details +appimage.custom_action.install_file.details=AppImage installation details appimage.custom_action.install_file.invalid_file=You must define a valid AppImage file appimage.custom_action.install_file.invalid_name=You must define a name for the application appimage.custom_action.install_file.status=Installing AppImage file diff --git a/bauh/gems/appimage/resources/locale/de b/bauh/gems/appimage/resources/locale/de index 37780d0c..20624efc 100644 --- a/bauh/gems/appimage/resources/locale/de +++ b/bauh/gems/appimage/resources/locale/de @@ -3,7 +3,7 @@ appimage.config.database.expiration.tip=It defines the period (in minutes) in wh appimage.config.suggestions.expiration=Suggestions expiration appimage.config.suggestions.expiration.tip=It defines the period (in hours) in which the suggestions stored in disc will be considered up to date. Use 0 if you always want to update them. appimage.custom_action.install_file=Install AppImage file -appimage.custom_action.install_file.details=Installation details +appimage.custom_action.install_file.details=AppImage installation details appimage.custom_action.install_file.invalid_file=You must define a valid AppImage file appimage.custom_action.install_file.invalid_name=You must define a name for the application appimage.custom_action.install_file.status=Installing AppImage file diff --git a/bauh/gems/appimage/resources/locale/en b/bauh/gems/appimage/resources/locale/en index 6e24001a..aac8cbb8 100644 --- a/bauh/gems/appimage/resources/locale/en +++ b/bauh/gems/appimage/resources/locale/en @@ -3,7 +3,7 @@ appimage.config.database.expiration.tip=It defines the period (in minutes) in wh appimage.config.suggestions.expiration=Suggestions expiration appimage.config.suggestions.expiration.tip=It defines the period (in hours) in which the suggestions stored in disc will be considered up to date. Use 0 if you always want to update them. appimage.custom_action.install_file=Install AppImage file -appimage.custom_action.install_file.details=Installation details +appimage.custom_action.install_file.details=AppImage installation details appimage.custom_action.install_file.invalid_file=You must define a valid AppImage file appimage.custom_action.install_file.invalid_name=You must define a name for the application appimage.custom_action.install_file.status=Installing AppImage file diff --git a/bauh/gems/appimage/resources/locale/es b/bauh/gems/appimage/resources/locale/es index f35d6d29..e2be1583 100644 --- a/bauh/gems/appimage/resources/locale/es +++ b/bauh/gems/appimage/resources/locale/es @@ -3,7 +3,7 @@ appimage.config.database.expiration.tip=Define el período (en minutos) en el qu appimage.config.suggestions.expiration=Expiración de sugerencias appimage.config.suggestions.expiration.tip=Define el período (en horas) en el que la sugerencias almacenadas en disco seran consideradas actualizadas. Use 0 si desea siempre actualizarlas. appimage.custom_action.install_file=Instalar archivo AppImage -appimage.custom_action.install_file.details=Detalles de instalación +appimage.custom_action.install_file.details=Detalles de instalación de AppImage appimage.custom_action.install_file.invalid_file=Debe definir un archivo AppImage válido appimage.custom_action.install_file.invalid_name=Debe definir un nombre para la aplicación appimage.custom_action.install_file.status=Instalando archivo AppImage diff --git a/bauh/gems/appimage/resources/locale/fr b/bauh/gems/appimage/resources/locale/fr index bb71fab3..10dea654 100644 --- a/bauh/gems/appimage/resources/locale/fr +++ b/bauh/gems/appimage/resources/locale/fr @@ -2,7 +2,7 @@ appimage.config.database.expiration=Database expiration appimage.config.database.expiration.tip=It defines the period (in minutes) in which the database will be considered up to date during the initialization process. Use 0 if you always want to update it. appimage.config.suggestions.expiration=Suggestions expiration appimage.config.suggestions.expiration.tip=It defines the period (in hours) in which the suggestions stored in disc will be considered up to date. Use 0 if you always want to update them.appimage.custom_action.install_file=Installer fichier AppImage -appimage.custom_action.install_file.details=Détails d'installation +appimage.custom_action.install_file.details=Détails d'installation d'AppImage appimage.custom_action.install_file.invalid_file=Vous devez définir un fichier AppImage valide appimage.custom_action.install_file.invalid_name=Vous devez choisir un nom à l'application appimage.custom_action.install_file.status=Installation du fichier AppImage diff --git a/bauh/gems/appimage/resources/locale/it b/bauh/gems/appimage/resources/locale/it index c7f3214a..75f37524 100644 --- a/bauh/gems/appimage/resources/locale/it +++ b/bauh/gems/appimage/resources/locale/it @@ -3,7 +3,7 @@ appimage.config.database.expiration.tip=It defines the period (in minutes) in wh appimage.config.suggestions.expiration=Suggestions expiration appimage.config.suggestions.expiration.tip=It defines the period (in hours) in which the suggestions stored in disc will be considered up to date. Use 0 if you always want to update them. appimage.custom_action.install_file=Install AppImage file -appimage.custom_action.install_file.details=Installation details +appimage.custom_action.install_file.details=AppImage installation details appimage.custom_action.install_file.invalid_file=You must define a valid AppImage file appimage.custom_action.install_file.invalid_name=You must define a name for the application appimage.custom_action.install_file.status=Installing AppImage file diff --git a/bauh/gems/appimage/resources/locale/pt b/bauh/gems/appimage/resources/locale/pt index 34cdfd5c..df95b119 100644 --- a/bauh/gems/appimage/resources/locale/pt +++ b/bauh/gems/appimage/resources/locale/pt @@ -3,7 +3,7 @@ appimage.config.database.expiration.tip=Define o período (em minutos) no qual o appimage.config.suggestions.expiration=Expiração das sugestões appimage.config.suggestions.expiration.tip=Define o período (em horas) no qual as sugestões armazenadas em disco serão consideradas atualizadas. Use 0 se quiser que elas sempre seja atualizadas. appimage.custom_action.install_file=Instalar arquivo AppImage -appimage.custom_action.install_file.details=Detalhes de instalação +appimage.custom_action.install_file.details=Detalhes de instalação de AppImage appimage.custom_action.install_file.invalid_file=Você precisa definir um arquivo AppImage válido appimage.custom_action.install_file.invalid_name=Você precisa definir um nome para o aplicativo appimage.custom_action.install_file.status=Instalando arquivo AppImage