diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/coding-rules/facets/active-severity-facet.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/coding-rules/facets/active-severity-facet.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/facets/active-severity-facet.js b/server/sonar-web/src/main/js/apps/coding-rules/facets/active-severity-facet.js index 855b1004c6d..99957a26d38 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/facets/active-severity-facet.js +++ b/server/sonar-web/src/main/js/apps/coding-rules/facets/active-severity-facet.js @@ -20,6 +20,7 @@ import _ from 'underscore'; import BaseFacet from './base-facet'; import Template from '../templates/facets/coding-rules-severity-facet.hbs'; +import { translate } from '../../../helpers/l10n'; export default BaseFacet.extend({ template: Template, @@ -45,7 +46,7 @@ export default BaseFacet.extend({ forbid: function () { BaseFacet.prototype.forbid.apply(this, arguments); - this.$el.prop('title', window.t('coding_rules.filters.active_severity.inactive')); + this.$el.prop('title', translate('coding_rules.filters.active_severity.inactive')); }, allow: function () { |