mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
[core] improvement: adding tips for custom actions
This commit is contained in:
@@ -56,6 +56,7 @@ class GenericSoftwareManager(SoftwareManager):
|
||||
self.configman = CoreConfigManager()
|
||||
self.extra_actions = (CustomSoftwareAction(i18n_label_key='action.reset',
|
||||
i18n_status_key='action.reset.status',
|
||||
i18n_description_key='action.reset.desc',
|
||||
manager_method='reset',
|
||||
manager=self,
|
||||
icon_path=resource.get_path('img/logo.svg'),
|
||||
@@ -64,6 +65,7 @@ class GenericSoftwareManager(SoftwareManager):
|
||||
self.dynamic_extra_actions: Dict[CustomSoftwareAction, Callable[[dict], bool]] = {
|
||||
CustomSoftwareAction(i18n_label_key='action.backups',
|
||||
i18n_status_key='action.backups.status',
|
||||
i18n_description_key='action.backups.desc',
|
||||
manager_method='launch_timeshift',
|
||||
manager=self,
|
||||
icon_path='timeshift',
|
||||
|
||||
@@ -52,6 +52,7 @@ action.backup.msg=Do you want to generate a system copy before proceeding ?
|
||||
action.backup.substatus.create=Generating a new system backup
|
||||
action.backup.substatus.delete=Removing old system backups
|
||||
action.backups=Backups
|
||||
action.backups.desc=Starts the application for backup management
|
||||
action.backups.status=Opening backups tool
|
||||
action.backups.tool_error=It was not possible to open the backups tool ({}).
|
||||
action.cancelled=l’usuari ha cancel·lat l’operació
|
||||
@@ -68,6 +69,7 @@ action.info.tooltip=Feu clic aquí per a veure informació sobre aquesta aplicac
|
||||
action.not_allowed=Action not allowed
|
||||
action.request_reboot.title=System restart
|
||||
action.reset=Restore
|
||||
action.reset.desc=Restores the original configuration files and cleans the disk cache
|
||||
action.reset.status=Restoring
|
||||
action.reset.body_1=This operation will restore {} default settings and clean its cache.
|
||||
action.reset.body_2=It will be restarted after the operation is finished.
|
||||
|
||||
@@ -52,6 +52,7 @@ action.backup.msg=Do you want to generate a system copy before proceeding ?
|
||||
action.backup.substatus.create=Generating a new system backup
|
||||
action.backup.substatus.delete=Removing old system backups
|
||||
action.backups=Backups
|
||||
action.backups.desc=Starts the application for backup management
|
||||
action.backups.status=Opening backups tool
|
||||
action.backups.tool_error=It was not possible to open the backups tool ({}).
|
||||
action.cancelled=Aktion vom Nutzer abgebrochen
|
||||
@@ -68,6 +69,7 @@ action.info.tooltip=Informationen über diese Anwendung anzeigen
|
||||
action.not_allowed=Action not allowed
|
||||
action.request_reboot.title=System restart
|
||||
action.reset=Restore
|
||||
action.reset.desc=Restores the original configuration files and cleans the disk cache
|
||||
action.reset.status=Restoring
|
||||
action.reset.body_1=This operation will restore {} default settings and clean its cache.
|
||||
action.reset.body_2=It will be restarted after the operation is finished.
|
||||
|
||||
@@ -52,6 +52,7 @@ action.backup.msg=Do you want to generate a system copy before proceeding ?
|
||||
action.backup.substatus.create=Generating a new system backup
|
||||
action.backup.substatus.delete=Removing old system backups
|
||||
action.backups=Backups
|
||||
action.backups.desc=Starts the application for backup management
|
||||
action.backups.status=Opening backups tool
|
||||
action.backups.tool_error=It was not possible to open the backups tool ({}).
|
||||
action.cancelled=operation cancelled by the user
|
||||
@@ -68,6 +69,7 @@ action.info.tooltip=Click here to see information about this application
|
||||
action.not_allowed=Action not allowed
|
||||
action.request_reboot.title=System restart
|
||||
action.reset=Restore
|
||||
action.reset.desc=Restores the original configuration files and cleans the disk cache
|
||||
action.reset.status=Restoring
|
||||
action.reset.body_1=This operation will restore {} default settings and clean its cache.
|
||||
action.reset.body_2=It will be restarted after the operation is finished.
|
||||
|
||||
@@ -52,6 +52,7 @@ action.backup.msg=¿Desea generar una copia de seguridad del sistema antes de co
|
||||
action.backup.substatus.create=Generando una nueva copia de seguridad
|
||||
action.backup.substatus.delete=Eliminando copias de seguridad antiguas
|
||||
action.backups=Copias de seguridad
|
||||
action.backups.desc=Inicia la aplicación para la gestión de copias de seguridad
|
||||
action.backups.status=Abriendo herramienta de copias de seguridad
|
||||
action.backups.tool_error=No fue posible abrir la herramienta de copias de seguridad ({}).
|
||||
action.cancelled=operación cancelada por el usuario
|
||||
@@ -68,6 +69,7 @@ action.info.tooltip=Pulse aquí para ver información sobre esta aplicación
|
||||
action.not_allowed=Acción no permitida
|
||||
action.request_reboot.title=Reinicio de sistema
|
||||
action.reset=Restaurar
|
||||
action.reset.desc=Restaura los archivos de configuración originales y limpia el caché del disco
|
||||
action.reset.status=Restaurando
|
||||
action.reset.body_1=Esta operación restaurará las configuraciónes de {} y limpiará su caché.
|
||||
action.reset.body_2=Él será reiniciado una vez que la operación esté terminada.
|
||||
|
||||
@@ -52,6 +52,7 @@ action.backup.msg=Voulez-vous générer une copie système avant de continuer?
|
||||
action.backup.substatus.create=Création d'une nouvelle sauvegarde système
|
||||
action.backup.substatus.delete=Suppression des anciennes sauvegardes système
|
||||
action.backups=Sauvegardes
|
||||
action.backups.desc=Starts the application for backup management
|
||||
action.backups.status=Ouverture de l'outil de sauvegardes
|
||||
action.backups.tool_error=Impossible d'ouvrir l'outil de sauvegardes ({}).
|
||||
action.cancelled=opération annulée par l'utilisateur
|
||||
@@ -68,6 +69,7 @@ action.info.tooltip=Cliquez ici pour plus d'informations sur cette application
|
||||
action.not_allowed=Action non permise
|
||||
action.request_reboot.title=Redémarrage du système
|
||||
action.reset=Restaurer
|
||||
action.reset.desc=Restores the original configuration files and cleans the disk cache
|
||||
action.reset.status=Restauration
|
||||
action.reset.body_1=Cette opération va restaurer les paramètres par défaut de {} et vider son cache.
|
||||
action.reset.body_2=Sera redémarré dès la fin de l'opération
|
||||
|
||||
@@ -52,6 +52,7 @@ action.backup.msg=Do you want to generate a system copy before proceeding ?
|
||||
action.backup.substatus.create=Generating a new system backup
|
||||
action.backup.substatus.delete=Removing old system backups
|
||||
action.backups=Backups
|
||||
action.backups.desc=Starts the application for backup management
|
||||
action.backups.status=Opening backups tool
|
||||
action.backups.tool_error=It was not possible to open the backups tool ({}).
|
||||
action.cancelled=operazione annullata dall'utente
|
||||
@@ -68,6 +69,7 @@ action.info.tooltip=Clicca qui per vedere informazioni su questa applicazione
|
||||
action.not_allowed=Action not allowed
|
||||
action.request_reboot.title=System restart
|
||||
action.reset=Restore
|
||||
action.reset.desc=Restores the original configuration files and cleans the disk cache
|
||||
action.reset.status=Restoring
|
||||
action.reset.body_1=This operation will restore {} default settings and clean its cache.
|
||||
action.reset.body_2=It will be restarted after the operation is finished.
|
||||
|
||||
@@ -52,6 +52,7 @@ action.backup.msg=Você deseja gerar uma cópia de segurança do sistema antes d
|
||||
action.backup.substatus.create=Gerando uma nova cópia de segurança
|
||||
action.backup.substatus.delete=Removendo cópias de segurança antigas
|
||||
action.backups=Cópias de segurança
|
||||
action.backups.desc=Inicia a aplicação para gerenciarmento de cópias de segurança
|
||||
action.backups.status=Abrindo ferramenta de cópias de segurança
|
||||
action.backups.tool_error=Não foi possível abrir a ferramenta para backups ({}).
|
||||
action.cancelled=operação cancelada pelo usuário
|
||||
@@ -68,6 +69,7 @@ action.info.tooltip=Clique aqui para ver informações sobre este aplicativo
|
||||
action.not_allowed=Ação não permitida
|
||||
action.request_reboot.title=Reinicialização de sistema
|
||||
action.reset=Restaurar
|
||||
action.reset.desc=Restaura os arquivos de configuração originais e limpa o cache em disco
|
||||
action.reset.status=Restaurando
|
||||
action.reset.body_1=Essa operação restaurará as configurações padrões e limpará o cache do {}.
|
||||
action.reset.body_2=Ele será reinicializado após a operação ser concluída.
|
||||
|
||||
@@ -52,6 +52,7 @@ action.backup.msg=Do you want to generate a system copy before proceeding ?
|
||||
action.backup.substatus.create=Generating a new system backup
|
||||
action.backup.substatus.delete=Removing old system backups
|
||||
action.backups=Backups
|
||||
action.backups.desc=Starts the application for backup management
|
||||
action.backups.status=Opening backups tool
|
||||
action.backups.tool_error=It was not possible to open the backups tool ({}).
|
||||
action.cancelled=Операция отменена пользователем
|
||||
@@ -68,6 +69,7 @@ action.info.tooltip=Нажмите здесь, чтобы посмотреть
|
||||
action.not_allowed=Действие не допускается
|
||||
action.request_reboot.title=System restart
|
||||
action.reset=Restore
|
||||
action.reset.desc=Restores the original configuration files and cleans the disk cache
|
||||
action.reset.status=Restoring
|
||||
action.reset.body_1=This operation will restore {} default settings and clean its cache.
|
||||
action.reset.body_2=It will be restarted after the operation is finished.
|
||||
|
||||
@@ -52,6 +52,7 @@ action.backup.msg=Devam etmeden önce bir sistem kopyası oluşturmak istiyor mu
|
||||
action.backup.substatus.create=Yeni bir sistem yedeklemesi oluştur
|
||||
action.backup.substatus.delete=Eski sistem yedeklemelerini kaldır
|
||||
action.backups=Backups
|
||||
action.backups.desc=Starts the application for backup management
|
||||
action.backups.status=Opening backups tool
|
||||
action.backups.timeshift_not_installed=It was not possible to open the backups tool ({}).
|
||||
action.cancelled=işlem kullanıcı tarafından iptal edildi
|
||||
@@ -68,6 +69,7 @@ action.info.tooltip=Uygulama bilgilerini görmek için buraya tıkla
|
||||
action.not_allowed=Eyleme izin verilmiyor
|
||||
action.request_reboot.title=Sistemi yeniden başlat
|
||||
action.reset=Restore
|
||||
action.reset.desc=Restores the original configuration files and cleans the disk cache
|
||||
action.reset.status=Restoring
|
||||
action.reset.body_1=This operation will restore {} default settings and clean its cache.
|
||||
action.reset.body_2=It will be restarted after the operation is finished.
|
||||
|
||||
Reference in New Issue
Block a user