Lines Matching defs:translations
29 # descriptions and translations.
117 def expandMatches (matches, translations, end=None):
119 nTranslations = len(translations)
121 # Expand the description+enums for all translations
122 for lang,trans in translations:
127 if len(matches) == 1 and i < len(translations) and \
147 translations = [("en", gettext.NullTranslations())]
154 translations.append ((lang, trans))
170 # translations.
180 expandMatches (descMatches, translations, line)
195 expandMatches ([matchDESC], translations)
204 expandMatches (descMatches, translations)