[snap] improvement: adding tips for all custom actions

This commit is contained in:
Vinicius Moreira
2022-02-25 14:39:48 -03:00
parent d85b661ac3
commit 077aa6ecff
10 changed files with 20 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ class SnapManager(SoftwareManager):
self.custom_actions = (
CustomSoftwareAction(i18n_status_key='snap.action.refresh.status',
i18n_label_key='snap.action.refresh.label',
i18n_description_key='snap.action.refresh.desc',
icon_path=resource.get_path('img/refresh.svg', ROOT_DIR),
manager_method='refresh',
requires_root=True,
@@ -53,6 +54,7 @@ class SnapManager(SoftwareManager):
CustomSoftwareAction(i18n_status_key='snap.action.channel.status',
i18n_label_key='snap.action.channel.label',
i18n_confirm_key='snap.action.channel.confirm',
i18n_description_key='snap.action.channel.desc',
icon_path=resource.get_path('img/refresh.svg', ROOT_DIR),
manager_method='change_channel',
requires_root=True,

View File

@@ -2,8 +2,10 @@ gem.snap.info=Aplicacions publicades a https://snapcraft.io/store
snap.action.channel.confirm=Change channel of {} ?
snap.action.channel.error.no_channel=No available channel for {}
snap.action.channel.label=Change channel
snap.action.channel.desc=Allows to change the application channel (if available)
snap.action.channel.status=Changing channel of
snap.action.refresh.confirm=Actualitza {} ?
snap.action.refresh.desc=Updates the application for the latest version
snap.action.refresh.label=Actualitza
snap.action.refresh.status=Sestà actualitzant
snap.config.categories_exp=Categories expiration

View File

@@ -1,9 +1,11 @@
gem.snap.info=Anwendungen von https://snapcraft.io/store
snap.action.channel.error.no_channel=No available channel for {}
snap.action.channel.confirm=Change channel of {} ?
snap.action.channel.desc=Allows to change the application channel (if available)
snap.action.channel.label=Change channel
snap.action.channel.status=Changing channel of
snap.action.refresh.confirm=Erneuern {} ?
snap.action.refresh.desc=Updates the application for the latest version
snap.action.refresh.label=Erneuern
snap.action.refresh.status=Erneuern
snap.config.categories_exp=Categories expiration

View File

@@ -2,8 +2,10 @@ gem.snap.info=Applications published at https://snapcraft.io/store
snap.action.channel.confirm=Change channel of {} ?
snap.action.channel.error.no_channel=No available channel for {}
snap.action.channel.label=Change channel
snap.action.channel.desc=Allows to change the application channel (if available)
snap.action.channel.status=Changing channel of
snap.action.refresh.confirm=Refresh {} ?
snap.action.refresh.desc=Updates the application for the latest version
snap.action.refresh.label=Refresh
snap.action.refresh.status=Refreshing
snap.config.categories_exp=Categories expiration

View File

@@ -1,9 +1,11 @@
gem.snap.info=Aplicativos publicados en https://snapcraft.io/store
snap.action.channel.confirm=Cambiar canal de {}?
snap.action.channel.desc=Permite cambiar el canal de la aplicación (si disponible)
snap.action.channel.error.no_channel=No hay canal disponible para {}
snap.action.channel.status=Cambiando canal de
snap.action.channel.label=Cambiar canal
snap.action.refresh.confirm=Actualizar {} ?
snap.action.refresh.desc=Actualiza la aplicación para la versión más reciente
snap.action.refresh.label=Actualizar
snap.action.refresh.status=Actualizando
snap.config.categories_exp=Expiración de categorías

View File

@@ -1,9 +1,11 @@
gem.snap.info=Applications publiées à https://snapcraft.io/store
snap.action.channel.confirm=Changer le canal de {} ?
snap.action.channel.desc=Allows to change the application channel (if available)
snap.action.channel.error.no_channel=Aucun canal disponible pour {}
snap.action.channel.label=Changer de canal
snap.action.channel.status=Changement de canal de
snap.action.refresh.confirm=Actualiser {} ?
snap.action.refresh.desc=Updates the application for the latest version
snap.action.refresh.label=Actualiser
snap.action.refresh.status=Actualisation
snap.config.categories_exp=Categories expiration

View File

@@ -1,9 +1,11 @@
gem.snap.info=Applicazioni pubblicate su https://snapcraft.io/store
snap.action.channel.confirm=Cambia canale di {} ?
snap.action.channel.desc=Allows to change the application channel (if available)
snap.action.channel.error.no_channel=Nessun canale disponibile per {}
snap.action.channel.label=Cambia canale
snap.action.channel.status=Cambiare canale di
snap.action.refresh.confirm=Ripristina {} ?
snap.action.refresh.desc=Updates the application for the latest version
snap.action.refresh.label=Ripristina
snap.action.refresh.status=Ripristinare
snap.config.categories_exp=Scadenza delle categorie

View File

@@ -1,9 +1,11 @@
gem.snap.info=Aplicativos publicados em https://snapcraft.io/store
snap.action.channel.confirm=Alterar canal de {} ?
snap.action.channel.desc=Permite trocar o canal do aplicativo (se disponível)
snap.action.channel.error.no_channel=Nenhum canal disponível para {}
snap.action.channel.label=Alterar canal
snap.action.channel.status=Alterando canal de
snap.action.refresh.confirm=Atualizar {} ?
snap.action.refresh.desc=Atualiza o aplicativo para a versão mais recente
snap.action.refresh.label=Atualizar
snap.action.refresh.status=Atualizando
snap.config.categories_exp=Expiração de categorias

View File

@@ -1,9 +1,11 @@
gem.snap.info=Приложения, опубликованные на https://snapcraft.io/store
snap.action.channel.confirm=Change channel of {} ?
snap.action.channel.desc=Allows to change the application channel (if available)
snap.action.channel.error.no_channel=No available channel for {}
snap.action.channel.label=Change channel
snap.action.channel.status=Changing channel of
snap.action.refresh.confirm=Обновить {} ?
snap.action.refresh.desc=Updates the application for the latest version
snap.action.refresh.label=Обновить
snap.action.refresh.status=Обновляется
snap.config.categories_exp=Categories expiration

View File

@@ -1,9 +1,11 @@
gem.snap.info=https://snapcraft.io/store adresinde yayınlanan uygulamalar
snap.action.channel.confirm=Change channel of {} ?
snap.action.channel.desc=Allows to change the application channel (if available)
snap.action.channel.error.no_channel=No available channel for {}
snap.action.channel.label=Change channel
snap.action.channel.status=Changing channel of
snap.action.refresh.confirm=Yenile {} ?
snap.action.refresh.desc=Updates the application for the latest version
snap.action.refresh.label=Yenile
snap.action.refresh.status=Yenileniyor
snap.config.categories_exp=Categories expiration