diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-08-04 17:59:56 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-08-04 17:59:56 +0200 |
commit | 0a574624e036dcca6c8bdeefca9cb4c4da64bb88 (patch) | |
tree | 428cd73f33a2661867dd87416a297f86d160467c /server/sonar-web | |
parent | c92b77545623cb7dda7285d2cfadd90bd21fdc0f (diff) | |
download | sonarqube-0a574624e036dcca6c8bdeefca9cb4c4da64bb88.tar.gz sonarqube-0a574624e036dcca6c8bdeefca9cb4c4da64bb88.zip |
SONAR-4627 Fix message to display
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/app/controllers/metrics_controller.rb | 2 |
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") |