@logto/phrases-experience 1.10.0 → 1.10.1

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 (171) hide show
  1. package/lib/locales/ar/description.d.ts +1 -0
  2. package/lib/locales/ar/description.js +1 -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 +33 -0
  6. package/lib/locales/ar/index.js +2 -0
  7. package/lib/locales/ar/mfa.d.ts +6 -0
  8. package/lib/locales/ar/mfa.js +6 -0
  9. package/lib/locales/ar/profile.d.ts +25 -0
  10. package/lib/locales/ar/profile.js +25 -0
  11. package/lib/locales/de/description.d.ts +1 -0
  12. package/lib/locales/de/description.js +1 -0
  13. package/lib/locales/de/error/index.d.ts +2 -0
  14. package/lib/locales/de/error/index.js +2 -0
  15. package/lib/locales/de/index.d.ts +33 -0
  16. package/lib/locales/de/index.js +2 -0
  17. package/lib/locales/de/mfa.d.ts +6 -0
  18. package/lib/locales/de/mfa.js +6 -0
  19. package/lib/locales/de/profile.d.ts +25 -0
  20. package/lib/locales/de/profile.js +25 -0
  21. package/lib/locales/en/description.d.ts +1 -0
  22. package/lib/locales/en/description.js +1 -0
  23. package/lib/locales/en/error/index.d.ts +2 -0
  24. package/lib/locales/en/error/index.js +2 -0
  25. package/lib/locales/en/index.d.ts +33 -0
  26. package/lib/locales/en/index.js +2 -0
  27. package/lib/locales/en/mfa.d.ts +6 -0
  28. package/lib/locales/en/mfa.js +6 -0
  29. package/lib/locales/en/profile.d.ts +25 -0
  30. package/lib/locales/en/profile.js +25 -0
  31. package/lib/locales/es/description.d.ts +1 -0
  32. package/lib/locales/es/description.js +1 -0
  33. package/lib/locales/es/error/index.d.ts +2 -0
  34. package/lib/locales/es/error/index.js +2 -0
  35. package/lib/locales/es/index.d.ts +33 -0
  36. package/lib/locales/es/index.js +2 -0
  37. package/lib/locales/es/mfa.d.ts +6 -0
  38. package/lib/locales/es/mfa.js +6 -0
  39. package/lib/locales/es/profile.d.ts +25 -0
  40. package/lib/locales/es/profile.js +25 -0
  41. package/lib/locales/fr/description.d.ts +1 -0
  42. package/lib/locales/fr/description.js +1 -0
  43. package/lib/locales/fr/error/index.d.ts +2 -0
  44. package/lib/locales/fr/error/index.js +2 -0
  45. package/lib/locales/fr/index.d.ts +33 -0
  46. package/lib/locales/fr/index.js +2 -0
  47. package/lib/locales/fr/mfa.d.ts +6 -0
  48. package/lib/locales/fr/mfa.js +6 -0
  49. package/lib/locales/fr/profile.d.ts +25 -0
  50. package/lib/locales/fr/profile.js +25 -0
  51. package/lib/locales/it/description.d.ts +1 -0
  52. package/lib/locales/it/description.js +1 -0
  53. package/lib/locales/it/error/index.d.ts +2 -0
  54. package/lib/locales/it/error/index.js +2 -0
  55. package/lib/locales/it/index.d.ts +33 -0
  56. package/lib/locales/it/index.js +2 -0
  57. package/lib/locales/it/mfa.d.ts +6 -0
  58. package/lib/locales/it/mfa.js +6 -0
  59. package/lib/locales/it/profile.d.ts +25 -0
  60. package/lib/locales/it/profile.js +25 -0
  61. package/lib/locales/ja/description.d.ts +1 -0
  62. package/lib/locales/ja/description.js +1 -0
  63. package/lib/locales/ja/error/index.d.ts +2 -0
  64. package/lib/locales/ja/error/index.js +2 -0
  65. package/lib/locales/ja/index.d.ts +33 -0
  66. package/lib/locales/ja/index.js +2 -0
  67. package/lib/locales/ja/mfa.d.ts +6 -0
  68. package/lib/locales/ja/mfa.js +6 -0
  69. package/lib/locales/ja/profile.d.ts +25 -0
  70. package/lib/locales/ja/profile.js +25 -0
  71. package/lib/locales/ko/description.d.ts +1 -0
  72. package/lib/locales/ko/description.js +1 -0
  73. package/lib/locales/ko/error/index.d.ts +3 -1
  74. package/lib/locales/ko/error/index.js +3 -1
  75. package/lib/locales/ko/index.d.ts +34 -1
  76. package/lib/locales/ko/index.js +2 -0
  77. package/lib/locales/ko/mfa.d.ts +6 -0
  78. package/lib/locales/ko/mfa.js +6 -0
  79. package/lib/locales/ko/profile.d.ts +25 -0
  80. package/lib/locales/ko/profile.js +25 -0
  81. package/lib/locales/pl-pl/description.d.ts +1 -0
  82. package/lib/locales/pl-pl/description.js +1 -0
  83. package/lib/locales/pl-pl/error/index.d.ts +3 -1
  84. package/lib/locales/pl-pl/error/index.js +3 -1
  85. package/lib/locales/pl-pl/index.d.ts +34 -1
  86. package/lib/locales/pl-pl/index.js +2 -0
  87. package/lib/locales/pl-pl/mfa.d.ts +6 -0
  88. package/lib/locales/pl-pl/mfa.js +6 -0
  89. package/lib/locales/pl-pl/profile.d.ts +25 -0
  90. package/lib/locales/pl-pl/profile.js +25 -0
  91. package/lib/locales/pt-br/description.d.ts +1 -0
  92. package/lib/locales/pt-br/description.js +1 -0
  93. package/lib/locales/pt-br/error/index.d.ts +3 -1
  94. package/lib/locales/pt-br/error/index.js +3 -1
  95. package/lib/locales/pt-br/index.d.ts +34 -1
  96. package/lib/locales/pt-br/index.js +2 -0
  97. package/lib/locales/pt-br/mfa.d.ts +6 -0
  98. package/lib/locales/pt-br/mfa.js +6 -0
  99. package/lib/locales/pt-br/profile.d.ts +25 -0
  100. package/lib/locales/pt-br/profile.js +25 -0
  101. package/lib/locales/pt-pt/description.d.ts +1 -0
  102. package/lib/locales/pt-pt/description.js +1 -0
  103. package/lib/locales/pt-pt/error/index.d.ts +3 -1
  104. package/lib/locales/pt-pt/error/index.js +3 -1
  105. package/lib/locales/pt-pt/index.d.ts +34 -1
  106. package/lib/locales/pt-pt/index.js +2 -0
  107. package/lib/locales/pt-pt/mfa.d.ts +6 -0
  108. package/lib/locales/pt-pt/mfa.js +6 -0
  109. package/lib/locales/pt-pt/profile.d.ts +25 -0
  110. package/lib/locales/pt-pt/profile.js +25 -0
  111. package/lib/locales/ru/description.d.ts +1 -0
  112. package/lib/locales/ru/description.js +1 -0
  113. package/lib/locales/ru/error/index.d.ts +3 -1
  114. package/lib/locales/ru/error/index.js +3 -1
  115. package/lib/locales/ru/index.d.ts +34 -1
  116. package/lib/locales/ru/index.js +2 -0
  117. package/lib/locales/ru/mfa.d.ts +6 -0
  118. package/lib/locales/ru/mfa.js +6 -0
  119. package/lib/locales/ru/profile.d.ts +25 -0
  120. package/lib/locales/ru/profile.js +25 -0
  121. package/lib/locales/tr-tr/description.d.ts +1 -0
  122. package/lib/locales/tr-tr/description.js +1 -0
  123. package/lib/locales/tr-tr/error/index.d.ts +3 -1
  124. package/lib/locales/tr-tr/error/index.js +3 -1
  125. package/lib/locales/tr-tr/index.d.ts +34 -1
  126. package/lib/locales/tr-tr/index.js +2 -0
  127. package/lib/locales/tr-tr/mfa.d.ts +6 -0
  128. package/lib/locales/tr-tr/mfa.js +6 -0
  129. package/lib/locales/tr-tr/profile.d.ts +25 -0
  130. package/lib/locales/tr-tr/profile.js +25 -0
  131. package/lib/locales/uk-ua/description.d.ts +1 -0
  132. package/lib/locales/uk-ua/description.js +1 -0
  133. package/lib/locales/uk-ua/error/index.d.ts +2 -0
  134. package/lib/locales/uk-ua/error/index.js +2 -0
  135. package/lib/locales/uk-ua/index.d.ts +33 -0
  136. package/lib/locales/uk-ua/index.js +2 -0
  137. package/lib/locales/uk-ua/mfa.d.ts +6 -0
  138. package/lib/locales/uk-ua/mfa.js +6 -0
  139. package/lib/locales/uk-ua/profile.d.ts +25 -0
  140. package/lib/locales/uk-ua/profile.js +25 -0
  141. package/lib/locales/zh-cn/description.d.ts +1 -0
  142. package/lib/locales/zh-cn/description.js +1 -0
  143. package/lib/locales/zh-cn/error/index.d.ts +2 -0
  144. package/lib/locales/zh-cn/error/index.js +2 -0
  145. package/lib/locales/zh-cn/index.d.ts +33 -0
  146. package/lib/locales/zh-cn/index.js +2 -0
  147. package/lib/locales/zh-cn/mfa.d.ts +6 -0
  148. package/lib/locales/zh-cn/mfa.js +6 -0
  149. package/lib/locales/zh-cn/profile.d.ts +25 -0
  150. package/lib/locales/zh-cn/profile.js +25 -0
  151. package/lib/locales/zh-hk/description.d.ts +1 -0
  152. package/lib/locales/zh-hk/description.js +1 -0
  153. package/lib/locales/zh-hk/error/index.d.ts +3 -1
  154. package/lib/locales/zh-hk/error/index.js +4 -2
  155. package/lib/locales/zh-hk/index.d.ts +34 -1
  156. package/lib/locales/zh-hk/index.js +2 -0
  157. package/lib/locales/zh-hk/mfa.d.ts +6 -0
  158. package/lib/locales/zh-hk/mfa.js +6 -0
  159. package/lib/locales/zh-hk/profile.d.ts +25 -0
  160. package/lib/locales/zh-hk/profile.js +25 -0
  161. package/lib/locales/zh-tw/description.d.ts +1 -0
  162. package/lib/locales/zh-tw/description.js +1 -0
  163. package/lib/locales/zh-tw/error/index.d.ts +3 -1
  164. package/lib/locales/zh-tw/error/index.js +3 -1
  165. package/lib/locales/zh-tw/index.d.ts +34 -1
  166. package/lib/locales/zh-tw/index.js +2 -0
  167. package/lib/locales/zh-tw/mfa.d.ts +6 -0
  168. package/lib/locales/zh-tw/mfa.js +6 -0
  169. package/lib/locales/zh-tw/profile.d.ts +25 -0
  170. package/lib/locales/zh-tw/profile.js +25 -0
  171. package/package.json +5 -5
