l.t.u.t.TranslationTemplateSplitter(TranslationSplitterBase) : class documentation

Part of lp.translations.utilities.translationsplitter View In Hierarchy

Split translations for an extracted potemplate.

When a POTemplate is removed from a set of sharing templates, it keeps sharing POTMsgSets with other templates. This class removes those associations.

Method __init__ Constructor.
Method findShared Provide tuples of (other, this) items for each shared POTMsgSet.

Inherited from TranslationSplitterBase:

Static Method splitPOTMsgSet Split the POTMsgSet for TranslationTemplateItem.
Static Method migrateTranslations Migrate the translations between potemplates.
Method split Split the translations for the ProductSeries and SourcePackage.
def __init__(self, potemplate):
Constructor.
ParameterspotemplateThe POTemplate to sanitize.
def findShared(self):
Provide tuples of (other, this) items for each shared POTMsgSet.

Only return those that are shared but shouldn't be because they are now in non-sharing templates.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.