]> source.dussan.org Git - sonarqube.git/commitdiff
Fix duplications viewer
authorSimon Brandhof <simon.brandhof@gmail.com>
Tue, 2 Aug 2011 10:18:29 +0000 (12:18 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Tue, 2 Aug 2011 10:18:29 +0000 (12:18 +0200)
plugins/sonar-core-gwt/src/main/java/org/sonar/plugins/core/duplicationsviewer/client/DuplicationsViewer.java

index db313329cee5a22b4607602371a134fa0cbef4a7..a25c5888fa37dbeedee323e80784699b3c2ec2ad 100644 (file)
@@ -61,9 +61,9 @@ public class DuplicationsViewer extends Page {
       }
 
       Dictionary l10n = Dictionary.getDictionary("l10n");
-      addCell(panel, getDefaultMeasure(resource, Metrics.LINES, l10n.get("lines")));
-      addCell(panel, getDefaultMeasure(resource, Metrics.DUPLICATED_LINES, l10n.get("duplicated_lines")));
-      addCell(panel, getDefaultMeasure(resource, Metrics.DUPLICATED_BLOCKS, l10n.get("duplicated_blocks")));
+      addCell(panel, getDefaultMeasure(resource, Metrics.LINES, l10n.get("dupl.lines")));
+      addCell(panel, getDefaultMeasure(resource, Metrics.DUPLICATED_LINES, l10n.get("dupl.duplicated_lines")));
+      addCell(panel, getDefaultMeasure(resource, Metrics.DUPLICATED_BLOCKS, l10n.get("dupl.duplicated_blocks")));
     }
 
     private Measure getDefaultMeasure(Resource resource, String metric, String label) {