Commit a5ab4658 authored by Brandon Labuschagne's avatar Brandon Labuschagne Committed by Phil Hughes

Internationalisation of import_projects 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
parent 729bac5e
import { __ } from '~/locale';
export const namespaceSelectOptions = state => {
const serializedNamespaces = state.namespaces.map(({ fullPath }) => ({
id: fullPath,
......@@ -5,9 +7,9 @@ export const namespaceSelectOptions = state => {
}));
return [
{ text: 'Groups', children: serializedNamespaces },
{ text: __('Groups'), children: serializedNamespaces },
{
text: 'Users',
text: __('Users'),
children: [{ id: state.defaultTargetNamespace, text: state.defaultTargetNamespace }],
},
];
......
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