Part of lp.translations.utilities.translationsplitter View In Hierarchy
Known subclasses: lp.translations.utilities.translationsplitter.TranslationSplitter, lp.translations.utilities.translationsplitter.TranslationTemplateSplitter
| 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. |
The specified TranslationTemplateItem will have a new POTMsgSet
that is a clone of the old one. All other TranslationTemplateItems
will continue to use the old POTMsgSet.
| Parameters | ubuntu_item | The TranslationTemplateItem to use. |
| Parameters | upstream_msgset | The POTMsgSet to copy or move translations
from. |
| ubuntu_item | The target TranslationTemplateItem.
ubuntu_item.potmsgset is the msgset to attach translations to and
ubuntu_item.potemplate is used to determine whether to move a
diverged translation. |