aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-07-10 18:25:49 +0200
committerJulien Lancelot <julien.lancelot@gmail.com>2013-07-10 18:25:49 +0200
commit1dbd4004ec2d5da7edfce6d4e64bceb95611adfa (patch)
treef387c116f1b9838321707b49bf2c162453a2d566
parent95fb52ba0f11991bc155e1ff159997dd280bee55 (diff)
downloadsonarqube-1dbd4004ec2d5da7edfce6d4e64bceb95611adfa.tar.gz
sonarqube-1dbd4004ec2d5da7edfce6d4e64bceb95611adfa.zip
Revert "SONAR-4379 Restore update button label and add html id"
This reverts commit 95fb52ba0f11991bc155e1ff159997dd280bee55.
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties1
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/manual_rules/index.html.erb4
2 files changed, 2 insertions, 3 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 c7becfe0a56..0fdefad9584 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
@@ -145,7 +145,6 @@ unit_test=Unit test
unit_tests=Unit tests
unselect_all=Unselect all
unselect_verb=Unselect
-update=Update
updated=Updated
update_verb=Update
updating=Updating
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/manual_rules/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/manual_rules/index.html.erb
index cc0b4fbfe82..d95585840ad 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/manual_rules/index.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/manual_rules/index.html.erb
@@ -35,7 +35,7 @@
<% if is_admin? %>
<td class="sep"></td>
<td valign="top" align="right" width="210">
- <form action="<%= ApplicationController.root_context -%>/manual_rules/create" method="POST" id="manual-rules-form">
+ <form action="<%= ApplicationController.root_context -%>/manual_rules/create" method="POST">
<table class="admintable" width="100%">
<input type="hidden" name="id" value="<%= @rule.id -%>"/>
<tr>
@@ -57,7 +57,7 @@
</tr>
<tr>
<td class="left" valign="top">
- <input type="submit" value="<%= @rule.id.nil? ? message('create') : message('update') -%>"/>
+ <input type="submit" value="<%= @rule.id.nil? ? message('create') : message('edit') -%>"/>
</td>
</tr>
</table>