@logto/phrases-experience 1.10.1 → 1.12.0

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.
Files changed (181) hide show
  1. package/lib/index.d.ts +4 -4
  2. package/lib/index.js +3 -0
  3. package/lib/locales/ar/error/index.d.ts +2 -0
  4. package/lib/locales/ar/error/index.js +2 -0
  5. package/lib/locales/ar/index.d.ts +19 -1
  6. package/lib/locales/ar/input.d.ts +1 -0
  7. package/lib/locales/ar/input.js +1 -0
  8. package/lib/locales/ar/mfa.d.ts +10 -0
  9. package/lib/locales/ar/mfa.js +10 -0
  10. package/lib/locales/ar/profile.d.ts +6 -1
  11. package/lib/locales/ar/profile.js +7 -2
  12. package/lib/locales/de/error/index.d.ts +2 -0
  13. package/lib/locales/de/error/index.js +2 -0
  14. package/lib/locales/de/index.d.ts +19 -1
  15. package/lib/locales/de/input.d.ts +1 -0
  16. package/lib/locales/de/input.js +1 -0
  17. package/lib/locales/de/mfa.d.ts +10 -0
  18. package/lib/locales/de/mfa.js +10 -0
  19. package/lib/locales/de/profile.d.ts +6 -1
  20. package/lib/locales/de/profile.js +6 -1
  21. package/lib/locales/en/error/index.d.ts +2 -0
  22. package/lib/locales/en/error/index.js +2 -0
  23. package/lib/locales/en/index.d.ts +19 -1
  24. package/lib/locales/en/input.d.ts +1 -0
  25. package/lib/locales/en/input.js +1 -0
  26. package/lib/locales/en/mfa.d.ts +10 -0
  27. package/lib/locales/en/mfa.js +10 -0
  28. package/lib/locales/en/profile.d.ts +6 -1
  29. package/lib/locales/en/profile.js +11 -6
  30. package/lib/locales/es/error/index.d.ts +2 -0
  31. package/lib/locales/es/error/index.js +2 -0
  32. package/lib/locales/es/index.d.ts +19 -1
  33. package/lib/locales/es/input.d.ts +1 -0
  34. package/lib/locales/es/input.js +1 -0
  35. package/lib/locales/es/mfa.d.ts +10 -0
  36. package/lib/locales/es/mfa.js +10 -0
  37. package/lib/locales/es/profile.d.ts +6 -1
  38. package/lib/locales/es/profile.js +6 -1
  39. package/lib/locales/fr/description.js +1 -1
  40. package/lib/locales/fr/error/index.d.ts +2 -0
  41. package/lib/locales/fr/error/index.js +2 -0
  42. package/lib/locales/fr/index.d.ts +19 -1
  43. package/lib/locales/fr/input.d.ts +1 -0
  44. package/lib/locales/fr/input.js +1 -0
  45. package/lib/locales/fr/mfa.d.ts +10 -0
  46. package/lib/locales/fr/mfa.js +10 -0
  47. package/lib/locales/fr/profile.d.ts +6 -1
  48. package/lib/locales/fr/profile.js +6 -1
  49. package/lib/locales/it/error/index.d.ts +2 -0
  50. package/lib/locales/it/error/index.js +2 -0
  51. package/lib/locales/it/index.d.ts +19 -1
  52. package/lib/locales/it/input.d.ts +1 -0
  53. package/lib/locales/it/input.js +1 -0
  54. package/lib/locales/it/mfa.d.ts +10 -0
  55. package/lib/locales/it/mfa.js +11 -1
  56. package/lib/locales/it/profile.d.ts +6 -1
  57. package/lib/locales/it/profile.js +6 -1
  58. package/lib/locales/ja/error/index.d.ts +2 -0
  59. package/lib/locales/ja/error/index.js +2 -0
  60. package/lib/locales/ja/index.d.ts +19 -1
  61. package/lib/locales/ja/input.d.ts +1 -0
  62. package/lib/locales/ja/input.js +1 -0
  63. package/lib/locales/ja/mfa.d.ts +10 -0
  64. package/lib/locales/ja/mfa.js +10 -0
  65. package/lib/locales/ja/profile.d.ts +6 -1
  66. package/lib/locales/ja/profile.js +6 -1
  67. package/lib/locales/ko/error/index.d.ts +2 -0
  68. package/lib/locales/ko/error/index.js +2 -0
  69. package/lib/locales/ko/index.d.ts +19 -1
  70. package/lib/locales/ko/input.d.ts +1 -0
  71. package/lib/locales/ko/input.js +1 -0
  72. package/lib/locales/ko/mfa.d.ts +10 -0
  73. package/lib/locales/ko/mfa.js +10 -0
  74. package/lib/locales/ko/profile.d.ts +6 -1
  75. package/lib/locales/ko/profile.js +6 -1
  76. package/lib/locales/pl-pl/error/index.d.ts +2 -0
  77. package/lib/locales/pl-pl/error/index.js +2 -0
  78. package/lib/locales/pl-pl/index.d.ts +19 -1
  79. package/lib/locales/pl-pl/input.d.ts +1 -0
  80. package/lib/locales/pl-pl/input.js +1 -0
  81. package/lib/locales/pl-pl/mfa.d.ts +10 -0
  82. package/lib/locales/pl-pl/mfa.js +10 -0
  83. package/lib/locales/pl-pl/profile.d.ts +6 -1
  84. package/lib/locales/pl-pl/profile.js +6 -1
  85. package/lib/locales/pt-br/error/index.d.ts +2 -0
  86. package/lib/locales/pt-br/error/index.js +2 -0
  87. package/lib/locales/pt-br/index.d.ts +19 -1
  88. package/lib/locales/pt-br/input.d.ts +1 -0
  89. package/lib/locales/pt-br/input.js +1 -0
  90. package/lib/locales/pt-br/mfa.d.ts +10 -0
  91. package/lib/locales/pt-br/mfa.js +10 -0
  92. package/lib/locales/pt-br/profile.d.ts +6 -1
  93. package/lib/locales/pt-br/profile.js +6 -1
  94. package/lib/locales/pt-pt/error/index.d.ts +2 -0
  95. package/lib/locales/pt-pt/error/index.js +2 -0
  96. package/lib/locales/pt-pt/index.d.ts +19 -1
  97. package/lib/locales/pt-pt/input.d.ts +1 -0
  98. package/lib/locales/pt-pt/input.js +1 -0
  99. package/lib/locales/pt-pt/mfa.d.ts +10 -0
  100. package/lib/locales/pt-pt/mfa.js +10 -0
  101. package/lib/locales/pt-pt/profile.d.ts +6 -1
  102. package/lib/locales/pt-pt/profile.js +6 -1
  103. package/lib/locales/ru/error/index.d.ts +2 -0
  104. package/lib/locales/ru/error/index.js +2 -0
  105. package/lib/locales/ru/index.d.ts +19 -1
  106. package/lib/locales/ru/input.d.ts +1 -0
  107. package/lib/locales/ru/input.js +1 -0
  108. package/lib/locales/ru/mfa.d.ts +10 -0
  109. package/lib/locales/ru/mfa.js +11 -1
  110. package/lib/locales/ru/profile.d.ts +6 -1
  111. package/lib/locales/ru/profile.js +6 -1
  112. package/lib/locales/th/action.d.ts +37 -0
  113. package/lib/locales/th/action.js +37 -0
  114. package/lib/locales/th/description.d.ts +97 -0
  115. package/lib/locales/th/description.js +97 -0
  116. package/lib/locales/th/development-tenant.d.ts +4 -0
  117. package/lib/locales/th/development-tenant.js +4 -0
  118. package/lib/locales/th/error/index.d.ts +42 -0
  119. package/lib/locales/th/error/index.js +30 -0
  120. package/lib/locales/th/error/password-rejected.d.ts +15 -0
  121. package/lib/locales/th/error/password-rejected.js +15 -0
  122. package/lib/locales/th/index.d.ts +300 -0
  123. package/lib/locales/th/index.js +25 -0
  124. package/lib/locales/th/input.d.ts +11 -0
  125. package/lib/locales/th/input.js +11 -0
  126. package/lib/locales/th/list.d.ts +6 -0
  127. package/lib/locales/th/list.js +6 -0
  128. package/lib/locales/th/mfa.d.ts +60 -0
  129. package/lib/locales/th/mfa.js +60 -0
  130. package/lib/locales/th/profile.d.ts +30 -0
  131. package/lib/locales/th/profile.js +30 -0
  132. package/lib/locales/th/secondary.d.ts +4 -0
  133. package/lib/locales/th/secondary.js +4 -0
  134. package/lib/locales/th/user-scopes.d.ts +14 -0
  135. package/lib/locales/th/user-scopes.js +14 -0
  136. package/lib/locales/tr-tr/error/index.d.ts +2 -0
  137. package/lib/locales/tr-tr/error/index.js +2 -0
  138. package/lib/locales/tr-tr/index.d.ts +19 -1
  139. package/lib/locales/tr-tr/input.d.ts +1 -0
  140. package/lib/locales/tr-tr/input.js +1 -0
  141. package/lib/locales/tr-tr/mfa.d.ts +10 -0
  142. package/lib/locales/tr-tr/mfa.js +11 -1
  143. package/lib/locales/tr-tr/profile.d.ts +6 -1
  144. package/lib/locales/tr-tr/profile.js +6 -1
  145. package/lib/locales/uk-ua/error/index.d.ts +2 -0
  146. package/lib/locales/uk-ua/error/index.js +2 -0
  147. package/lib/locales/uk-ua/index.d.ts +19 -1
  148. package/lib/locales/uk-ua/input.d.ts +1 -0
  149. package/lib/locales/uk-ua/input.js +1 -0
  150. package/lib/locales/uk-ua/mfa.d.ts +10 -0
  151. package/lib/locales/uk-ua/mfa.js +11 -1
  152. package/lib/locales/uk-ua/profile.d.ts +6 -1
  153. package/lib/locales/uk-ua/profile.js +6 -1
  154. package/lib/locales/zh-cn/error/index.d.ts +2 -0
  155. package/lib/locales/zh-cn/error/index.js +2 -0
  156. package/lib/locales/zh-cn/index.d.ts +19 -1
  157. package/lib/locales/zh-cn/input.d.ts +1 -0
  158. package/lib/locales/zh-cn/input.js +1 -0
  159. package/lib/locales/zh-cn/mfa.d.ts +10 -0
  160. package/lib/locales/zh-cn/mfa.js +10 -0
  161. package/lib/locales/zh-cn/profile.d.ts +6 -1
  162. package/lib/locales/zh-cn/profile.js +7 -2
  163. package/lib/locales/zh-hk/error/index.d.ts +2 -0
  164. package/lib/locales/zh-hk/error/index.js +2 -0
  165. package/lib/locales/zh-hk/index.d.ts +19 -1
  166. package/lib/locales/zh-hk/input.d.ts +1 -0
  167. package/lib/locales/zh-hk/input.js +1 -0
  168. package/lib/locales/zh-hk/mfa.d.ts +10 -0
  169. package/lib/locales/zh-hk/mfa.js +10 -0
  170. package/lib/locales/zh-hk/profile.d.ts +6 -1
  171. package/lib/locales/zh-hk/profile.js +7 -2
  172. package/lib/locales/zh-tw/error/index.d.ts +2 -0
  173. package/lib/locales/zh-tw/error/index.js +2 -0
  174. package/lib/locales/zh-tw/index.d.ts +19 -1
  175. package/lib/locales/zh-tw/input.d.ts +1 -0
  176. package/lib/locales/zh-tw/input.js +1 -0
  177. package/lib/locales/zh-tw/mfa.d.ts +10 -0
  178. package/lib/locales/zh-tw/mfa.js +10 -0
  179. package/lib/locales/zh-tw/profile.d.ts +6 -1
  180. package/lib/locales/zh-tw/profile.js +7 -2
  181. package/package.json +3 -3
