Searched refs:_translations (Results 1 – 2 of 2) sorted by relevance
135 gettext._translations.clear()790 self.assertEqual(len(gettext._translations), 0)794 self.assertEqual(len(gettext._translations), 1)799 self.assertEqual(len(gettext._translations), 2)807 self.assertEqual(len(gettext._translations), 2)815 self.assertEqual(len(gettext._translations), 2)
580 _translations = {} variable599 t = _translations.get(key)602 t = _translations.setdefault(key, class_(fp))