Issue #2565123 by joelpittet, lauriii: Move logic from SafeMarkup::format() from template_preprocess_locale_translation_update_info() to template