Beispiel #1
0
        def __init__(self, name, _prefix=None, **kw):
            apply(LocalPageTemplateFile.inheritedAttribute('__init__'),
                  (self, name, _prefix), kw)

            domain = get_abspath(_prefix, 'locale')
            self.class_domain = domain
            domains.register_domain(domain, domain)
Beispiel #2
0
 def __init__(self, namespace):
     mname = namespace['__name__']
     domain = get_abspath('locale', mname=mname)
     self.class_domain = domain
     register_domain(domain, domain)
Beispiel #3
0
 def __init__(self, namespace):
     mname = namespace['__name__']
     domain = get_abspath('locale', mname=mname)
     self.class_domain = domain
     register_domain(domain, domain)
Beispiel #4
0
 def __init__(self, namespace):
     domain = get_abspath(namespace, 'locale')
     self.class_domain = domain
     register_domain(domain, domain)