From: Mathieu Suen Date: Tue, 3 Oct 2023 08:42:55 +0000 (+0200) Subject: SONAR-20527 Fix environment step in gitlab tutorial X-Git-Tag: 10.3.0.82913~293 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6fca0b30c06a8f58cc0c1f880afb00c52a2dbb97;p=sonarqube.git SONAR-20527 Fix environment step in gitlab tutorial --- diff --git a/server/sonar-web/src/main/js/components/tutorials/gitlabci/EnvironmentVariablesStep.tsx b/server/sonar-web/src/main/js/components/tutorials/gitlabci/EnvironmentVariablesStep.tsx index a21adb9259f..ad60086f9cd 100644 --- a/server/sonar-web/src/main/js/components/tutorials/gitlabci/EnvironmentVariablesStep.tsx +++ b/server/sonar-web/src/main/js/components/tutorials/gitlabci/EnvironmentVariablesStep.tsx @@ -68,17 +68,12 @@ export default function EnvironmentVariablesStep(props: EnvironmentVariablesStep ), - field: ( - - {translate('onboarding.tutorial.with.gitlab_ci.variables.step1')} - - ), + value: , }} /> @@ -143,11 +138,6 @@ export default function EnvironmentVariablesStep(props: EnvironmentVariablesStep className="sw-ml-1 sw-align-sub" /> ), - field: ( - - {translate('onboarding.tutorial.with.gitlab_ci.variables.step1')} - - ), value: , }} /> 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 cc85b2a30a4..168e14a5dbd 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -4329,7 +4329,7 @@ onboarding.tutorial.with.gitlab_ci.variables.description.link=Settings > CI/CD > onboarding.tutorial.with.gitlab_ci.variables.section.title=Define the SonarQube Token environment variable. onboarding.tutorial.with.gitlab_ci.variables.section.description=In GitLab, go to {link} to add the following variable and make sure it is available for your project: onboarding.tutorial.with.gitlab_ci.variables.edit.token.tooltip=Use an existing token or generate a new one. -onboarding.tutorial.with.gitlab_ci.variables.step1=Key +onboarding.tutorial.with.gitlab_ci.variables.step1=Key {value} {extra} onboarding.tutorial.with.gitlab_ci.variables.step3=Uncheck the {value} checkbox. onboarding.tutorial.with.gitlab_ci.variables.step3.value=Protect Variable