diff options
author | Brandon Labuschagne <blabuschagne@gitlab.com> | 2019-04-25 16:49:58 +0200 |
---|---|---|
committer | Brandon Labuschagne <blabuschagne@gitlab.com> | 2019-04-25 16:49:58 +0200 |
commit | a26633003c89cc4e79aeb31d0f95452227cee7bb (patch) | |
tree | b4e3cf14967722e8c3d77c8482c299d8b98b29ae /app/assets/javascripts/ide/stores/modules | |
parent | 77efa66cdf17740e28e996cdfee3a3a8d7b19ef4 (diff) | |
download | gitlab-ce-a26633003c89cc4e79aeb31d0f95452227cee7bb.tar.gz |
Internationalisation of ide 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/ide/stores/modules')
-rw-r--r-- | app/assets/javascripts/ide/stores/modules/file_templates/getters.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/ide/stores/modules/file_templates/getters.js b/app/assets/javascripts/ide/stores/modules/file_templates/getters.js index 628babe6a01..f10891a8e5b 100644 --- a/app/assets/javascripts/ide/stores/modules/file_templates/getters.js +++ b/app/assets/javascripts/ide/stores/modules/file_templates/getters.js @@ -1,4 +1,5 @@ import { activityBarViews } from '../../../constants'; +import { __ } from '~/locale'; export const templateTypes = () => [ { @@ -10,11 +11,11 @@ export const templateTypes = () => [ key: 'gitignores', }, { - name: 'LICENSE', + name: __('LICENSE'), key: 'licenses', }, { - name: 'Dockerfile', + name: __('Dockerfile'), key: 'dockerfiles', }, ]; |