Partage via


ID de chaînes de localisation

Notes

Dans Active Directory B2C, les stratégies personnalisées sont principalement conçues pour gérer des scénarios complexes. Pour la plupart des scénarios, nous vous recommandons de recourir à des flux d’utilisateurs intégrés. Si vous ne l’avez pas fait, découvrez le Pack de démarrage de stratégie personnalisée dans Prise en main des stratégies personnalisées dans Active Directory B2C.

L’élément Localization vous permet de prendre en charge plusieurs paramètres régionaux ou langues dans la stratégie pour les parcours utilisateur. Cet article fournit la liste des ID de localisation que vous pouvez utiliser dans votre stratégie. Pour plus d’informations sur la localisation de l’IU, consultez Localisation.

Éléments de page de connexion ou d’inscription

Les ID suivants sont utilisés pour une définition de contenu avec un ID de api.signuporsignin, et un profil technique autodéclaré.

id Valeur par défaut Version de mise en page
forgotpassword_link Vous avez oublié votre mot de passe ? All
createaccount_intro Vous n’avez pas de compte ? All
button_signin Se connecter All
social_intro Connectez-vous avec votre compte social All
remember_me Maintenir la connexion. All
unknown_error Nous avons du mal à vous connecter. Veuillez réessayer plus tard. All
divider_title OR All
local_intro_email Connectez-vous avec votre compte existant < 2.0.0
logonIdentifier_email Adresse de messagerie < 2.0.0
requiredField_email Entrez votre adresse e-mail < 2.0.0
invalid_email Entrez une adresse e-mail valide < 2.0.0
email_pattern ^[a-zA-Z0-9.!#$%&'*+\/=?^_`\{\|\}~\-]+@[a-zA-Z0-9\-]+(?:\\.[a-zA-Z0-9\-]+)\*$ < 2.0.0
local_intro_username Connectez-vous avec votre nom d'utilisateur < 2.0.0
logonIdentifier_username Nom d’utilisateur < 2.0.0
requiredField_username Entrez votre nom d'utilisateur < 2.0.0
password Mot de passe < 2.0.0
requiredField_password Entrez votre mot de passe < 2.0.0
createaccount_link ici < 2.0.0
cancel_message L'utilisateur a oublié son mot de passe < 2.0.0
invalid_password Le mot de passe que vous avez entré n’est pas au format attendu. < 2.0.0
createaccount_one_link ici >= 2.0.0
createaccount_two_links Inscription avec {0} ou {1} >= 2.0.0
createaccount_three_links Inscription avec {0}, {1} ou {2} >= 2.0.0
local_intro_generic Connectez-vous avec votre {0} >= 2.1.0
requiredField_generic Veuillez entrer votre {0} >= 2.1.0
invalid_generic Entrez une valeur {0} valide >= 2.1.1
heading Se connecter >= 2.1.1

Notes

  • Les espaces réservés tels que {0} sont renseignés automatiquement avec la valeur DisplayName de ClaimType.
  • Pour savoir comment localiser ClaimType, consultez Exemple d’inscription ou de connexion.

L’exemple suivant montre l’utilisation de certains éléments d’interface utilisateur dans la page d’inscription ou de connexion :

Screenshot that shows sign-up or sign-in page U X elements.

Fournisseurs d’identité d’inscription ou de connexion

L’ID des fournisseurs d’identité est configuré dans l’élément ClaimsExchange du parcours utilisateur. Pour localiser le titre du fournisseur d’identité, ClaimsProvider est affecté comme valeur d’ElementType, tandis que l’ID de ClaimsExchange est affecté comme valeur de StringId.

<OrchestrationStep Order="2" Type="ClaimsExchange">
  <Preconditions>
    <Precondition Type="ClaimsExist" ExecuteActionsIf="true">
      <Value>objectId</Value>
      <Action>SkipThisOrchestrationStep</Action>
    </Precondition>
  </Preconditions>
  <ClaimsExchanges>
    <ClaimsExchange Id="FacebookExchange" TechnicalProfileReferenceId="Facebook-OAUTH" />
    <ClaimsExchange Id="MicrosoftExchange" TechnicalProfileReferenceId="MSA-OIDC" />
    <ClaimsExchange Id="GoogleExchange" TechnicalProfileReferenceId="Google-OAUTH" />
    <ClaimsExchange Id="SignUpWithLogonEmailExchange" TechnicalProfileReferenceId="LocalAccount" />
  </ClaimsExchanges>
</OrchestrationStep>

L’exemple suivant localise le fournisseur d’identité Facebook pour l’arabe :

<LocalizedString ElementType="ClaimsProvider" StringId="FacebookExchange">فيس بوك</LocalizedString>

Messages d’erreur d’inscription ou de connexion

id Valeur par défaut
UserMessageIfInvalidPassword Votre mot de passe est incorrect.
UserMessageIfPasswordExpired Votre mot de passe a expiré.
UserMessageIfClaimsPrincipalDoesNotExist Nous ne trouvons pas votre compte.
UserMessageIfOldPasswordUsed Apparemment, vous utilisez un ancien mot de passe.
DefaultMessage Nom d’utilisateur ou mot de passe non valide.
UserMessageIfUserAccountDisabled Votre compte a été verrouillé. Contactez votre support technique pour le déverrouiller, puis réessayez.
UserMessageIfUserAccountLocked Votre compte est temporairement verrouillé pour éviter toute utilisation non autorisée. Réessayez plus tard.
AADRequestsThrottled Il y a trop de demandes pour l’instant. Veuillez patienter quelques instants, puis réessayez.

Exemple d’inscription ou de connexion

<LocalizedResources Id="api.signuporsignin.en">
  <LocalizedStrings>
    <LocalizedString ElementType="ClaimType" ElementId="email" StringId="DisplayName">Email Address</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="heading">Sign in</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="social_intro">Sign in with your social account</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="local_intro_generic">Sign in with your {0}</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="requiredField_password">Please enter your password</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="requiredField_generic">Please enter your {0}</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="invalid_generic">Please enter a valid {0}</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="createaccount_one_link">Sign up now</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="createaccount_two_links">Sign up with {0} or {1}</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="createaccount_three_links">Sign up with {0}, {1}, or {2}</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="forgotpassword_link">Forgot your password?</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="button_signin">Sign in</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="divider_title">OR</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="unknown_error">We are having trouble signing you in. Please try again later.</LocalizedString>
    <!-- Uncomment the remember_me only if the keep me signed in is activated. 
    <LocalizedString ElementType="UxElement" StringId="remember_me">Keep me signed in</LocalizedString> -->
    <LocalizedString ElementType="ClaimsProvider" StringId="FacebookExchange">Facebook</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfInvalidPassword">Your password is incorrect.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfPasswordExpired">Your password has expired.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfClaimsPrincipalDoesNotExist">We can't seem to find your account.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfOldPasswordUsed">Looks like you used an old password.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="DefaultMessage">Invalid username or password.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfUserAccountDisabled">Your account has been locked. Contact your support person to unlock it, then try again.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfUserAccountLocked">Your account is temporarily locked to prevent unauthorized use. Try again later.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="AADRequestsThrottled">There are too many requests at this moment. Please wait for some time and try again.</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

Éléments d’interface utilisateur des pages d’inscription et autodéclarées

Les ID suivants sont utilisés pour une définition de contenu ayant l’ID api.localaccountsignup ou pour toute définition de contenu commençant par api.selfasserted, par exemple api.selfasserted.profileupdate et api.localaccountpasswordreset, et un profil technique autodéclaré.

id Valeur par défaut
ver_sent Le code de vérification a été envoyé à :
ver_but_default Default
cancel_message L'utilisateur a annulé la saisie d'informations auto-confirmées
preloader_alt Veuillez patienter
ver_but_send Envoyer le code de vérification
alert_yes Oui
error_fieldIncorrect Un ou plusieurs champs sont incorrectement renseignés. Vérifiez vos entrées et réessayez.
year Year
verifying_blurb Veuillez patienter pendant que nous traitons vos informations.
button_cancel Annuler
ver_fail_no_retry Vous avez effectué trop de tentatives incorrectes. Veuillez réessayer plus tard.
month Month
ver_success_msg Adresse e-mail vérifiée. Vous pouvez maintenant continuer.
months Janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre
ver_fail_server Nous avons des difficultés à vérifier votre adresse e-mail. Entrez une adresse e-mail valide et réessayez.
error_requiredFieldMissing Un champ obligatoire est manquant. Veuillez remplir tous les champs obligatoires, puis réessayez.
heading User Details
initial_intro Fournissez les détails suivants.
ver_but_resend Envoyer le nouveau code
button_continue Créer
error_passwordEntryMismatch Les champs d’entrée de mot de passe ne correspondent pas. Entrez le même mot de passe dans les deux champs et réessayez.
ver_incorrect_format Format incorrect.
ver_but_edit Modifier l'adresse e-mail
ver_but_verify Vérifier le code
alert_no Non
ver_info_msg Le code de vérification a été envoyé à votre boîte de réception. Veuillez le copier dans la zone d’entrée ci-dessous.
day Jour
ver_fail_throttled Il y a eu trop de demandes pour vérifier cette adresse e-mail. Veuillez patienter quelques instants, puis réessayez.
helplink_text De quoi s’agit-il ?
ver_fail_retry Ce code est incorrect. Réessayez.
alert_title Annuler la saisie de vos informations
required_field Ces informations sont obligatoires.
alert_message Voulez-vous vraiment annuler la saisie de vos informations ?
ver_intro_msg La vérification est nécessaire. Cliquez sur le bouton Envoyer.
ver_input Code de vérification
required_field_descriptive {0} est obligatoire.

Les ID de chaîne suivants UxElement affichent les liens d’exclusion de responsabilité en bas de la page autodéclarée. Ces liens ne sont pas affichés par défaut, sauf indication dans les chaînes localisées.

id Valeur d'exemple
disclaimer_msg_intro En fournissant votre numéro de téléphone, vous acceptez de recevoir un code secret à usage unique envoyé par SMS pour vous aider à vous connecter à {insérez le nom de votre application}. Des frais standard de messagerie et de données peuvent s’appliquer.
disclaimer_link_1_text Déclaration de confidentialité
disclaimer_link_1_url {insérez votre URL de déclaration de confidentialité}
disclaimer_link_2_text Conditions générales
disclaimer_link_2_url {insérez votre URL de conditions générales}

Messages d’erreur des pages d’inscription et autodéclarées

id Valeur par défaut
UserMessageIfClaimsPrincipalAlreadyExists Un utilisateur avec l’ID spécifié existe déjà. Choisissez-en un autre.
UserMessageIfClaimNotVerified Revendication non vérifiée : {0}
UserMessageIfIncorrectPattern Modèle incorrect pour : {0}
UserMessageIfMissingRequiredElement Élément requis manquant : {0}
UserMessageIfValidationError Erreur lors de la validation par : {0}
UserMessageIfInvalidInput {0} a une entrée non valide.
ServiceThrottled Il y a trop de demandes pour l’instant. Veuillez patienter quelques instants, puis réessayez.

L’exemple suivant illustre l’utilisation de certains des éléments d’interface utilisateur dans la page d’inscription :

Sign-up page with its UI element names labeled

L’exemple suivant montre l’utilisation de certains éléments de l’interface utilisateur dans la page d’inscription, une fois que l’utilisateur a sélectionné le bouton Envoyer le code de vérification :

Sign-up page email verification UX elements

Exemple de pages d’inscription et autodéclarées

<LocalizedResources Id="api.localaccountsignup.en">
  <LocalizedStrings>
    <LocalizedString ElementType="ClaimType" ElementId="email" StringId="DisplayName">Email Address</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="email" StringId="UserHelpText">Email address that can be used to contact you.</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="email" StringId="PatternHelpText">Please enter a valid email address.</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="newPassword" StringId="DisplayName">New Password</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="newPassword" StringId="UserHelpText">Enter new password</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="newPassword" StringId="PatternHelpText">8-16 characters, containing 3 out of 4 of the following: Lowercase characters, uppercase characters, digits (0-9), and one or more of the following symbols: @ # $ % ^ &amp; * - _ + = [ ] { } | \ : ' , ? / ` ~ " ( ) ; .</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="reenterPassword" StringId="DisplayName">Confirm New Password</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="reenterPassword" StringId="UserHelpText">Confirm new password</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="reenterPassword" StringId="PatternHelpText">#8-16 characters, containing 3 out of 4 of the following: Lowercase characters, uppercase characters, digits (0-9), and one or more of the following symbols: @ # $ % ^ &amp; * - _ + = [ ] { } | \ : ' , ? / ` ~ " ( ) ; .</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="displayName" StringId="DisplayName">Display Name</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="displayName" StringId="UserHelpText">Your display name.</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="surname" StringId="DisplayName">Surname</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="surname" StringId="UserHelpText">Your surname (also known as family name or last name).</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="givenName" StringId="DisplayName">Given Name</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="givenName" StringId="UserHelpText">Your given name (also known as first name).</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="button_continue">Create</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_fieldIncorrect">One or more fields are filled out incorrectly. Please check your entries and try again.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_passwordEntryMismatch">The password entry fields do not match. Please enter the same password in both fields and try again.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_requiredFieldMissing">A required field is missing. Please fill out all required fields and try again.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="helplink_text">What is this?</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="heading">User Details</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="initial_intro">Please provide the following details.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="preloader_alt">Please wait</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="required_field">This information is required.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="required_field_descriptive">{0} is required</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_but_edit">Change e-mail</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_but_resend">Send new code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_but_send">Send verification code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_but_verify">Verify code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_fail_code_expired">That code is expired. Please request a new code.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_fail_no_retry">You've made too many incorrect attempts. Please try again later.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_fail_retry">That code is incorrect. Please try again.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_fail_server">We are having trouble verifying your email address. Please enter a valid email address and try again.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_fail_throttled">There have been too many requests to verify this email address. Please wait a while, then try again.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_info_msg">Verification code has been sent to your inbox. Please copy it to the input box below.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_input">Verification code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_intro_msg">Verification is necessary. Please click Send button.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="ver_success_msg">E-mail address verified. You can now continue.</LocalizedString>
    <!-- The following elements will display a message and two links at the bottom of the page. 
         For policies that you intend to show to users in the United States, we suggest displaying the following text. Replace the content of the disclaimer_link_X_url elements with links to your organization's privacy statement and terms and conditions. 
          Uncomment any of these lines to display them.  -->
    <!-- <LocalizedString ElementType="UxElement" StringId="disclaimer_msg_intro">By providing your phone number, you consent to receiving a one-time passcode sent by text message to help you sign into {insert your application name}. Standard message and data rates may apply.</LocalizedString> -->
    <!-- <LocalizedString ElementType="UxElement" StringId="disclaimer_link_1_text">Privacy Statement</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="disclaimer_link_1_url">{insert your privacy statement URL}</LocalizedString> -->
    <!-- <LocalizedString ElementType="UxElement" StringId="disclaimer_link_2_text">Terms and Conditions</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="disclaimer_link_2_url">{insert your terms and conditions URL}</LocalizedString> -->
    <LocalizedString ElementType="ErrorMessage" StringId="ServiceThrottled">There are too many requests at this moment. Please wait for some time and try again.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfClaimNotVerified">Claim not verified: {0}</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfClaimsPrincipalAlreadyExists">A user with the specified ID already exists. Please choose a different one.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfIncorrectPattern">Incorrect pattern for: {0}</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfInvalidInput">{0} has invalid input.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfMissingRequiredElement">Missing required element: {0}</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfValidationError">Error in validation by: {0}</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

Éléments d’interface utilisateur de la page d’authentification (facteur de forme de téléphone)

Voici les ID pour une définition de contenu avec un ID api.phonefactor et un profil technique de facteur de forme de téléphone.

id Valeur par défaut Version de mise en page
button_verify M’appeler All
country_code_label Indicatif de pays All
cancel_message L’utilisateur a annulé l’authentification multifacteur All
text_button_send_second_code envoyer un nouveau code All
code_pattern \d{6} All
intro_mixed Nous avons le numéro suivant en mémoire pour vous. Nous pouvons envoyer un code par SMS ou nous pouvons appeler pour vous authentifier. All
intro_mixed_p Nous avons les numéros suivants en mémoire pour vous. Choisissez un numéro que nous pouvons appeler ou auquel envoyer un code par SMS afin de vous authentifier. All
button_verify_code Vérifier le code All
requiredField_code Entrez le code de vérification que vous avez reçu All
invalid_code Entrez le code à 6 chiffres que vous avez reçu All
button_cancel Annuler All
local_number_input_placeholder_text Numéro de téléphone All
button_retry Recommencer All
alternative_text Je n'ai pas mon téléphone All
intro_phone_p Nous avons les numéros suivants en mémoire pour vous. Choisissez un numéro que nous pouvons appeler pour vous authentifier. All
intro_phone Nous avons le numéro suivant en mémoire pour vous. Nous allons appeler afin de vous authentifier. All
enter_code_text_intro Entrez votre code de vérification ci-dessous, ou All
intro_entry_phone Entrez un numéro ci-dessous que nous pouvons appeler pour vous authentifier. All
intro_entry_sms Entrez un numéro ci-dessous auquel nous pouvons envoyer un code par SMS pour vous authentifier. All
button_send_code Envoyer le code All
invalid_number Entrez un numéro de téléphone valide All
intro_sms Nous avons le numéro suivant en mémoire pour vous. Nous enverrons un code par SMS afin de vous authentifier. All
intro_entry_mixed Entrez un numéro ci-dessous auquel nous pouvons envoyer un code par SMS ou que nous pouvons appeler pour vous authentifier. All
number_pattern ^\\+(?:[0-9][\\x20-]?){6,14}[0-9]$ All
intro_sms_p Nous avons les numéros suivants en mémoire pour vous. Choisissez un numéro auquel nous pouvons envoyer un code par SMS afin de vous authentifier. All
requiredField_countryCode Sélectionnez le code de votre pays All
requiredField_number Entrez votre numéro de téléphone All
country_code_input_placeholder_text Pays ou région All
number_label Numéro de téléphone All
error_tryagain Le numéro de téléphone que vous avez fourni est occupé ou non disponible. Veuillez vérifier le numéro et réessayer. All
error_sms_throttled Vous avez atteint la limite du nombre de SMS. Réessayez sous peu. >= 1.2.3
error_phone_throttled Vous avez atteint la limite du nombre de tentatives d’appel. Réessayez sous peu. >= 1.2.3
error_throttled Vous avez atteint la limite du nombre de tentatives de vérification. Réessayez sous peu. >= 1.2.3
error_incorrect_code Le code de vérification que vous avez entré ne correspond pas à nos enregistrements. Réessayez ou demandez un nouveau code. All
countryList Consultez la liste des pays. All
error_448 Le numéro de téléphone que vous avez fourni n'est pas accessible. All
error_449 L'utilisateur a dépassé le nombre de nouvelles tentatives. All
verification_code_input_placeholder_text Code de vérification All

L’exemple suivant illustre l’utilisation de certains des éléments d’interface utilisateur dans la page d’inscription MFA :

Phone factor authentication enrollment UX elements

L’exemple suivant illustre l’utilisation de certains des éléments d’interface utilisateur dans la page de validation MFA :

Phone factor authentication validation UX elements

Exemple de page d’authentification pour facteur de téléphone

<LocalizedResources Id="api.phonefactor.en">
  <LocalizedStrings>
    <LocalizedString ElementType="UxElement" StringId="button_verify">Call Me</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="country_code_label">Country Code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="cancel_message">The user has canceled multi-factor authentication</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="text_button_send_second_code">Send a new code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="code_pattern">\d{6}</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="intro_mixed">We have the following number on record for you. We can send a code via SMS or phone to authenticate you.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="intro_mixed_p">We have the following numbers on record for you. Choose a number that we can phone or send a code via SMS to authenticate you.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="button_verify_code">Verify Code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="requiredField_code">Please enter the verification code you received</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="invalid_code">Please enter the 6-digit code you received</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="button_cancel">Cancel</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="local_number_input_placeholder_text">Phone number</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="button_retry">Retry</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="alternative_text">I don't have my phone</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="intro_phone_p">We have the following numbers on record for you. Choose a number that we can phone to authenticate you.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="intro_phone">We have the following number on record for you. We will phone to authenticate you.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="enter_code_text_intro">Enter your verification code below, or</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="intro_entry_phone">Enter a number below that we can phone to authenticate you.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="intro_entry_sms">Enter a number below that we can send a code via SMS to authenticate you.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="button_send_code">Send Code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="invalid_number">Please enter a valid phone number</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="intro_sms">We have the following number on record for you. We will send a code via SMS to authenticate you.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="intro_entry_mixed">Enter a number below that we can send a code via SMS or phone to authenticate you.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="number_pattern">^\+(?:[0-9][\x20-]?){6,14}[0-9]$</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="intro_sms_p">We have the following numbers on record for you. Choose a number that we can send a code via SMS to authenticate you.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="requiredField_countryCode">Please select your country code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="requiredField_number">Please enter your phone number</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="country_code_input_placeholder_text">Country or region</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="number_label">Phone Number</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_tryagain">The phone number you provided is busy or unavailable. Please check the number and try again.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_sms_throttled">You hit the limit on the number of text messages. Try again shortly.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_phone_throttled">You hit the limit on the number of call attempts. Try again shortly.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_throttled">You hit the limit on the number of verification attempts. Try again shortly.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_incorrect_code">The verification code you have entered does not match our records. Please try again, or request a new code.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="countryList">{"DEFAULT":"Country/Region","AF":"Afghanistan","AX":"Åland Islands","AL":"Albania","DZ":"Algeria","AS":"American Samoa","AD":"Andorra","AO":"Angola","AI":"Anguilla","AQ":"Antarctica","AG":"Antigua and Barbuda","AR":"Argentina","AM":"Armenia","AW":"Aruba","AU":"Australia","AT":"Austria","AZ":"Azerbaijan","BS":"Bahamas","BH":"Bahrain","BD":"Bangladesh","BB":"Barbados","BY":"Belarus","BE":"Belgium","BZ":"Belize","BJ":"Benin","BM":"Bermuda","BT":"Bhutan","BO":"Bolivia","BQ":"Bonaire","BA":"Bosnia and Herzegovina","BW":"Botswana","BV":"Bouvet Island","BR":"Brazil","IO":"British Indian Ocean Territory","VG":"British Virgin Islands","BN":"Brunei","BG":"Bulgaria","BF":"Burkina Faso","BI":"Burundi","CV":"Cabo Verde","KH":"Cambodia","CM":"Cameroon","CA":"Canada","KY":"Cayman Islands","CF":"Central African Republic","TD":"Chad","CL":"Chile","CN":"China","CX":"Christmas Island","CC":"Cocos (Keeling) Islands","CO":"Colombia","KM":"Comoros","CG":"Congo","CD":"Congo (DRC)","CK":"Cook Islands","CR":"Costa Rica","CI":"Côte d'Ivoire","HR":"Croatia","CU":"Cuba","CW":"Curaçao","CY":"Cyprus","CZ":"Czech Republic","DK":"Denmark","DJ":"Djibouti","DM":"Dominica","DO":"Dominican Republic","EC":"Ecuador","EG":"Egypt","SV":"El Salvador","GQ":"Equatorial Guinea","ER":"Eritrea","EE":"Estonia","ET":"Ethiopia","FK":"Falkland Islands","FO":"Faroe Islands","FJ":"Fiji","FI":"Finland","FR":"France","GF":"French Guiana","PF":"French Polynesia","TF":"French Southern Territories","GA":"Gabon","GM":"Gambia","GE":"Georgia","DE":"Germany","GH":"Ghana","GI":"Gibraltar","GR":"Greece","GL":"Greenland","GD":"Grenada","GP":"Guadeloupe","GU":"Guam","GT":"Guatemala","GG":"Guernsey","GN":"Guinea","GW":"Guinea-Bissau","GY":"Guyana","HT":"Haiti","HM":"Heard Island and McDonald Islands","HN":"Honduras","HK":"Hong Kong SAR","HU":"Hungary","IS":"Iceland","IN":"India","ID":"Indonesia","IR":"Iran","IQ":"Iraq","IE":"Ireland","IM":"Isle of Man","IL":"Israel","IT":"Italy","JM":"Jamaica","JP":"Japan","JE":"Jersey","JO":"Jordan","KZ":"Kazakhstan","KE":"Kenya","KI":"Kiribati","KR":"Korea","KW":"Kuwait","KG":"Kyrgyzstan","LA":"Laos","LV":"Latvia","LB":"Lebanon","LS":"Lesotho","LR":"Liberia","LY":"Libya","LI":"Liechtenstein","LT":"Lithuania","LU":"Luxembourg","MO":"Macao SAR","MK":"North Macedonia","MG":"Madagascar","MW":"Malawi","MY":"Malaysia","MV":"Maldives","ML":"Mali","MT":"Malta","MH":"Marshall Islands","MQ":"Martinique","MR":"Mauritania","MU":"Mauritius","YT":"Mayotte","MX":"Mexico","FM":"Micronesia","MD":"Moldova","MC":"Monaco","MN":"Mongolia","ME":"Montenegro","MS":"Montserrat","MA":"Morocco","MZ":"Mozambique","MM":"Myanmar","NA":"Namibia","NR":"Nauru","NP":"Nepal","NL":"Netherlands","NC":"New Caledonia","NZ":"New Zealand","NI":"Nicaragua","NE":"Niger","NG":"Nigeria","NU":"Niue","NF":"Norfolk Island","KP":"North Korea","MP":"Northern Mariana Islands","NO":"Norway","OM":"Oman","PK":"Pakistan","PW":"Palau","PS":"Palestinian Authority","PA":"Panama","PG":"Papua New Guinea","PY":"Paraguay","PE":"Peru","PH":"Philippines","PN":"Pitcairn Islands","PL":"Poland","PT":"Portugal","PR":"Puerto Rico","QA":"Qatar","RE":"Réunion","RO":"Romania","RU":"Russia","RW":"Rwanda","BL":"Saint Barthélemy","KN":"Saint Kitts and Nevis","LC":"Saint Lucia","MF":"Saint Martin","PM":"Saint Pierre and Miquelon","VC":"Saint Vincent and the Grenadines","WS":"Samoa","SM":"San Marino","ST":"São Tomé and Príncipe","SA":"Saudi Arabia","SN":"Senegal","RS":"Serbia","SC":"Seychelles","SL":"Sierra Leone","SG":"Singapore","SX":"Sint Maarten","SK":"Slovakia","SI":"Slovenia","SB":"Solomon Islands","SO":"Somalia","ZA":"South Africa","GS":"South Georgia and South Sandwich Islands","SS":"South Sudan","ES":"Spain","LK":"Sri Lanka","SH":"St Helena, Ascension, Tristan da Cunha","SD":"Sudan","SR":"Suriname","SJ":"Svalbard","SZ":"Swaziland","SE":"Sweden","CH":"Switzerland","SY":"Syria","TW":"Taiwan","TJ":"Tajikistan","TZ":"Tanzania","TH":"Thailand","TL":"Timor-Leste","TG":"Togo","TK":"Tokelau","TO":"Tonga","TT":"Trinidad and Tobago","TN":"Tunisia","TR":"Türkiye","TM":"Turkmenistan","TC":"Turks and Caicos Islands","TV":"Tuvalu","UM":"U.S. Outlying Islands","VI":"U.S. Virgin Islands","UG":"Uganda","UA":"Ukraine","AE":"United Arab Emirates","GB":"United Kingdom","US":"United States","UY":"Uruguay","UZ":"Uzbekistan","VU":"Vanuatu","VA":"Vatican City","VE":"Venezuela","VN":"Vietnam","WF":"Wallis and Futuna","YE":"Yemen","ZM":"Zambia","ZW":"Zimbabwe"}</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_448">The phone number you provided is unreachable.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="error_449">User has exceeded the number of retry attempts.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="verification_code_input_placeholder_text">Verification code</LocalizedString>
    <LocalizedString ElementType="ClaimType" ElementId="strongAuthenticationPhoneNumber" StringId="DisplayName">Phone Number</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

Éléments de l’interface utilisateur du contrôle de l’affichage de vérification

Les ID suivants sont utilisés pour un contrôle d’affichage de vérification avec la version de mise de page 2.1.0 ou une version ultérieure.

id Valeur par défaut
intro_msg1 La vérification est nécessaire. Cliquez sur le bouton Envoyer.
success_send_code_msg Le code de vérification a été envoyé. Veuillez le copier dans la zone d’entrée ci-dessous.
failure_send_code_msg Nous rencontrons des problèmes de la vérification de votre adresse e-mail. Entrez une adresse e-mail valide et réessayez.
success_verify_code_msg Adresse e-mail vérifiée. Vous pouvez maintenant continuer.
failure_verify_code_msg Nous rencontrons des problèmes de la vérification de votre adresse e-mail. Recommencez.
but_send_code Envoyer le code de vérification
but_verify_code Vérifier le code
but_send_new_code Envoyer le nouveau code
but_change_claims Modifier l'adresse e-mail
UserMessageIfVerificationControlClaimsNotVerified2 Les revendications pour le contrôle de vérification n’ont pas été vérifiées.

1 L’élément intro_msg est masqué et ne s’affiche pas sur la page autodéclarée. Pour le rendre visible, utilisez la personnalisation HTML avec des feuilles de style en cascade. Exemple :

.verificationInfoText div{display: block!important}

2 Ce message d’erreur s’affiche à l’utilisateur s’il entre un code de vérification, mais qu’au lieu d’effectuer la vérification en sélectionnant le bouton Vérifier, il sélectionne Continuer.

Exemple de contrôle d’affichage de vérification

<LocalizedResources Id="api.localaccountsignup.en">
  <LocalizedStrings>
   <!-- Display control UI elements-->
    <LocalizedString ElementType="DisplayControl" ElementId="emailVerificationControl" StringId="intro_msg">Verification is necessary. Please click Send button.</LocalizedString>
    <LocalizedString ElementType="DisplayControl" ElementId="emailVerificationControl" StringId="success_send_code_msg">Verification code has been sent to your inbox. Please copy it to the input box below.</LocalizedString>
    <LocalizedString ElementType="DisplayControl" ElementId="emailVerificationControl" StringId="failure_send_code_msg">We are having trouble verifying your email address. Please enter a valid email address and try again.</LocalizedString>
    <LocalizedString ElementType="DisplayControl" ElementId="emailVerificationControl" StringId="success_verify_code_msg">E-mail address verified. You can now continue.</LocalizedString>
    <LocalizedString ElementType="DisplayControl" ElementId="emailVerificationControl" StringId="failure_verify_code_msg">We are having trouble verifying your email address. Please try again.</LocalizedString>
    <LocalizedString ElementType="DisplayControl" ElementId="emailVerificationControl" StringId="but_send_code">Send verification code</LocalizedString>
    <LocalizedString ElementType="DisplayControl" ElementId="emailVerificationControl" StringId="but_verify_code">Verify code</LocalizedString>
    <LocalizedString ElementType="DisplayControl" ElementId="emailVerificationControl" StringId="but_send_new_code">Send new code</LocalizedString>
    <LocalizedString ElementType="DisplayControl" ElementId="emailVerificationControl" StringId="but_change_claims">Change e-mail</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfVerificationControlClaimsNotVerified">The claims for verification control have not been verified.</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

Éléments de l’interface utilisateur du contrôle de l’affichage de vérification (déconseillé)

Les ID suivants sont utilisés pour un contrôle d’affichage de vérification avec la version de mise de page 2.0.0.

id Valeur par défaut
verification_control_but_change_claims Modifier
verification_control_fail_send_code Impossible d’envoyer le code, réessayez plus tard.
verification_control_fail_verify_code Impossible de vérifier le code, réessayez plus tard.
verification_control_but_send_code Envoyer le code
verification_control_but_send_new_code Envoyer le nouveau code
verification_control_but_verify_code Vérifier le code
verification_control_code_sent Le code de vérification a été envoyé. Veuillez le copier dans la zone d’entrée ci-dessous.

Exemple de contrôle d’affichage de vérification (déconseillé)

<LocalizedResources Id="api.localaccountsignup.en">
  <LocalizedStrings>
    <LocalizedString ElementType="UxElement" StringId="verification_control_but_change_claims">Change</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="verification_control_fail_send_code">Failed to send the code, please try again later.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="verification_control_fail_verify_code">Failed to verify the code, please try again later.</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="verification_control_but_send_code">Send Code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="verification_control_but_send_new_code">Send New Code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="verification_control_but_verify_code">Verify Code</LocalizedString>
    <LocalizedString ElementType="UxElement" StringId="verification_control_code_sent">Verification code has been sent. Please copy it to the input box below.</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

Les contrôles MFA TOTP affichent les éléments de l’interface utilisateur de contrôle

Les ID suivants sont utilisés pour un contrôle d’affichage TOTP (mot de passe à usage unique et durée définie) avec la version de mise en page 2.1.9 et les versions ultérieures.

id Valeur par défaut
title_text Téléchargez Microsoft Authenticator à l’aide des liens de téléchargement pour iOS et Android, ou utilisez toute autre application d’authentification de votre choix.
DN Une fois que vous avez téléchargé l’application Authenticator, vous pouvez appliquer l’une des méthodes ci-dessous pour poursuivre l’inscription.
DisplayName Une fois que vous avez téléchargé l’application Authenticator, vous pouvez appliquer l’une des méthodes ci-dessous pour poursuivre l’inscription.
title_text Numériser le code QR
info_msg Vous pouvez télécharger l’application Microsoft Authenticator, ou utiliser toute autre application d’authentification de votre choix.
link_text Analyse impossible ? Essayez ceci
title_text Entrez les détails du compte manuellement.
account_name Nom de compte :
display_prefix Secret
collapse_text Si le problème persiste,
DisplayName Entrez le code de vérification de votre application d’authentification.
DisplayName Entrez votre code.
button_continue Vérification

Exemple de contrôle d’affichage des contrôles MFA TOTP

      <LocalizedResources Id="api.selfasserted.totp.en">
        <LocalizedStrings>
          <LocalizedString ElementType="DisplayControl" ElementId="authenticatorAppIconControl" StringId="title_text">Download the Microsoft Authenticator using the download links for iOS and Android or use any other authenticator app of your choice.</LocalizedString>
          <LocalizedString ElementType="DisplayControl" ElementId="authenticatorAppIconControl" StringId="DN">Once you&#39;ve downloaded the Authenticator app, you can use any of the methods below to continue with enrollment.</LocalizedString>
          <LocalizedString ElementType="ClaimType" ElementId="QrCodeScanInstruction" StringId="DisplayName">Once you've downloaded the Authenticator app, you can use any of the methods below to continue with enrollment.</LocalizedString>
          <LocalizedString ElementType="DisplayControl" ElementId="totpQrCodeControl" StringId="title_text">Scan the QR code</LocalizedString>
          <LocalizedString ElementType="DisplayControl" ElementId="totpQrCodeControl" StringId="info_msg">You can download the Microsoft Authenticator app or use any other authenticator app of your choice.</LocalizedString>
          <LocalizedString ElementType="DisplayControl" ElementId="totpQrCodeControl" StringId="link_text">Can&#39;t scan? Try this</LocalizedString>
          <LocalizedString ElementType="DisplayControl" ElementId="authenticatorInfoControl" StringId="title_text">Enter the account details manually</LocalizedString>
          <LocalizedString ElementType="DisplayControl" ElementId="authenticatorInfoControl" StringId="account_name">Account Name:</LocalizedString>
          <LocalizedString ElementType="DisplayControl" ElementId="authenticatorInfoControl" StringId="display_prefix">Secret</LocalizedString>
          <LocalizedString ElementType="DisplayControl" ElementId="authenticatorInfoControl" StringId="collapse_text">Still having trouble?</LocalizedString>
          <LocalizedString ElementType="ClaimType" ElementId="QrCodeVerifyInstruction" StringId="DisplayName">Enter the verification code from your authenticator app​.</LocalizedString>
          <LocalizedString ElementType="ClaimType" ElementId="otpCode" StringId="DisplayName">Enter your code.</LocalizedString>
          <LocalizedString ElementType="UxElement" StringId="button_continue">Verify</LocalizedString>
        </LocalizedStrings>
      </LocalizedResources>

Messages d’erreur du service Restful

Les ID suivants sont utilisés pour les messages d’erreur liés au profil technique du service Restful :

id Valeur par défaut
DefaultUserMessageIfRequestFailed Échec de l’établissement de la connexion au point de terminaison du service Restful. URL du service Restful : {0}
UserMessageIfCircuitOpen {0}URL du service Restful : {1}
UserMessageIfDnsResolutionFailed Échec de la résolution du nom d’hôte du point de terminaison du service Restful. URL du service Restful : {0}
UserMessageIfRequestTimeout Échec de l’établissement de la connexion au point de terminaison du service Restful dans la limite de délai d'expiration de {0} secondes. URL du service Restful : {1}

Exemple de service Restful

<LocalizedResources Id="api.localaccountsignup.en">
  <LocalizedStrings>
    <LocalizedString ElementType="ErrorMessage" StringId="DefaultUserMessageIfRequestFailed">Failed to establish connection to restful service end point.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfCircuitOpen">Unable to connect to the restful service end point.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfDnsResolutionFailed">Failed to resolve the hostname of the restful service endpoint.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfRequestTimeout">Failed to establish connection to restful service end point within timeout limit.</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

Messages d’erreur d’authentification multifacteur dans Microsoft Entra

Les ID suivants sont utilisés pour un message d’erreur lié au profil technique d’authentification multifacteur Microsoft Entra ID :

id Valeur par défaut
UserMessageIfCouldntSendSms Impossible d’envoyer un SMS au téléphone. Essayez un autre numéro de téléphone.
UserMessageIfInvalidFormat Le format de votre numéro de téléphone n’est pas valide. Corrigez-le, puis réessayez.
UserMessageIfMaxAllowedCodeRetryReached Code erroné entré trop de fois. Réessayez plus tard.
UserMessageIfServerError Impossible d'utiliser le service MFA. Réessayez plus tard.
UserMessageIfThrottled Votre requête a été limitée, Réessayez plus tard.
UserMessageIfIncorrectOTPCodeEntered Code entré erroné. Réessayez.

Exemple d’authentification multifacteur Microsoft Entra

<LocalizedResources Id="api.localaccountsignup.en">
  <LocalizedStrings>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfCouldntSendSms">Cannot Send SMS to the phone, please try another phone number.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfInvalidFormat">Your phone number is not in a valid format, please correct it and try again.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfMaxAllowedCodeRetryReached">Wrong code entered too many times, please try again later.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfServerError">Cannot use MFA service, please try again later.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfThrottled">Your request has been throttled, please try again later.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfWrongCodeEntered">Wrong code entered, please try again.</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

Microsoft Entra SSPR

Les ID suivants sont utilisés pour les messages d’erreur liés au profil technique SSPR Microsoft Entra ID :

id Valeur par défaut
UserMessageIfChallengeExpired Le code a expiré.
UserMessageIfInternalError Le service de courrier a rencontré une erreur interne. Réessayez plus tard.
UserMessageIfThrottled Vous avez envoyé trop de requêtes. Réessayez plus tard.
UserMessageIfVerificationFailedNoRetry Vous avez dépassé le nombre maximal de tentatives de vérification.
UserMessageIfVerificationFailedRetryAllowed La vérification a échoué. Réessayez.

Exemple de Microsoft Entra SSPR

<LocalizedResources Id="api.localaccountsignup.en">
  <LocalizedStrings>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfInternalError">We are having trouble verifying your email address. Please try again later.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfThrottled">There have been too many requests to verify this email address. Please wait a while, then try again.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfChallengeExpired">That code is expired. Please request a new code.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfVerificationFailedNoRetry">You've made too many incorrect attempts. Please try again later.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfVerificationFailedRetryAllowed">That code is incorrect. Please try again.</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

Messages d’erreur liés à un mot de passe à usage unique

Les ID suivants sont utilisés pour les messages d’erreur de profil technique à usage unique du mot de passe.

id Valeur par défaut Description
UserMessageIfSessionDoesNotExist Non Message à afficher à l’utilisateur si la session de vérification du code a expiré. Il s’agit du code expiré ou du code n’a jamais été généré pour un identificateur donné.
UserMessageIfMaxRetryAttempted Non Message à afficher à l’utilisateur s’il dépasse le nombre maximal de tentatives de vérification autorisées.
UserMessageIfMaxNumberOfCodeGenerated Non Message à afficher à l’utilisateur si la génération de code a dépassé le nombre maximal de tentatives autorisé.
UserMessageIfInvalidCode Non Message à afficher à l’utilisateur s’il entre un code non valide.
UserMessageIfVerificationFailedRetryAllowed Non Message à afficher à l’utilisateur s’il entre un code non valide et qu’il est autorisé à fournir le code approprié.
UserMessageIfSessionConflict Non Message à afficher à l’utilisateur si le code ne peut pas être vérifié.

Exemple de mot de passe à usage unique

<LocalizedResources Id="api.localaccountsignup.en">
  <LocalizedStrings>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfSessionDoesNotExist">You have exceeded the maximum time allowed.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfMaxRetryAttempted">You have exceeded the number of retries allowed.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfMaxNumberOfCodeGenerated">You have exceeded the number of code generation attempts allowed.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfInvalidCode">You have entered the wrong code.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfVerificationFailedRetryAllowed">That code is incorrect. Please try again.</LocalizedString>
   <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfSessionConflict">Cannot verify the code, please try again later.</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

Messages d'erreur relatifs aux transformations de revendications

Les ID suivants sont utilisés pour les messages d’erreur liés aux transformations de revendications :

id Transformation de revendications Valeur par défaut
UserMessageIfClaimsTransformationBooleanValueIsNotEqual AssertBooleanClaimIsEqualToValue Échec de comparaison des valeurs de la revendication booléenne pour le type de revendication « inputClaim ».
DateTimeGreaterThan AssertDateTimeIsGreaterThan Échec de comparaison des valeurs de la revendication : L’opérande de gauche fourni est supérieur à l’opérande de droite.
UserMessageIfClaimsTransformationStringsAreNotEqual AssertStringClaimsAreEqual Échec de comparaison des valeurs de la revendication à l’aide de StringComparison « OrdinalIgnoreCase ».

Exemple de transformations de revendications 1 :

Cet exemple montre les messages localisés pour l’inscription au compte local.

<LocalizedResources Id="api.localaccountsignup.en">
  <LocalizedStrings>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfClaimsTransformationBooleanValueIsNotEqual">Your email address hasn't been verified.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="DateTimeGreaterThan">Expiration date must be greater that the current date.</LocalizedString>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfClaimsTransformationStringsAreNotEqual">The email entry fields do not match. Please enter the same email address in both fields and try again.</LocalizedString>
  </LocalizedStrings>
</LocalizedResources>

Exemple de transformations de revendications 2 :

Cet exemple montre les messages localisés pour la réinitialisation du mot de passe du compte local.

<LocalizedResources Id="api.localaccountpasswordreset.en">
  <LocalizedStrings>
    <LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfClaimsTransformationBooleanValueIsNotEqual">You cannot use the old password</LocalizedString>    
  </LocalizedStrings>
</LocalizedResources>

Éléments de l’interface utilisateur du contrôle d’affichage CAPTCHA

Les ID suivants sont utilisés pour un contrôle d’affichage CAPTCHA :

id Valeur par défaut Description
newCaptcha_arialabel Créer un CAPTCHA Message d’info-bulle à afficher à l’utilisateur lorsqu’il déplace le pointeur de la souris sur l’icône de relecture CAPTCHA.
switchCaptchaType_title Basculer le type CAPTCHA vers {0} Message d’info-bulle à afficher à l’utilisateur lorsque le pointeur de la souris se déplace sur l’icône audio ou image CAPTCHA.
captchatype_visual_help Entrez les caractères que vous voyez Texte d’espace réservé dans la zone d’entrée où l’utilisateur entre le code CAPTCHA si l’utilisateur est en mode visuel.
captchatype_audio_title Appuyez sur le bouton audio pour lire le défi Message d’info-bulle à afficher à l’utilisateur lorsqu’il déplace le pointeur de la souris sur l’icône du haut-parleur CAPTCHA si l’utilisateur passe en mode audio.
captchatype_audio_help Entrez les caractères que vous entendez Texte d’espace réservé dans la zone d’entrée où l’utilisateur entre le code CAPTCHA si l’utilisateur bascule en mode audio.
charsnotmatched_error Les caractères ne correspondent pas au défi CAPTCHA. Réessayez Message à afficher à l’utilisateur s’il entre un code CAPTCHA incorrect.
api_error Erreur d’API sur le contrôle CAPTCHA Message à afficher à l’utilisateur si une erreur se produit pendant qu’Azure AD B2C tente de valider le code CAPTCHA.
captcha_resolved Opération réussie. Message à afficher à l’utilisateur s’il entre un code CAPTCHA correct.
DisplayName Aidez-nous à battre les bots. Nom d’affichage du contrôle d’affichage CAPTCHA.

Exemple de contrôle d’affichage CAPTCHA

Cet exemple montre les messages localisés pour le contrôle d’affichage CAPTCHA.

      <LocalizedResources Id="api.localaccountsignup.en">
        <LocalizedStrings>
          <LocalizedString ElementType="UxElement" StringId="newCaptcha_arialabel">Create new CAPTCHA</LocalizedString>
          <LocalizedString ElementType="UxElement" StringId="switchCaptchaType_title">Switch CAPTCHA type to {0}</LocalizedString>
          <LocalizedString ElementType="UxElement"  StringId="captchatype_visual_help">Enter the characters you see</LocalizedString>
          <LocalizedString ElementType="UxElement"  StringId="captchatype_audio_title">Press audio button to play the challenge</LocalizedString>
          <LocalizedString ElementType="UxElement"  StringId="captchatype_audio_help"> Enter the characters you hear</LocalizedString>
          <LocalizedString ElementType="ErrorMessage"  StringId="charsnotmatched_error"> The characters did not match for CAPTCHA challenge. Please try again</LocalizedString>
          <LocalizedString ElementType="ErrorMessage"  StringId="api_error"> Api error on CAPTCHA control</LocalizedString>
          <LocalizedString ElementType="UxElement"  StringId="captcha_resolved"> Success!</LocalizedString>
          <LocalizedString ElementType="DisplayControl" ElementId="captchaControlChallengeCode" StringId="DisplayName">Help us beat the bots</LocalizedString>
        </LocalizedStrings>
      </LocalizedResources>

Étapes suivantes

Pour voir des exemples de localisation, consultez les articles suivants :