Part of lp.translations.utilities
Class | GettextValidationError | Gettext validation failed. |
Function | validate_translation | Check with gettext if a translation is correct or not. |
If the translation has a problem, raise GettextValidationError
.
Parameters | original_singular | The English msgid. |
original_plural | The English plural msgid, if the message has a plural or None otherwise. | |
translations | A dictionary of translations, indexed with the plural form number. | |
flags | This message's flags as a list of strings. |