summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Labuschagne <blabuschagne@gitlab.com>2019-04-29 14:20:16 +0000
committerFatih Acet <acetfatih@gmail.com>2019-04-29 14:20:16 +0000
commitba5cb321b90a50bd24d1acf90fa1bf001120ca85 (patch)
tree9f94ad4a1c27f993bad2066ba6a13b914f9f268b
parentfe45f5446f2aefda2066bd4d271ae47162130049 (diff)
downloadgitlab-ce-ba5cb321b90a50bd24d1acf90fa1bf001120ca85.tar.gz
Internationalisation of groups directory
This is one of many MRs opened in order to improve the overall internationalisation of the GitLab codebase. i18n documentation https://docs.gitlab.com/ee/development/i18n/externalization.html
-rw-r--r--app/assets/javascripts/groups/transfer_dropdown.js3
-rw-r--r--locale/gitlab.pot3
2 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/javascripts/groups/transfer_dropdown.js b/app/assets/javascripts/groups/transfer_dropdown.js
index 26510fcdb2a..ce0c9256148 100644
--- a/app/assets/javascripts/groups/transfer_dropdown.js
+++ b/app/assets/javascripts/groups/transfer_dropdown.js
@@ -1,4 +1,5 @@
import $ from 'jquery';
+import { __ } from '~/locale';
export default class TransferDropdown {
constructor() {
@@ -13,7 +14,7 @@ export default class TransferDropdown {
}
buildDropdown() {
- const extraOptions = [{ id: '', text: 'No parent group' }, 'divider'];
+ const extraOptions = [{ id: '', text: __('No parent group') }, 'divider'];
this.groupDropdown.glDropdown({
selectable: true,
diff --git a/locale/gitlab.pot b/locale/gitlab.pot
index b973cd2dd8e..0a5cd6730e6 100644
--- a/locale/gitlab.pot
+++ b/locale/gitlab.pot
@@ -6038,6 +6038,9 @@ msgstr ""
msgid "No other labels with such name or description"
msgstr ""
+msgid "No parent group"
+msgstr ""
+
msgid "No preview for this file type"
msgstr ""