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

master3.3
Mike khiretskiy 11 years ago
parent b2a29b1b22
commit d1e5642d6a

@ -115,7 +115,7 @@ class Desktop:
if isBootstrapDataOnly(userDir):
if childMounts(userDir):
raise DesktopError(
_("Failed to create encrypt user profile")+":"+
_("Failed to create the encrypted user profile")+":"+
_("User home directory contains mount points"))
# поместить данные во временный tarfile
calculateName = ".calculate"
@ -146,7 +146,7 @@ class Desktop:
with open(bakArchName,'w') as f:
f.write(tf.read())
raise DesktopError(str(e)+
_("Failed to create encrypt user profile"))
_("Failed to create the encrypted user profile"))
finally:
if tf:
tf.close()

@ -37,7 +37,7 @@ class Wsdl(WsdlBase):
# категория метода
'category':__('Desktop'),
# заголовок метода
'title':__("Logout user"),
'title':__("User logout"),
# иконка для графической консоли
'image':'system-log-out',
# метод присутствует в графической консоли
@ -58,7 +58,7 @@ class Wsdl(WsdlBase):
'setvars':{'cl_action!':'logout'},
# описание груп (список лямбда функций)
'groups':[
lambda group:group(_("Logout user"),
lambda group:group(_("User logout"),
normal=('cl_desktop_login',),
next_label=_("Logout"))]},
#

Loading…
Cancel
Save