diff options
author | Brandon Labuschagne <blabuschagne@gitlab.com> | 2019-05-02 17:49:16 +0300 |
---|---|---|
committer | Brandon Labuschagne <blabuschagne@gitlab.com> | 2019-05-07 20:27:52 +0300 |
commit | ed8dc177eda6d1e1f7d89f307e33e678ec47569f (patch) | |
tree | 3e0fa4bf9abdcb6076e5e67e9bd71d7e49e5045d /app/assets/javascripts/issuable_bulk_update_actions.js | |
parent | f7bba29cb573e74b56aba7882048aac7de0d6868 (diff) |
I18N JS files starting with i
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
Diffstat (limited to 'app/assets/javascripts/issuable_bulk_update_actions.js')
-rw-r--r-- | app/assets/javascripts/issuable_bulk_update_actions.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/issuable_bulk_update_actions.js b/app/assets/javascripts/issuable_bulk_update_actions.js index ccbe591a63e..bc9d7fcf30d 100644 --- a/app/assets/javascripts/issuable_bulk_update_actions.js +++ b/app/assets/javascripts/issuable_bulk_update_actions.js @@ -4,6 +4,7 @@ import $ from 'jquery'; import _ from 'underscore'; import axios from './lib/utils/axios_utils'; import Flash from './flash'; +import { __ } from './locale'; export default { init({ container, form, issues, prefixId } = {}) { @@ -32,7 +33,7 @@ export default { onFormSubmitFailure() { this.form.find('[type="submit"]').enable(); - return new Flash('Issue update failed'); + return new Flash(__('Issue update failed')); }, getSelectedIssues() { |