aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2011-10-17 16:57:54 +0200
committerFabrice Bellingard <bellingard@gmail.com>2011-10-17 16:57:54 +0200
commit6e343b341c799a593df4de2154764afdda0713e1 (patch)
tree96173a290b1fc3d2b55f0edcd4fd3f85d299962a /sonar-server
parent5ac6364abcfdf7bbfad017e87d59f741a8f12df0 (diff)
downloadsonarqube-6e343b341c799a593df4de2154764afdda0713e1.tar.gz
sonarqube-6e343b341c799a593df4de2154764afdda0713e1.zip
SONAR-2884 "No lines match your filter criteria" is not localized
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb2
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/source/_source.html.erb21
2 files changed, 2 insertions, 21 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb
index 81daaa4ca63..7ec54ed21cd 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb
@@ -118,6 +118,6 @@
</table>
<% if @filtered && !has_displayed_lines %>
- <p>No lines match your filter criteria.</p>
+ <p><%= message('no_lines_match_your_filter_criteria') -%></p>
<% end %>
<% end %> \ No newline at end of file
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/source/_source.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/source/_source.html.erb
index d146d350da2..3a1b1cd9432 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/source/_source.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/source/_source.html.erb
@@ -32,25 +32,6 @@
if line.highlighted
status='ko'
end
-# if @display_coverage && line.hits
-# hits_status=(line.hits>0 ? 'ok' : 'ko')
-# if line.conditions && line.conditions>0 && line.covered_conditions
-# if line.covered_conditions==0
-# status='ko'
-# conditions_status='ko'
-# elsif line.covered_conditions==line.conditions
-# status=''
-# conditions_status='ok'
-# else
-# conditions_status='warn'
-# status='warn'
-# end
-# elsif line.hits
-# status=(line.hits>0 ? '' : 'ko')
-# end
-# elsif @display_violations && line.violations?
-# status="ko"
-# end
end
%>
<tr>
@@ -78,6 +59,6 @@
</table>
<% if panel.filtered && !has_displayed_lines %>
- <p>No lines match your filter criteria.</p>
+ <p><%= message('no_lines_match_your_filter_criteria') -%></p>
<% end %>
<% end %> \ No newline at end of file