Skip to content

Leverage parameterized translations capability

What does this MR do and why?

Integration branch for gitlab-ui!4241 (merged)

Now that GitLab UI properly supports parameterized/pluralized labels, we can leverage those new capabilities to provide a couple labels globally in the config.

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

Here are a few examples of how the globally defined translations propagate to the frontend components.

User Preferences > Localization (GlCollapsibleListbox.srOnlyResultsLabel)
Screenshot_2024-07-03_at_9.20.27_AM
Project General Settings > Badges (GlPagination.labelPage)
Screenshot_2024-07-03_at_9.21.18_AM
Edited by Paul Gascou-Vaillancourt

Merge request reports