@@ -8,6 +8,7 @@ declare const _default: Readonly<{
8
8
  confirm_password: string;
9
9
  search_region_code: string;
10
10
  backup_code: string;
11
+ label_with_optional: string;
11
12
  }>;
12
13
  secondary: Readonly<{
13
14
  social_bind_with: string;
@@ -181,6 +182,8 @@ declare const _default: Readonly<{
181
182
  invalid_link: string;
182
183
  invalid_link_description: string;
183
184
  captcha_verification_failed: string;
185
+ terms_acceptance_required: string;
186
+ terms_acceptance_required_description: string;
184
187
  something_went_wrong: string;
185
188
  }>;
186
189
  list: Readonly<{
@@ -198,14 +201,20 @@ declare const _default: Readonly<{
198
201
  link_webauthn_description: string;
199
202
  link_backup_code_description: string;
200
203
  link_email_verification_code_description: string;
204
+ link_email_2fa_description: string;
201
205
  link_phone_verification_code_description: string;
206
+ link_phone_2fa_description: string;
202
207
  verify_totp_description: string;
203
208
  verify_webauthn_description: string;
204
209
  verify_backup_code_description: string;
205
210
  verify_email_verification_code_description: string;
206
211
  verify_phone_verification_code_description: string;
212
+ send_to_email: string;
213
+ send_to_phone: string;
207
214
  add_mfa_factors: string;
208
215
  add_mfa_description: string;
216
+ add_another_mfa_factor: string;
217
+ add_another_mfa_description: string;
209
218
  verify_mfa_factors: string;
210
219
  verify_mfa_description: string;
211
220
  add_authenticator_app: string;
@@ -219,6 +228,10 @@ declare const _default: Readonly<{
219
228
  enter_one_time_code: string;
220
229
  enter_one_time_code_link_description: string;
221
230
  enter_one_time_code_description: string;
231
+ enter_email_verification_code: string;
232
+ enter_email_verification_code_description: string;
233
+ enter_phone_verification_code: string;
234
+ enter_phone_verification_code_description: string;
222
235
  link_another_mfa_factor: string;
223
236
  save_backup_code: string;
224
237
  save_backup_code_description: string;
@@ -259,7 +272,7 @@ declare const _default: Readonly<{
259
272
  givenName: string;
260
273
  familyName: string;
261
274
  middleName: string;
262
- fullName: string;
275
+ fullname: string;
263
276
  nickname: string;
264
277
  preferredUsername: string;
265
278
  profile: string;
@@ -276,6 +289,11 @@ declare const _default: Readonly<{
276
289
  postalCode: string;
277
290
  country: string;
278
291
  };
292
+ gender_options: {
293
+ female: string;
294
+ male: string;
295
+ prefer_not_to_say: string;
296
+ };
279
297
  }>;
280
298
  };
281
299
  }>;
@@ -6,5 +6,6 @@ declare const _default: Readonly<{
6
6
  confirm_password: string;
7
7
  search_region_code: string;
8
8
  backup_code: string;
9
+ label_with_optional: string;
9
10
  }>;
10
11
  export default _default;
@@ -6,5 +6,6 @@ const input = {
6
6
  confirm_password: '確認密碼',
7
7
  search_region_code: '搜索區域碼',
8
8
  backup_code: '備用碼',
9
+ label_with_optional: '{{label}}(可選)',
9
10
  };
10
11
  export default Object.freeze(input);
@@ -8,14 +8,20 @@ declare const _default: Readonly<{
8
8
  link_webauthn_description: string;
9
9
  link_backup_code_description: string;
10
10
  link_email_verification_code_description: string;
11
+ link_email_2fa_description: string;
11
12
  link_phone_verification_code_description: string;
13
+ link_phone_2fa_description: string;
12
14
  verify_totp_description: string;
13
15
  verify_webauthn_description: string;
14
16
  verify_backup_code_description: string;
15
17
  verify_email_verification_code_description: string;
16
18
  verify_phone_verification_code_description: string;
19
+ send_to_email: string;
20
+ send_to_phone: string;
17
21
  add_mfa_factors: string;
18
22
  add_mfa_description: string;
23
+ add_another_mfa_factor: string;
24
+ add_another_mfa_description: string;
19
25
  verify_mfa_factors: string;
20
26
  verify_mfa_description: string;
21
27
  add_authenticator_app: string;
@@ -29,6 +35,10 @@ declare const _default: Readonly<{
29
35
  enter_one_time_code: string;
30
36
  enter_one_time_code_link_description: string;
31
37
  enter_one_time_code_description: string;
38
+ enter_email_verification_code: string;
39
+ enter_email_verification_code_description: string;
40
+ enter_phone_verification_code: string;
41
+ enter_phone_verification_code_description: string;
32
42
  link_another_mfa_factor: string;
33
43
  save_backup_code: string;
34
44
  save_backup_code_description: string;
@@ -8,14 +8,20 @@ const mfa = {
8
8
  link_webauthn_description: '鏈接您的設備或 USB 硬件',
9
9
  link_backup_code_description: '生成備份代碼',
10
10
  link_email_verification_code_description: '關聯您的電子郵件地址',
11
+ link_email_2fa_description: '關聯您的電子郵件地址進行兩步驗證',
11
12
  link_phone_verification_code_description: '關聯您的電話號碼',
13
+ link_phone_2fa_description: '關聯您的電話號碼進行兩步驗證',
12
14
  verify_totp_description: '在應用程序中輸入一次性代碼',
13
15
  verify_webauthn_description: '驗證您的設備或 USB 硬件',
14
16
  verify_backup_code_description: '粘貼您保存的備份代碼',
15
17
  verify_email_verification_code_description: '輸入發送到您電子郵件的驗證碼',
16
18
  verify_phone_verification_code_description: '輸入發送到您手機的驗證碼',
19
+ send_to_email: '發送至 {{identifier}}',
20
+ send_to_phone: '發送至 {{identifier}}',
17
21
  add_mfa_factors: '添加兩步驗證',
18
22
  add_mfa_description: '已啟用兩步驗證。選擇第二種驗證方法進行安全登錄。',
23
+ add_another_mfa_factor: '新增另一個兩步驗證',
24
+ add_another_mfa_description: '選擇另一種方式來驗證您登入時的身份。',
19
25
  verify_mfa_factors: '兩步驗證',
20
26
  verify_mfa_description: '此帳戶已啟用兩步驗證。請選擇第二種驗證身份的方式。',
21
27
  add_authenticator_app: '添加身份驗證應用',
@@ -29,6 +35,10 @@ const mfa = {
29
35
  enter_one_time_code: '輸入一次性代碼',
30
36
  enter_one_time_code_link_description: '輸入身份驗證應用生成的 6 位驗證碼。',
31
37
  enter_one_time_code_description: '此帳戶啟用了兩步驗證。請輸入在您關聯的認證應用中顯示的一次性代碼。',
38
+ enter_email_verification_code: '輸入電郵驗證碼',
39
+ enter_email_verification_code_description: '此帳戶已啟用兩步認證。請輸入發送到你電郵地址的驗證碼。 {{identifier}}',
40
+ enter_phone_verification_code: '輸入短訊驗證碼',
41
+ enter_phone_verification_code_description: '此帳戶已啟用兩步認證。請輸入發送到你手機號碼的短訊驗證碼。 {{identifier}}',
32
42
  link_another_mfa_factor: '切換到另一種方法',
33
43
  save_backup_code: '保存您的備份代碼',
34
44
  save_backup_code_description: '如果在其他方式的兩步驗證中遇到問題,您可以使用這些備份代碼之一訪問您的帳戶。每個代碼只能使用一次。',
@@ -4,7 +4,7 @@ declare const _default: Readonly<{
4
4
  givenName: string;
5
5
  familyName: string;
6
6
  middleName: string;
7
- fullName: string;
7
+ fullname: string;
8
8
  nickname: string;
9
9
  preferredUsername: string;
10
10
  profile: string;
@@ -21,5 +21,10 @@ declare const _default: Readonly<{
21
21
  postalCode: string;
22
22
  country: string;
23
23
  };
24
+ gender_options: {
25
+ female: string;
26
+ male: string;
27
+ prefer_not_to_say: string;
28
+ };
24
29
  }>;
25
30
  export default _default;
@@ -4,14 +4,14 @@ const profile = {
4
4
  givenName: '名字',
5
5
  familyName: '姓氏',
6
6
  middleName: '中間名',
7
- fullName: '全名',
7
+ fullname: '全名',
8
8
  nickname: '暱稱',
9
9
  preferredUsername: '偏好用戶名',
10
10
  profile: '個人資料',
11
11
  website: '網站',
12
12
  gender: '性別',
13
13
  birthdate: '出生日期',
14
- zoneinfo: '時區資訊',
14
+ zoneinfo: '時區',
15
15
  locale: '語言地區',
16
16
  address: {
17
17
  formatted: '地址',
@@ -21,5 +21,10 @@ const profile = {
21
21
  postalCode: '郵政編碼',
22
22
  country: '國家',
23
23
  },
24
+ gender_options: {
25
+ female: '女性',
26
+ male: '男性',
27
+ prefer_not_to_say: '不願透露',
28
+ },
24
29
  };
25
30
  export default Object.freeze(profile);
@@ -35,6 +35,8 @@ declare const _default: Readonly<{
35
35
  invalid_link: string;
36
36
  invalid_link_description: string;
37
37
  captcha_verification_failed: string;
38
+ terms_acceptance_required: string;
39
+ terms_acceptance_required_description: string;
38
40
  something_went_wrong: string;
39
41
  }>;
40
42
  export default _default;
@@ -23,6 +23,8 @@ const error = {
23
23
  invalid_link: '無效的鏈接',
24
24
  invalid_link_description: '你的一次性令牌可能已過期或不再有效。',
25
25
  captcha_verification_failed: '驗證碼驗證失敗。',
26
+ terms_acceptance_required: '需要同意條款',
27
+ terms_acceptance_required_description: '必須同意條款後才能繼續,請重試。',
26
28
  something_went_wrong: '出了些問題。',
27
29
  };
28
30
  export default Object.freeze(error);
@@ -8,6 +8,7 @@ declare const _default: Readonly<{
8
8
  confirm_password: string;
9
9
  search_region_code: string;
10
10
  backup_code: string;
11
+ label_with_optional: string;
11
12
  }>;
12
13
  secondary: Readonly<{
13
14
  social_bind_with: string;
@@ -181,6 +182,8 @@ declare const _default: Readonly<{
181
182
  invalid_link: string;
182
183
  invalid_link_description: string;
183
184
  captcha_verification_failed: string;
185
+ terms_acceptance_required: string;
186
+ terms_acceptance_required_description: string;
184
187
  something_went_wrong: string;
185
188
  }>;
186
189
  list: Readonly<{
@@ -198,14 +201,20 @@ declare const _default: Readonly<{
198
201
  link_webauthn_description: string;
199
202
  link_backup_code_description: string;
200
203
  link_email_verification_code_description: string;
204
+ link_email_2fa_description: string;
201
205
  link_phone_verification_code_description: string;
206
+ link_phone_2fa_description: string;
202
207
  verify_totp_description: string;
203
208
  verify_webauthn_description: string;
204
209
  verify_backup_code_description: string;
205
210
  verify_email_verification_code_description: string;
206
211
  verify_phone_verification_code_description: string;
212
+ send_to_email: string;
213
+ send_to_phone: string;
207
214
  add_mfa_factors: string;
208
215
  add_mfa_description: string;
216
+ add_another_mfa_factor: string;
217
+ add_another_mfa_description: string;
209
218
  verify_mfa_factors: string;
210
219
  verify_mfa_description: string;
211
220
  add_authenticator_app: string;
@@ -219,6 +228,10 @@ declare const _default: Readonly<{
219
228
  enter_one_time_code: string;
220
229
  enter_one_time_code_link_description: string;
221
230
  enter_one_time_code_description: string;
231
+ enter_email_verification_code: string;
232
+ enter_email_verification_code_description: string;
233
+ enter_phone_verification_code: string;
234
+ enter_phone_verification_code_description: string;
222
235
  link_another_mfa_factor: string;
223
236
  save_backup_code: string;
224
237
  save_backup_code_description: string;
@@ -259,7 +272,7 @@ declare const _default: Readonly<{
259
272
  givenName: string;
260
273
  familyName: string;
261
274
  middleName: string;
262
- fullName: string;
275
+ fullname: string;
263
276
  nickname: string;
264
277
  preferredUsername: string;
265
278
  profile: string;
@@ -276,6 +289,11 @@ declare const _default: Readonly<{
276
289
  postalCode: string;
277
290
  country: string;
278
291
  };
292
+ gender_options: {
293
+ female: string;
294
+ male: string;
295
+ prefer_not_to_say: string;
296
+ };
279
297
  }>;
280
298
  };
281
299
  }>;
@@ -6,5 +6,6 @@ declare const _default: Readonly<{
6
6
  confirm_password: string;
7
7
  search_region_code: string;
8
8
  backup_code: string;
9
+ label_with_optional: string;
9
10
  }>;
10
11
  export default _default;
@@ -6,5 +6,6 @@ const input = {
6
6
  confirm_password: '確認密碼',
7
7
  search_region_code: '搜尋區域碼',
8
8
  backup_code: '備用碼',
9
+ label_with_optional: '{{label}}(可選)',
9
10
  };
10
11
  export default Object.freeze(input);
@@ -8,14 +8,20 @@ declare const _default: Readonly<{
8
8
  link_webauthn_description: string;
9
9
  link_backup_code_description: string;
10
10
  link_email_verification_code_description: string;
11
+ link_email_2fa_description: string;
11
12
  link_phone_verification_code_description: string;
13
+ link_phone_2fa_description: string;
12
14
  verify_totp_description: string;
13
15
  verify_webauthn_description: string;
14
16
  verify_backup_code_description: string;
15
17
  verify_email_verification_code_description: string;
16
18
  verify_phone_verification_code_description: string;
19
+ send_to_email: string;
20
+ send_to_phone: string;
17
21
  add_mfa_factors: string;
18
22
  add_mfa_description: string;
23
+ add_another_mfa_factor: string;
24
+ add_another_mfa_description: string;
19
25
  verify_mfa_factors: string;
20
26
  verify_mfa_description: string;
21
27
  add_authenticator_app: string;
@@ -29,6 +35,10 @@ declare const _default: Readonly<{
29
35
  enter_one_time_code: string;
30
36
  enter_one_time_code_link_description: string;
31
37
  enter_one_time_code_description: string;
38
+ enter_email_verification_code: string;
39
+ enter_email_verification_code_description: string;
40
+ enter_phone_verification_code: string;
41
+ enter_phone_verification_code_description: string;
32
42
  link_another_mfa_factor: string;
33
43
  save_backup_code: string;
34
44
  save_backup_code_description: string;
@@ -8,14 +8,20 @@ const mfa = {
8
8
  link_webauthn_description: '鏈接您的設備或 USB 硬件',
9
9
  link_backup_code_description: '生成備份代碼',
10
10
  link_email_verification_code_description: '連結您的電子郵件地址',
11
+ link_email_2fa_description: '連結您的電子郵件地址進行兩步驗證',
11
12
  link_phone_verification_code_description: '連結您的電話號碼',
13
+ link_phone_2fa_description: '連結您的電話號碼進行兩步驗證',
12
14
  verify_totp_description: '在應用程序中輸入一次性代碼',
13
15
  verify_webauthn_description: '驗證您的設備或 USB 硬件',
14
16
  verify_backup_code_description: '粘貼您保存的備份代碼',
15
17
  verify_email_verification_code_description: '輸入發送至您電子郵件的驗證碼',
16
18
  verify_phone_verification_code_description: '輸入發送至您手機的驗證碼',
19
+ send_to_email: '發送至 {{identifier}}',
20
+ send_to_phone: '發送至 {{identifier}}',
17
21
  add_mfa_factors: '添加兩步驗證',
18
22
  add_mfa_description: '已啟用兩步驗證。選擇第二種驗證方法進行安全登錄。',
23
+ add_another_mfa_factor: '新增另一個兩步驟驗證',
24
+ add_another_mfa_description: '選擇另一種方式來驗證您登入時的身分。',
19
25
  verify_mfa_factors: '兩步驗證',
20
26
  verify_mfa_description: '此帳戶已啟用兩步驗證。請選擇第二種驗證身份的方式。',
21
27
  add_authenticator_app: '添加身份驗證應用',
@@ -29,6 +35,10 @@ const mfa = {
29
35
  enter_one_time_code: '輸入一次性代碼',
30
36
  enter_one_time_code_link_description: '輸入身份驗證應用生成的 6 位驗證碼。',
31
37
  enter_one_time_code_description: '此帳戶啟用了兩步驗證。請輸入在您關聯的認證應用中顯示的一次性代碼。',
38
+ enter_email_verification_code: '輸入電子郵件驗證碼',
39
+ enter_email_verification_code_description: '此帳戶已啟用兩步驟驗證。請輸入發送到您電子郵件地址的驗證碼。 {{identifier}}',
40
+ enter_phone_verification_code: '輸入簡訊驗證碼',
41
+ enter_phone_verification_code_description: '此帳戶已啟用兩步驟驗證。請輸入發送到您手機號碼的簡訊驗證碼。 {{identifier}}',
32
42
  link_another_mfa_factor: '切換到另一種方法',
33
43
  save_backup_code: '保存您的備份代碼',
34
44
  save_backup_code_description: '如果在其他方式的兩步驗證中遇到問題,您可以使用這些備份代碼之一訪問您的帳戶。每個代碼只能使用一次。',
@@ -4,7 +4,7 @@ declare const _default: Readonly<{
4
4
  givenName: string;
5
5
  familyName: string;
6
6
  middleName: string;
7
- fullName: string;
7
+ fullname: string;
8
8
  nickname: string;
9
9
  preferredUsername: string;
10
10
  profile: string;
@@ -21,5 +21,10 @@ declare const _default: Readonly<{
21
21
  postalCode: string;
22
22
  country: string;
23
23
  };
24
+ gender_options: {
25
+ female: string;
26
+ male: string;
27
+ prefer_not_to_say: string;
28
+ };
24
29
  }>;
25
30
  export default _default;
@@ -4,14 +4,14 @@ const profile = {
4
4
  givenName: '名字',
5
5
  familyName: '姓氏',
6
6
  middleName: '中間名',
7
- fullName: '全名',
7
+ fullname: '全名',
8
8
  nickname: '暱稱',
9
9
  preferredUsername: '偏好用戶名',
10
10
  profile: '個人資料',
11
11
  website: '網站',
12
12
  gender: '性別',
13
13
  birthdate: '出生日期',
14
- zoneinfo: '時區資訊',
14
+ zoneinfo: '時區',
15
15
  locale: '語言地區',
16
16
  address: {
17
17
  formatted: '地址',
@@ -21,5 +21,10 @@ const profile = {
21
21
  postalCode: '郵遞區號',
22
22
  country: '國家',
23
23
  },
24
+ gender_options: {
25
+ female: '女性',
26
+ male: '男性',
27
+ prefer_not_to_say: '不願透露',
28
+ },
24
29
  };
25
30
  export default Object.freeze(profile);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logto/phrases-experience",
3
- "version": "1.10.1",
3
+ "version": "1.12.0",
4
4
  "description": "Logto shared phrases (i18n) for experience.",
5
5
  "author": "Silverhand Inc. <contact@silverhand.io>",
6
6
  "homepage": "https://github.com/logto-io/logto#readme",
@@ -25,8 +25,8 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@silverhand/essentials": "^2.9.1",
28
- "@logto/core-kit": "^2.6.1",
29
- "@logto/language-kit": "^1.2.0"
28
+ "@logto/language-kit": "^1.2.0",
29
+ "@logto/core-kit": "^2.6.1"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "zod": "3.24.3"