diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-12-04 12:32:46 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-12-04 12:32:56 +0100 |
commit | 58d45c1b7a60280949d5a3da512cde645e19e1bc (patch) | |
tree | 4cf591e6e6388dfd4385ac0df6172b025f6196de /server/sonar-web/src | |
parent | e9f89443b0a9840dba19d39486a251afb6d642ea (diff) | |
download | sonarqube-58d45c1b7a60280949d5a3da512cde645e19e1bc.tar.gz sonarqube-58d45c1b7a60280949d5a3da512cde645e19e1bc.zip |
SONAR-7069 apply feedback
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r-- | server/sonar-web/src/main/js/apps/overview/gate/gate.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/gate/gate.js b/server/sonar-web/src/main/js/apps/overview/gate/gate.js index 97592b68455..05ebfda1892 100644 --- a/server/sonar-web/src/main/js/apps/overview/gate/gate.js +++ b/server/sonar-web/src/main/js/apps/overview/gate/gate.js @@ -12,11 +12,11 @@ export default React.createClass({ renderGateText () { let text = ''; if (this.props.gate.level === 'ERROR') { - text = window.t('widget.alerts.errors') + this.props.gate.text + '.'; + text = window.tp('overview.gate.view.errors', this.props.gate.text); } else if (this.props.gate.level === 'WARN') { - text = window.t('widget.alerts.warnings') + this.props.gate.text + '.'; + text = window.tp('overview.gate.view.warnings', this.props.gate.text); } else { - text = window.t('widget.alerts.no_alert'); + text = window.t('overview.gate.view.no_alert'); } return <div className="overview-card">{text}</div>; }, |