@@ -0,0 +1,25 @@
1
+ const profile = {
2
+ name: '姓名',
3
+ avatar: '头像',
4
+ givenName: '名',
5
+ familyName: '姓',
6
+ middleName: '中间名',
7
+ fullName: '全名',
8
+ nickname: '昵称',
9
+ preferredUsername: '首选用户名',
10
+ profile: '个人资料',
11
+ website: '网站',
12
+ gender: '性别',
13
+ birthdate: '出生日期',
14
+ zoneinfo: '时区信息',
15
+ locale: '语言环境',
16
+ address: {
17
+ formatted: '地址',
18
+ streetAddress: '街道地址',
19
+ locality: '城市',
20
+ region: '州 / 省份',
21
+ postalCode: '邮政编码',
22
+ country: '国家',
23
+ },
24
+ };
25
+ export default Object.freeze(profile);
@@ -92,5 +92,6 @@ declare const _default: Readonly<{
92
92
  support_website: string;
93
93
  switch_account_title: string;
94
94
  switch_account_description: string;
95
+ about_yourself: string;
95
96
  }>;
96
97
  export default _default;
@@ -92,5 +92,6 @@ const description = {
92
92
  support_website: '支持網站:<link></link>',
93
93
  switch_account_title: '你當前以 {{account}} 登錄',
94
94
  switch_account_description: '要繼續,你將退出當前帳號,並自動切換到新帳號。',
95
+ about_yourself: '講講你自己',
95
96
  };
