]> source.dussan.org Git - sonarqube.git/commitdiff
Change "Remove ressource" to "Suppress column" in comparison page
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Mon, 17 Dec 2012 11:09:20 +0000 (12:09 +0100)
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Mon, 17 Dec 2012 11:09:20 +0000 (12:09 +0100)
And change "Remove metric" to "Suppress line" as well to be consistent

plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties
sonar-server/src/main/webapp/WEB-INF/app/views/comparison/index.html.erb

index e1acee2bc6617df5fe2a0dcafd1d269d448612f5..db48a0e27f94aaa66092fab35612070f38a775ff 100644 (file)
@@ -531,8 +531,8 @@ comparison.compare=Compare
 comparison.add_metric=Add metric
 comparison.add_project=Add project
 comparison.select_version=Select a version
-comparison.remove_resource=Remove resource
-comparison.remove_metric=Remove metric
+comparison.suppress_column=Suppress column
+comparison.suppress_line=Suppress line
 comparison.move_left=Move left
 comparison.move_right=Move right
 comparison.move_down=Move down
index dbac84ef89bc4e4a85e14ad3d73e77b4785764ed..c225e339379eeff768cc8a7644ad2feed3279337 100644 (file)
                   <span class="note"><%= human_short_date s.created_at -%></span>
 
                   <div style="width: 100%; text-align: center;">
-                    <a href="#" onclick="removeFromList(<%= index -%>, $j('#sids'))" id="del-r-<%= index -%>"><img src="<%= ApplicationController.root_context -%>/images/cross-gray.png" title="<%= message('comparison.remove_resource') -%>"/></a>
+                    <a href="#" onclick="removeFromList(<%= index -%>, $j('#sids'))" id="del-r-<%= index -%>"><img src="<%= ApplicationController.root_context -%>/images/cross-gray.png" title="<%= message('comparison.suppress_column') -%>"/></a>
                   </div>
                 </td>
                 <td class="thin" style="vertical-align: bottom;">
                 <% if index < last_index %>
                   <a href="#" onclick="moveDown(<%= index -%>)" id="down-<%= index -%>"><img src="<%= ApplicationController.root_context -%>/images/controls/move_down.png" title="<%= message('comparison.move_down') -%>"/></a>
                 <% end %>
-                <a href="#" onclick="removeFromList(<%= index -%>, $j('#metrics'))" id="del-m-<%= index -%>"><img src="<%= ApplicationController.root_context -%>/images/cross-gray.png" title="<%= message('comparison.remove_metric') -%>"/></a>
+                <a href="#" onclick="removeFromList(<%= index -%>, $j('#metrics'))" id="del-m-<%= index -%>"><img src="<%= ApplicationController.root_context -%>/images/cross-gray.png" title="<%= message('comparison.suppress_line') -%>"/></a>
               </div>
             </td>