aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src
diff options
context:
space:
mode:
authorAndrey Luiz <andrey.luiz@sonarsource.com>2023-06-09 15:58:56 +0200
committersonartech <sonartech@sonarsource.com>2023-06-14 09:51:06 +0000
commit200ef3a99587a0679748e14d8889e61ebc1ef3d1 (patch)
treec06c092756225312e0c19c420bf7fee298936775 /sonar-core/src
parent451a379605676df360745519038b5ae2770a00ea (diff)
downloadsonarqube-200ef3a99587a0679748e14d8889e61ebc1ef3d1.tar.gz
sonarqube-200ef3a99587a0679748e14d8889e61ebc1ef3d1.zip
SONAR-19453 New code definition is made part of the manual project creation (#8486)
Diffstat (limited to 'sonar-core/src')
-rw-r--r--sonar-core/src/main/resources/org/sonar/l10n/core.properties46
1 files changed, 38 insertions, 8 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 f90095377ee..7bcc51b0e61 100644
--- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties
+++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
@@ -136,6 +136,7 @@ name=Name
navigation=Navigation
never=Never
new=New
+next=Next
new_name=New name
next_=next
none=None
@@ -645,13 +646,6 @@ project_baseline.compliance.warning.explanation=Please ask an administrator to u
project_baseline.compliance.warning.explanation.admin=Please update the global new code definition under {link} before switching back to it.
project_baseline.warning.explanation.action.admin.link=General Settings > New Code
-baseline.previous_version=Previous version
-baseline.previous_version.usecase=Recommended for projects following regular versions or releases.
-baseline.previous_version.description=Any code that has changed since the previous version is considered new code.
-baseline.number_days=Number of days
-baseline.number_days.usecase=Recommended for projects following continuous delivery.
-baseline.number_days.description=Any code that has changed in the last x days is considered new code. If no action is taken on a new issue after x days, this issue will become part of the overall code.
-baseline.number_days.invalid=Please provide a whole number between {0} and {1}
baseline.number_days.compliance_warning.title=Your new code definition is not compliant with the Clean as You Code methodology
baseline.number_days.compliance_warning.content.global=We recommend that you update this new code definition so that new projects and existing projects that do not use a specific New Code definition benefit from the Clean as You Code methodology by default.
baseline.number_days.compliance_warning.content.project=We recommend that you update this new code definition so that your project benefits from the Clean as You Code methodology.
@@ -669,7 +663,6 @@ baseline.reference_branch.description=Choose a branch as the baseline for the ne
baseline.reference_branch.usecase=Recommended for projects using feature branches.
baseline.reference_branch.description2=The branch you select as the reference branch will need its own new code definition to prevent it from using itself as a reference.
-baseline.specify_days=Specify a number of days
baseline.last_analysis_before=Last analysis before
baseline.next_analysis_notice=Changes will take effect after the next analysis
@@ -3753,6 +3746,35 @@ footer.web_api=Web API
#------------------------------------------------------------------------------
#
+# NEW CODE DEFINITION
+#
+#------------------------------------------------------------------------------
+new_code_definition.question=What should be the baseline for new code for this project?
+new_code_definition.global_setting=Use the global setting
+new_code_definition.specific_setting=Define a specific setting for this project
+
+new_code_definition.compliance.warning.title.global=Your global new code definition is not compliant with the Clean as You Code methodology
+new_code_definition.compliance.warning.explanation=Please ask an administrator to update the global new code definition before switching back to it.
+new_code_definition.compliance.warning.explanation.admin=Please update the global new code definition under {link} before switching back to it.
+new_code_definition.compliance.warning.explanation.action.admin.link=General Settings > New Code
+
+new_code_definition.previous_version=Previous version
+new_code_definition.previous_version.usecase=Recommended for projects following regular versions or releases.
+new_code_definition.previous_version.description=Any code that has changed since the previous version is considered new code.
+
+new_code_definition.number_days=Number of days
+new_code_definition.number_days.specify_days=Specify a number of days
+new_code_definition.number_days.usecase=Recommended for projects following continuous delivery.
+new_code_definition.number_days.description=Any code that has changed in the last x days is considered new code. If no action is taken on a new issue after x days, this issue will become part of the overall code.
+new_code_definition.number_days.invalid=Please provide a whole number between {0} and {1}
+
+new_code_definition.reference_branch=Reference branch
+new_code_definition.reference_branch.description=Choose a branch as the baseline for the new code.
+new_code_definition.reference_branch.usecase=Recommended for projects using feature branches.
+new_code_definition.reference_branch.notice=The main branch will be set as the reference branch when the project is created. You will be able to choose another branch as the reference branch when your project will have more branches.
+
+#------------------------------------------------------------------------------
+#
# ONBOARDING
#
#------------------------------------------------------------------------------
@@ -3890,6 +3912,14 @@ onboarding.create_project.gitlab.title=Gitlab project onboarding
onboarding.create_project.gitlab.no_projects=No projects could be fetched from Gitlab. Contact your system administrator, or {link}.
onboarding.create_project.gitlab.link=See on GitLab
+onboarding.create_project.new_code_definition.title=Set up project for Clean as You Code
+onboarding.create_project.new_code_definition=New Code
+onboarding.create_project.new_code_definition.description=The new code definition sets which part of your code will be considered new code.
+onboarding.create_project.new_code_definition.description1=This helps you focus attention on the most recent changes to your project, enabling you to follow the Clean as You Code methodology.
+onboarding.create_project.new_code_definition.description2=Learn more: {link}
+onboarding.create_project.new_code_definition.description2.link=Defining New Code
+onboarding.create_project.new_code_definition.create_project=Create project
+
onboarding.create_project.new_code_option.warning.title=Your global new code definition is not compliant with the Clean as You Code methodology
onboarding.create_project.new_code_option.warning.explanation=New projects use the global new code definition by default. {action} so that new projects benefit from the Clean as You Code methodology by default.
onboarding.create_project.new_code_option.warning.explanation.action=We recommend that you ask an administrator of this SonarQube instance to update the global new code definition