aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/sonar-web/src/main/js/apps/quality-gates/components/Conditions.tsx5
-rw-r--r--sonar-core/src/main/resources/org/sonar/l10n/core.properties6
2 files changed, 7 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-gates/components/Conditions.tsx b/server/sonar-web/src/main/js/apps/quality-gates/components/Conditions.tsx
index cbf71aa585a..927e254f30d 100644
--- a/server/sonar-web/src/main/js/apps/quality-gates/components/Conditions.tsx
+++ b/server/sonar-web/src/main/js/apps/quality-gates/components/Conditions.tsx
@@ -136,7 +136,10 @@ export default function Conditions({ qualityGate, isFetching }: Readonly<Props>)
id="quality_gates.ai_generated.description"
values={{
link: (
- <DocumentationLink shouldOpenInNewTab to={DocLink.AiCodeAssurance}>
+ <DocumentationLink
+ shouldOpenInNewTab
+ to={DocLink.AiCodeAssuranceQualifyQualityGate}
+ >
{translate('quality_gates.ai_generated.description.clean_ai_generated_code')}
</DocumentationLink>
),
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 abb2e71ca56..b77a4af2c36 100644
--- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties
+++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
@@ -2613,8 +2613,8 @@ quality_gates.mode_banner.description=This instance is currently in the {link}.
quality_gates.mode_banner.button=Review and update metrics
quality_gates.actions.disqualify_for_ai_code_assurance=Disqualify for AI Code Assurance
quality_gates.actions.qualify_for_ai_code_assurance=Qualify for AI Code Assurance
-quality_gates.disqualify_ai_modal.title=Disqualify this quality gate and disable AI Code Assurance on {count} projects?
-quality_gates.disqualify_ai_modal.content.line1={count} {count, plural, one {project} other {projects}} use this quality gate to benefit from AI Code Assurance. If you disqualify it, these projects will lose their AI Code Assurance.
+quality_gates.disqualify_ai_modal.title=Disqualify this quality gate and disable AI Code Assurance on {count} {count, plural, one {project} other {projects}}?
+quality_gates.disqualify_ai_modal.content.line1={count} {count, plural, one {project uses} other {projects use}} this quality gate to benefit from AI Code Assurance. If you disqualify it, {count, plural, one {this project} other {these projects}} will lose {count, plural, one {its} other {their}} AI Code Assurance.
quality_gates.disqualify_ai_modal.content.line2=Do you want to continue?
quality_gates.disqualify_ai_modal.confirm=Disqualify for AI Code Assurance
@@ -2623,7 +2623,7 @@ quality_gates.disqualify_ai_modal.confirm=Disqualify for AI Code Assurance
#------------------------------------------------------------------------------
#
# RULES DOCUMENTATION PAGE
-#
+#
#------------------------------------------------------------------------------
rules.parameters=Parameters
rules.status.beta=Beta