l.t.u.validate : module documentation

Part of lp.translations.utilities

No module docstring
Class GettextValidationError Gettext validation failed.
Function validate_translation Check with gettext if a translation is correct or not.
def validate_translation(original_singular, original_plural, translations, flags):
Check with gettext if a translation is correct or not.

If the translation has a problem, raise GettextValidationError.

Parametersoriginal_singularThe English msgid.
original_pluralThe English plural msgid, if the message has a plural or None otherwise.
translationsA dictionary of translations, indexed with the plural form number.
flagsThis message's flags as a list of strings.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.