Skip to content

Stop using string interpolation within i18n helper args

What does this MR do and why?

Stop using string interpolation withing i18n helper args

This fixes several cases where string interpolation was used within i18n helper arguments, preventing the gettext extractor from collecting those strings to make them available for translation.

As a follow-up to this fix, we will be extending our ESLint plugin to catch these offences systematically: gitlab-org/frontend/eslint-plugin!116 (merged)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

No visual change.

How to set up and validate locally

Edited by Paul Gascou-Vaillancourt

Merge request reports