diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/coding-rules/app.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/coding-rules/app.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/app.js b/server/sonar-web/src/main/js/apps/coding-rules/app.js index 80fe331f8d0..6e94452f88e 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/app.js +++ b/server/sonar-web/src/main/js/apps/coding-rules/app.js @@ -31,6 +31,7 @@ import WorkspaceListView from './workspace-list-view'; import WorkspaceHeaderView from './workspace-header-view'; import FacetsView from './facets-view'; import FiltersView from './filters-view'; +import { translate } from '../../helpers/l10n'; var App = new Marionette.Application(), init = function () { @@ -80,7 +81,7 @@ var App = new Marionette.Application(), App.manualRepository = function () { return { key: 'manual', - name: window.t('coding_rules.manual_rule'), + name: translate('coding_rules.manual_rule'), language: 'none' }; }; |