ID řetězců lokalizací

Poznámka:

V Azure Active Directory B2C jsou vlastní zásady navržené především pro řešení složitých scénářů. Ve většině scénářů doporučujeme používat integrované toky uživatelů. Pokud jste to neudělali, přečtěte si informace o úvodním balíčku vlastních zásad v tématu Začínáme s vlastními zásadami ve službě Active Directory B2C.

Element Lokalizace umožňuje podporovat více národních prostředí nebo jazyků v zásadách pro cesty uživatele. Tento článek obsahuje seznam ID lokalizace, které můžete použít ve svých zásadách. Další informace o lokalizaci uživatelského rozhraní naleznete v tématu Lokalizace.

Prvky přihlašovací stránky nebo registrace

Následující ID se používají pro definici obsahu s ID api.signuporsignina vlastním technickým profilem.

ID Default value Verze rozložení stránky
forgotpassword_link Zapomněli jste heslo? All
createaccount_intro Nemáte účet? All
button_signin Přihlásit se All
social_intro Přihlásit pomocí sociálního účtu All
remember_me Nechte mě přihlásit. All
unknown_error Máme potíže s přihlášením. Zkuste to později. All
divider_title NEBO All
local_intro_email Přihlásit pomocí stávajícího účtu < 2.0.0
logonIdentifier_email E-mailová adresa < 2.0.0
requiredField_email Zadejte prosím svůj e-mail. < 2.0.0
invalid_email Zadejte platnou e-mailovou adresu. < 2.0.0
email_pattern ^[a-zA-Z0-9.!#$%&'*+\/=?^_`\{\|\}~\-]+@[a-zA-Z0-9\-]+(?:\\.[a-zA-Z0-9\-]+)\*$ < 2.0.0
local_intro_username Přihlaste se pod svým uživatelským jménem. < 2.0.0
logonIdentifier_username Username < 2.0.0
requiredField_username Zadejte prosím svoje uživatelské jméno. < 2.0.0
password Heslo < 2.0.0
requiredField_password Zadejte prosím heslo. < 2.0.0
createaccount_link Zaregistrujte se < 2.0.0
cancel_message Uživatel zapomněl své heslo. < 2.0.0
invalid_password Zadané heslo není v očekávaném formátu. < 2.0.0
createaccount_one_link Zaregistrujte se >= 2.0.0
createaccount_two_links Registrace pomocí {0} nebo {1} >= 2.0.0
createaccount_three_links Zaregistrujte se pomocí {0}, {1}nebo {2} >= 2.0.0
local_intro_generic Přihlaste se pomocí svého {0} >= 2.1.0
requiredField_generic Zadejte prosím svůj {0} >= 2.1.0
invalid_generic Zadejte platnou hodnotu. {0} >= 2.1.1
heading Přihlásit se >= 2.1.1

Poznámka:

  • Zástupné symboly, jako {0} jsou vyplněny automaticky DisplayName hodnotou ClaimType.
  • Informace o lokalizaci ClaimTypenajdete v příkladu registrace nebo přihlášení.

Následující příklad ukazuje použití některých prvků uživatelského rozhraní na registrační nebo přihlašovací stránce:

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

Zprostředkovatelé identity registrace nebo přihlašování

ID zprostředkovatelů identity je nakonfigurováno v elementu ClaimsExchange na cestě uživatele. Chcete-li lokalizovat název zprostředkovatele identity, elementType je nastaven na ClaimsProvider, zatímco StringId je nastavena na ID ClaimsExchange.

<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>

Následující příklad lokalizuje zprostředkovatele identity Facebooku do arabštiny:

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

Chybové zprávy registrace nebo přihlášení

ID Default value
UserMessageIfInvalidPassword Vaše heslo je nesprávné.
UserMessageIfPasswordExpired Platnost hesla vypršela.
UserMessageIfClaimsPrincipalDoesNotExist Zdá se, že váš účet nenajdeme.
UserMessageIfOldPasswordUsed Vypadá to, že jste použili staré heslo.
DefaultMessage Neplatné uživatelské jméno nebo heslo
UserMessageIfUserAccountDisabled Váš účet je uzamčený. Pokud ho chcete odemknout, obraťte se na pracovníka podpory a zkuste to znovu.
UserMessageIfUserAccountLocked Váš účet je dočasně uzamčen, aby se zabránilo neoprávněnému použití. Zkuste to později.
AADRequestsThrottled V tuto chvíli je příliš mnoho požadavků. Počkejte prosím nějakou dobu a zkuste to znovu.

Příklad registrace nebo přihlášení

<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>

Prvky uživatelského rozhraní pro registraci a samoobslužné uplatnění stránek

Následující ID se používají pro definici obsahu s ID api.localaccountsignup nebo jakoukoli definicí obsahu, která začíná na technickém api.selfassertedprofilu , jako api.selfasserted.profileupdate jsou a api.localaccountpasswordreset) a s vlastním kontrolním technickým profilem.

