Part of lp.translations.scripts
DistroSeries translations from its parent series.| Class | SeriesTranslationFlagsModified | DistroSeries' translation flags were modified while we were working. |
| Class | SeriesStateKeeper | Prepare DistroSeries state for copying, and later restore it. |
| Function | copy_distroseries_translations | Copy translations into a new DistroSeries. |
DistroSeries.
Wraps around copy_active_translations, but also ensures that the
hide_all_translations and defer_translation_imports flags are
set. After copying they are restored to their previous state.
If published_sources_only is set, the set of sources in the target will be calculated and only templates for those sources will be copied.