Commit 8a003380 authored by Brandon Labuschagne's avatar Brandon Labuschagne

I18N EE JS files in directories starting with f

This is one of many MRs opened in order to improve the overall
internationalisation of the GitLab codebase.

This commit only targets Vanilla JS files.

i18n documentation
https://docs.gitlab.com/ee/development/i18n/externalization.html
parent d65fc412
import addExtraTokensForMergeRequests from '~/filtered_search/add_extra_tokens_for_merge_requests';
import { __ } from '~/locale';
export default IssuableTokenKeys => {
addExtraTokensForMergeRequests(IssuableTokenKeys);
......@@ -7,12 +8,12 @@ export default IssuableTokenKeys => {
{
url: 'approver_usernames[]=None',
tokenKey: 'approver',
value: 'None',
value: __('None'),
},
{
url: 'approver_usernames[]=Any',
tokenKey: 'approver',
value: 'Any',
value: __('Any'),
},
];
......
......@@ -4,6 +4,7 @@ import {
alternativeTokenKeys,
conditions,
} from '~/filtered_search/issuable_filtered_search_token_keys';
import { __ } from '~/locale';
const weightTokenKey = {
key: 'weight',
......@@ -18,12 +19,12 @@ const weightConditions = [
{
url: 'weight=None',
tokenKey: 'weight',
value: 'None',
value: __('None'),
},
{
url: 'weight=Any',
tokenKey: 'weight',
value: 'Any',
value: __('Any'),
},
];
......
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