With the redifintion of is_current and is_imported to is_current_ubuntu and is_current_upstream respectively, TranslationMessage has two "is_current*" attributes and also two "setCurrent*" methods to set that attribute. In many cases it should be transparent which one is used, depending on whether the corresponding POTemplate belong to a product series or a source package. These two methods need to be added that hide this distinction:
With the redifintion of is_current and is_imported to is_current_ubuntu and is_current_upstream respectively, TranslationMessage has two "is_current*" attributes and also two "setCurrent*" methods to set that attribute. In many cases it should be transparent which one is used, depending on whether the corresponding POTemplate belong to a product series or a source package. These two methods need to be added that hide this distinction:
isCurrent( potemplate) potemplate)
setCurrent(