Commit ab0d41e2 authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'fix-internationalization-namespace' into 'master'

Remove namespaced internationalization import

See merge request gitlab-org/gitlab-ce!16838
parents dbcd43db 10a2d95a
/* eslint-disable class-methods-use-this */ /* eslint-disable class-methods-use-this */
import _ from 'underscore'; import _ from 'underscore';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
import { s__ } from './locale'; import { __ } from './locale';
import { isInIssuePage, updateTooltipTitle } from './lib/utils/common_utils'; import { isInIssuePage, updateTooltipTitle } from './lib/utils/common_utils';
import flash from './flash'; import flash from './flash';
import axios from './lib/utils/axios_utils'; import axios from './lib/utils/axios_utils';
...@@ -451,7 +451,7 @@ class AwardsHandler { ...@@ -451,7 +451,7 @@ class AwardsHandler {
callback(); callback();
} }
}) })
.catch(() => flash(s__('Something went wrong on our end.'))); .catch(() => flash(__('Something went wrong on our end.')));
} }
} }
......
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