My plan for fixing this:
Return values: Return templates as result sets. This only affects getTranslationTemplateFormats and getObsoleteTranslationTemplates where each one only has one call site. These could easily be listified there but getObsoleteTranslationTemplates is only used to check its length for >0 ... So I will convert that to has_obsolete_translation_templates.
Obsolete templates: My plan now is to remove that and see which tests fail. The solution is pretty clear, finding all the right places is the work here.
My plan for fixing this: emplateFormats and getObsoleteTran slationTemplate s where each one only has one call site. These could easily be listified there but getObsoleteTran slationTemplate s is only used to check its length for >0 ... So I will convert that to has_obsolete_ translation_ templates.
Return values: Return templates as result sets. This only affects getTranslationT
Obsolete templates: My plan now is to remove that and see which tests fail. The solution is pretty clear, finding all the right places is the work here.