Пример #1
0
 def gettext(self, text):
     if self.standard_messages:
         return gettext(text)
     else:
         return dgettext(self.module_name, text)
Пример #2
0
 def gettext(self, text):
     if self.standard_messages:
         return gettext(text)
     else:
         return dgettext(self.module_name, text)
Пример #3
0
 def _(text, domain=domain):
     #print domain, text
     result = dgettext(domain, text)
     #print '->', result
     return result
Пример #4
0
            def _(text, domain = domain):
	        #print domain, text
                result = dgettext(domain, text)
	        #print '->', result
                return result