]> source.dussan.org Git - sonarqube.git/commitdiff
Replace hardcoded string in AddedRemovedDebt component 719/head
authorFelipe Zorzo <felipe.b.zorzo@gmail.com>
Fri, 15 Jan 2016 23:50:01 +0000 (21:50 -0200)
committerFelipe Zorzo <felipe.b.zorzo@gmail.com>
Fri, 15 Jan 2016 23:50:01 +0000 (21:50 -0200)
server/sonar-web/src/main/js/apps/overview/components/issue-measure.js

index 713054e870c0607038929a851c50b70931fd8ed9..e172ee001025a87deb99e4dc927625b85ea2127f 100644 (file)
@@ -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>