Lines Matching refs:translations
29 # descriptions and translations.
114 def expandMatches(matches, translations, outfile, end=None):
116 nTranslations = len(translations)
118 # Expand the description+enums for all translations
119 for lang,trans in translations:
124 if len(matches) == 1 and i < len(translations) and \
163 translations = [("en", gettext.NullTranslations())]
172 translations.append((lang, trans))
178 # translations.
188 expandMatches(descMatches, translations, output, line)
202 expandMatches([matchDESC], translations, output)
212 expandMatches(descMatches, translations, output)