96
97
  export default Object.freeze(description);
@@ -1,6 +1,8 @@
1
1
  declare const _default: Readonly<{
2
2
  general_required: string;
3
3
  general_invalid: string;
4
+ invalid_min_max_input: string;
5
+ invalid_min_max_length: string;
4
6
  username_required: string;
5
7
  password_required: string;
6
8
  username_exists: string;
@@ -32,7 +34,7 @@ declare const _default: Readonly<{
32
34
  sso_not_enabled: string;
33
35
  invalid_link: string;
34
36
  invalid_link_description: string;
35
- something_went_wrong: string;
36
37
  captcha_verification_failed: string;
38
+ something_went_wrong: string;
37
39
  }>;
38
40
  export default _default;
@@ -2,6 +2,8 @@ import password_rejected from './password-rejected.js';
2
2
  const error = {
3
3
  general_required: '{{types, list(type: disjunction;)}}必填',
4
4
  general_invalid: '無效的{{types, list(type: disjunction;)}}',
5
+ invalid_min_max_input: '輸入值應該在 {{minValue}} 和 {{maxValue}} 之間',
6
+ invalid_min_max_length: '輸入值的長度應該在 {{minLength}} 和 {{maxLength}} 之間',
5
7
  username_required: '用戶名必填',
6
8
  password_required: '密碼必填',
7
9
  username_exists: '用戶名已存在',
@@ -19,8 +21,8 @@ const error = {
19
21
  password_rejected,
20
22
  sso_not_enabled: '此電子郵件帳戶未啟用單一登錄。',
21
23
  invalid_link: '無效的鏈接',
22
- invalid_link_description: '你的單次使用令牌可能已過期或不再有效。',
23
- something_went_wrong: '出錯了。',
24
+ invalid_link_description: '你的一次性令牌可能已過期或失效。',
24
25
  captcha_verification_failed: '驗證碼驗證失敗。',
26
+ something_went_wrong: '出錯了。',
25
27
  };
26
28
  export default Object.freeze(error);
@@ -142,10 +142,13 @@ declare const _default: Readonly<{
142
142
  support_website: string;
143
143
  switch_account_title: string;
144
144
  switch_account_description: string;
145
+ about_yourself: string;
145
146
  }>;
146
147
  error: Readonly<{
147
148
  general_required: string;
148
149
  general_invalid: string;
150
+ invalid_min_max_input: string;
151
+ invalid_min_max_length: string;
149
152
  username_required: string;
150
153
  password_required: string;
151
154
  username_exists: string;
@@ -177,8 +180,8 @@ declare const _default: Readonly<{
177
180
  sso_not_enabled: string;
178
181
  invalid_link: string;
179
182
  invalid_link_description: string;
180
- something_went_wrong: string;
181
183
  captcha_verification_failed: string;
184
+ something_went_wrong: string;
182
185
  }>;
183
186
  list: Readonly<{
184
187
  or: string;
@@ -189,12 +192,18 @@ declare const _default: Readonly<{
189
192
  totp: string;
190
193
  webauthn: string;
191
194
  backup_code: string;
195
+ email_verification_code: string;
196
+ phone_verification_code: string;
192
197
  link_totp_description: string;
193
198
  link_webauthn_description: string;
194
199
  link_backup_code_description: string;
200
+ link_email_verification_code_description: string;
201
+ link_phone_verification_code_description: string;
195
202
  verify_totp_description: string;
196
203
  verify_webauthn_description: string;
197
204
  verify_backup_code_description: string;
205
+ verify_email_verification_code_description: string;
206
+ verify_phone_verification_code_description: string;
198
207
  add_mfa_factors: string;
199
208
  add_mfa_description: string;
200
209
  verify_mfa_factors: string;
@@ -244,6 +253,30 @@ declare const _default: Readonly<{
244
253
  address: string;
245
254
  };
246
255
  }>;
256
+ profile: Readonly<{
257
+ name: string;
258
+ avatar: string;
259
+ givenName: string;
260
+ familyName: string;
261
+ middleName: string;
262
+ fullName: string;
263
+ nickname: string;
264
+ preferredUsername: string;
265
+ profile: string;
266
+ website: string;
267
+ gender: string;
268
+ birthdate: string;
269
+ zoneinfo: string;
270
+ locale: string;
271
+ address: {
272
+ formatted: string;
273
+ streetAddress: string;
274
+ locality: string;
275
+ region: string;
276
+ postalCode: string;
277
+ country: string;
278
+ };
279
+ }>;
247
280
  };
248
281
  }>;
249
282
  export default _default;
@@ -5,6 +5,7 @@ import error from './error/index.js';
5
5
  import input from './input.js';
6
6
  import list from './list.js';
7
7
  import mfa from './mfa.js';
8
+ import profile from './profile.js';
8
9
  import secondary from './secondary.js';
9
10
  import user_scopes from './user-scopes.js';
10
11
  const zh_hk = {
@@ -18,6 +19,7 @@ const zh_hk = {
18
19
  mfa,
19
20
  development_tenant,
20
21
  user_scopes,
22
+ profile,
21
23
  },
22
24
  };
23
25
  export default Object.freeze(zh_hk);
@@ -2,12 +2,18 @@ declare const _default: Readonly<{
2
2
  totp: string;
3
3
  webauthn: string;
4
4
  backup_code: string;
5
+ email_verification_code: string;
6
+ phone_verification_code: string;
5
7
  link_totp_description: string;
6
8
  link_webauthn_description: string;
7
9
  link_backup_code_description: string;
10
+ link_email_verification_code_description: string;
11
+ link_phone_verification_code_description: string;
8
12
  verify_totp_description: string;
9
13
  verify_webauthn_description: string;
10
14
  verify_backup_code_description: string;
15
+ verify_email_verification_code_description: string;
16
+ verify_phone_verification_code_description: string;
11
17
  add_mfa_factors: string;
12
18
  add_mfa_description: string;
13
19
  verify_mfa_factors: string;
@@ -2,12 +2,18 @@ const mfa = {
2
2
  totp: '身份驗證應用 OTP',
3
3
  webauthn: '通行證',
4
4
  backup_code: '備份代碼',
5
+ email_verification_code: '電子郵件驗證碼',
6
+ phone_verification_code: '短訊驗證碼',
5
7
  link_totp_description: '例如,Google Authenticator 等。',
6
8
  link_webauthn_description: '鏈接您的設備或 USB 硬件',
7
9
  link_backup_code_description: '生成備份代碼',
10
+ link_email_verification_code_description: '關聯您的電子郵件地址',
11
+ link_phone_verification_code_description: '關聯您的電話號碼',
8
12
  verify_totp_description: '在應用程序中輸入一次性代碼',
9
13
  verify_webauthn_description: '驗證您的設備或 USB 硬件',
10
14
  verify_backup_code_description: '粘貼您保存的備份代碼',
15
+ verify_email_verification_code_description: '輸入發送到您電子郵件的驗證碼',
16
+ verify_phone_verification_code_description: '輸入發送到您手機的驗證碼',
11
17
  add_mfa_factors: '添加兩步驗證',
12
18
  add_mfa_description: '已啟用兩步驗證。選擇第二種驗證方法進行安全登錄。',
13
19
  verify_mfa_factors: '兩步驗證',
@@ -0,0 +1,25 @@
1
+ declare const _default: Readonly<{
2
+ name: string;
3
+ avatar: string;
4
+ givenName: string;
5
+ familyName: string;
6
+ middleName: string;
7
+ fullName: string;
8
+ nickname: string;
9
+ preferredUsername: string;
10
+ profile: string;
11
+ website: string;
12
+ gender: string;
13
+ birthdate: string;
14
+ zoneinfo: string;
15
+ locale: string;
16
+ address: {
17
+ formatted: string;
18
+ streetAddress: string;
19
+ locality: string;
20
+ region: string;
21
+ postalCode: string;
22
+ country: string;
23
+ };
24
+ }>;
25
+ export default _default;
@@ -0,0 +1,25 @@
1
+ const profile = {
2
+ name: '姓名',
3
+ avatar: '頭像',
4
+ givenName: '名字',
5
+ familyName: '姓氏',
6
+ middleName: '中間名',
7
+ fullName: '全名',
8
+ nickname: '暱稱',
9
+ preferredUsername: '偏好用戶名',
10
+ profile: '個人資料',
11
+ website: '網站',
12
+ gender: '性別',
13
+ birthdate: '出生日期',
14
+ zoneinfo: '時區資訊',
15
+ locale: '語言地區',
16
+ address: {
17
+ formatted: '地址',
18
+ streetAddress: '街道地址',
19
+ locality: '城市',
20
+ region: '州/省',
21
+ postalCode: '郵政編碼',
22
+ country: '國家',
23
+ },
24
+ };
25
+ export default Object.freeze(profile);
@@ -92,5 +92,6 @@ declare const _default: Readonly<{
92
92
  support_website: string;
93
93
  switch_account_title: string;
94
94
  switch_account_description: string;
95
+ about_yourself: string;
95
96
  }>;
96
97
  export default _default;
@@ -92,5 +92,6 @@ const description = {
92
92
  support_website: '支援網站: <link></link>',
93
93
  switch_account_title: '目前以 {{account}} 登錄',
94
94
  switch_account_description: '若要繼續,你將退出當前帳號,並自動切換到新帳號。',
95
+ about_yourself: '告訴我們一些關於你自己的事情',
95
96
  };
96
97
  export default Object.freeze(description);
@@ -1,6 +1,8 @@
1
1
  declare const _default: Readonly<{
2
2
  general_required: string;
3
3
  general_invalid: string;
4
+ invalid_min_max_input: string;
5
+ invalid_min_max_length: string;
4
6
  username_required: string;
5
7
  password_required: string;
6
8
  username_exists: string;
@@ -32,7 +34,7 @@ declare const _default: Readonly<{
32
34
  sso_not_enabled: string;
33
35
  invalid_link: string;
34
36
  invalid_link_description: string;
35
- something_went_wrong: string;
36
37
  captcha_verification_failed: string;
38
+ something_went_wrong: string;
37
39
  }>;
38
40
  export default _default;
@@ -2,6 +2,8 @@ import password_rejected from './password-rejected.js';
2
2
  const error = {
3
3
  general_required: '{{types, list(type: disjunction;)}}必填',
4
4
  general_invalid: '無效的{{types, list(type: disjunction;)}}',
5
+ invalid_min_max_input: '輸入的值應該在 {{minValue}} 到 {{maxValue}} 之間',
6
+ invalid_min_max_length: '輸入值的長度應該在 {{minLength}} 到 {{maxLength}} 之間',
5
7
  username_required: '使用者名稱必填',
6
8
  password_required: '密碼必填',
7
9
  username_exists: '使用者名稱已存在',
@@ -20,7 +22,7 @@ const error = {
20
22
  sso_not_enabled: '此郵箱帳戶未啟用單一登錄。',
21
23
  invalid_link: '無效的鏈接',
22
24
  invalid_link_description: '你的一次性令牌可能已過期或不再有效。',
23
- something_went_wrong: '出了些問題。',
24
25
  captcha_verification_failed: '驗證碼驗證失敗。',
26
+ something_went_wrong: '出了些問題。',
25
27
  };
26
28
  export default Object.freeze(error);
@@ -142,10 +142,13 @@ declare const _default: Readonly<{
142
142
  support_website: string;
143
143
  switch_account_title: string;
144
144
  switch_account_description: string;
145
+ about_yourself: string;
145
146
  }>;
146
147
  error: Readonly<{
147
148
  general_required: string;
148
149
  general_invalid: string;
150
+ invalid_min_max_input: string;
151
+ invalid_min_max_length: string;
149
152
  username_required: string;
150
153
  password_required: string;
151
154
  username_exists: string;
@@ -177,8 +180,8 @@ declare const _default: Readonly<{
177
180
  sso_not_enabled: string;
178
181
  invalid_link: string;
179
182
  invalid_link_description: string;
180
- something_went_wrong: string;
181
183
  captcha_verification_failed: string;
184
+ something_went_wrong: string;
182
185
  }>;
183
186
  list: Readonly<{
184
187
  or: string;
@@ -189,12 +192,18 @@ declare const _default: Readonly<{
189
192
  totp: string;
190
193
  webauthn: string;
191
194
  backup_code: string;
195
+ email_verification_code: string;
196
+ phone_verification_code: string;
192
197
  link_totp_description: string;
193
198
  link_webauthn_description: string;
194
199
  link_backup_code_description: string;
200
+ link_email_verification_code_description: string;
201
+ link_phone_verification_code_description: string;
195
202
  verify_totp_description: string;
196
203
  verify_webauthn_description: string;
197
204
  verify_backup_code_description: string;
205
+ verify_email_verification_code_description: string;
206
+ verify_phone_verification_code_description: string;
198
207
  add_mfa_factors: string;
199
208
  add_mfa_description: string;
200
209
  verify_mfa_factors: string;
@@ -244,6 +253,30 @@ declare const _default: Readonly<{
244
253
  address: string;
245
254
  };
246
255
  }>;
256
+ profile: Readonly<{
257
+ name: string;
258
+ avatar: string;
259
+ givenName: string;
260
+ familyName: string;
261
+ middleName: string;
262
+ fullName: string;
263
+ nickname: string;
264
+ preferredUsername: string;
265
+ profile: string;
266
+ website: string;
267
+ gender: string;
268
+ birthdate: string;
269
+ zoneinfo: string;
270
+ locale: string;
271
+ address: {
272
+ formatted: string;
273
+ streetAddress: string;
274
+ locality: string;
275
+ region: string;
276
+ postalCode: string;
277
+ country: string;
278
+ };
279
+ }>;
247
280
  };
248
281
  }>;
249
282
  export default _default;
@@ -5,6 +5,7 @@ import error from './error/index.js';
5
5
  import input from './input.js';
6
6
  import list from './list.js';
7
7
  import mfa from './mfa.js';
8
+ import profile from './profile.js';
8
9
  import secondary from './secondary.js';
9
10
  import user_scopes from './user-scopes.js';
10
11
  const zh_tw = {
@@ -18,6 +19,7 @@ const zh_tw = {
18
19
  mfa,
19
20
  development_tenant,
20
21
  user_scopes,
22
+ profile,
21
23
  },
22
24
  };
23
25
  export default Object.freeze(zh_tw);
@@ -2,12 +2,18 @@ declare const _default: Readonly<{
2
2
  totp: string;
3
3
  webauthn: string;
4
4
  backup_code: string;
5
+ email_verification_code: string;
6
+ phone_verification_code: string;
5
7
  link_totp_description: string;
6
8
  link_webauthn_description: string;
7
9
  link_backup_code_description: string;
10
+ link_email_verification_code_description: string;
11
+ link_phone_verification_code_description: string;
8
12
  verify_totp_description: string;
9
13
  verify_webauthn_description: string;
10
14
  verify_backup_code_description: string;
15
+ verify_email_verification_code_description: string;
16
+ verify_phone_verification_code_description: string;
11
17
  add_mfa_factors: string;
12
18
  add_mfa_description: string;
13
19
  verify_mfa_factors: string;
@@ -2,12 +2,18 @@ const mfa = {
2
2
  totp: '身份驗證應用 OTP',
3
3
  webauthn: '通行證',
4
4
  backup_code: '備份代碼',
5
+ email_verification_code: '電子郵件驗證碼',
6
+ phone_verification_code: '簡訊驗證碼',
5
7
  link_totp_description: '例如,Google Authenticator 等。',
6
8
  link_webauthn_description: '鏈接您的設備或 USB 硬件',
7
9
  link_backup_code_description: '生成備份代碼',
10
+ link_email_verification_code_description: '連結您的電子郵件地址',
11
+ link_phone_verification_code_description: '連結您的電話號碼',
8
12
  verify_totp_description: '在應用程序中輸入一次性代碼',
9
13
  verify_webauthn_description: '驗證您的設備或 USB 硬件',
10
14
  verify_backup_code_description: '粘貼您保存的備份代碼',
15
+ verify_email_verification_code_description: '輸入發送至您電子郵件的驗證碼',
16
+ verify_phone_verification_code_description: '輸入發送至您手機的驗證碼',
11
17
  add_mfa_factors: '添加兩步驗證',
12
18
  add_mfa_description: '已啟用兩步驗證。選擇第二種驗證方法進行安全登錄。',
13
19
  verify_mfa_factors: '兩步驗證',
@@ -0,0 +1,25 @@
1
+ declare const _default: Readonly<{
2
+ name: string;
3
+ avatar: string;
4
+ givenName: string;
5
+ familyName: string;
6
+ middleName: string;
7
+ fullName: string;
8
+ nickname: string;
9
+ preferredUsername: string;
10
+ profile: string;
11
+ website: string;
12
+ gender: string;
13
+ birthdate: string;
14
+ zoneinfo: string;
15
+ locale: string;
16
+ address: {
17
+ formatted: string;
18
+ streetAddress: string;
19
+ locality: string;
20
+ region: string;
21
+ postalCode: string;
22
+ country: string;
23
+ };
24
+ }>;
25
+ export default _default;
@@ -0,0 +1,25 @@
1
+ const profile = {
2
+ name: '名稱',
3
+ avatar: '頭像',
4
+ givenName: '名字',
5
+ familyName: '姓氏',
6
+ middleName: '中間名',
7
+ fullName: '全名',
8
+ nickname: '暱稱',
9
+ preferredUsername: '偏好用戶名',
10
+ profile: '個人資料',
11
+ website: '網站',
12
+ gender: '性別',
13
+ birthdate: '出生日期',
14
+ zoneinfo: '時區資訊',
15
+ locale: '語言地區',
16
+ address: {
17
+ formatted: '地址',
18
+ streetAddress: '街道地址',
19
+ locality: '城市',
20
+ region: '州/省份',
21
+ postalCode: '郵遞區號',
22
+ country: '國家',
23
+ },
24
+ };
25
+ 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.0",
3
+ "version": "1.10.1",
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",
@@ -24,12 +24,12 @@
24
24
  "url": "https://github.com/logto-io/logto/issues"
25
25
  },
26
26
  "dependencies": {
27
- "@logto/core-kit": "^2.6.0",
28
- "@logto/language-kit": "^1.2.0",
29
- "@silverhand/essentials": "^2.9.1"
27
+ "@silverhand/essentials": "^2.9.1",
28
+ "@logto/core-kit": "^2.6.1",
29
+ "@logto/language-kit": "^1.2.0"
30
30
  },
31
31
  "peerDependencies": {
32
- "zod": "^3.24.2"
32
+ "zod": "3.24.3"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@silverhand/eslint-config": "6.0.1",