Add localization in project CI job artifacts browser
requested to merge quatauta/gitlab-contrib:quatauta-patch-view-projects-artifacts-browser-add-translate into master
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:
Post-MR:
How to set up and validate locally
- Open GitLab in GitPod or locally with the GitLab Development Kit
- Open a project CI job artifacts browser (you may need to enable/register GitLab Runner and create a CI pipeline job producing an artifact)
- The headline of the page and the breadcrumbs displays "Artifacts"
- Open your GitLab user preferences and change the localization language to Spanish (e.g. at http://127.0.0.1:3000/-/profile/preferences#localization)
- Reload the a project CI job artifacts browser
- The headline of the page displays "Artifacts" (English) and the breadcrumbs displays "Artefactos" (Spanish)
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Daniel Schömer