aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-core-plugin
diff options
context:
space:
mode:
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-10-02 16:29:32 +0200
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-10-02 16:29:32 +0200
commit4ce2586f6c99f8384d9beda97938be4721f64b27 (patch)
tree3f2ac23ebd52e8cbfd50a854a28e5e4f40ccfcde /plugins/sonar-core-plugin
parent3fec60a54b4e2e13db2e6e016b1faa6ed0236066 (diff)
downloadsonarqube-4ce2586f6c99f8384d9beda97938be4721f64b27.tar.gz
sonarqube-4ce2586f6c99f8384d9beda97938be4721f64b27.zip
SONAR-5535 Fix missing l10n keys in size metric
Diffstat (limited to 'plugins/sonar-core-plugin')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/size.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/size.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/size.html.erb
index e68012f744b..cda33b0714f 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/size.html.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/size.html.erb
@@ -110,7 +110,7 @@
<%= format_measure(generated_ncloc, :url => url_for_drilldown(generated_ncloc)) -%>
<span class="nowrap">
<%= dashboard_configuration.selected_period? ? format_variation(generated_ncloc) : trend_icon(generated_ncloc) %>
- <span class="widget-label"><%= message('metric.generated.name.suffix') -%></span>
+ <span class="widget-label"><%= message('metric.generated_ncloc.name.suffix') -%></span>
</span>
</p>
<% end %>
@@ -124,7 +124,7 @@
</p>
<% if generated_lines && generated_lines.value>0 %>
- <p>incl. <%= format_measure(generated_lines, :suffix => message('metric.generated.name.suffix'), :url => url_for_drilldown(generated_lines)) -%> <%= dashboard_configuration.selected_period? ? format_variation(generated_lines) : trend_icon(generated_lines) -%></p>
+ <p>incl. <%= format_measure(generated_lines, :suffix => ' ' + message('metric.generated_lines.name.suffix'), :url => url_for_drilldown(generated_lines)) -%> <%= dashboard_configuration.selected_period? ? format_variation(generated_lines) : trend_icon(generated_lines) -%></p>
<% end %>
<% if projects %>