mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 13:14:15 +02:00
[arch] improvement -> AUR: upgrade checking now considers modification dates as well
This commit is contained in:
@@ -390,6 +390,7 @@ style=estil
|
||||
success=success
|
||||
summary=resum
|
||||
task.download_categories=Download de categories [ {} ]
|
||||
task.waiting_task=Waiting for {}
|
||||
type=tipus
|
||||
uninstall=desinstal·la
|
||||
uninstalled=desinstal·lada
|
||||
|
||||
@@ -390,6 +390,7 @@ style=Stil
|
||||
success=success
|
||||
summary=Zusammenfassung
|
||||
task.download_categories=Downloading categories [ {} ]
|
||||
task.waiting_task=Waiting for {}
|
||||
type=Typ
|
||||
uninstall=Deinstallation
|
||||
uninstalled=deinstalliert
|
||||
|
||||
@@ -391,6 +391,7 @@ style=style
|
||||
success=success
|
||||
summary=summary
|
||||
task.download_categories=Downloading categories [ {} ]
|
||||
task.waiting_task=Waiting for {}
|
||||
type=type
|
||||
uninstall=uninstall
|
||||
uninstalled=uninstalled
|
||||
|
||||
@@ -393,6 +393,7 @@ style=estilo
|
||||
success=éxito
|
||||
summary=resumen
|
||||
task.download_categories=Descargando categorías [ {} ]
|
||||
task.waiting_task=Esperando por {}
|
||||
type=tipo
|
||||
uninstall=desinstalar
|
||||
uninstalled=desinstalada
|
||||
|
||||
@@ -387,6 +387,7 @@ style=style
|
||||
success=succès
|
||||
summary=résumé
|
||||
task.download_categories=Téléchargement des catégories [ {} ]
|
||||
task.waiting_task=Waiting for {}
|
||||
type=type
|
||||
uninstall=désinstaller
|
||||
uninstalled=désinstallé
|
||||
|
||||
@@ -393,6 +393,7 @@ style=stile
|
||||
success=success
|
||||
summary=riepilogo
|
||||
task.download_categories=Download delle categorie [ {} ]
|
||||
task.waiting_task=Waiting for {}
|
||||
type=tipe
|
||||
uninstall=Disinstalla
|
||||
uninstalled=disinstallato
|
||||
|
||||
@@ -391,6 +391,7 @@ style=estilo
|
||||
success=sucesso
|
||||
summary=resumo
|
||||
task.download_categories=Baixando categorias [ {} ]
|
||||
task.waiting_task=Aguardando {}
|
||||
type=tipo
|
||||
uninstall=desinstalar
|
||||
uninstalled=desinstalado
|
||||
|
||||
@@ -390,6 +390,7 @@ style=Стиль
|
||||
success=success
|
||||
summary=Суммарно
|
||||
task.download_categories=Downloading categories [ {} ]
|
||||
task.waiting_task=Waiting for {}
|
||||
type=Тип
|
||||
uninstall=Деинсталляция
|
||||
uninstalled=Деинсталлировано
|
||||
|
||||
@@ -390,6 +390,7 @@ style=Görünüm biçimi
|
||||
success=başarılı
|
||||
summary=özet
|
||||
task.download_categories=Kategoriler indiriliyor [ {} ]
|
||||
task.waiting_task=Waiting for {}
|
||||
type=tür
|
||||
uninstall=kaldır
|
||||
uninstalled=kaldırıldı
|
||||
|
||||
@@ -23,14 +23,18 @@ class AsyncDiskCacheLoader(Thread, DiskCacheLoader):
|
||||
self.logger = logger
|
||||
self.processed = 0
|
||||
|
||||
def fill(self, pkg: SoftwarePackage):
|
||||
def fill(self, pkg: SoftwarePackage, sync: bool = False):
|
||||
"""
|
||||
Adds a package which data must be read from the disk to a queue.
|
||||
Adds a package which data must be read from the disk to a queue (if not sync)
|
||||
:param pkg:
|
||||
:param sync:
|
||||
:return:
|
||||
"""
|
||||
if pkg and pkg.supports_disk_cache():
|
||||
self.pkgs.append(pkg)
|
||||
if sync:
|
||||
self._fill_cached_data(pkg)
|
||||
else:
|
||||
self.pkgs.append(pkg)
|
||||
|
||||
def stop_working(self):
|
||||
self._work = False
|
||||
|
||||
Reference in New Issue
Block a user