mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 02:24:16 +02:00
[appimage] showing an error dialog when it was not possible to download the file
This commit is contained in:
@@ -336,6 +336,10 @@ class AppImageManager(SoftwareManager):
|
||||
watcher.show_message(title=self.i18n['error'],
|
||||
body='Could extract content from {}'.format(bold(file_name)),
|
||||
type_=MessageType.ERROR)
|
||||
else:
|
||||
watcher.show_message(title=self.i18n['error'],
|
||||
body=self.i18n['appimage.install.download.error'].format(bold(pkg.url_download)),
|
||||
type_=MessageType.ERROR)
|
||||
|
||||
handler.handle(SystemProcess(new_subprocess(['rm', '-rf', out_dir])))
|
||||
return False
|
||||
|
||||
@@ -14,4 +14,5 @@ appimage.downgrade.impossible.body={} has only one published version.
|
||||
appimage.downgrade.unknown_version.body=It was not possible to identify {} current version in its versions history
|
||||
appimage.downgrade.first_version={} is in its first published version
|
||||
appimage.error.uninstall_current_version=It was not possible to uninstall the current version of {}
|
||||
appimage.downgrade.install_version=It was not possible to install the version {} ({})
|
||||
appimage.downgrade.install_version=It was not possible to install the version {} ({})
|
||||
appimage.install.download.error=It was not possible to download the file {}. The file server can be down.
|
||||
@@ -14,4 +14,5 @@ appimage.downgrade.impossible.body={} solo tiene una versión publicada.
|
||||
appimage.downgrade.unknown_version.body=No fue posible identificar la versión actual de {} en su historial de versiones
|
||||
appimage.downgrade.first_version={} está en su primera versión publicada
|
||||
appimage.downgrade.uninstall_current_version=No fue posible desinstalar la versión actual de {}
|
||||
appimage.downgrade.install_version=No fue posible instalar la versión {} ({})
|
||||
appimage.downgrade.install_version=No fue posible instalar la versión {} ({})
|
||||
appimage.install.download.error=No fue posible descargar el archivo {}. El servidor del archivo puede estar inactivo.
|
||||
@@ -14,4 +14,5 @@ appimage.downgrade.impossible.body={} tem somente uma versão publicada.
|
||||
appimage.downgrade.unknown_version.body=Não foi possível identificar a versão atual de {} no seu histórico de versões
|
||||
appimage.downgrade.first_version={} se encontra em sua primeira versão publicada
|
||||
appimage.downgrade.uninstall_current_version=Não foi possível desinstalar a versão atual de {}
|
||||
appimage.downgrade.install_version=Não foi possivel instalar a versão {} ({})
|
||||
appimage.downgrade.install_version=Não foi possivel instalar a versão {} ({})
|
||||
appimage.install.download.error=Não foi possível baixar o arquivo {}. O servidor do arquivo pode estar fora do ar.
|
||||
@@ -807,7 +807,7 @@ class ManageWindow(QWidget):
|
||||
def finish_action(self):
|
||||
self.ref_combo_styles.setVisible(True)
|
||||
self.thread_animate_progress.stop = True
|
||||
self.thread_animate_progress.wait()
|
||||
self.thread_animate_progress.wait(msecs=1000)
|
||||
self.ref_progress_bar.setVisible(False)
|
||||
self.progress_bar.setValue(0)
|
||||
self.progress_bar.setTextVisible(False)
|
||||
|
||||
Reference in New Issue
Block a user