summaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-07-26 10:25:45 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2011-07-26 10:25:45 +0200
commit73ec4526d09de3c72ee63f90da3e2f4984de7b9f (patch)
tree7675771f84be2705e5e3d6b2748622043516c3bf /sonar-server
parent94666ba39152718952ac644f0a9cd2d97902774c (diff)
downloadsonarqube-73ec4526d09de3c72ee63f90da3e2f4984de7b9f.tar.gz
sonarqube-73ec4526d09de3c72ee63f90da3e2f4984de7b9f.zip
SONAR-2589 add missing bundles in drilldown pages
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb2
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/violations.html.erb14
2 files changed, 8 insertions, 8 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb
index b15463e7cee..7df550d7529 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb
@@ -34,7 +34,7 @@
<table id="drilldown" class="width100" style="clear:left">
<% if @highlighted_metric!=@metric %>
<tr>
-<td colspan="<%= @drilldown.columns.size -%>">Drilldown on <b><%= format_measure(@metric.key, :period => @period) -%> <%= @metric.short_name -%></b></td>
+<td colspan="<%= @drilldown.columns.size -%>"><%= message('drilldown.drilldown_on') -%> <b><%= format_measure(@metric.key, :period => @period) -%> <%= @metric.short_name -%></b></td>
</tr>
<tr>
<% end
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/violations.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/violations.html.erb
index 85e8db0f41a..1f2a829d1b2 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/violations.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/violations.html.erb
@@ -48,7 +48,7 @@
max = value if value && value>max
end
%>
- <h3><%= message('severity') -%></h3>
+ <h3><%= message('violations_drilldown.col.severity') -%></h3>
<table class="spacedicon" style="border: 1px solid #ccc;">
<%= render :partial => 'rule_priority', :locals => {:css => 'even', :priority_id => Sonar::RulePriority::PRIORITY_BLOCKER, :max => max, :measure => blocker_violations }%>
<%= render :partial => 'rule_priority', :locals => {:css => 'odd', :priority_id => Sonar::RulePriority::PRIORITY_CRITICAL, :max => max, :measure => critical_violations }%>
@@ -58,7 +58,7 @@
</table>
</td>
<td class="column" align="left" style="white-space: normal;">
- <h3><%= message('rule') -%></h3>
+ <h3><%= message('violations_drilldown.col.rule') -%></h3>
<div class="scrollable">
<table class="spacedicon" width="100%" id="col_rules">
<%
@@ -96,7 +96,7 @@
%>
<tr class="<%= clazz -%>">
<td width="1%" nowrap>
- <a id="<%= "rule#{rule_index}" -%>" title="<%= message('drilldown.click_for_more_on_x', :params => [rule.plugin_name, rule.plugin_rule_key]) -%>" onclick="window.open(this.href,'rule','height=800,width=900,scrollbars=1,resizable=1');return false;" href="<%= url_for :controller => 'rules', :action => 'show', :id => rule.key, :layout => 'false' -%>"><img src="<%= ApplicationController.root_context -%>/images/priority/<%= rule_measure.rule_priority -%>.png" /></a>
+ <a id="<%= "rule#{rule_index}" -%>" title="<%= message('violations_drilldown.click_for_more_on_x', :params => [rule.plugin_name, rule.plugin_rule_key]) -%>" onclick="window.open(this.href,'rule','height=800,width=900,scrollbars=1,resizable=1');return false;" href="<%= url_for :controller => 'rules', :action => 'show', :id => rule.key, :layout => 'false' -%>"><img src="<%= ApplicationController.root_context -%>/images/priority/<%= rule_measure.rule_priority -%>.png" /></a>
</td>
<td>
<%= link_to(rule.name, {:overwrite_params => {:rule => rule.key, :sid => nil, :priority => Sonar::RulePriority.to_s(@priority_id)}}, :title => "#{rule.plugin_name}: #{rule.plugin_rule_key}") %>
@@ -112,7 +112,7 @@
<% end %>
<% if rule_index==0 %>
- <tr class="even"><td><%= message('drilldown.no_violations') -%></td></tr>
+ <tr class="even"><td><%= message('violations_drilldown.no_violations') -%></td></tr>
<% end %>
</table>
</div>
@@ -173,16 +173,16 @@
</table>
<br/>
<div style="font-size: 85%;background-color: #eee;color: #777;padding: 4px 5px;border: 1px solid #ddd;margin-bottom: 20px;">
-<b><%= message('path') -%>:</b>
+<b><%= message('violations_drilldown.path') -%>:</b>
<% if @priority_id %>
<%= Sonar::RulePriority.to_s(@priority_id, true) %> <%= link_to message('clear_verb'), {:overwrite_params => {:priority => nil}} %>
<% else %>
-<%= message('drilldown.any_severity') -%>
+<%= message('violations_drilldown.any_severity') -%>
<% end %>&nbsp;&raquo;&nbsp;
<% if @rule %>
<%= h @rule.name %> <%= link_to message('clear_verb'), {:overwrite_params => {:rule => nil}} %>
<% else %>
-<%= message('drilldown.any_rule') -%>
+<%= message('violations_drilldown.any_rule') -%>
<% end %>&nbsp;&raquo;&nbsp;
<% paths.each do |path| %>
<%= path[0] %> <%= link_to message('clear_verb'), {:overwrite_params => {:rids => path[1]}} %>&nbsp;&raquo;&nbsp;