Part of lp.translations.model
| Function | is_gettext_name | Does given file name indicate it's in gettext (PO or POT) format? |
| Function | collect_import_info | Collect basic information about import for feedback to user. |
| Function | compose_approval_conflict_notice | Create a note to warn about an approval conflict. |
| Class | TranslationImportQueueEntry | No class docstring; 21/21 methods documented |
| Function | list_product_request_targets | Return list of Products with import queue entries. |
| Function | list_distroseries_request_targets | Return list of DistroSeries with import queue entries. |
| Class | TranslationImportQueue | No class docstring; 29/29 methods documented |
| Returns | a dict providing substitutions for various items used in generating import notices. | |
The note warns about the situation where one productseries, or source package, or in some cases distroseries has multiple actice templates with the same translation domain.
| Parameters | domain | The domain that's causing trouble. |
| templates_count | The number of clashing templates. | |
| sample | Iterable of matching templates. Does not need to be complete, just enough to report the problem usefully. | |
| Returns | A string describing the problematic clash. | |