aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2020-05-11 15:14:53 +0200
committersonartech <sonartech@sonarsource.com>2020-05-15 20:03:42 +0000
commitd811642a8b2381efe43fbc15da10e7774f5c2786 (patch)
tree459e8c6a67a11af70310a2f6f0f749bc2bce9cec /sonar-core
parenta35ac1737bdb8a78e96c614372841102e4e0fc36 (diff)
downloadsonarqube-d811642a8b2381efe43fbc15da10e7774f5c2786.tar.gz
sonarqube-d811642a8b2381efe43fbc15da10e7774f5c2786.zip
SONAR-12884 Improve the validation messages when creating a project
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/resources/org/sonar/l10n/core.properties10
1 files changed, 7 insertions, 3 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
index 197dd5b2431..a7acab3b9f6 100644
--- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties
+++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
@@ -3077,12 +3077,16 @@ onboarding.project_analysis.guide_to_integrate_pipelines=follow the guide to int
onboarding.create_project.setup_manually=Create manually
onboarding.create_project.project_key=Project key
-onboarding.create_project.project_key.description=Up to 400 characters. All letters, digits, dash, underscore, period or colon.
-onboarding.create_project.project_key.error=The provided value doesn't match the expected format.
+onboarding.create_project.project_key.description=Up to 400 characters. Allowed characters are alphanumeric, '-' (dash), '_' (underscore), '.' (period) and ':' (colon), with at least one non-digit.
+onboarding.create_project.project_key.error.empty=You must provide at least one character.
+onboarding.create_project.project_key.error.too_long=The provided key is too long.
+onboarding.create_project.project_key.error.invalid_char=The provided key contains invalid characters.
+onboarding.create_project.project_key.error.only_digits=The provided key contains only digits.
onboarding.create_project.project_key.help=Your project key is a unique identifier for your project. If you are using Maven, make sure the key matches the "groupId:artifactId" format.
onboarding.create_project.project_key.taken=This project key is already taken.
onboarding.create_project.display_name=Display name
-onboarding.create_project.display_name.error=The display name is required.
+onboarding.create_project.display_name.error.empty=The display name is required.
+onboarding.create_project.display_name.error.too_long=The display name is too long.
onboarding.create_project.display_name.description=Up to 255 characters
onboarding.create_project.display_name.help=Some scanners might override the value you provide.
onboarding.create_project.repository_imported=Already set up