summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/groups
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 /app/assets/javascripts/groups
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
Diffstat (limited to 'app/assets/javascripts/groups')
-rw-r--r--app/assets/javascripts/groups/transfer_dropdown.js3
1 files changed, 2 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,