From 59e3b0523783e72881cfcd5920f4d16cc4f2d5c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B8=D1=80=D0=B5=D1=86=D0=BA=D0=B8=D0=B9=20=D0=9C?= =?UTF-8?q?=D0=B8=D1=85=D0=B0=D0=B8=D0=BB?= Date: Fri, 26 Aug 2016 17:16:08 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B4=D0=BB=D1=8F=20=D0=BF=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D0=B2=D0=BE=D0=B4=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pym/client/variables/client.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pym/client/variables/client.py b/pym/client/variables/client.py index 9ec41f8..9923629 100644 --- a/pym/client/variables/client.py +++ b/pym/client/variables/client.py @@ -37,10 +37,11 @@ from calculate.lib.variables.user import LdapHelper import pwd from calculate.client.client import Client -from calculate.lib.cl_lang import setLocalTranslate +from calculate.lib.cl_lang import setLocalTranslate, getLazyLocalTranslate _ = lambda x: x setLocalTranslate('cl_client3', sys.modules[__name__]) +__ = getLazyLocalTranslate(_) class VariableClRemoteHost(Variable): @@ -106,7 +107,7 @@ class VariableClRemotePw(Variable): opt = ["--domain-password"] def init(self): - self.label = _("Domain password") + self.label = __("Domain password") self.help = _("specify the domain password") def get(self):