diff options
author | Felipe Zorzo <felipe.b.zorzo@gmail.com> | 2016-01-15 21:50:01 -0200 |
---|---|---|
committer | Felipe Zorzo <felipe.b.zorzo@gmail.com> | 2016-01-15 21:50:01 -0200 |
commit | 74f9149249eaf39e1b1d154c77e24d3f6e83e5df (patch) | |
tree | e8b9a8c8069b4d445ed02e6967ca1688c14accd0 | |
parent | 0507b27dcd926506e09b41048a4714f601352245 (diff) | |
download | sonarqube-74f9149249eaf39e1b1d154c77e24d3f6e83e5df.tar.gz sonarqube-74f9149249eaf39e1b1d154c77e24d3f6e83e5df.zip |
Replace hardcoded string in AddedRemovedDebt component
-rw-r--r-- | server/sonar-web/src/main/js/apps/overview/components/issue-measure.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/components/issue-measure.js b/server/sonar-web/src/main/js/apps/overview/components/issue-measure.js index 713054e870c..e172ee00102 100644 --- a/server/sonar-web/src/main/js/apps/overview/components/issue-measure.js +++ b/server/sonar-web/src/main/js/apps/overview/components/issue-measure.js @@ -145,7 +145,7 @@ export const AddedRemovedDebt = React.createClass({ return <div className="overview-detailed-measure-leak"> <ul> <li style={{ display: 'flex', alignItems: 'baseline' }}> - <small className="flex-1 text-left">Added</small> + <small className="flex-1 text-left">{translate('overview.added')}</small> <DrilldownLink className="text-danger" component={this.props.component.key} metric={this.props.leakMetric} period={this.props.leakPeriodIndex}> <span className="overview-detailed-measure-value"> @@ -154,7 +154,7 @@ export const AddedRemovedDebt = React.createClass({ </DrilldownLink> </li> <li className="little-spacer-top" style={{ display: 'flex', alignItems: 'baseline' }}> - <small className="flex-1 text-left">Removed</small> + <small className="flex-1 text-left">{translate('overview.removed')}</small> <span className="text-success"> {formatMeasure(removed, getShortType(this.props.type))} </span> |