Part of lp.translations.model
| Function | make_plurals_fragment | Repeat text fragment for each plural form, separated by separator. |
| Function | make_plurals_sql_fragment | Compose SQL fragment consisting of clauses for each plural form. |
| Class | TranslationMessageMixIn | This class is not designed to be used directly. |
| Class | DummyTranslationMessage | Represents an ITranslationMessage where we don't yet HAVE it. |
| Class | TranslationMessage | No class docstring; 15/16 methods documented |
| Class | TranslationMessageSet | See ITranslationMessageSet. |
Inside fragment, use "%(form)d" to represent the applicable plural form number.
Creates fragments like "msgstr0 IS NOT NULL AND msgstr1 IS NOT NULL" etc.
| Parameters | fragment | a piece of SQL text to repeat for each msgstr*, using "%(form)d" to represent the number of each form: "msgstr%(form)d IS NOT NULL". Parentheses are added. |
| separator | string to insert between the repeated clauses, e.g. "AND" (default) or "OR". Spaces are added. |