Skip to content

Translate the legend text in ProjectSelector component

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
Screenshot_from_2020-06-03_20-07-10 Screenshot_from_2020-06-03_20-05-26
Screenshot_from_2020-06-03_20-06-57 Screenshot_from_2020-06-03_20-05-39

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Mark Florian

Merge request reports

Loading