ID Default value
ver_sent Ověřovací kód byl odeslán na:
ver_but_default Výchozí
cancel_message Uživatel zrušil zadávání informací s vlastním tvrzením.
preloader_alt Počkejte prosím
ver_but_send Poslat ověřovací kód
alert_yes Ano
error_fieldIncorrect Nejméně jedno pole se vyplní nesprávně. Zkontrolujte prosím své položky a zkuste to znovu.
year Year (Rok)
verifying_blurb Počkejte prosím, než zpracujeme vaše informace.
button_cancel Zrušit
ver_fail_no_retry Udělali jste příliš mnoho nesprávných pokusů. Zkuste to později.
month Month
ver_success_msg Ověřená e-mailová adresa Teď můžete pokračovat.
months leden, únor, březen, duben, květen, červen, červenec, srpen, září, říjen, listopad, prosinec
ver_fail_server Máme potíže s ověřením vaší e-mailové adresy. Zadejte platnou e-mailovou adresu a zkuste to znovu.
error_requiredFieldMissing Chybí povinné pole. Vyplňte všechna povinná pole a zkuste to znovu.
heading Podrobnosti o uživateli
initial_intro Zadejte prosím následující údaje.
ver_but_resend Odeslat nový kód
button_continue Vytvoření
error_passwordEntryMismatch Pole pro zadání hesla se neshodují. Do obou polí zadejte stejné heslo a zkuste to znovu.
ver_incorrect_format Nesprávný formát.
ver_but_edit Změnit e-mail
ver_but_verify Ověřit kód
alert_no No
ver_info_msg Ověřovací kód byl odeslán do vaší doručené pošty. Zkopírujte ho do vstupního pole níže.
day Den
ver_fail_throttled Na ověření této e-mailové adresy bylo příliš mnoho požadavků. Chvíli počkejte a pak to zkuste znovu.
helplink_text Co to je?
ver_fail_retry Tento kód je nesprávný. Zkuste to prosím znovu.
alert_title Zrušení zadávání podrobností
required_field Tyto informace jsou povinné.
alert_message Opravdu chcete zrušit zadávání podrobností?
ver_intro_msg Ověření je nezbytné. Klikněte na tlačítko Odeslat.
ver_input Ověřovací kód
required_field_descriptive {0} vyžaduje se

Následující UxElement řetězcová ID zobrazují odkazy na právní omezení v dolní části stránky s vlastním tvrzením. Tyto odkazy se ve výchozím nastavení nezobrazují, pokud nejsou zadané v lokalizovaných řetězcích.

ID Příklad hodnoty
disclaimer_msg_intro Zadáním svého telefonního čísla souhlasíte s příjmem jednorázového hesla odeslaného textovou zprávou, která vám pomůže přihlásit se k aplikaci {insert your application name}. Můžou platit standardní zprávy a sazby za data.
disclaimer_link_1_text Prohlášení o zásadách ochrany osobních údajů
disclaimer_link_1_url {insert your privacy statement URL}
disclaimer_link_2_text Podmínky a ujednání
disclaimer_link_2_url {insert your terms and conditions URL}

Chybové zprávy registračních a samoobslužných stránek

ID Default value
UserMessageIfClaimsPrincipalAlreadyExists Uživatel se zadaným ID již existuje. Zvolte jiný.
UserMessageIfClaimNotVerified Deklarace identity není ověřená: {0}
UserMessageIfIncorrectPattern Nesprávný vzor pro: {0}
UserMessageIfMissingRequiredElement Chybí požadovaný prvek: {0}
UserMessageIfValidationError Chyba při ověřování: {0}
UserMessageIfInvalidInput {0} má neplatný vstup.
ServiceThrottled V tuto chvíli je příliš mnoho požadavků. Počkejte prosím nějakou dobu a zkuste to znovu.

Následující příklad ukazuje použití některých prvků uživatelského rozhraní na registrační stránce:

Sign-up page with its UI element names labeled

Následující příklad ukazuje použití některých prvků uživatelského rozhraní na registrační stránce po výběru uživatele při odeslání ověřovacího kódu tlačítko:

Sign-up page email verification UX elements

Příklad registračních a samoobslužných stránek

<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>

prvky uživatelského rozhraní stránky Telefon factor authentication

