aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/controllers/metrics_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/metrics_controller.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/metrics_controller.rb
index 3622e6a4955..6a08553dae1 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/metrics_controller.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/metrics_controller.rb
@@ -111,7 +111,7 @@ class MetricsController < ApplicationController
# If the key (name in db) is invalid, override error message to not display 'Key is invalid' but 'Name is invalid'
if metric.errors[:name]
metric.errors.clear
- metric.errors.add_to_base('Name is invalid. Only alphabetic and space characters are allowed.')
+ metric.errors.add_to_base('Name is invalid. Only alphanumerical characters and space characters are allowed.')
end
@errors << metric.errors.full_messages.join("<br/>\n")