Translate the legend text in ProjectSelector component
requested to merge 217985-use-glinfinitescroll-s-default-slot-in-the-project-selector-vue-component-2 into master
What does this MR do?
Translates the legend text in ProjectSelector component
The "legend" text in the ProjectSelector component was previously only defined in the GlInfiniteScroll component from GitLab UI. There are two problems with that: strings defined in GitLab UI aren't translatable, and also the string is generic and referred to "items" rather than "projects".
This also updates the existing items
slot to use the Vue 2.6+ sytax.
Addresses #217985 (closed) (see for a bit more info and background).
Screenshots
The only difference is the text "items" now reads "projects".
Before | After |
---|---|
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry - [-] Documentation (if required)
-
Code review guidelines - [-] Merge request performance guidelines
-
Style guides - [-] Database guides
-
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. - [-] Tested in all supported browsers
- [-] Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Edited by Mark Florian