Skip to content

Add localization in project CI job artifacts browser

What does this MR do and why?

This MR adds localiization to the headline "Artifacts" of the CI job artifacts browser.

The page title "Artifacts" is already localized (pre-MR) in the breadcrumbs at the top of the page.

For consistency, the headline "Artifacts" should be displayed localized, too.

Screenshots or screen recordings

Pre-MR:

project_CI_job_artifacts_file_browser_missing_translation

Post-MR:

project_CI_job_artifacts_file_browser_with_translation

How to set up and validate locally

  1. Open GitLab in GitPod or locally with the GitLab Development Kit
  2. Open a project CI job artifacts browser (you may need to enable/register GitLab Runner and create a CI pipeline job producing an artifact)
  3. The headline of the page and the breadcrumbs displays "Artifacts"
  4. Open your GitLab user preferences and change the localization language to Spanish (e.g. at http://127.0.0.1:3000/-/profile/preferences#localization)
  5. Reload the a project CI job artifacts browser
  6. The headline of the page displays "Artifacts" (English) and the breadcrumbs displays "Artefactos" (Spanish)
  7. After applying this MR and reloading the project CI job artifacts browser, the headline of the page and the breadcrumbs display "Artefactos" (Spanish)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Daniel Schömer

Merge request reports