Part of lp.translations.browser.translationlinksaggregator View In Hierarchy
Aggregate `POFile`s and/or `POTemplate`s into meaningful targets. Here, `POFile`s and `POTemplate`s are referred to collectively as "sheets."
|Method||describe||Overridable: return description of given translations link.|
|Method||_composeLink||Produce a link to a
|Method||_countLanguages||Count languages among
|Method||_circumscribe||Find the best common UI link to cover all of
Overridable: return description of given translations link. :param target: `Product` or `SourcePackage`. :param link: URL linking to `covered_sheets` in the UI. :param covered_sheets: `POFile`s and/or `POTemplate`s being linked and described together. :return: Some description that will get added to a list and returned by `aggregate`.
Bundle `sheets` based on target: `Product` or `SourcePackage`. :param sheets: Sequence of `POFile`s and/or `POTemplate`s. :return: Dict mapping each targets to a list representing its `POFile`s and `POTemplate`s as found in `sheets`.
A template's language is None, which also counts.
Find the best common UI link to cover all of `sheets`. :param sheets: List of `POFile`s and/or `POTemplate`s. :return: Dict containing a set of links and the respective lists of `sheets` they cover.
sheetsinto a list of translation target descriptions.
Targets are aggregated into "sensible" chunks first.
|Returns||A list of whatever the implementation for |