Následuje ID definice obsahu s ID a technickým profilem telefonního api.phonefactorfaktoru.

ID Default value Verze rozložení stránky
button_verify Zavolejte mi All
country_code_label Kód země All
cancel_message Uživatel zrušil vícefaktorové ověřování. All
text_button_send_second_code odeslat nový kód All
code_pattern \D{6} All
intro_mixed Máme pro vás následující číslo. Můžeme vám poslat kód přes SMS nebo telefon, abychom vás ověřili. All
intro_mixed_p Máme pro vás následující čísla. Zvolte číslo, na které můžeme zavolat nebo poslat kód přes SMS, abychom vás ověřili. All
button_verify_code Ověření kódu All
requiredField_code Zadejte ověřovací kód, který jste obdrželi. All
invalid_code Zadejte 6místný kód, který jste dostali. All
button_cancel Zrušit All
local_number_input_placeholder_text Telefonní číslo All
button_retry Zkusit znovu All
alternative_text Nemám telefon All
intro_phone_p Máme pro vás následující čísla. Zvolte číslo, na které vás můžeme telefonicky ověřit. All
intro_phone Máme pro vás následující číslo. Zavoláme vám, abychom vás ověřili. All
enter_code_text_intro Zadejte ověřovací kód níže nebo All
intro_entry_phone Zadejte číslo níže, na které vás můžeme telefonicky ověřit. All
intro_entry_sms Zadejte číslo níže, které můžeme odeslat prostřednictvím SMS, abychom vás ověřili. All
button_send_code Poslat kód All
invalid_number Zadejte prosím platné telefonní číslo. All
intro_sms Máme pro vás následující číslo. Pošleme vám kód prostřednictvím SMS, abychom vás ověřili. All
intro_entry_mixed Níže zadejte číslo, na které můžeme poslat kód přes SMS nebo zavolat, abychom vás ověřili. All
number_pattern ^\\+(?:[0-9][\\x20-]?){6,14}[0-9]$ All
intro_sms_p Máme pro vás následující čísla. Zvolte číslo, které můžeme odeslat prostřednictvím sms k ověření. All
requiredField_countryCode Vyberte prosím kód země. All
requiredField_number Zadejte prosím svoje telefonní číslo. All
country_code_input_placeholder_text Země nebo oblast All
number_label Telefonní číslo All
error_tryagain Zadané telefonní číslo je zaneprázdněné nebo nedostupné. Zkontrolujte prosím číslo a zkuste to znovu. All
error_sms_throttled Dosáhli jste limitu počtu textových zpráv. Zkuste to za chvíli znovu. >= 1.2.3
error_phone_throttled Dosáhli jste limitu počtu pokusů o volání. Zkuste to za chvíli znovu. >= 1.2.3
error_throttled Dosáhli jste limitu počtu pokusů o ověření. Zkuste to za chvíli znovu. >= 1.2.3
error_incorrect_code Zadaný ověřovací kód neodpovídá našim záznamům. Zkuste to prosím znovu nebo požádejte o nový kód. All
countryList Podívejte se na seznam zemí. All
error_448 Zadané telefonní číslo je nedostupné. All
error_449 Uživatel překročil počet pokusů o opakování. All
verification_code_input_placeholder_text Ověřovací kód All

Následující příklad ukazuje použití některých prvků uživatelského rozhraní na stránce registrace vícefaktorového ověřování:

Phone factor authentication enrollment UX elements

Následující příklad ukazuje použití některých prvků uživatelského rozhraní na stránce ověřování vícefaktorového ověřování:

Phone factor authentication validation UX elements

Příklad stránky ověřování Telefon faktoru

<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>

Prvky uživatelského rozhraní pro ovládací prvek zobrazení ověření

Následující ID se používají pro ovládací prvek zobrazení ověření s rozložením stránky verze 2.1.0 nebo vyšší.

ID Default value
intro_msg1 Ověření je nezbytné. Klikněte na tlačítko Odeslat.
success_send_code_msg Byl odeslán ověřovací kód. Zkopírujte ho do vstupního pole níže.
failure_send_code_msg Máme potíže s ověřením vaší e-mailové adresy. Zadejte platnou e-mailovou adresu a zkuste to znovu.
success_verify_code_msg Ověřená e-mailová adresa Teď můžete pokračovat.
failure_verify_code_msg Máme potíže s ověřením vaší e-mailové adresy. Zkuste to prosím znovu.
but_send_code Poslat ověřovací kód
but_verify_code Ověřit kód
but_send_new_code Odeslat nový kód
but_change_claims Změnit e-mail
UserMessageIfVerificationControlClaimsNotVerified2 Deklarace identity pro kontrolu ověření nebyly ověřeny.

