Исправлен английский

master3.3
Mike Hiretsky 11 years ago
parent 6ffd381645
commit 1893f0098f

@ -3091,7 +3091,7 @@ class templateFunction(_error, _warning, _shareTemplate, _shareTermsFunction):
return textTemplateTmp
self.printERROR(_(funArgv))
raise TemplatesInterrupt(_("Execution of templates was "
"interrupted with the error"),
"interrupted with an error"),
TemplatesInterrupt.ABORT)
def getElogTimestamp(self):
@ -4317,7 +4317,7 @@ gettext -d cl_template "$*"
self.printWARNING("")
self.printWARNING(_("Headers of directory templates and headers "
"of files on the first level should include "
"an action variable."))
"an action variable"))
self.printWARNING(_("Example:"))
self.printWARNING("# Calculate ac_install_merge==on")
return skipDirs + skipTemplates
@ -4577,7 +4577,7 @@ gettext -d cl_template "$*"
self.filesApply = map(lambda x:autoUpdateDict.get(x,x),self.filesApply)
if filter(lambda x:"._cfg" in x, self.filesApply):
self.printWARNING(_("Some config files need updating. "
"Perform dispatch-conf."))
"Perform run dispatch-conf."))
if self.dispatchConf and \
self.objVar.Get('cl_dispatch_conf') == 'dispatch' and \
self.objVar.Get('cl_ebuild_phase') == '':

@ -49,7 +49,7 @@ class diff(_error):
if patchDryRun.success():
return ""
else:
self.setError(_("Patch failed"))
self.setError(_("Correction failed"))
return False
patchRun = process('/usr/bin/patch',
'-p%d'%i,cwd=rootPath)

@ -439,7 +439,7 @@ def mountEcryptfs(userName,userPwd,userDir):
else:
raise Exception
except:
raise CommonError(_("Failed to unwrap passphrase"))
raise CommonError(_("Failed to unwrap the passphrase"))
# добавить passphrase в ключи ядра
p = process('/usr/bin/ecryptfs-add-passphrase', '--fnek', '-',stderr=STDOUT)

@ -212,14 +212,14 @@ class VariableClDispatchConf(Variable):
metavalue = "METHOD"
def init(self):
self.help = "'usenew' - " +_("use new config files") +\
",\n'skip' - " + _("skip the update config files") +\
self.help = "'usenew' - " +_("use the new config files") +\
",\n'skip' - " + _("skip the update of config files") +\
",\n'dispatch' - " + _("manually update config files")
self.label = _("Update config files method")
self.label = _("Method for updating config files")
def choice(self):
return [("usenew",_("Use new config files")),
("skip",_("Skip the update config files")),
return [("usenew",_("Use the new config files")),
("skip",_("Skip the update of config files")),
("dispatch",_("Manually update config files"))]
class VariableClWsdl(Variable):

Loading…
Cancel
Save