diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-10-03 09:12:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-03 09:12:56 +0200 |
commit | b66f125104e97f4724afb87e448a79605a532222 (patch) | |
tree | f1a6d4cacf675a8c011cb2aceb8b2b21371fcf94 /server/sonar-web/src/main/js/apps/permission-templates/components/Defaults.js | |
parent | c839d88af83ce551bd171703ec0902b1e79b3db1 (diff) | |
download | sonarqube-b66f125104e97f4724afb87e448a79605a532222.tar.gz sonarqube-b66f125104e97f4724afb87e448a79605a532222.zip |
SONAR-8828 Make sure all messages can be localized (#2600)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/permission-templates/components/Defaults.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/permission-templates/components/Defaults.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/permission-templates/components/Defaults.js b/server/sonar-web/src/main/js/apps/permission-templates/components/Defaults.js index 454b269f85a..c4faebbdd44 100644 --- a/server/sonar-web/src/main/js/apps/permission-templates/components/Defaults.js +++ b/server/sonar-web/src/main/js/apps/permission-templates/components/Defaults.js @@ -20,7 +20,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import { sortBy } from 'lodash'; -import { translate } from '../../../helpers/l10n'; +import { translate, translateWithParameters } from '../../../helpers/l10n'; import { PermissionTemplateType } from '../propTypes'; export default class Defaults extends React.PureComponent { @@ -42,7 +42,7 @@ export default class Defaults extends React.PureComponent { return ( <div> <span className="badge spacer-right"> - {translate('default')} for {qualifiers} + {translateWithParameters('permission_template.default_for', qualifiers)} </span> </div> ); |