1 Prvek intro_msg je skrytý a nezobrazuje se na stránce s vlastním tvrzením. Pokud ho chcete zobrazit, použijte vlastní nastavení HTML s šablonami stylů CASCADING. Příklad:

.verificationInfoText div{display: block!important}

2 Tato chybová zpráva se uživateli zobrazí, pokud zadá ověřovací kód, ale místo dokončení ověření výběrem tlačítka Ověřit , vybere tlačítko Pokračovat .

Příklad kontroly zobrazení ověření

<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>

Prvky uživatelského rozhraní pro ovládací prvek zobrazení ověření (zastaralé)

Následující ID se používají pro ovládací prvek Zobrazení ověření s rozložením stránky verze 2.0.0.

ID Default value
verification_control_but_change_claims Změnit
verification_control_fail_send_code Kód se nepovedlo odeslat, zkuste to prosím znovu později.
verification_control_fail_verify_code Ověření kódu se nezdařilo. Zkuste to prosím znovu později.
verification_control_but_send_code Poslat kód
verification_control_but_send_new_code Odeslat nový kód
verification_control_but_verify_code Ověření kódu
verification_control_code_sent Byl odeslán ověřovací kód. Zkopírujte ho do vstupního pole níže.

Příklad ovládacího prvku zobrazení ověření (zastaralé)

<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>

Ovládací prvky MFA TOTP zobrazují ovládací prvky uživatelského rozhraní

Následující ID se používají pro ovládací prvek pro jednorázové heslo (TOTP) s rozložením stránky verze 2.1.9 a novější.

ID Default value
title_text Stáhněte si Microsoft Authenticator pomocí odkazů ke stažení pro iOS a Android nebo použijte libovolnou jinou ověřovací aplikaci.
DN Po stažení aplikace Authenticator můžete k pokračování v registraci použít některou z níže uvedených metod.
DisplayName Po stažení aplikace Authenticator můžete k pokračování v registraci použít některou z níže uvedených metod.
title_text Naskenování kódu QR
info_msg Aplikaci Microsoft Authenticator si můžete stáhnout nebo použít libovolnou jinou ověřovací aplikaci.
link_text Nemůžete skenovat? Vyzkoušejte toto
title_text Zadejte podrobnosti o účtu ručně.
account_name Název účtu:
display_prefix Tajný
collapse_text Pořád máte potíže?
DisplayName Zadejte ověřovací kód z ověřovací aplikace.
DisplayName Zadejte kód.
button_continue Ověření

Příklad ovládacího prvku zobrazení ovládacích prvků 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>

Chybové zprávy služby Restful

Pro chybové zprávy technického profilu služby Restful se používají následující ID:

ID Default value
DefaultUserMessageIfRequestFailed Nepodařilo se navázat připojení k koncovému bodu služby restful. Adresa URL služby Restful: {0}
UserMessageIfCircuitOpen {0} Adresa URL služby Restful: {1}
UserMessageIfDnsResolutionFailed Překlad názvu hostitele koncového bodu služby restful se nezdařil. Adresa URL služby Restful: {0}
UserMessageIfRequestTimeout Nepodařilo se navázat připojení ke koncovému bodu restful služby v rámci limitu časového limitu {0} sekund. Adresa URL služby Restful: {1}

Příklad služby 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>

Chybové zprávy vícefaktorového ověřování Microsoft Entra

Pro chybovou zprávu technického profilu vícefaktorového ověřování Microsoft Entra ID se používají následující ID:

ID Default value
UserMessageIfCouldntSendSms Nelze odeslat SMS na telefon, zkuste prosím jiné telefonní číslo.
UserMessageIfInvalidFormat Vaše telefonní číslo není v platném formátu, opravte ho a zkuste to znovu.
UserMessageIfMaxAllowedCodeRetryReached Chybný kód, který jste zadali příliš mnohokrát, zkuste to prosím znovu později.
UserMessageIfServerError Službu MFA nejde použít, zkuste to prosím znovu později.
UserMessageIfThrottled Došlo k omezení vaší žádosti, zkuste to prosím znovu později.
UserMessageIfWrongCodeEntered Byl zadán nesprávný kód, zkuste to prosím znovu.

Příklad vícefaktorového ověřování 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

Pro chybové zprávy technického profilu SSPR microsoftu Entra ID se používají následující ID:

