Exemplo n.º 1
0
    def __init__(self, *args, **kwargs):
        """Constructor to initialize some cache properties."""
        from weblate.utils.stats import LanguageStats

        super().__init__(*args, **kwargs)
        self._plural_examples = {}
        self.stats = LanguageStats(self)
Exemplo n.º 2
0
 def __init__(self, *args, **kwargs):
     """Constructor to initialize some cache properties."""
     super(Language, self).__init__(*args, **kwargs)
     self._plural_examples = {}
     self.stats = LanguageStats(self)