def init(self): # type: () -> None Builder.init(self) self.env.set_versioning_method(self.versioning_method, self.env.config.gettext_uuid) self.tags = I18nTags() self.catalogs = defaultdict(Catalog) # type: DefaultDict[unicode, Catalog]
def init(self): # type: () -> None Builder.init(self) self.env.set_versioning_method(self.versioning_method, self.env.config.gettext_uuid) self.tags = I18nTags() self.catalogs = defaultdict(Catalog) # type: DefaultDict[unicode, Catalog]
def init(self): Builder.init(self) errors = False if not self.config.omegat_translated_path: self.info(red("'omegat_translated_path' should not be empty.")) errors = True if not self.config.omegat_project_path: self.info(red("'omegat_project_path' should not be empty.")) errors = True if self.config.omegat_translated_path not in self.config.locale_dirs: self.info(red("'omegat_translated_path' should be in locale_dirs.")) errors = True if not self.config.language: self.info(red("'language' should be set.")) errors = True if errors: self.info(red(" -> Please check conf.py")) raise RuntimeError("lack setting")
def init(self): Builder.init(self) errors = False if not self.config.omegat_translated_path: self.info(red("'omegat_translated_path' should not be empty.")) errors = True if not self.config.omegat_project_path: self.info(red("'omegat_project_path' should not be empty.")) errors = True if self.config.omegat_translated_path not in self.config.locale_dirs: self.info(red("'omegat_translated_path' should be in locale_dirs.")) errors = True if not self.config.language: self.info(red("'language' should be set.")) errors = True if errors: self.info(red(" -> Please check conf.py")) raise RuntimeError("lack setting")
def init(self): Builder.init(self) self.catalogs = defaultdict(Catalog)
def init(self): Builder.init(self) self.catalogs = defaultdict(Catalog)
def init(self): # type: () -> None Builder.init(self) self.tags = I18nTags() self.catalogs = defaultdict( Catalog) # type: defaultdict[unicode, Catalog]
def init(self): Builder.init(self) self.tags = I18nTags() self.catalogs = defaultdict(Catalog)
def init(self): # type: () -> None Builder.init(self) self.tags = I18nTags() self.catalogs = defaultdict(Catalog) # type: defaultdict[unicode, Catalog]
def init(self): Builder.init(self) self.tags = I18nTags() self.catalogs = defaultdict(Catalog)