Синхронизация переводов

master3.3
Mike Hiretsky 11 years ago
parent 048e91267b
commit 70fd1b4f6c

@ -6203,7 +6203,7 @@ class iniParser(_error, templateFormat):
raise e
time.sleep(1)
else:
raise TemplatesError(_("Timeout lock %s")%fn)
raise TemplatesError(_("Lock timeout of %s")%fn)
def openIniFile(self):
if not self.text is None:

@ -954,7 +954,7 @@ def sambaPasswordCheck(username,password,server,resource):
"""
smbclient = getProgPath('/usr/sbin/smbclient')
if not smbclient:
raise FilesError(_("Command smbclient is not found"))
raise FilesError(_("Command not found '%s'")%"smbclint")
p = process(smbclient,"-U",username,"//%s/%s"%(server,resource),
envdict={'PASSWD':password})
return p.success()

@ -242,8 +242,8 @@ class VariableClDispatchConf(Variable):
self.label = _("Method for updating config files")
def choice(self):
return [("usenew",_("Use the new config files")),
("skip",_("Skip the update of config files")),
return [("usenew",_("Use new config files")),
("skip",_("Skip the config files update")),
("dispatch",_("Manually update config files"))]
class VariableClWsdl(Variable):

Loading…
Cancel
Save