5
0
Derivar 0

Update translate

master3.3
Mike Khiretskiy há 10 anos
ascendente b617910438
cometimento 870e416da7

@ -128,7 +128,7 @@ class Update:
Проверить по расписанию необходимость запуска команды
"""
if not status:
self.printWARNING(_("Update autocheck is not enabled"))
self.printWARNING(_("Updates autocheck is not enabled"))
return False
line = EmergeLog(EmergeLogNamedTask("schedule")).get_last_time()
re_interval = re.compile("^(\d+)\s*(hours?|days?|weeks?)?", re.I)
@ -150,7 +150,7 @@ class Update:
linetime = line.partition(":")[0]
if linetime.isdigit():
if (time.time() - int(linetime)) < (est - 10 * MINUTE):
self.printWARNING(_("Update time is not yet come"))
self.printWARNING(_("Please wait for the update time"))
return False
self.mark_schedule()
return True

@ -32,8 +32,8 @@ class ClSetupUpdateAction(Action):
# ошибки, которые отображаются без подробностей
native_error = (FilesError, UpdateError, GitError)
successMessage = __("Updates autocheck settings configured!")
failedMessage = __("Failed to configure the updates autocheck settings!")
successMessage = __("Updates autocheck configured!")
failedMessage = __("Failed to configure the updates autocheck procedure!")
interruptMessage = __("Configuration manually interrupted")

@ -800,7 +800,7 @@ class VariableClUpdateProfileSystem(Variable):
if not dv.Get('os_linux_name'):
raise VariableError()
except (DataVarsError, VariableError) as e:
raise VariableError(_("Profile is not Calculate"))
raise VariableError(_("The selected profile is not Calculate"))
else:
raise VariableError(_("Wrong Calculate profile"))
@ -871,8 +871,8 @@ class VariableClUpdateProfileSyncSet(Variable):
opt = ["-s", "--sync"]
def init(self):
self.label = _("Synchronize repositories")
self.help = _("synchronize repositories")
self.label = _("Repositories to be synchronized")
self.help = _("repositories to be synchronized")
class VariableClUpdateAutocheckSet(Variable):
@ -916,8 +916,8 @@ class VariableClUpdateAutocheckScheduleSet(Variable):
opt = ["--schedule"]
def init(self):
self.label = _("Consider auto-check schedule")
self.help = "consider auto-check schedule"
self.label = _("Consider the autocheck schedule")
self.help = _("consider the autocheck schedule")
class VariableClUpdateKernelVersion(ReadonlyVariable):
"""

Carregando…
Cancelar
Guardar