Коммит a5ab4658 создал по автору Brandon Labuschagne's avatar Brandon Labuschagne Зафиксировано автором 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
владелец 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
0% или .
You are about to add 0 people to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Пожалуйста, зарегистрируйтесь или чтобы прокомментировать