def __init__(self, data=None, **kwargs): NullTranslations.__init__(self) if not data: data = kwargs elif kwargs: data = data.copy() data.update(kwargs) self.data = data
def __init__(self, *args, **kwargs): NullTranslations.__init__(self, *args, **kwargs) self.new_catalog()
def __init__(self, client, bundleId, languageId, cacheTimeout, fp=None): NullTranslations.__init__(self, fp=fp) self.__client = client self.__bundleId = bundleId self.__languageId = languageId self.__cacheTimeout = cacheTimeout
def __init__(self, fileobj=None, locale=None): NullTranslations.__init__(self, fileobj) self.locale = locale self.client_keys = set()
def __init__(self, fileobj=None, locale=None): NullTranslations.__init__(self, fileobj) self.lang = locale self._catalog = {}
def __init__(self, catalog): NullTranslations.__init__(self) self._catalog = catalog