ID Default value
UserMessageIfChallengeExpired Platnost kódu vypršela.
UserMessageIfInternalError V e-mailové službě došlo k vnitřní chybě. Zkuste to prosím znovu později.
UserMessageIfThrottled Odeslali jste příliš mnoho požadavků, zkuste to prosím znovu později.
UserMessageIfVerificationFailedNoRetry Překročili jste maximální počet pokusů o ověření.
UserMessageIfVerificationFailedRetryAllowed Ověření se nezdařilo. Zkuste to prosím znovu.

Příklad 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>

Chybové zprávy jednorázového hesla

Následující ID se používají pro chybové zprávy technického profilu jednorázového hesla.

ID Výchozí hodnota Description
UserMessageIfSessionDoesNotExist No Zpráva, která se uživateli zobrazí, pokud vypršela platnost relace ověření kódu. Platnost kódu vypršela nebo se pro daný identifikátor nikdy negeneroval.
UserMessageIfMaxRetryAttempted No Zpráva, která se uživateli zobrazí, pokud překročí maximální povolený počet pokusů o ověření.
UserMessageIfMaxNumberOfCodeGenerated No Zpráva, která se uživateli zobrazí, pokud generování kódu překročilo maximální povolený počet pokusů.
UserMessageIfInvalidCode No Zpráva, která se uživateli zobrazí, pokud zadá neplatný kód.
UserMessageIfVerificationFailedRetryAllowed No Zpráva, která se uživateli zobrazí, pokud zadá neplatný kód, a uživatel může zadat správný kód.
UserMessageIfSessionConflict No Zpráva, která se uživateli zobrazí, pokud kód nelze ověřit.

Příklad jednorázového hesla

<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>

Chybové zprávy transformace deklarací identity

Pro chybové zprávy transformace deklarací identity se používají následující ID:

ID Transformace deklarací identity Default value
UserMessageIfClaimsTransformationBooleanValueIsNotEqual AssertBooleanClaimIsEqualToValue Porovnání hodnot logických deklarací identity selhalo pro typ deklarace identity inputClaim.
DateTimeGreaterThan AssertDateTimeIsGreaterThan Porovnání hodnot deklarací identity se nezdařilo: Zadaný levý operand je větší než pravý operand.
UserMessageIfClaimsTransformationStringsAreNotEqual AssertStringClaimsAreEqual Porovnání hodnot deklarací identity selhalo pomocí StringComparison "OrdinalIgnoreCase".

Transformace deklarací identity – příklad 1:

Tento příklad ukazuje lokalizované zprávy pro registraci místního účtu.

<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>

Transformace deklarací identity – příklad 2:

Tento příklad ukazuje lokalizované zprávy pro resetování hesla místního účtu.

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

CAPTCHA – ovládací prvek uživatelského rozhraní

Pro ovládací prvek zobrazení CAPTCHA se používají následující ID:

ID Výchozí hodnota Popis
newCaptcha_arialabel Vytvoření nové CAPTCHA Zpráva s popisem, která se uživateli zobrazí, když přesune ukazatel myši na ikonu přehrání CAPTCHA.
switchCaptchaType_title Přepnout typ CAPTCHA na {0} Zpráva s popisem, která se uživateli zobrazí, když přesune ukazatel myši na ikonu zvuku nebo obrázku CAPTCHA.
captchatype_visual_help Zadejte znaky, které vidíte. Zástupný text ve vstupním poli, kde uživatel zadá kód CAPTCHA, pokud je uživatel ve vizuálním režimu.
captchatype_audio_title Stisknutím tlačítka zvuku přehrajte výzvu. Zpráva s popisem, která se uživateli zobrazí, když přesune ukazatel myši na ikonu reproduktoru CAPTCHA, pokud uživatel přepne do zvukového režimu.
captchatype_audio_help Zadejte znaky, které uslyšíte. Zástupný text ve vstupním poli, kde uživatel zadá kód CAPTCHA, pokud uživatel přepne do zvukového režimu.
charsnotmatched_error Znaky se neshodovaly s výzvou CAPTCHA. Opakujte akci Zpráva, která se má uživateli zobrazit, pokud zadá nesprávný kód CAPTCHA.
api_error Chyba rozhraní API v ovládacím prvku CAPTCHA Zpráva, která se uživateli zobrazí, pokud dojde k chybě, když se Azure AD B2C pokusí ověřit kód CAPTCHA.
captcha_resolved Výborně! Zpráva, která se má uživateli zobrazit, pokud zadá správný kód CAPTCHA.
DisplayName Pomozte nám porazit roboty. Zobrazovaný název ovládacího prvku CAPTCHA

Příklad ovládacího prvku ZOBRAZENÍ CAPTCHA

Tento příklad ukazuje lokalizované zprávy pro ovládací prvek zobrazení 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>

Další kroky

Příklady lokalizace najdete v následujících článcích: