aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/issue/views/plan-form-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/issue/views/plan-form-view.js')
-rw-r--r--server/sonar-web/src/main/js/components/issue/views/plan-form-view.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/issue/views/plan-form-view.js b/server/sonar-web/src/main/js/components/issue/views/plan-form-view.js
index d79be00fc0f..a2c46a9ab27 100644
--- a/server/sonar-web/src/main/js/components/issue/views/plan-form-view.js
+++ b/server/sonar-web/src/main/js/components/issue/views/plan-form-view.js
@@ -21,6 +21,7 @@ import $ from 'jquery';
import _ from 'underscore';
import ActionOptionsView from '../../common/action-options-view';
import Template from '../templates/issue-plan-form.hbs';
+import { translate } from '../../../helpers/l10n';
export default ActionOptionsView.extend({
template: Template,
@@ -45,7 +46,7 @@ export default ActionOptionsView.extend({
},
getActionPlans: function () {
- return [{ key: '', name: window.t('issue.unplanned') }].concat(this.collection.toJSON());
+ return [{ key: '', name: translate('issue.unplanned') }].concat(this.collection.toJSON());
},
serializeData: function () {