aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>2012-12-17 12:09:20 +0100
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>2012-12-17 12:09:20 +0100
commitc7312cf4f14b228fb38baf0a0905dcc471817259 (patch)
tree8e2446406492ef6ec8fd137a0985d924872ce01e
parent8a244d39061694cc2117788f222d2e4827da2be5 (diff)
downloadsonarqube-c7312cf4f14b228fb38baf0a0905dcc471817259.tar.gz
sonarqube-c7312cf4f14b228fb38baf0a0905dcc471817259.zip
Change "Remove ressource" to "Suppress column" in comparison page
And change "Remove metric" to "Suppress line" as well to be consistent
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties4
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/comparison/index.html.erb4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties
index e1acee2bc66..db48a0e27f9 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties
@@ -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
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/comparison/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/comparison/index.html.erb
index dbac84ef89b..c225e339379 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/comparison/index.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/comparison/index.html.erb
@@ -119,7 +119,7 @@
<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;">
@@ -205,7 +205,7 @@
<% 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>