diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/permission-templates/permission-template-set-defaults.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/permission-templates/permission-template-set-defaults.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/permission-templates/permission-template-set-defaults.js b/server/sonar-web/src/main/js/apps/permission-templates/permission-template-set-defaults.js index b785faf7c64..fdfaf924beb 100644 --- a/server/sonar-web/src/main/js/apps/permission-templates/permission-template-set-defaults.js +++ b/server/sonar-web/src/main/js/apps/permission-templates/permission-template-set-defaults.js @@ -21,6 +21,7 @@ import _ from 'underscore'; import React from 'react'; import { setDefaultPermissionTemplate } from '../../api/permissions'; import QualifierIcon from '../../components/shared/qualifier-icon'; +import { translate } from '../../helpers/l10n'; export default React.createClass({ propTypes: { @@ -55,7 +56,7 @@ export default React.createClass({ return ( <li key={qualifier}> <a onClick={this.setDefault.bind(this, qualifier)} href="#"> - Set Default for <QualifierIcon qualifier={qualifier}/> {window.t('qualifier', qualifier)} + Set Default for <QualifierIcon qualifier={qualifier}/> {translate('qualifier', qualifier)} </a> </li> ); |