mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 04:04:15 +02:00
[web] improvement -> environment.cache_exp in hours instead of minutes
This commit is contained in:
@@ -12,7 +12,7 @@ class WebConfigManager(YAMLConfigManager):
|
||||
'environment': {
|
||||
'system': False,
|
||||
'electron': {'version': None},
|
||||
'cache_exp': 1440
|
||||
'cache_exp': 24
|
||||
},
|
||||
'suggestions': {
|
||||
'cache_exp': 24
|
||||
|
||||
@@ -303,7 +303,7 @@ class EnvironmentUpdater:
|
||||
self.logger.error("Could not parse environment settings file timestamp: {}".format(env_ts_str))
|
||||
return True
|
||||
|
||||
expired = env_timestamp + timedelta(minutes=settings_exp) <= datetime.utcnow()
|
||||
expired = env_timestamp + timedelta(hours=settings_exp) <= datetime.utcnow()
|
||||
|
||||
if expired:
|
||||
self.logger.info("Environment settings file has expired. It should be re-downloaded")
|
||||
|
||||
@@ -63,7 +63,7 @@ web.install.substatus.checking_fixes=Checking if there are published fixes
|
||||
web.install.substatus.options=Waiting for the installation options
|
||||
web.install.substatus.shortcut=Generating a menu shortcut
|
||||
web.settings.cache_exp=Environment settings expiration
|
||||
web.settings.cache_exp.tip=It defines the period (in minutes) in which the stored environment settings are considered valid. Use 0 so that they are always updated.
|
||||
web.settings.cache_exp.tip=It defines the period (in HOURS) in which the stored environment settings are considered valid. Use 0 so that they are always updated.
|
||||
web.settings.electron.version.label=Electron version
|
||||
web.settings.electron.version.tooltip=Defines an alternative Electron version to render the new installed apps
|
||||
web.settings.env.nativefier.system.not_installed={} seems not to be installed on your system
|
||||
|
||||
@@ -63,7 +63,7 @@ web.install.substatus.checking_fixes=Checking if there are published fixes
|
||||
web.install.substatus.options=Waiting for the installation options
|
||||
web.install.substatus.shortcut=Generating a menu shortcut
|
||||
web.settings.cache_exp=Environment settings expiration
|
||||
web.settings.cache_exp.tip=It defines the period (in minutes) in which the stored environment settings are considered valid. Use 0 so that they are always updated.
|
||||
web.settings.cache_exp.tip=It defines the period (in HOURS) in which the stored environment settings are considered valid. Use 0 so that they are always updated.
|
||||
web.settings.electron.version.label=Electron version
|
||||
web.settings.electron.version.tooltip=Defines an alternative Electron version to render the new installed apps
|
||||
web.settings.env.nativefier.system.not_installed={} seems not to be installed on your system
|
||||
|
||||
@@ -63,7 +63,7 @@ web.install.substatus.checking_fixes=Verificando si hay correcciones publicadas
|
||||
web.install.substatus.options=Esperando las opciones de instalación
|
||||
web.install.substatus.shortcut=Generando un atajo de menú
|
||||
web.settings.cache_exp=Expiración de configuraciones de ambiente
|
||||
web.settings.cache_exp.tip=Define el período (en minutos) en el que las configuraciones del ambiente almacenadas son consideradas válidas. Utilice 0 para que siempre sean actualizadas.
|
||||
web.settings.cache_exp.tip=Define el período (en HORAS) en el que las configuraciones del ambiente almacenadas son consideradas válidas. Utilice 0 para que siempre sean actualizadas.
|
||||
web.settings.electron.version.label=Versión del Electron
|
||||
web.settings.electron.version.tooltip=Define una versión alternativa del Electron para renderizar las nuevas aplicaciones instaladas
|
||||
web.settings.env.nativefier.system.not_installed={} parece no estar instalado en su sistema
|
||||
|
||||
@@ -63,7 +63,7 @@ web.install.substatus.checking_fixes=Verification de nouveaux correctifs disponi
|
||||
web.install.substatus.options=En attente des options d'installation
|
||||
web.install.substatus.shortcut=Génération d'un raccourci menu
|
||||
web.settings.cache_exp=Environment settings expiration
|
||||
web.settings.cache_exp.tip=It defines the period (in minutes) in which the stored environment settings are considered valid. Use 0 so that they are always updated.
|
||||
web.settings.cache_exp.tip=It defines the period (in HOURS) in which the stored environment settings are considered valid. Use 0 so that they are always updated.
|
||||
web.settings.electron.version.label=Version d'Electron
|
||||
web.settings.electron.version.tooltip=Definit une version alternativde d'Electron pour le rendu des dernières apps installées
|
||||
web.settings.env.nativefier.system.not_installed={} n'a pas l'air d'être installé sur votre système
|
||||
|
||||
@@ -63,7 +63,7 @@ web.install.substatus.checking_fixes=Checking if there are published fixes
|
||||
web.install.substatus.options=Waiting for the installation options
|
||||
web.install.substatus.shortcut=Generating a menu shortcut
|
||||
web.settings.cache_exp=Environment settings expiration
|
||||
web.settings.cache_exp.tip=It defines the period (in minutes) in which the stored environment settings are considered valid. Use 0 so that they are always updated.
|
||||
web.settings.cache_exp.tip=It defines the period (in HOURS) in which the stored environment settings are considered valid. Use 0 so that they are always updated.
|
||||
web.settings.electron.version.label=Electron version
|
||||
web.settings.electron.version.tooltip=Defines an alternative Electron version to render the new installed apps
|
||||
web.settings.env.nativefier.system.not_installed={} seems not to be installed on your system
|
||||
|
||||
@@ -62,7 +62,7 @@ web.install.substatus.checking_fixes=Verificando se há correções publicadas
|
||||
web.install.substatus.options=Aguardando as opções de instalação
|
||||
web.install.substatus.shortcut=Criando um atalho no menu
|
||||
web.settings.cache_exp=Expiração das configurações de ambiente
|
||||
web.settings.cache_exp.tip=Define o período (em minutos) em que as configurações do ambiente de instalação armazenadas são consideradas válidas. Utilize 0 para que elas sejam sempre atualizadas.
|
||||
web.settings.cache_exp.tip=Define o período (em HORAS) em que as configurações do ambiente de instalação armazenadas são consideradas válidas. Utilize 0 para que elas sejam sempre atualizadas.
|
||||
web.settings.electron.version.label=Versão do Electron
|
||||
web.settings.electron.version.tooltip=Define uma versão alternativa do Electron para renderizar os novos aplicativos instalados
|
||||
web.settings.env.nativefier.system.not_installed={} não parece estar instalado no seu sistema
|
||||
|
||||
@@ -63,7 +63,7 @@ web.install.substatus.checking_fixes=Проверка опубликованны
|
||||
web.install.substatus.options=Ожидание опций установки
|
||||
web.install.substatus.shortcut=Создается ярлык в меню
|
||||
web.settings.cache_exp=Environment settings expiration
|
||||
web.settings.cache_exp.tip=It defines the period (in minutes) in which the stored environment settings are considered valid. Use 0 so that they are always updated.
|
||||
web.settings.cache_exp.tip=It defines the period (in HOURS) in which the stored environment settings are considered valid. Use 0 so that they are always updated.
|
||||
web.settings.electron.version.label=версия Electron
|
||||
web.settings.electron.version.tooltip=Указывает альтернативный вариант Electron для визуализации устанавливаемых приложений
|
||||
web.settings.env.nativefier.system.not_installed={} не установлен в Вашей системе
|
||||
|
||||
@@ -63,7 +63,7 @@ web.install.substatus.checking_fixes=Yayınlanmış düzeltmeler olup olmadığ
|
||||
web.install.substatus.options=Kurulum seçenekleri bekleniyor
|
||||
web.install.substatus.shortcut=Bir menü kısayolu oluşturuluyor
|
||||
web.settings.cache_exp=Environment settings expiration
|
||||
web.settings.cache_exp.tip=It defines the period (in minutes) in which the stored environment settings are considered valid. Use 0 so that they are always updated.
|
||||
web.settings.cache_exp.tip=It defines the period (in HOURS) in which the stored environment settings are considered valid. Use 0 so that they are always updated.
|
||||
web.settings.electron.version.label=Electron sürümü
|
||||
web.settings.electron.version.tooltip=Yeni yüklenen uygulamaları oluşturmak için alternatif bir Elektron sürümü tanımlar
|
||||
web.settings.env.nativefier.system.not_installed={} sisteminize kurulu değil gibi görünüyor
|
||||
|
||||
Reference in New Issue
Block a user