@logto/phrases 1.0.0-beta.12 → 1.0.0-beta.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +8 -8
- package/lib/index.js +6 -4
- package/lib/locales/{ko-kr → de}/errors.d.ts +25 -2
- package/lib/locales/de/errors.js +143 -0
- package/lib/locales/de/index.d.ts +3 -0
- package/lib/locales/{ko-kr → de}/index.js +2 -2
- package/lib/locales/{ko-kr → de}/translation/admin-console/api-resource-details.d.ts +0 -0
- package/lib/locales/de/translation/admin-console/api-resource-details.js +11 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/api-resources.d.ts +0 -0
- package/lib/locales/de/translation/admin-console/api-resources.js +14 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/application-details.d.ts +0 -0
- package/lib/locales/de/translation/admin-console/application-details.js +39 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/applications.d.ts +0 -0
- package/lib/locales/de/translation/admin-console/applications.js +45 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/connector-details.d.ts +1 -0
- package/lib/locales/de/translation/admin-console/connector-details.js +24 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/connectors.d.ts +6 -0
- package/lib/locales/de/translation/admin-console/connectors.js +44 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/contact.d.ts +0 -0
- package/lib/locales/de/translation/admin-console/contact.js +22 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/dashboard.d.ts +0 -0
- package/lib/locales/de/translation/admin-console/dashboard.js +19 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/errors.d.ts +0 -0
- package/lib/locales/de/translation/admin-console/errors.js +21 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/general.d.ts +1 -0
- package/lib/locales/de/translation/admin-console/general.js +43 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/get-started.d.ts +0 -0
- package/lib/locales/de/translation/admin-console/get-started.js +24 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/index.d.ts +62 -21
- package/lib/locales/de/translation/admin-console/index.js +55 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/log-details.d.ts +0 -0
- package/lib/locales/de/translation/admin-console/log-details.js +18 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/logs.d.ts +0 -0
- package/lib/locales/de/translation/admin-console/logs.js +12 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/session-expired.d.ts +0 -0
- package/lib/locales/de/translation/admin-console/session-expired.js +8 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/settings.d.ts +0 -0
- package/lib/locales/de/translation/admin-console/settings.js +26 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/sign-in-exp.d.ts +53 -21
- package/lib/locales/de/translation/admin-console/sign-in-exp.js +155 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/tab-sections.d.ts +0 -0
- package/lib/locales/de/translation/admin-console/tab-sections.js +9 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/tabs.d.ts +0 -0
- package/lib/locales/de/translation/admin-console/tabs.js +16 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/user-details.d.ts +1 -0
- package/lib/locales/de/translation/admin-console/user-details.js +39 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/users.d.ts +0 -0
- package/lib/locales/de/translation/admin-console/users.js +15 -0
- package/lib/locales/{ko-kr → de}/translation/admin-console/welcome.d.ts +0 -0
- package/lib/locales/de/translation/admin-console/welcome.js +8 -0
- package/lib/locales/{ko-kr → de}/translation/demo-app.d.ts +0 -0
- package/lib/locales/de/translation/demo-app.js +15 -0
- package/lib/locales/{ko-kr → de}/translation/index.d.ts +62 -21
- package/lib/locales/{ko-kr → de}/translation/index.js +0 -0
- package/lib/locales/en/errors.d.ts +25 -2
- package/lib/locales/en/errors.js +26 -3
- package/lib/locales/en/index.d.ts +80 -19
- package/lib/locales/en/translation/admin-console/connector-details.d.ts +1 -0
- package/lib/locales/en/translation/admin-console/connector-details.js +1 -0
- package/lib/locales/en/translation/admin-console/connectors.d.ts +6 -0
- package/lib/locales/en/translation/admin-console/connectors.js +6 -0
- package/lib/locales/en/translation/admin-console/general.d.ts +1 -0
- package/lib/locales/en/translation/admin-console/general.js +1 -0
- package/lib/locales/en/translation/admin-console/index.d.ts +55 -17
- package/lib/locales/en/translation/admin-console/sign-in-exp.d.ts +46 -17
- package/lib/locales/en/translation/admin-console/sign-in-exp.js +53 -24
- package/lib/locales/en/translation/admin-console/user-details.d.ts +1 -0
- package/lib/locales/en/translation/admin-console/user-details.js +1 -0
- package/lib/locales/en/translation/index.d.ts +55 -17
- package/lib/locales/fr/errors.d.ts +25 -2
- package/lib/locales/fr/errors.js +27 -4
- package/lib/locales/fr/index.d.ts +1 -1
- package/lib/locales/fr/translation/admin-console/connector-details.d.ts +1 -0
- package/lib/locales/fr/translation/admin-console/connector-details.js +1 -0
- package/lib/locales/fr/translation/admin-console/connectors.d.ts +6 -0
- package/lib/locales/fr/translation/admin-console/connectors.js +6 -0
- package/lib/locales/fr/translation/admin-console/general.d.ts +1 -0
- package/lib/locales/fr/translation/admin-console/general.js +2 -1
- package/lib/locales/fr/translation/admin-console/index.d.ts +55 -17
- package/lib/locales/fr/translation/admin-console/sign-in-exp.d.ts +46 -17
- package/lib/locales/fr/translation/admin-console/sign-in-exp.js +54 -25
- package/lib/locales/fr/translation/admin-console/user-details.d.ts +1 -0
- package/lib/locales/fr/translation/admin-console/user-details.js +1 -0
- package/lib/locales/fr/translation/index.d.ts +55 -17
- package/lib/locales/ko/errors.d.ts +140 -0
- package/lib/locales/{ko-kr → ko}/errors.js +27 -4
- package/lib/locales/ko/index.d.ts +3 -0
- package/lib/locales/ko/index.js +12 -0
- package/lib/locales/ko/translation/admin-console/api-resource-details.d.ts +9 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/api-resource-details.js +0 -0
- package/lib/locales/ko/translation/admin-console/api-resources.d.ts +12 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/api-resources.js +0 -0
- package/lib/locales/ko/translation/admin-console/application-details.d.ts +37 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/application-details.js +0 -0
- package/lib/locales/ko/translation/admin-console/applications.d.ts +43 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/applications.js +0 -0
- package/lib/locales/ko/translation/admin-console/connector-details.d.ts +22 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/connector-details.js +1 -0
- package/lib/locales/ko/translation/admin-console/connectors.d.ts +42 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/connectors.js +6 -0
- package/lib/locales/ko/translation/admin-console/contact.d.ts +20 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/contact.js +0 -0
- package/lib/locales/ko/translation/admin-console/dashboard.d.ts +17 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/dashboard.js +0 -0
- package/lib/locales/ko/translation/admin-console/errors.d.ts +19 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/errors.js +0 -0
- package/lib/locales/ko/translation/admin-console/general.d.ts +41 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/general.js +2 -1
- package/lib/locales/ko/translation/admin-console/get-started.d.ts +22 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/get-started.js +0 -0
- package/lib/locales/ko/translation/admin-console/index.d.ts +554 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/index.js +0 -0
- package/lib/locales/ko/translation/admin-console/log-details.d.ts +16 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/log-details.js +0 -0
- package/lib/locales/ko/translation/admin-console/logs.d.ts +10 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/logs.js +0 -0
- package/lib/locales/ko/translation/admin-console/session-expired.d.ts +6 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/session-expired.js +0 -0
- package/lib/locales/ko/translation/admin-console/settings.d.ts +24 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/settings.js +0 -0
- package/lib/locales/ko/translation/admin-console/sign-in-exp.d.ts +150 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/sign-in-exp.js +54 -25
- package/lib/locales/ko/translation/admin-console/tab-sections.d.ts +7 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/tab-sections.js +0 -0
- package/lib/locales/ko/translation/admin-console/tabs.d.ts +14 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/tabs.js +0 -0
- package/lib/locales/ko/translation/admin-console/user-details.d.ts +37 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/user-details.js +1 -0
- package/lib/locales/ko/translation/admin-console/users.d.ts +13 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/users.js +0 -0
- package/lib/locales/ko/translation/admin-console/welcome.d.ts +6 -0
- package/lib/locales/{ko-kr → ko}/translation/admin-console/welcome.js +0 -0
- package/lib/locales/ko/translation/demo-app.d.ts +13 -0
- package/lib/locales/{ko-kr → ko}/translation/demo-app.js +0 -0
- package/lib/locales/ko/translation/index.d.ts +568 -0
- package/lib/locales/ko/translation/index.js +12 -0
- package/lib/locales/pt-pt/errors.d.ts +25 -2
- package/lib/locales/pt-pt/errors.js +27 -4
- package/lib/locales/pt-pt/index.d.ts +1 -1
- package/lib/locales/pt-pt/translation/admin-console/connector-details.d.ts +1 -0
- package/lib/locales/pt-pt/translation/admin-console/connector-details.js +1 -0
- package/lib/locales/pt-pt/translation/admin-console/connectors.d.ts +6 -0
- package/lib/locales/pt-pt/translation/admin-console/connectors.js +6 -0
- package/lib/locales/pt-pt/translation/admin-console/general.d.ts +1 -0
- package/lib/locales/pt-pt/translation/admin-console/general.js +2 -1
- package/lib/locales/pt-pt/translation/admin-console/index.d.ts +55 -17
- package/lib/locales/pt-pt/translation/admin-console/sign-in-exp.d.ts +46 -17
- package/lib/locales/pt-pt/translation/admin-console/sign-in-exp.js +54 -25
- package/lib/locales/pt-pt/translation/admin-console/user-details.d.ts +1 -0
- package/lib/locales/pt-pt/translation/admin-console/user-details.js +1 -0
- package/lib/locales/pt-pt/translation/index.d.ts +55 -17
- package/lib/locales/tr-tr/errors.d.ts +25 -2
- package/lib/locales/tr-tr/errors.js +27 -4
- package/lib/locales/tr-tr/index.d.ts +1 -1
- package/lib/locales/tr-tr/translation/admin-console/connector-details.d.ts +1 -0
- package/lib/locales/tr-tr/translation/admin-console/connector-details.js +1 -0
- package/lib/locales/tr-tr/translation/admin-console/connectors.d.ts +6 -0
- package/lib/locales/tr-tr/translation/admin-console/connectors.js +6 -0
- package/lib/locales/tr-tr/translation/admin-console/general.d.ts +1 -0
- package/lib/locales/tr-tr/translation/admin-console/general.js +2 -1
- package/lib/locales/tr-tr/translation/admin-console/index.d.ts +55 -17
- package/lib/locales/tr-tr/translation/admin-console/sign-in-exp.d.ts +46 -17
- package/lib/locales/tr-tr/translation/admin-console/sign-in-exp.js +54 -25
- package/lib/locales/tr-tr/translation/admin-console/user-details.d.ts +1 -0
- package/lib/locales/tr-tr/translation/admin-console/user-details.js +1 -0
- package/lib/locales/tr-tr/translation/index.d.ts +55 -17
- package/lib/locales/zh-cn/errors.d.ts +25 -2
- package/lib/locales/zh-cn/errors.js +27 -4
- package/lib/locales/zh-cn/index.d.ts +1 -1
- package/lib/locales/zh-cn/translation/admin-console/connector-details.d.ts +1 -0
- package/lib/locales/zh-cn/translation/admin-console/connector-details.js +1 -0
- package/lib/locales/zh-cn/translation/admin-console/connectors.d.ts +6 -0
- package/lib/locales/zh-cn/translation/admin-console/connectors.js +6 -0
- package/lib/locales/zh-cn/translation/admin-console/general.d.ts +1 -0
- package/lib/locales/zh-cn/translation/admin-console/general.js +1 -0
- package/lib/locales/zh-cn/translation/admin-console/index.d.ts +55 -17
- package/lib/locales/zh-cn/translation/admin-console/sign-in-exp.d.ts +46 -17
- package/lib/locales/zh-cn/translation/admin-console/sign-in-exp.js +56 -27
- package/lib/locales/zh-cn/translation/admin-console/user-details.d.ts +1 -0
- package/lib/locales/zh-cn/translation/admin-console/user-details.js +1 -0
- package/lib/locales/zh-cn/translation/index.d.ts +55 -17
- package/lib/types.d.ts +1 -1
- package/package.json +14 -16
- package/lib/locales/ko-kr/index.d.ts +0 -3
|
@@ -43,6 +43,7 @@ declare const translation: {
|
|
|
43
43
|
leave_page: string;
|
|
44
44
|
stay_on_page: string;
|
|
45
45
|
type_to_search: string;
|
|
46
|
+
got_it: string;
|
|
46
47
|
};
|
|
47
48
|
errors: {
|
|
48
49
|
something_went_wrong: string;
|
|
@@ -182,6 +183,8 @@ declare const translation: {
|
|
|
182
183
|
title: string;
|
|
183
184
|
subtitle: string;
|
|
184
185
|
create: string;
|
|
186
|
+
config_sie_notice: string;
|
|
187
|
+
config_sie_link_text: string;
|
|
185
188
|
tab_email_sms: string;
|
|
186
189
|
tab_social: string;
|
|
187
190
|
connector_name: string;
|
|
@@ -189,6 +192,10 @@ declare const translation: {
|
|
|
189
192
|
connector_status: string;
|
|
190
193
|
connector_status_in_use: string;
|
|
191
194
|
connector_status_not_in_use: string;
|
|
195
|
+
not_in_use_tip: {
|
|
196
|
+
content: string;
|
|
197
|
+
go_to_sie: string;
|
|
198
|
+
};
|
|
192
199
|
social_connector_eg: string;
|
|
193
200
|
save_and_done: string;
|
|
194
201
|
type: {
|
|
@@ -232,6 +239,7 @@ declare const translation: {
|
|
|
232
239
|
type_email: string;
|
|
233
240
|
type_sms: string;
|
|
234
241
|
type_social: string;
|
|
242
|
+
in_use_deletion_description: string;
|
|
235
243
|
};
|
|
236
244
|
get_started: {
|
|
237
245
|
progress: string;
|
|
@@ -300,6 +308,7 @@ declare const translation: {
|
|
|
300
308
|
not_connected: string;
|
|
301
309
|
deletion_confirmation: string;
|
|
302
310
|
};
|
|
311
|
+
suspended: string;
|
|
303
312
|
};
|
|
304
313
|
contact: {
|
|
305
314
|
title: string;
|
|
@@ -325,7 +334,7 @@ declare const translation: {
|
|
|
325
334
|
description: string;
|
|
326
335
|
tabs: {
|
|
327
336
|
branding: string;
|
|
328
|
-
|
|
337
|
+
sign_up_and_sign_in: string;
|
|
329
338
|
others: string;
|
|
330
339
|
};
|
|
331
340
|
welcome: {
|
|
@@ -357,26 +366,52 @@ declare const translation: {
|
|
|
357
366
|
slogan: string;
|
|
358
367
|
slogan_placeholder: string;
|
|
359
368
|
};
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
methods_primary_tag: string;
|
|
371
|
-
define_social_methods: string;
|
|
372
|
-
transfer: {
|
|
369
|
+
sign_up_and_sign_in: {
|
|
370
|
+
identifiers: string;
|
|
371
|
+
identifiers_email: string;
|
|
372
|
+
identifiers_sms: string;
|
|
373
|
+
identifiers_username: string;
|
|
374
|
+
identifiers_email_or_sms: string;
|
|
375
|
+
identifiers_none: string;
|
|
376
|
+
and: string;
|
|
377
|
+
or: string;
|
|
378
|
+
sign_up: {
|
|
373
379
|
title: string;
|
|
374
|
-
|
|
380
|
+
sign_up_identifier: string;
|
|
381
|
+
identifier_description: string;
|
|
382
|
+
sign_up_authentication: string;
|
|
383
|
+
authentication_description: string;
|
|
384
|
+
set_a_password_option: string;
|
|
385
|
+
verify_at_sign_up_option: string;
|
|
386
|
+
social_only_creation_description: string;
|
|
387
|
+
};
|
|
388
|
+
sign_in: {
|
|
389
|
+
title: string;
|
|
390
|
+
sign_in_identifier_and_auth: string;
|
|
391
|
+
description: string;
|
|
392
|
+
add_sign_in_method: string;
|
|
393
|
+
password_auth: string;
|
|
394
|
+
verification_code_auth: string;
|
|
395
|
+
auth_swap_tip: string;
|
|
396
|
+
};
|
|
397
|
+
social_sign_in: {
|
|
398
|
+
title: string;
|
|
399
|
+
social_sign_in: string;
|
|
400
|
+
description: string;
|
|
401
|
+
add_social_connector: string;
|
|
402
|
+
set_up_hint: {
|
|
375
403
|
not_in_list: string;
|
|
376
404
|
set_up_more: string;
|
|
377
405
|
go_to: string;
|
|
378
406
|
};
|
|
379
407
|
};
|
|
408
|
+
tip: {
|
|
409
|
+
set_a_password: string;
|
|
410
|
+
verify_at_sign_up: string;
|
|
411
|
+
password_auth: string;
|
|
412
|
+
verification_code_auth: string;
|
|
413
|
+
delete_sign_in_method: string;
|
|
414
|
+
};
|
|
380
415
|
};
|
|
381
416
|
others: {
|
|
382
417
|
terms_of_use: {
|
|
@@ -415,8 +450,8 @@ declare const translation: {
|
|
|
415
450
|
};
|
|
416
451
|
authentication: {
|
|
417
452
|
title: string;
|
|
418
|
-
|
|
419
|
-
|
|
453
|
+
enable_user_registration: string;
|
|
454
|
+
enable_user_registration_description: string;
|
|
420
455
|
};
|
|
421
456
|
};
|
|
422
457
|
setup_warning: {
|
|
@@ -430,6 +465,9 @@ declare const translation: {
|
|
|
430
465
|
description: string;
|
|
431
466
|
before: string;
|
|
432
467
|
after: string;
|
|
468
|
+
sign_up: string;
|
|
469
|
+
sign_in: string;
|
|
470
|
+
social: string;
|
|
433
471
|
};
|
|
434
472
|
preview: {
|
|
435
473
|
title: string;
|
|
@@ -6,6 +6,7 @@ declare const errors: {
|
|
|
6
6
|
forbidden: string;
|
|
7
7
|
expected_role_not_found: string;
|
|
8
8
|
jwt_sub_missing: string;
|
|
9
|
+
require_re_authentication: string;
|
|
9
10
|
};
|
|
10
11
|
guard: {
|
|
11
12
|
invalid_input: string;
|
|
@@ -41,7 +42,19 @@ declare const errors: {
|
|
|
41
42
|
identity_exists: string;
|
|
42
43
|
invalid_role_names: string;
|
|
43
44
|
cannot_delete_self: string;
|
|
45
|
+
sign_up_method_not_enabled: string;
|
|
46
|
+
sign_in_method_not_enabled: string;
|
|
44
47
|
same_password: string;
|
|
48
|
+
require_password: string;
|
|
49
|
+
password_exists: string;
|
|
50
|
+
require_username: string;
|
|
51
|
+
username_exists: string;
|
|
52
|
+
require_email: string;
|
|
53
|
+
email_exists: string;
|
|
54
|
+
require_sms: string;
|
|
55
|
+
sms_exists: string;
|
|
56
|
+
require_email_or_sms: string;
|
|
57
|
+
suspended: string;
|
|
45
58
|
};
|
|
46
59
|
password: {
|
|
47
60
|
unsupported_encryption_method: string;
|
|
@@ -55,10 +68,11 @@ declare const errors: {
|
|
|
55
68
|
insufficient_info: string;
|
|
56
69
|
connector_id_mismatch: string;
|
|
57
70
|
connector_session_not_found: string;
|
|
58
|
-
|
|
59
|
-
|
|
71
|
+
verification_session_not_found: string;
|
|
72
|
+
verification_expired: string;
|
|
60
73
|
unauthorized: string;
|
|
61
74
|
unsupported_prompt_name: string;
|
|
75
|
+
forgot_password_not_enabled: string;
|
|
62
76
|
};
|
|
63
77
|
connector: {
|
|
64
78
|
general: string;
|
|
@@ -98,7 +112,13 @@ declare const errors: {
|
|
|
98
112
|
empty_social_connectors: string;
|
|
99
113
|
enabled_connector_not_found: string;
|
|
100
114
|
not_one_and_only_one_primary_sign_in_method: string;
|
|
115
|
+
username_requires_password: string;
|
|
116
|
+
passwordless_requires_verify: string;
|
|
117
|
+
miss_sign_up_identifier_in_sign_in: string;
|
|
118
|
+
password_sign_in_must_be_enabled: string;
|
|
119
|
+
code_sign_in_must_be_enabled: string;
|
|
101
120
|
unsupported_default_language: string;
|
|
121
|
+
at_least_one_authentication_factor: string;
|
|
102
122
|
};
|
|
103
123
|
localization: {
|
|
104
124
|
cannot_delete_default_language: string;
|
|
@@ -114,5 +134,8 @@ declare const errors: {
|
|
|
114
134
|
not_exists_with_id: string;
|
|
115
135
|
not_found: string;
|
|
116
136
|
};
|
|
137
|
+
log: {
|
|
138
|
+
invalid_type: string;
|
|
139
|
+
};
|
|
117
140
|
};
|
|
118
141
|
export default errors;
|
|
@@ -8,6 +8,7 @@ const errors = {
|
|
|
8
8
|
forbidden: '禁止访问。请检查用户 role 与权限。',
|
|
9
9
|
expected_role_not_found: '未找到期望的 role。请检查用户 role 与权限。',
|
|
10
10
|
jwt_sub_missing: 'JWT 缺失 `sub`',
|
|
11
|
+
require_re_authentication: '需要重新认证以进行受保护操作。',
|
|
11
12
|
},
|
|
12
13
|
guard: {
|
|
13
14
|
invalid_input: '请求中 {{type}} 无效',
|
|
@@ -43,7 +44,19 @@ const errors = {
|
|
|
43
44
|
identity_exists: '该社交帐号已被注册',
|
|
44
45
|
invalid_role_names: '角色名称({{roleNames}})无效',
|
|
45
46
|
cannot_delete_self: '你无法删除自己',
|
|
46
|
-
|
|
47
|
+
sign_up_method_not_enabled: '注册方式尚未启用',
|
|
48
|
+
sign_in_method_not_enabled: '登录方式尚未启用',
|
|
49
|
+
same_password: '为确保你的账户安全,新密码不能与旧密码一致',
|
|
50
|
+
require_password: '请设置密码',
|
|
51
|
+
password_exists: '密码已设置过',
|
|
52
|
+
require_username: '请设置用户名',
|
|
53
|
+
username_exists: '该用户名已存在',
|
|
54
|
+
require_email: '请绑定邮箱地址',
|
|
55
|
+
email_exists: '该邮箱地址已被其它账户绑定',
|
|
56
|
+
require_sms: '请绑定手机号码',
|
|
57
|
+
sms_exists: '该手机号码已被其它账户绑定',
|
|
58
|
+
require_email_or_sms: '请绑定邮箱地址或手机号码',
|
|
59
|
+
suspended: '账号已被禁用',
|
|
47
60
|
},
|
|
48
61
|
password: {
|
|
49
62
|
unsupported_encryption_method: '不支持的加密方法 {{name}}',
|
|
@@ -51,16 +64,17 @@ const errors = {
|
|
|
51
64
|
},
|
|
52
65
|
session: {
|
|
53
66
|
not_found: '未找到会话。请返回并重新登录。',
|
|
54
|
-
invalid_credentials: '
|
|
67
|
+
invalid_credentials: '无效的密码,请检查你的输入。',
|
|
55
68
|
invalid_sign_in_method: '当前登录方式不可用',
|
|
56
69
|
invalid_connector_id: '找不到 ID 为 {{connectorId}} 的可用连接器。',
|
|
57
70
|
insufficient_info: '登录信息缺失,请检查你的输入。',
|
|
58
71
|
connector_id_mismatch: '传入的连接器 ID 与 session 中保存的记录不一致',
|
|
59
72
|
connector_session_not_found: '无法找到连接器登录信息,请尝试重新登录。',
|
|
60
|
-
|
|
61
|
-
|
|
73
|
+
verification_session_not_found: '验证失败,请重新验证。',
|
|
74
|
+
verification_expired: '当前页面已超时。为确保你的账号安全,请重新验证。',
|
|
62
75
|
unauthorized: '请先登录',
|
|
63
76
|
unsupported_prompt_name: '不支持的 prompt name',
|
|
77
|
+
forgot_password_not_enabled: '忘记密码功能没有开启。',
|
|
64
78
|
},
|
|
65
79
|
connector: {
|
|
66
80
|
general: '连接器发生未知错误{{errorDescription}}',
|
|
@@ -100,7 +114,13 @@ const errors = {
|
|
|
100
114
|
empty_social_connectors: '你启用了社交登录的方式。请至少选择一个社交连接器。',
|
|
101
115
|
enabled_connector_not_found: '未找到已启用的 {{type}} 连接器',
|
|
102
116
|
not_one_and_only_one_primary_sign_in_method: '主要的登录方式必须有且仅有一个,请检查你的输入。',
|
|
117
|
+
username_requires_password: 'Must enable set a password for username sign up identifier.',
|
|
118
|
+
passwordless_requires_verify: 'Must enable verify for email/phone sign up identifier.',
|
|
119
|
+
miss_sign_up_identifier_in_sign_in: 'Sign in methods must contain the sign up identifier.',
|
|
120
|
+
password_sign_in_must_be_enabled: 'Password sign in must be enabled when set a password is required in sign up.',
|
|
121
|
+
code_sign_in_must_be_enabled: 'Verification code sign in must be enabled when set a password is not required in sign up.',
|
|
103
122
|
unsupported_default_language: '{{language}}无法选择为默认语言。',
|
|
123
|
+
at_least_one_authentication_factor: '至少要选择一个登录要素',
|
|
104
124
|
},
|
|
105
125
|
localization: {
|
|
106
126
|
cannot_delete_default_language: '你已设置{{languageTag}}为你的默认语言,你无法删除默认语言。',
|
|
@@ -116,5 +136,8 @@ const errors = {
|
|
|
116
136
|
not_exists_with_id: 'ID 为 `{{id}}` 的 {{name}} 不存在',
|
|
117
137
|
not_found: '该资源不存在',
|
|
118
138
|
},
|
|
139
|
+
log: {
|
|
140
|
+
invalid_type: 'The log type is invalid.', // UNTRANSLATED
|
|
141
|
+
},
|
|
119
142
|
};
|
|
120
143
|
exports.default = errors;
|
|
@@ -19,5 +19,6 @@ const connector_details = {
|
|
|
19
19
|
type_email: '邮件连接器',
|
|
20
20
|
type_sms: '短信连接器',
|
|
21
21
|
type_social: '社交连接器',
|
|
22
|
+
in_use_deletion_description: 'This connector is in use in your sign in experience. By deleting, <name/> sign in experience will be deleted in sign in experience settings.', // UNTRANSLATED
|
|
22
23
|
};
|
|
23
24
|
exports.default = connector_details;
|
|
@@ -2,6 +2,8 @@ declare const connectors: {
|
|
|
2
2
|
title: string;
|
|
3
3
|
subtitle: string;
|
|
4
4
|
create: string;
|
|
5
|
+
config_sie_notice: string;
|
|
6
|
+
config_sie_link_text: string;
|
|
5
7
|
tab_email_sms: string;
|
|
6
8
|
tab_social: string;
|
|
7
9
|
connector_name: string;
|
|
@@ -9,6 +11,10 @@ declare const connectors: {
|
|
|
9
11
|
connector_status: string;
|
|
10
12
|
connector_status_in_use: string;
|
|
11
13
|
connector_status_not_in_use: string;
|
|
14
|
+
not_in_use_tip: {
|
|
15
|
+
content: string;
|
|
16
|
+
go_to_sie: string;
|
|
17
|
+
};
|
|
12
18
|
social_connector_eg: string;
|
|
13
19
|
save_and_done: string;
|
|
14
20
|
type: {
|
|
@@ -4,6 +4,8 @@ const connectors = {
|
|
|
4
4
|
title: '连接器',
|
|
5
5
|
subtitle: '设置连接器,开启无密码和社交登录',
|
|
6
6
|
create: '添加社交连接器',
|
|
7
|
+
config_sie_notice: '你已经配置了社交连接器,记得在<a>{{link}}</a>上添加使之生效。',
|
|
8
|
+
config_sie_link_text: '登录体验',
|
|
7
9
|
tab_email_sms: '短信和邮件连接器',
|
|
8
10
|
tab_social: '社交连接器',
|
|
9
11
|
connector_name: '连接器名称',
|
|
@@ -11,6 +13,10 @@ const connectors = {
|
|
|
11
13
|
connector_status: '登录体验',
|
|
12
14
|
connector_status_in_use: '使用中',
|
|
13
15
|
connector_status_not_in_use: '未使用',
|
|
16
|
+
not_in_use_tip: {
|
|
17
|
+
content: '未使用意味着你的登录体验并没有使用这个登录方式。<a>{{link}}</a>去添加。',
|
|
18
|
+
go_to_sie: '前往登录体验',
|
|
19
|
+
},
|
|
14
20
|
social_connector_eg: '如: 微信登录,支付宝登录',
|
|
15
21
|
save_and_done: '保存并完成',
|
|
16
22
|
type: {
|
|
@@ -42,6 +42,7 @@ declare const admin_console: {
|
|
|
42
42
|
leave_page: string;
|
|
43
43
|
stay_on_page: string;
|
|
44
44
|
type_to_search: string;
|
|
45
|
+
got_it: string;
|
|
45
46
|
};
|
|
46
47
|
errors: {
|
|
47
48
|
something_went_wrong: string;
|
|
@@ -181,6 +182,8 @@ declare const admin_console: {
|
|
|
181
182
|
title: string;
|
|
182
183
|
subtitle: string;
|
|
183
184
|
create: string;
|
|
185
|
+
config_sie_notice: string;
|
|
186
|
+
config_sie_link_text: string;
|
|
184
187
|
tab_email_sms: string;
|
|
185
188
|
tab_social: string;
|
|
186
189
|
connector_name: string;
|
|
@@ -188,6 +191,10 @@ declare const admin_console: {
|
|
|
188
191
|
connector_status: string;
|
|
189
192
|
connector_status_in_use: string;
|
|
190
193
|
connector_status_not_in_use: string;
|
|
194
|
+
not_in_use_tip: {
|
|
195
|
+
content: string;
|
|
196
|
+
go_to_sie: string;
|
|
197
|
+
};
|
|
191
198
|
social_connector_eg: string;
|
|
192
199
|
save_and_done: string;
|
|
193
200
|
type: {
|
|
@@ -231,6 +238,7 @@ declare const admin_console: {
|
|
|
231
238
|
type_email: string;
|
|
232
239
|
type_sms: string;
|
|
233
240
|
type_social: string;
|
|
241
|
+
in_use_deletion_description: string;
|
|
234
242
|
};
|
|
235
243
|
get_started: {
|
|
236
244
|
progress: string;
|
|
@@ -299,6 +307,7 @@ declare const admin_console: {
|
|
|
299
307
|
not_connected: string;
|
|
300
308
|
deletion_confirmation: string;
|
|
301
309
|
};
|
|
310
|
+
suspended: string;
|
|
302
311
|
};
|
|
303
312
|
contact: {
|
|
304
313
|
title: string;
|
|
@@ -324,7 +333,7 @@ declare const admin_console: {
|
|
|
324
333
|
description: string;
|
|
325
334
|
tabs: {
|
|
326
335
|
branding: string;
|
|
327
|
-
|
|
336
|
+
sign_up_and_sign_in: string;
|
|
328
337
|
others: string;
|
|
329
338
|
};
|
|
330
339
|
welcome: {
|
|
@@ -356,26 +365,52 @@ declare const admin_console: {
|
|
|
356
365
|
slogan: string;
|
|
357
366
|
slogan_placeholder: string;
|
|
358
367
|
};
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
methods_primary_tag: string;
|
|
370
|
-
define_social_methods: string;
|
|
371
|
-
transfer: {
|
|
368
|
+
sign_up_and_sign_in: {
|
|
369
|
+
identifiers: string;
|
|
370
|
+
identifiers_email: string;
|
|
371
|
+
identifiers_sms: string;
|
|
372
|
+
identifiers_username: string;
|
|
373
|
+
identifiers_email_or_sms: string;
|
|
374
|
+
identifiers_none: string;
|
|
375
|
+
and: string;
|
|
376
|
+
or: string;
|
|
377
|
+
sign_up: {
|
|
372
378
|
title: string;
|
|
373
|
-
|
|
379
|
+
sign_up_identifier: string;
|
|
380
|
+
identifier_description: string;
|
|
381
|
+
sign_up_authentication: string;
|
|
382
|
+
authentication_description: string;
|
|
383
|
+
set_a_password_option: string;
|
|
384
|
+
verify_at_sign_up_option: string;
|
|
385
|
+
social_only_creation_description: string;
|
|
386
|
+
};
|
|
387
|
+
sign_in: {
|
|
388
|
+
title: string;
|
|
389
|
+
sign_in_identifier_and_auth: string;
|
|
390
|
+
description: string;
|
|
391
|
+
add_sign_in_method: string;
|
|
392
|
+
password_auth: string;
|
|
393
|
+
verification_code_auth: string;
|
|
394
|
+
auth_swap_tip: string;
|
|
395
|
+
};
|
|
396
|
+
social_sign_in: {
|
|
397
|
+
title: string;
|
|
398
|
+
social_sign_in: string;
|
|
399
|
+
description: string;
|
|
400
|
+
add_social_connector: string;
|
|
401
|
+
set_up_hint: {
|
|
374
402
|
not_in_list: string;
|
|
375
403
|
set_up_more: string;
|
|
376
404
|
go_to: string;
|
|
377
405
|
};
|
|
378
406
|
};
|
|
407
|
+
tip: {
|
|
408
|
+
set_a_password: string;
|
|
409
|
+
verify_at_sign_up: string;
|
|
410
|
+
password_auth: string;
|
|
411
|
+
verification_code_auth: string;
|
|
412
|
+
delete_sign_in_method: string;
|
|
413
|
+
};
|
|
379
414
|
};
|
|
380
415
|
others: {
|
|
381
416
|
terms_of_use: {
|
|
@@ -414,8 +449,8 @@ declare const admin_console: {
|
|
|
414
449
|
};
|
|
415
450
|
authentication: {
|
|
416
451
|
title: string;
|
|
417
|
-
|
|
418
|
-
|
|
452
|
+
enable_user_registration: string;
|
|
453
|
+
enable_user_registration_description: string;
|
|
419
454
|
};
|
|
420
455
|
};
|
|
421
456
|
setup_warning: {
|
|
@@ -429,6 +464,9 @@ declare const admin_console: {
|
|
|
429
464
|
description: string;
|
|
430
465
|
before: string;
|
|
431
466
|
after: string;
|
|
467
|
+
sign_up: string;
|
|
468
|
+
sign_in: string;
|
|
469
|
+
social: string;
|
|
432
470
|
};
|
|
433
471
|
preview: {
|
|
434
472
|
title: string;
|
|
@@ -3,7 +3,7 @@ declare const sign_in_exp: {
|
|
|
3
3
|
description: string;
|
|
4
4
|
tabs: {
|
|
5
5
|
branding: string;
|
|
6
|
-
|
|
6
|
+
sign_up_and_sign_in: string;
|
|
7
7
|
others: string;
|
|
8
8
|
};
|
|
9
9
|
welcome: {
|
|
@@ -35,26 +35,52 @@ declare const sign_in_exp: {
|
|
|
35
35
|
slogan: string;
|
|
36
36
|
slogan_placeholder: string;
|
|
37
37
|
};
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
38
|
+
sign_up_and_sign_in: {
|
|
39
|
+
identifiers: string;
|
|
40
|
+
identifiers_email: string;
|
|
41
|
+
identifiers_sms: string;
|
|
42
|
+
identifiers_username: string;
|
|
43
|
+
identifiers_email_or_sms: string;
|
|
44
|
+
identifiers_none: string;
|
|
45
|
+
and: string;
|
|
46
|
+
or: string;
|
|
47
|
+
sign_up: {
|
|
48
|
+
title: string;
|
|
49
|
+
sign_up_identifier: string;
|
|
50
|
+
identifier_description: string;
|
|
51
|
+
sign_up_authentication: string;
|
|
52
|
+
authentication_description: string;
|
|
53
|
+
set_a_password_option: string;
|
|
54
|
+
verify_at_sign_up_option: string;
|
|
55
|
+
social_only_creation_description: string;
|
|
56
|
+
};
|
|
57
|
+
sign_in: {
|
|
58
|
+
title: string;
|
|
59
|
+
sign_in_identifier_and_auth: string;
|
|
60
|
+
description: string;
|
|
61
|
+
add_sign_in_method: string;
|
|
62
|
+
password_auth: string;
|
|
63
|
+
verification_code_auth: string;
|
|
64
|
+
auth_swap_tip: string;
|
|
65
|
+
};
|
|
66
|
+
social_sign_in: {
|
|
51
67
|
title: string;
|
|
52
|
-
|
|
68
|
+
social_sign_in: string;
|
|
69
|
+
description: string;
|
|
70
|
+
add_social_connector: string;
|
|
71
|
+
set_up_hint: {
|
|
53
72
|
not_in_list: string;
|
|
54
73
|
set_up_more: string;
|
|
55
74
|
go_to: string;
|
|
56
75
|
};
|
|
57
76
|
};
|
|
77
|
+
tip: {
|
|
78
|
+
set_a_password: string;
|
|
79
|
+
verify_at_sign_up: string;
|
|
80
|
+
password_auth: string;
|
|
81
|
+
verification_code_auth: string;
|
|
82
|
+
delete_sign_in_method: string;
|
|
83
|
+
};
|
|
58
84
|
};
|
|
59
85
|
others: {
|
|
60
86
|
terms_of_use: {
|
|
@@ -93,8 +119,8 @@ declare const sign_in_exp: {
|
|
|
93
119
|
};
|
|
94
120
|
authentication: {
|
|
95
121
|
title: string;
|
|
96
|
-
|
|
97
|
-
|
|
122
|
+
enable_user_registration: string;
|
|
123
|
+
enable_user_registration_description: string;
|
|
98
124
|
};
|
|
99
125
|
};
|
|
100
126
|
setup_warning: {
|
|
@@ -108,6 +134,9 @@ declare const sign_in_exp: {
|
|
|
108
134
|
description: string;
|
|
109
135
|
before: string;
|
|
110
136
|
after: string;
|
|
137
|
+
sign_up: string;
|
|
138
|
+
sign_in: string;
|
|
139
|
+
social: string;
|
|
111
140
|
};
|
|
112
141
|
preview: {
|
|
113
142
|
title: string;
|