Update translate

master3.3 3.1.1
parent 36af2d8e83
commit 9f70c20e0b

@ -1248,7 +1248,7 @@ class Client(commandServer, encrypt):
_("Get a user fallback profile from the %s domain")
%profileServer)
self.printWARNING(
_("Changing in user profile will not "
_("Changings in the user profile will not "
"be saved to the domain"))
else:
self.printSUCCESS(_("Get a user profile from the %s domain")%

@ -320,7 +320,7 @@ class userCache(color_print):
'''Add LDAP user to cache'''
ldapData = self.ldapObj.getUserLdapInfo(userName, shadowAttr=True)
if not ldapData:
self.printERROR(_("Failed to found user %s in LDAP")%userName)
self.printERROR(_("User %s not found in LDAP")%userName)
return False
groupName = ldapData['group']
# Add user

@ -32,17 +32,17 @@ COMMENT_EXAMPLES = _("Mount resources and synchronize the user profile")
EXAMPLES = _("%prog user_name")
# Описание программы (что делает программа)
DESCRIPTION = _("Mounts resources and synchronizes the user profile")
DESCRIPTION = _("Mounting resources and synchronizes the user profile")
# Опции командной строки
CMD_OPTIONS = [{'longOption':"login",
'help':_("mount user resources and synchronize the "
'help':_("mount all user resources and synchronize the "
"user profile")},
{'longOption':"logout",
'help':_("synchronize the user profile and unmount "
"the user resource")},
"user resource")},
{'longOption':"nosync",
'help':_("do not synchronize user preferences, used "
'help':_("do not synchronize user preferences; used "
"in conjunction with 'login' or 'logout'")},
{'longOption':"set"},
{'longOption':"progress",

@ -53,10 +53,10 @@ class VariableClRemoteHostNew(Variable):
if self.Get('cl_localhost_set') == 'off':
if self.Get('cl_remote_host') == '':
if not value:
raise VariableError(_("Need to specify domain"))
raise VariableError(_("Need to specify the domain"))
elif not isOpenPort(value,445):
raise VariableError(
_("Specified address is not available"))
_("The specified address is not available"))
class VariableClRemoteHostLive(ReadonlyVariable):
"""
@ -88,7 +88,7 @@ class VariableClRemotePw(Variable):
def init(self):
self.label = _("Domain password")
self.help = _("specify domain password")
self.help = _("specify the domain password")
def get(self):
return getValueFromCmdLine("calculate","domain_pw") or ""
@ -133,7 +133,7 @@ class VariableClClientSync(Variable):
opt = ["--sync"]
def init(self):
self.label = _("Synchronize user profile")
self.label = _("Synchronize the user profile")
self.help = _("synchronize user preferences")
class VariableClLocalhostSet(Variable):
@ -148,7 +148,7 @@ class VariableClLocalhostSet(Variable):
def init(self):
self.label = _("Computer role")
self.help = _("remove the settings for connecting to the domain")
self.help = _("remove the domain connection settings")
def choice(self):
return [("off",_("Domain workstation")),
@ -156,7 +156,7 @@ class VariableClLocalhostSet(Variable):
def check(self,value):
if self.Get('cl_remote_host') == '' and value == "on":
raise VariableError(_("The computer is not in the domain already"))
raise VariableError(_("The computer is not in the domain"))
if self.Get('cl_remote_host') != '' and value == "off":
raise VariableError(_("The computer is already in the domain %s")
%self.Get('cl_remote_host') + "\n" +

Loading…
Cancel
Save