Skip to content

Commit 9190429

Browse files
authored
Update localization-string-ids.md
Adding OTP and display control samples
1 parent b579505 commit 9190429

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

articles/active-directory-b2c/localization-string-ids.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,22 @@ The following are the IDs for a [Verification display control](display-control-v
213213
|verification_control_but_verify_code |Verify Code |
214214
|verification_control_code_sent| Verification code has been sent. Please copy it to the input box below. |
215215

216+
### Example
217+
218+
```XML
219+
<LocalizedResources Id="api.localaccountsignup.en">
220+
<LocalizedStrings>
221+
<LocalizedString ElementType="UxElement" StringId="verification_control_but_change_claims">Change</LocalizedString>
222+
<LocalizedString ElementType="UxElement" StringId="verification_control_fail_send_code">Failed to send the code, please try again later.</LocalizedString>
223+
<LocalizedString ElementType="UxElement" StringId="verification_control_fail_verify_code">Failed to verify the code, please try again later.</LocalizedString>
224+
<LocalizedString ElementType="UxElement" StringId="verification_control_but_send_code">Send Code</LocalizedString>
225+
<LocalizedString ElementType="UxElement" StringId="verification_control_but_send_new_code">Send New Code</LocalizedString>
226+
<LocalizedString ElementType="UxElement" StringId="verification_control_but_verify_code">Verify Code</LocalizedString>
227+
<LocalizedString ElementType="UxElement" StringId="verification_control_code_sent">Verification code has been sent. Please copy it to the input box below.</LocalizedString>
228+
</LocalizedStrings>
229+
</LocalizedResources>
230+
```
231+
216232
## One time password error messages
217233
The following are the IDs for a [one time password technical profile](one-time-password-technical-profile.md) error messages
218234

@@ -223,6 +239,18 @@ The following are the IDs for a [one time password technical profile](one-time-p
223239
|UserMessageIfSessionConflict |One time password verification session has conflict |
224240
|UserMessageIfInvalidCode |One time password provided for verification is incorrect |
225241

242+
### Example
243+
244+
```XML
245+
<LocalizedResources Id="api.localaccountsignup.en">
246+
<LocalizedStrings>
247+
<LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfSessionDoesNotExist">You have exceed the maximum time allowed.</LocalizedString>
248+
<LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfMaxRetryAttempted">You have exceed the number of retries allowed.</LocalizedString>
249+
<LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfInvalidCode">You have entered the wrong code.</LocalizedString>
250+
<LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfSessionConflict">Cannot verify the code, please try again later.</LocalizedString>
251+
</LocalizedStrings>
252+
</LocalizedResources>
253+
```
226254

227255

228256

0 commit comments

Comments
 (0)