From 0245a3f60568f0a037e21bf2980bd1693a4513aa Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Fri, 25 Feb 2022 15:30:25 -0300 Subject: [PATCH] [appimage] improvement: adding tips for all custom actions --- bauh/gems/appimage/controller.py | 3 +++ bauh/gems/appimage/resources/locale/ca | 3 +++ bauh/gems/appimage/resources/locale/de | 3 +++ bauh/gems/appimage/resources/locale/en | 3 +++ bauh/gems/appimage/resources/locale/es | 3 +++ bauh/gems/appimage/resources/locale/fr | 6 +++++- bauh/gems/appimage/resources/locale/it | 3 +++ bauh/gems/appimage/resources/locale/pt | 3 +++ bauh/gems/appimage/resources/locale/ru | 3 +++ bauh/gems/appimage/resources/locale/tr | 3 +++ 10 files changed, 32 insertions(+), 1 deletion(-) diff --git a/bauh/gems/appimage/controller.py b/bauh/gems/appimage/controller.py index d97b6e97..09c5c0c7 100644 --- a/bauh/gems/appimage/controller.py +++ b/bauh/gems/appimage/controller.py @@ -81,6 +81,7 @@ class AppImageManager(SoftwareManager): self._custom_actions: Optional[Iterable[CustomSoftwareAction]] = None self.custom_app_actions = (CustomSoftwareAction(i18n_label_key='appimage.custom_action.manual_update', i18n_status_key='appimage.custom_action.manual_update.status', + i18n_description_key='appimage.custom_action.manual_update.desc', manager_method='update_file', requires_root=False, icon_path=resource.get_path('img/upgrade.svg', ROOT_DIR), @@ -853,6 +854,7 @@ class AppImageManager(SoftwareManager): if self._custom_actions is None: self._custom_actions = (CustomSoftwareAction(i18n_label_key='appimage.custom_action.install_file', i18n_status_key='appimage.custom_action.install_file.status', + i18n_description_key='appimage.custom_action.install_file.desc', manager=self, manager_method='install_file', icon_path=resource.get_path('img/appimage.svg', ROOT_DIR), @@ -860,6 +862,7 @@ class AppImageManager(SoftwareManager): requires_confirmation=False), CustomSoftwareAction(i18n_label_key='appimage.custom_action.update_db', i18n_status_key='appimage.custom_action.update_db.status', + i18n_description_key='appimage.custom_action.update_db.desc', manager=self, manager_method='update_database', icon_path=resource.get_path('img/appimage.svg', ROOT_DIR), diff --git a/bauh/gems/appimage/resources/locale/ca b/bauh/gems/appimage/resources/locale/ca index e35c2271..97cd839c 100644 --- a/bauh/gems/appimage/resources/locale/ca +++ b/bauh/gems/appimage/resources/locale/ca @@ -3,14 +3,17 @@ 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.desc=Installs an AppImage file on the system 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 appimage.custom_action.manual_update=Upgrade file +appimage.custom_action.manual_update.desc=Replaces the installed AppImage file by another one appimage.custom_action.manual_update.details=AppImage upgrade details appimage.custom_action.manual_update.status=Upgrading appimage.custom_action.update_db=Update database +appimage.custom_action.update_db.desc=Downloads updated files from the AppImage applications database appimage.custom_action.update_db.status=Updating database appimage.downgrade.first_version={} és a la seva primera versió publicada appimage.downgrade.impossible.body={} té només una versió publicada. diff --git a/bauh/gems/appimage/resources/locale/de b/bauh/gems/appimage/resources/locale/de index 7efb4812..d91e2644 100644 --- a/bauh/gems/appimage/resources/locale/de +++ b/bauh/gems/appimage/resources/locale/de @@ -3,14 +3,17 @@ 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.desc=Installs an AppImage file on the system 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 appimage.custom_action.manual_update=Upgrade file +appimage.custom_action.manual_update.desc=Replaces the installed AppImage file by another one appimage.custom_action.manual_update.details=AppImage upgrade details appimage.custom_action.manual_update.status=Upgrading appimage.custom_action.update_db=Update database +appimage.custom_action.update_db.desc=Downloads updated files from the AppImage applications database appimage.custom_action.update_db.status=Updating database appimage.downgrade.first_version={} ist in der ersten veröffentlichten Version appimage.downgrade.impossible.body={} hat nur eine veröffentliche Version diff --git a/bauh/gems/appimage/resources/locale/en b/bauh/gems/appimage/resources/locale/en index 841bbef0..14efc718 100644 --- a/bauh/gems/appimage/resources/locale/en +++ b/bauh/gems/appimage/resources/locale/en @@ -3,14 +3,17 @@ 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.desc=Installs an AppImage file on the system 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 appimage.custom_action.manual_update=Upgrade file +appimage.custom_action.manual_update.desc=Replaces the installed AppImage file by another one appimage.custom_action.manual_update.details=AppImage upgrade details appimage.custom_action.manual_update.status=Upgrading appimage.custom_action.update_db=Update database +appimage.custom_action.update_db.desc=Downloads updated files from the AppImage applications database appimage.custom_action.update_db.status=Updating database appimage.downgrade.first_version={} is in its first published version appimage.downgrade.impossible.body={} has only one published version. diff --git a/bauh/gems/appimage/resources/locale/es b/bauh/gems/appimage/resources/locale/es index 60509179..3b11a4b3 100644 --- a/bauh/gems/appimage/resources/locale/es +++ b/bauh/gems/appimage/resources/locale/es @@ -3,14 +3,17 @@ 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.desc=Instala un archivo AppImage en el sistema 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 appimage.custom_action.manual_update=Actualizar archivo +appimage.custom_action.manual_update.desc=Reemplaza el archivo AppImage instalado por otro appimage.custom_action.manual_update.details=Detalles de actualización de AppImage appimage.custom_action.manual_update.status=Actualizando appimage.custom_action.update_db=Actualizar base de datos +appimage.custom_action.update_db.desc=Descarga archivos actualizados de la base de datos de aplicaciones AppImage appimage.custom_action.update_db.status=Actualizando base de datos appimage.downgrade.first_version={} está en su primera versión publicada appimage.downgrade.impossible.body={} solo tiene una versión publicada. diff --git a/bauh/gems/appimage/resources/locale/fr b/bauh/gems/appimage/resources/locale/fr index 10dea654..3c7b57e6 100644 --- a/bauh/gems/appimage/resources/locale/fr +++ b/bauh/gems/appimage/resources/locale/fr @@ -1,15 +1,19 @@ 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.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.desc=Installs an AppImage file on the system 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 appimage.custom_action.manual_update=Mettre fichier à jour +appimage.custom_action.manual_update.desc=Replaces the installed AppImage file by another one appimage.custom_action.manual_update.details=Détails de mise à jour appimage.custom_action.manual_update.status=Mise à jour appimage.custom_action.update_db=Update database +appimage.custom_action.update_db.desc=Downloads updated files from the AppImage applications database appimage.custom_action.update_db.status=Updating database appimage.downgrade.first_version={} est à sa première version publiée appimage.downgrade.impossible.body={} a une seule version publiée. diff --git a/bauh/gems/appimage/resources/locale/it b/bauh/gems/appimage/resources/locale/it index 2deb5b5e..a347d33e 100644 --- a/bauh/gems/appimage/resources/locale/it +++ b/bauh/gems/appimage/resources/locale/it @@ -3,14 +3,17 @@ 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.desc=Installs an AppImage file on the system 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 appimage.custom_action.manual_update=Upgrade file +appimage.custom_action.manual_update.desc=Replaces the installed AppImage file by another one appimage.custom_action.manual_update.details=AppImage upgrade details appimage.custom_action.manual_update.status=Upgrading appimage.custom_action.update_db=Update database +appimage.custom_action.update_db.desc=Downloads updated files from the AppImage applications database appimage.custom_action.update_db.status=Updating database appimage.downgrade.first_version={} è nella sua prima versione pubblicata appimage.downgrade.impossible.body={} ha solo una versione pubblicata. diff --git a/bauh/gems/appimage/resources/locale/pt b/bauh/gems/appimage/resources/locale/pt index 791c204a..0910990c 100644 --- a/bauh/gems/appimage/resources/locale/pt +++ b/bauh/gems/appimage/resources/locale/pt @@ -3,14 +3,17 @@ 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.desc=Instala um arquivo AppImage no sistema 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 appimage.custom_action.manual_update=Atualizar arquivo +appimage.custom_action.manual_update.desc=Subsitui o arquivo AppImage instalado por outro appimage.custom_action.manual_update.details=Detalhes de atualização de AppImage appimage.custom_action.manual_update.status=Atualizando appimage.custom_action.update_db=Atualizar banco de dados +appimage.custom_action.update_db.desc=Baixa arquivos atualizados da base de dados de aplicações AppImage appimage.custom_action.update_db.status=Atualizando banco de dados appimage.downgrade.first_version={} se encontra em sua primeira versão publicada appimage.downgrade.impossible.body={} tem somente uma versão publicada. diff --git a/bauh/gems/appimage/resources/locale/ru b/bauh/gems/appimage/resources/locale/ru index 8843dd9e..f7a9128f 100644 --- a/bauh/gems/appimage/resources/locale/ru +++ b/bauh/gems/appimage/resources/locale/ru @@ -3,14 +3,17 @@ 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=Установить файл AppImage +appimage.custom_action.install_file.desc=Installs an AppImage file on the system appimage.custom_action.install_file.details=Детали установки appimage.custom_action.install_file.invalid_file=Вы должны определить допустимый файл AppImage appimage.custom_action.install_file.invalid_name=Вы должны определить имя для приложения appimage.custom_action.install_file.status=Установка файла AppImage appimage.custom_action.manual_update=Обновить файл +appimage.custom_action.manual_update.desc=Replaces the installed AppImage file by another one appimage.custom_action.manual_update.details=Детали обновления appimage.custom_action.manual_update.status=Обновляется... appimage.custom_action.update_db=Update database +appimage.custom_action.update_db.desc=Downloads updated files from the AppImage applications database appimage.custom_action.update_db.status=Updating database appimage.downgrade.first_version={} первая опубликованная версия appimage.downgrade.impossible.body={} Имеет только одну опубликованную версию diff --git a/bauh/gems/appimage/resources/locale/tr b/bauh/gems/appimage/resources/locale/tr index 7da746d4..7cac510f 100644 --- a/bauh/gems/appimage/resources/locale/tr +++ b/bauh/gems/appimage/resources/locale/tr @@ -3,14 +3,17 @@ 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=AppImage dosyasını yükle +appimage.custom_action.install_file.desc=Installs an AppImage file on the system appimage.custom_action.install_file.details=Kurulum detayları appimage.custom_action.install_file.invalid_file=Geçerli bir AppImage dosyası tanımlamanız gerekir appimage.custom_action.install_file.invalid_name=Uygulama için bir ad tanımlamanız gerekir appimage.custom_action.install_file.status=AppImage dosyası yükleniyor appimage.custom_action.manual_update=Yükseltme dosyası +appimage.custom_action.manual_update.desc=Replaces the installed AppImage file by another one appimage.custom_action.manual_update.details=Yükseltme ayrıntıları appimage.custom_action.manual_update.status=Yükseltiliyor appimage.custom_action.update_db=Update database +appimage.custom_action.update_db.desc=Downloads updated files from the AppImage applications database appimage.custom_action.update_db.status=Updating database appimage.downgrade.first_version={} ilk yayınlanmış versiyonunda appimage.downgrade.impossible.body={} yalnızca bir yayınlanmış sürümüne sahip.