summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-08-02 12:18:29 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2011-08-02 12:18:29 +0200
commit25aff31415d701722fc42d69862a8b9e9ba4cae6 (patch)
treef64b5e484f405bd65b6d9d74c1c0955356025efd /plugins
parent15dc68447679356f1cffe9107e189eb7cb75c6f9 (diff)
downloadsonarqube-25aff31415d701722fc42d69862a8b9e9ba4cae6.tar.gz
sonarqube-25aff31415d701722fc42d69862a8b9e9ba4cae6.zip
Fix duplications viewer
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-gwt/src/main/java/org/sonar/plugins/core/duplicationsviewer/client/DuplicationsViewer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/sonar-core-gwt/src/main/java/org/sonar/plugins/core/duplicationsviewer/client/DuplicationsViewer.java b/plugins/sonar-core-gwt/src/main/java/org/sonar/plugins/core/duplicationsviewer/client/DuplicationsViewer.java
index db313329cee..a25c5888fa3 100644
--- a/plugins/sonar-core-gwt/src/main/java/org/sonar/plugins/core/duplicationsviewer/client/DuplicationsViewer.java
+++ b/plugins/sonar-core-gwt/src/main/java/org/sonar/plugins/core/duplicationsviewer/client/DuplicationsViewer.java
@@ -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) {