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
This commit is contained in:
parent
77efa66cdf
commit
a26633003c
|
@ -3,6 +3,7 @@ import VueRouter from 'vue-router';
|
|||
import { joinPaths } from '~/lib/utils/url_utility';
|
||||
import flash from '~/flash';
|
||||
import store from './stores';
|
||||
import { __ } from '~/locale';
|
||||
|
||||
Vue.use(VueRouter);
|
||||
|
||||
|
@ -94,7 +95,7 @@ router.beforeEach((to, from, next) => {
|
|||
})
|
||||
.catch(e => {
|
||||
flash(
|
||||
'Error while loading the project data. Please try again.',
|
||||
__('Error while loading the project data. Please try again.'),
|
||||
'alert',
|
||||
document,
|
||||
null,
|
||||
|
|
|
@ -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',
|
||||
},
|
||||
];
|
||||
|
|
|
@ -3271,6 +3271,9 @@ msgstr ""
|
|||
msgid "Do you want to customize how Google Code email addresses and usernames are imported into GitLab?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Dockerfile"
|
||||
msgstr ""
|
||||
|
||||
msgid "Domain"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3739,6 +3742,9 @@ msgstr ""
|
|||
msgid "Error while loading the merge request. Please try again."
|
||||
msgstr ""
|
||||
|
||||
msgid "Error while loading the project data. Please try again."
|
||||
msgstr ""
|
||||
|
||||
msgid "Error while migrating %{upload_id}: %{error_message}"
|
||||
msgstr ""
|
||||
|
||||
|
@ -5165,6 +5171,9 @@ msgstr ""
|
|||
msgid "LFSStatus|Enabled"
|
||||
msgstr ""
|
||||
|
||||
msgid "LICENSE"
|
||||
msgstr ""
|
||||
|
||||
msgid "Label"
|
||||
msgstr ""
|
||||
|
||||
|
|
Loading…
Reference in New Issue