Commit 90d68fc9 authored by Brandon Labuschagne's avatar Brandon Labuschagne

I18N EE files not in sub directories

This is one of many MRs opened in order to improve the overall
internationalisation of the GitLab codebase.

This commit only targets Vanilla JS files.

i18n documentation
https://docs.gitlab.com/ee/development/i18n/externalization.html
parent dbf63dda
......@@ -80,7 +80,7 @@ export default class ApproversSelect {
.then(() => {
this.$approverSelect
.select2({
placeholder: 'Search for users or groups',
placeholder: __('Search for users or groups'),
multiple: true,
minimumInputLength: 0,
query: query => {
......
......@@ -2,6 +2,7 @@
import $ from 'jquery';
import Api from 'ee/api';
import { __ } from '~/locale';
export default function initLDAPGroupsSelect() {
var groupFormatSelection, ldapGroupResult;
......@@ -18,7 +19,7 @@ export default function initLDAPGroupsSelect() {
id: function(group) {
return group.cn;
},
placeholder: 'Search for a LDAP group',
placeholder: __('Search for a LDAP group'),
minimumInputLength: 1,
query: function(query) {
var provider;
......@@ -44,7 +45,7 @@ export default function initLDAPGroupsSelect() {
formatSelection: groupFormatSelection,
dropdownCssClass: 'ajax-groups-dropdown',
formatNoMatches: function(nomatch) {
return 'Match not found; try refining your search query.';
return __('Match not found; try refining your search query.');
},
});
});
......
......@@ -7895,6 +7895,9 @@ msgstr ""
msgid "Marks todo as done."
msgstr ""
msgid "Match not found; try refining your search query."
msgstr ""
msgid "Maven Metadata"
msgstr ""
......@@ -11276,6 +11279,9 @@ msgstr ""
msgid "Search files"
msgstr ""
msgid "Search for a LDAP group"
msgstr ""
msgid "Search for a group"
msgstr ""
......@@ -11285,6 +11291,9 @@ msgstr ""
msgid "Search for projects, issues, etc."
msgstr ""
msgid "Search for users or groups"
msgstr ""
msgid "Search forks"
msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment