Обновление переводов

develop
Mike Khiretskiy 10 years ago
parent 22cad041c2
commit 64d3bd36f1

@ -404,7 +404,7 @@ class Update(object):
cpu_num = self.clVars.Get('hr_cpu_num') cpu_num = self.clVars.Get('hr_cpu_num')
if repname in OverlayOwnCache(): if repname in OverlayOwnCache():
self.printWARNING( self.printWARNING(
_("Repository %s has own cache") % repname.capitalize()) _("Repository %s has its own cache") % repname.capitalize())
else: else:
self.startTask(_("Updating the %s repository cache") % self.startTask(_("Updating the %s repository cache") %
repname.capitalize()) repname.capitalize())
@ -914,7 +914,7 @@ class Update(object):
try: try:
if not profile_dv: if not profile_dv:
raise UpdateError( raise UpdateError(
_("Failed to use new profile. Try again.")) _("Failed to use the new profile. Try again."))
for var_name in ('cl_update_rep_rev', for var_name in ('cl_update_rep_rev',
'cl_update_rep_path', 'cl_update_rep_path',
'cl_update_rep_url', 'cl_update_rep_url',

@ -58,9 +58,9 @@ class VariableClUpdateWorld(Variable):
metavalue = "MODE" metavalue = "MODE"
def init(self): def init(self):
self.help = ("'rebuild' - " + _("rebuild system packages list") + self.help = ("'rebuild' - " + _("rebuild the system packages list") +
",\n'merge' - " + _("append profile system packages list") + ",\n'merge' - " + _("append the profile packages list") +
",\n'update' - " + _("update system packages list")) ",\n'update' - " + _("update the system packages list"))
self.label = _("System packages list") self.label = _("System packages list")
def choice(self): def choice(self):
@ -322,10 +322,10 @@ class VariableClUpdateEgencacheForce(Variable):
#untrusted = True #untrusted = True
def init(self): def init(self):
self.help = ("'force' - " + _("force the update overlays cache") + self.help = ("'force' - " + _("force the update of the overlays cache") +
",\n'skip' - " + _("skip the overlays cache update") + ",\n'skip' - " + _("skip the update of the overlays cache") +
",\n'auto' - " + _("update overlays cache if it is outdated")) ",\n'auto' - " + _("update the overlays cache if outdated"))
self.label = _("Update overlays cache") self.label = _("Update the overlays cache")
def choice(self): def choice(self):
return [("force", _("Force")), return [("force", _("Force")),
@ -564,7 +564,7 @@ class VariableClUpdateTemplatesLocate(Variable):
def init(self): def init(self):
self.label = _("Templates location") self.label = _("Templates location")
self.help = _("select location for templates %s") \ self.help = _("select the location for templates %s") \
%",".join(self.get()) %",".join(self.get())
def get(self): def get(self):
@ -885,7 +885,7 @@ class VariableClUpdateProfileSystem(Variable):
raise VariableError("") raise VariableError("")
if repo_name not in list(self.Get('cl_update_profile_rep_name')): if repo_name not in list(self.Get('cl_update_profile_rep_name')):
raise VariableError( raise VariableError(
_("Overlay %s not specified in cl_update_rep_name")% _("Overlay %s is not specified in cl_update_rep_name")%
repo_name) repo_name)
except (DataVarsError,VariableError) as e: except (DataVarsError,VariableError) as e:
if str(e): if str(e):
@ -1022,8 +1022,8 @@ class VariableClUpdateEmergelistSet(Variable):
opt = ["-e","--emergelist"] opt = ["-e","--emergelist"]
def init(self): def init(self):
self.label = _("Emerge like packages list") self.label = _("Emerge-like packages list")
self.help = _("display packages list in emerge format") self.help = _("display the packages list in emerge format")
class VariableClUpdateKernelVersion(ReadonlyVariable): class VariableClUpdateKernelVersion(ReadonlyVariable):
""" """

@ -142,7 +142,7 @@ class Wsdl(WsdlBase):
# категория метода # категория метода
'category': __('Configuration'), 'category': __('Configuration'),
# заголовок метода # заголовок метода
'title': __("The Update Check"), 'title': __("Update Check"),
# иконка для графической консоли # иконка для графической консоли
'image': 'software-properties,preferences-desktop', 'image': 'software-properties,preferences-desktop',
# метод присутствует в графической консоли # метод присутствует в графической консоли

Loading…
Cancel
Save