]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-22931 improve wording and spacing
authorguillaume-peoch-sonarsource <guillaume.peoch@sonarsource.com>
Tue, 10 Sep 2024 08:59:51 +0000 (10:59 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 11 Sep 2024 20:03:48 +0000 (20:03 +0000)
server/sonar-web/src/main/js/components/common/UserPasswordInput.tsx
sonar-core/src/main/resources/org/sonar/l10n/core.properties

index 25fe0037d02d05a2a0d7f2699458052fa8b0dbe4..0183c4bffb23b59fd39ebdcf2b6e1b634a23a3fe 100644 (file)
@@ -161,12 +161,12 @@ function Condition({ condition, label }: Readonly<{ condition: boolean; label: s
     <li className="sw-mb-1">
       {condition ? (
         <SuccessLabel>
-          <IconCheck />
+          <IconCheck className="sw-mr-1" />
           {label}
         </SuccessLabel>
       ) : (
         <LightLabel>
-          <IconX />
+          <IconX className="sw-mr-1" />
           {label}
         </LightLabel>
       )}
index 3977ed8227a1fc1f03cd22f28010e56a248f1386..ce345ecd8f4b596871d9da822e999caa0d79c511 100644 (file)
@@ -2801,11 +2801,11 @@ alert.dismiss=Dismiss this message
 #------------------------------------------------------------------------------
 user.password_doesnt_match_confirmation=Password doesn't match confirmation.
 user.password.conditions=Your password must include at least:
-user.password.condition.12_characters=At least 12 characters
-user.password.condition.1_upper_case=At least one uppercase letter
-user.password.condition.1_lower_case=At least one lowercase letter
-user.password.condition.1_number=At least one digit
-user.password.condition.1_special_character=At least one special character
+user.password.condition.12_characters=12 characters
+user.password.condition.1_upper_case=1 upper case letter
+user.password.condition.1_lower_case=1 lower case letter
+user.password.condition.1_number=1 number
+user.password.condition.1_special_character=1 special character
 user.password.invalid=Your password must meet all the requirements.
 user.password.do_not_match=Passwords do not match.
 user.old_password_incorrect=Old password is incorrect