@logto/phrases-experience 1.3.0 → 1.4.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 (245) hide show
  1. package/README.md +4 -0
  2. package/lib/locales/de/action.d.ts +5 -0
  3. package/lib/locales/de/action.js +5 -0
  4. package/lib/locales/de/description.d.ts +9 -4
  5. package/lib/locales/de/description.js +9 -4
  6. package/lib/locales/de/error/index.d.ts +7 -4
  7. package/lib/locales/de/error/index.js +1 -0
  8. package/lib/locales/de/error/password-rejected.d.ts +6 -4
  9. package/lib/locales/de/error/password-rejected.js +6 -4
  10. package/lib/locales/de/index.d.ts +65 -11
  11. package/lib/locales/de/index.js +2 -2
  12. package/lib/locales/de/input.d.ts +1 -0
  13. package/lib/locales/de/input.js +1 -0
  14. package/lib/locales/de/mfa.d.ts +44 -0
  15. package/lib/locales/de/mfa.js +44 -0
  16. package/lib/locales/en/action.d.ts +5 -0
  17. package/lib/locales/en/action.js +5 -0
  18. package/lib/locales/en/description.d.ts +9 -4
  19. package/lib/locales/en/description.js +9 -4
  20. package/lib/locales/en/error/index.d.ts +7 -4
  21. package/lib/locales/en/error/index.js +1 -0
  22. package/lib/locales/en/error/password-rejected.d.ts +6 -4
  23. package/lib/locales/en/error/password-rejected.js +6 -4
  24. package/lib/locales/en/index.d.ts +65 -11
  25. package/lib/locales/en/index.js +2 -2
  26. package/lib/locales/en/input.d.ts +1 -0
  27. package/lib/locales/en/input.js +1 -0
  28. package/lib/locales/en/mfa.d.ts +44 -0
  29. package/lib/locales/en/mfa.js +44 -0
  30. package/lib/locales/es/action.d.ts +5 -0
  31. package/lib/locales/es/action.js +5 -0
  32. package/lib/locales/es/description.d.ts +9 -4
  33. package/lib/locales/es/description.js +9 -4
  34. package/lib/locales/es/error/index.d.ts +7 -4
  35. package/lib/locales/es/error/index.js +1 -0
  36. package/lib/locales/es/error/password-rejected.d.ts +6 -4
  37. package/lib/locales/es/error/password-rejected.js +6 -4
  38. package/lib/locales/es/index.d.ts +65 -11
  39. package/lib/locales/es/index.js +2 -2
  40. package/lib/locales/es/input.d.ts +1 -0
  41. package/lib/locales/es/input.js +1 -0
  42. package/lib/locales/es/mfa.d.ts +44 -0
  43. package/lib/locales/es/mfa.js +44 -0
  44. package/lib/locales/fr/action.d.ts +5 -0
  45. package/lib/locales/fr/action.js +5 -0
  46. package/lib/locales/fr/description.d.ts +9 -4
  47. package/lib/locales/fr/description.js +9 -4
  48. package/lib/locales/fr/error/index.d.ts +7 -4
  49. package/lib/locales/fr/error/index.js +1 -0
  50. package/lib/locales/fr/error/password-rejected.d.ts +6 -4
  51. package/lib/locales/fr/error/password-rejected.js +6 -4
  52. package/lib/locales/fr/index.d.ts +65 -11
  53. package/lib/locales/fr/index.js +2 -2
  54. package/lib/locales/fr/input.d.ts +1 -0
  55. package/lib/locales/fr/input.js +1 -0
  56. package/lib/locales/fr/mfa.d.ts +44 -0
  57. package/lib/locales/fr/mfa.js +44 -0
  58. package/lib/locales/it/action.d.ts +5 -0
  59. package/lib/locales/it/action.js +5 -0
  60. package/lib/locales/it/description.d.ts +9 -4
  61. package/lib/locales/it/description.js +9 -4
  62. package/lib/locales/it/error/index.d.ts +7 -4
  63. package/lib/locales/it/error/index.js +1 -0
  64. package/lib/locales/it/error/password-rejected.d.ts +6 -4
  65. package/lib/locales/it/error/password-rejected.js +6 -4
  66. package/lib/locales/it/index.d.ts +65 -11
  67. package/lib/locales/it/index.js +2 -2
  68. package/lib/locales/it/input.d.ts +1 -0
  69. package/lib/locales/it/input.js +1 -0
  70. package/lib/locales/it/mfa.d.ts +44 -0
  71. package/lib/locales/it/mfa.js +44 -0
  72. package/lib/locales/ja/action.d.ts +5 -0
  73. package/lib/locales/ja/action.js +5 -0
  74. package/lib/locales/ja/description.d.ts +9 -4
  75. package/lib/locales/ja/description.js +9 -4
  76. package/lib/locales/ja/error/index.d.ts +7 -4
  77. package/lib/locales/ja/error/index.js +1 -0
  78. package/lib/locales/ja/error/password-rejected.d.ts +6 -4
  79. package/lib/locales/ja/error/password-rejected.js +6 -4
  80. package/lib/locales/ja/index.d.ts +67 -13
  81. package/lib/locales/ja/index.js +2 -2
  82. package/lib/locales/ja/input.d.ts +1 -0
  83. package/lib/locales/ja/input.js +1 -0
  84. package/lib/locales/ja/list.d.ts +3 -3
  85. package/lib/locales/ja/list.js +1 -2
  86. package/lib/locales/ja/mfa.d.ts +44 -0
  87. package/lib/locales/ja/mfa.js +44 -0
  88. package/lib/locales/ko/action.d.ts +5 -0
  89. package/lib/locales/ko/action.js +5 -0
  90. package/lib/locales/ko/description.d.ts +9 -4
  91. package/lib/locales/ko/description.js +10 -5
  92. package/lib/locales/ko/error/index.d.ts +7 -4
  93. package/lib/locales/ko/error/index.js +1 -0
  94. package/lib/locales/ko/error/password-rejected.d.ts +6 -4
  95. package/lib/locales/ko/error/password-rejected.js +6 -4
  96. package/lib/locales/ko/index.d.ts +65 -11
  97. package/lib/locales/ko/index.js +2 -2
  98. package/lib/locales/ko/input.d.ts +1 -0
  99. package/lib/locales/ko/input.js +1 -0
  100. package/lib/locales/ko/mfa.d.ts +44 -0
  101. package/lib/locales/ko/mfa.js +44 -0
  102. package/lib/locales/pl-pl/action.d.ts +5 -0
  103. package/lib/locales/pl-pl/action.js +5 -0
  104. package/lib/locales/pl-pl/description.d.ts +9 -4
  105. package/lib/locales/pl-pl/description.js +9 -4
  106. package/lib/locales/pl-pl/error/index.d.ts +7 -4
  107. package/lib/locales/pl-pl/error/index.js +1 -0
  108. package/lib/locales/pl-pl/error/password-rejected.d.ts +6 -4
  109. package/lib/locales/pl-pl/error/password-rejected.js +6 -4
  110. package/lib/locales/pl-pl/index.d.ts +65 -11
  111. package/lib/locales/pl-pl/index.js +2 -2
  112. package/lib/locales/pl-pl/input.d.ts +1 -0
  113. package/lib/locales/pl-pl/input.js +1 -0
  114. package/lib/locales/pl-pl/mfa.d.ts +44 -0
  115. package/lib/locales/pl-pl/mfa.js +44 -0
  116. package/lib/locales/pt-br/action.d.ts +5 -0
  117. package/lib/locales/pt-br/action.js +5 -0
  118. package/lib/locales/pt-br/description.d.ts +9 -4
  119. package/lib/locales/pt-br/description.js +9 -4
  120. package/lib/locales/pt-br/error/index.d.ts +7 -4
  121. package/lib/locales/pt-br/error/index.js +1 -0
  122. package/lib/locales/pt-br/error/password-rejected.d.ts +6 -4
  123. package/lib/locales/pt-br/error/password-rejected.js +6 -4
  124. package/lib/locales/pt-br/index.d.ts +65 -11
  125. package/lib/locales/pt-br/index.js +2 -2
  126. package/lib/locales/pt-br/input.d.ts +1 -0
  127. package/lib/locales/pt-br/input.js +1 -0
  128. package/lib/locales/pt-br/mfa.d.ts +44 -0
  129. package/lib/locales/pt-br/mfa.js +44 -0
  130. package/lib/locales/pt-pt/action.d.ts +5 -0
  131. package/lib/locales/pt-pt/action.js +5 -0
  132. package/lib/locales/pt-pt/description.d.ts +9 -4
  133. package/lib/locales/pt-pt/description.js +9 -4
  134. package/lib/locales/pt-pt/error/index.d.ts +7 -4
  135. package/lib/locales/pt-pt/error/index.js +1 -0
  136. package/lib/locales/pt-pt/error/password-rejected.d.ts +6 -4
  137. package/lib/locales/pt-pt/error/password-rejected.js +6 -4
  138. package/lib/locales/pt-pt/index.d.ts +65 -11
  139. package/lib/locales/pt-pt/index.js +2 -2
  140. package/lib/locales/pt-pt/input.d.ts +1 -0
  141. package/lib/locales/pt-pt/input.js +1 -0
  142. package/lib/locales/pt-pt/mfa.d.ts +44 -0
  143. package/lib/locales/pt-pt/mfa.js +44 -0
  144. package/lib/locales/ru/action.d.ts +5 -0
  145. package/lib/locales/ru/action.js +5 -0
  146. package/lib/locales/ru/description.d.ts +9 -4
  147. package/lib/locales/ru/description.js +9 -4
  148. package/lib/locales/ru/error/index.d.ts +7 -4
  149. package/lib/locales/ru/error/index.js +1 -0
  150. package/lib/locales/ru/error/password-rejected.d.ts +6 -4
  151. package/lib/locales/ru/error/password-rejected.js +6 -4
  152. package/lib/locales/ru/index.d.ts +65 -11
  153. package/lib/locales/ru/index.js +2 -2
  154. package/lib/locales/ru/input.d.ts +1 -0
  155. package/lib/locales/ru/input.js +1 -0
  156. package/lib/locales/ru/mfa.d.ts +44 -0
  157. package/lib/locales/ru/mfa.js +44 -0
  158. package/lib/locales/tr-tr/action.d.ts +5 -0
  159. package/lib/locales/tr-tr/action.js +5 -0
  160. package/lib/locales/tr-tr/description.d.ts +9 -4
  161. package/lib/locales/tr-tr/description.js +9 -4
  162. package/lib/locales/tr-tr/error/index.d.ts +7 -4
  163. package/lib/locales/tr-tr/error/index.js +1 -0
  164. package/lib/locales/tr-tr/error/password-rejected.d.ts +6 -4
  165. package/lib/locales/tr-tr/error/password-rejected.js +6 -4
  166. package/lib/locales/tr-tr/index.d.ts +65 -11
  167. package/lib/locales/tr-tr/index.js +2 -2
  168. package/lib/locales/tr-tr/input.d.ts +1 -0
  169. package/lib/locales/tr-tr/input.js +1 -0
  170. package/lib/locales/tr-tr/mfa.d.ts +44 -0
  171. package/lib/locales/tr-tr/mfa.js +44 -0
  172. package/lib/locales/zh-cn/action.d.ts +5 -0
  173. package/lib/locales/zh-cn/action.js +5 -0
  174. package/lib/locales/zh-cn/description.d.ts +9 -4
  175. package/lib/locales/zh-cn/description.js +9 -4
  176. package/lib/locales/zh-cn/error/index.d.ts +7 -4
  177. package/lib/locales/zh-cn/error/index.js +1 -0
  178. package/lib/locales/zh-cn/error/password-rejected.d.ts +6 -4
  179. package/lib/locales/zh-cn/error/password-rejected.js +6 -4
  180. package/lib/locales/zh-cn/index.d.ts +65 -11
  181. package/lib/locales/zh-cn/index.js +2 -2
  182. package/lib/locales/zh-cn/input.d.ts +1 -0
  183. package/lib/locales/zh-cn/input.js +1 -0
  184. package/lib/locales/zh-cn/mfa.d.ts +44 -0
  185. package/lib/locales/zh-cn/mfa.js +44 -0
  186. package/lib/locales/zh-hk/action.d.ts +5 -0
  187. package/lib/locales/zh-hk/action.js +5 -0
  188. package/lib/locales/zh-hk/description.d.ts +9 -4
  189. package/lib/locales/zh-hk/description.js +9 -4
  190. package/lib/locales/zh-hk/error/index.d.ts +7 -4
  191. package/lib/locales/zh-hk/error/index.js +1 -0
  192. package/lib/locales/zh-hk/error/password-rejected.d.ts +6 -4
  193. package/lib/locales/zh-hk/error/password-rejected.js +6 -4
  194. package/lib/locales/zh-hk/index.d.ts +65 -11
  195. package/lib/locales/zh-hk/index.js +2 -2
  196. package/lib/locales/zh-hk/input.d.ts +1 -0
  197. package/lib/locales/zh-hk/input.js +1 -0
  198. package/lib/locales/zh-hk/mfa.d.ts +44 -0
  199. package/lib/locales/zh-hk/mfa.js +44 -0
  200. package/lib/locales/zh-tw/action.d.ts +5 -0
  201. package/lib/locales/zh-tw/action.js +5 -0
  202. package/lib/locales/zh-tw/description.d.ts +9 -4
  203. package/lib/locales/zh-tw/description.js +17 -12
  204. package/lib/locales/zh-tw/error/index.d.ts +7 -4
  205. package/lib/locales/zh-tw/error/index.js +1 -0
  206. package/lib/locales/zh-tw/error/password-rejected.d.ts +6 -4
  207. package/lib/locales/zh-tw/error/password-rejected.js +6 -4
  208. package/lib/locales/zh-tw/index.d.ts +65 -11
  209. package/lib/locales/zh-tw/index.js +2 -2
  210. package/lib/locales/zh-tw/input.d.ts +1 -0
  211. package/lib/locales/zh-tw/input.js +1 -0
  212. package/lib/locales/zh-tw/mfa.d.ts +44 -0
  213. package/lib/locales/zh-tw/mfa.js +44 -0
  214. package/lib/types.d.ts +6 -0
  215. package/package.json +4 -4
  216. package/lib/locales/de/demo-app.d.ts +0 -4
  217. package/lib/locales/de/demo-app.js +0 -4
  218. package/lib/locales/en/demo-app.d.ts +0 -4
  219. package/lib/locales/en/demo-app.js +0 -4
  220. package/lib/locales/es/demo-app.d.ts +0 -4
  221. package/lib/locales/es/demo-app.js +0 -4
  222. package/lib/locales/fr/demo-app.d.ts +0 -4
  223. package/lib/locales/fr/demo-app.js +0 -4
  224. package/lib/locales/it/demo-app.d.ts +0 -4
  225. package/lib/locales/it/demo-app.js +0 -4
  226. package/lib/locales/ja/demo-app.d.ts +0 -4
  227. package/lib/locales/ja/demo-app.js +0 -4
  228. package/lib/locales/ko/demo-app.d.ts +0 -4
  229. package/lib/locales/ko/demo-app.js +0 -4
  230. package/lib/locales/pl-pl/demo-app.d.ts +0 -4
  231. package/lib/locales/pl-pl/demo-app.js +0 -4
  232. package/lib/locales/pt-br/demo-app.d.ts +0 -4
  233. package/lib/locales/pt-br/demo-app.js +0 -4
  234. package/lib/locales/pt-pt/demo-app.d.ts +0 -4
  235. package/lib/locales/pt-pt/demo-app.js +0 -4
  236. package/lib/locales/ru/demo-app.d.ts +0 -4
  237. package/lib/locales/ru/demo-app.js +0 -4
  238. package/lib/locales/tr-tr/demo-app.d.ts +0 -4
  239. package/lib/locales/tr-tr/demo-app.js +0 -4
  240. package/lib/locales/zh-cn/demo-app.d.ts +0 -4
  241. package/lib/locales/zh-cn/demo-app.js +0 -4
  242. package/lib/locales/zh-hk/demo-app.d.ts +0 -4
  243. package/lib/locales/zh-hk/demo-app.js +0 -4
  244. package/lib/locales/zh-tw/demo-app.d.ts +0 -4
  245. package/lib/locales/zh-tw/demo-app.js +0 -4
@@ -7,6 +7,7 @@ declare const _default: Readonly<{
7
7
  phone_number: string;
8
8
  confirm_password: string;
9
9
  search_region_code: string;
10
+ backup_code: string;
10
11
  }>;
11
12
  secondary: Readonly<{
12
13
  social_bind_with: string;
@@ -25,6 +26,7 @@ declare const _default: Readonly<{
25
26
  bind_and_continue: string;
26
27
  back: string;
27
28
  nav_back: string;
29
+ nav_skip: string;
28
30
  agree: string;
29
31
  got_it: string;
30
32
  sign_in_with: string;
@@ -37,6 +39,10 @@ declare const _default: Readonly<{
37
39
  link_another_phone: string;
38
40
  link_another_email_or_phone: string;
39
41
  show_password: string;
42
+ copy: string;
43
+ verify_via_passkey: string;
44
+ download: string;
45
+ single_sign_on: string;
40
46
  }>;
41
47
  description: Readonly<{
42
48
  email: string;
@@ -92,10 +98,15 @@ declare const _default: Readonly<{
92
98
  verify_email: string;
93
99
  verify_phone: string;
94
100
  password_requirements: string;
95
- 'password_requirement.length_one': string;
96
- 'password_requirement.length_other': string;
97
- 'password_requirement.character_types_one': string;
98
- 'password_requirement.character_types_other': string;
101
+ password_requirement: {
102
+ length_one: string;
103
+ length_other: string;
104
+ character_types_one: string;
105
+ character_types_other: string;
106
+ };
107
+ use: string;
108
+ single_sign_on_email_form: string;
109
+ single_sign_on_connectors_list: string;
99
110
  }>;
100
111
  error: Readonly<{
101
112
  general_required: string;
@@ -121,20 +132,63 @@ declare const _default: Readonly<{
121
132
  unsupported_characters: string;
122
133
  pwned: string;
123
134
  restricted_found: string;
124
- 'restricted.repetition': string;
125
- 'restricted.sequence': string;
126
- 'restricted.user_info': string;
127
- 'restricted.words': string;
135
+ restricted: {
136
+ repetition: string;
137
+ sequence: string;
138
+ user_info: string;
139
+ words: string;
140
+ };
128
141
  }>;
129
- }>;
130
- demo_app: Readonly<{
131
- notification: string;
142
+ sso_not_enabled: string;
132
143
  }>;
133
144
  list: Readonly<{
134
145
  or: string;
135
146
  and: string;
136
147
  separator: string;
137
148
  }>;
149
+ mfa: Readonly<{
150
+ totp: string;
151
+ webauthn: string;
152
+ backup_code: string;
153
+ link_totp_description: string;
154
+ link_webauthn_description: string;
155
+ link_backup_code_description: string;
156
+ verify_totp_description: string;
157
+ verify_webauthn_description: string;
158
+ verify_backup_code_description: string;
159
+ add_mfa_factors: string;
160
+ add_mfa_description: string;
161
+ verify_mfa_factors: string;
162
+ verify_mfa_description: string;
163
+ add_authenticator_app: string;
164
+ step: string;
165
+ scan_qr_code: string;
166
+ scan_qr_code_description: string;
167
+ qr_code_not_available: string;
168
+ copy_and_paste_key: string;
169
+ copy_and_paste_key_description: string;
170
+ want_to_scan_qr_code: string;
171
+ enter_one_time_code: string;
172
+ enter_one_time_code_link_description: string;
173
+ enter_one_time_code_description: string;
174
+ link_another_mfa_factor: string;
175
+ save_backup_code: string;
176
+ save_backup_code_description: string;
177
+ backup_code_hint: string;
178
+ enter_a_backup_code: string;
179
+ enter_backup_code_description: string;
180
+ create_a_passkey: string;
181
+ create_passkey_description: string;
182
+ try_another_verification_method: string;
183
+ verify_via_passkey: string;
184
+ verify_via_passkey_description: string;
185
+ secret_key_copied: string;
186
+ backup_code_copied: string;
187
+ webauthn_not_ready: string;
188
+ webauthn_not_supported: string;
189
+ webauthn_failed_to_create: string;
190
+ webauthn_failed_to_verify: string;
191
+ }>;
138
192
  };
139
193
  }>;
140
194
  export default _default;
@@ -1,9 +1,9 @@
1
1
  import action from './action.js';
2
- import demo_app from './demo-app.js';
3
2
  import description from './description.js';
4
3
  import error from './error/index.js';
5
4
  import input from './input.js';
6
5
  import list from './list.js';
6
+ import mfa from './mfa.js';
7
7
  import secondary from './secondary.js';
8
8
  const zh_hk = {
9
9
  translation: {
@@ -12,8 +12,8 @@ const zh_hk = {
12
12
  action,
13
13
  description,
14
14
  error,
15
- demo_app,
16
15
  list,
16
+ mfa,
17
17
  },
18
18
  };
19
19
  export default Object.freeze(zh_hk);
@@ -5,5 +5,6 @@ declare const _default: Readonly<{
5
5
  phone_number: string;
6
6
  confirm_password: string;
7
7
  search_region_code: string;
8
+ backup_code: string;
8
9
  }>;
9
10
  export default _default;
@@ -5,5 +5,6 @@ const input = {
5
5
  phone_number: '手機號碼',
6
6
  confirm_password: '確認密碼',
7
7
  search_region_code: '搜索區域碼',
8
+ backup_code: '備用碼',
8
9
  };
9
10
  export default Object.freeze(input);
@@ -0,0 +1,44 @@
1
+ declare const _default: Readonly<{
2
+ totp: string;
3
+ webauthn: string;
4
+ backup_code: string;
5
+ link_totp_description: string;
6
+ link_webauthn_description: string;
7
+ link_backup_code_description: string;
8
+ verify_totp_description: string;
9
+ verify_webauthn_description: string;
10
+ verify_backup_code_description: string;
11
+ add_mfa_factors: string;
12
+ add_mfa_description: string;
13
+ verify_mfa_factors: string;
14
+ verify_mfa_description: string;
15
+ add_authenticator_app: string;
16
+ step: string;
17
+ scan_qr_code: string;
18
+ scan_qr_code_description: string;
19
+ qr_code_not_available: string;
20
+ copy_and_paste_key: string;
21
+ copy_and_paste_key_description: string;
22
+ want_to_scan_qr_code: string;
23
+ enter_one_time_code: string;
24
+ enter_one_time_code_link_description: string;
25
+ enter_one_time_code_description: string;
26
+ link_another_mfa_factor: string;
27
+ save_backup_code: string;
28
+ save_backup_code_description: string;
29
+ backup_code_hint: string;
30
+ enter_a_backup_code: string;
31
+ enter_backup_code_description: string;
32
+ create_a_passkey: string;
33
+ create_passkey_description: string;
34
+ try_another_verification_method: string;
35
+ verify_via_passkey: string;
36
+ verify_via_passkey_description: string;
37
+ secret_key_copied: string;
38
+ backup_code_copied: string;
39
+ webauthn_not_ready: string;
40
+ webauthn_not_supported: string;
41
+ webauthn_failed_to_create: string;
42
+ webauthn_failed_to_verify: string;
43
+ }>;
44
+ export default _default;
@@ -0,0 +1,44 @@
1
+ const mfa = {
2
+ totp: '身份驗證應用 OTP',
3
+ webauthn: '通行證',
4
+ backup_code: '備份代碼',
5
+ link_totp_description: '例如,Google Authenticator 等。',
6
+ link_webauthn_description: '鏈接您的設備或 USB 硬件',
7
+ link_backup_code_description: '生成備份代碼',
8
+ verify_totp_description: '在應用程序中輸入一次性代碼',
9
+ verify_webauthn_description: '驗證您的設備或 USB 硬件',
10
+ verify_backup_code_description: '粘貼您保存的備份代碼',
11
+ add_mfa_factors: '添加兩步驗證',
12
+ add_mfa_description: '已啟用兩步驗證。選擇第二種驗證方法進行安全登錄。',
13
+ verify_mfa_factors: '兩步驗證',
14
+ verify_mfa_description: '此帳戶已啟用兩步驗證。請選擇第二種驗證身份的方式。',
15
+ add_authenticator_app: '添加身份驗證應用',
16
+ step: '步驟 {{step, number}}: {{content}}',
17
+ scan_qr_code: '掃描此 QR 碼',
18
+ scan_qr_code_description: '使用身份驗證應用程序(如 Google Authenticator、Duo Mobile、Authy 等)掃描以下 QR 碼。',
19
+ qr_code_not_available: '無法掃描 QR 碼?',
20
+ copy_and_paste_key: '複製並粘貼密鑰',
21
+ copy_and_paste_key_description: '將以下密鑰複製並粘貼到身份驗證應用程序中,如 Google Authenticator、Duo Mobile、Authy 等。',
22
+ want_to_scan_qr_code: '想要掃描 QR 碼嗎?',
23
+ enter_one_time_code: '輸入一次性代碼',
24
+ enter_one_time_code_link_description: '輸入身份驗證應用生成的 6 位驗證碼。',
25
+ enter_one_time_code_description: '此帳戶已啟用兩步驗證。請輸入您身份驗證應用中看到的一次性代碼。',
26
+ link_another_mfa_factor: '切換到另一種方法',
27
+ save_backup_code: '保存您的備份代碼',
28
+ save_backup_code_description: '如果在其他方式的兩步驗證中遇到問題,您可以使用這些備份代碼之一訪問您的帳戶。每個代碼只能使用一次。',
29
+ backup_code_hint: '確保複製它們並保存在安全的地方。',
30
+ enter_a_backup_code: '輸入備份代碼',
31
+ enter_backup_code_description: '輸入初始啟用兩步驗證時保存的備份代碼。',
32
+ create_a_passkey: '創建通行證',
33
+ create_passkey_description: '使用設備生物識別、安全密鑰(例如 YubiKey)或其他可用方法註冊您的通行證。',
34
+ try_another_verification_method: '嘗試其他驗證方法',
35
+ verify_via_passkey: '通過通行證驗證',
36
+ verify_via_passkey_description: '使用通行證通過設備密碼或生物識別、掃描 QR 碼或使用 USB 安全密鑰(如 YubiKey)進行驗證。',
37
+ secret_key_copied: '密鑰已複製。',
38
+ backup_code_copied: '備份代碼已複製。',
39
+ webauthn_not_ready: 'WebAuthn 尚未準備就緒。請稍後重試。',
40
+ webauthn_not_supported: '此瀏覽器不支援 WebAuthn。',
41
+ webauthn_failed_to_create: '創建失敗。請重試。',
42
+ webauthn_failed_to_verify: '驗證失敗。請重試。',
43
+ };
44
+ export default Object.freeze(mfa);
@@ -12,6 +12,7 @@ declare const _default: Readonly<{
12
12
  bind_and_continue: string;
13
13
  back: string;
14
14
  nav_back: string;
15
+ nav_skip: string;
15
16
  agree: string;
16
17
  got_it: string;
17
18
  sign_in_with: string;
@@ -24,5 +25,9 @@ declare const _default: Readonly<{
24
25
  link_another_phone: string;
25
26
  link_another_email_or_phone: string;
26
27
  show_password: string;
28
+ copy: string;
29
+ verify_via_passkey: string;
30
+ download: string;
31
+ single_sign_on: string;
27
32
  }>;
28
33
  export default _default;
@@ -12,6 +12,7 @@ const action = {
12
12
  bind_and_continue: '綁定並繼續',
13
13
  back: '返回',
14
14
  nav_back: '返回',
15
+ nav_skip: '跳過',
15
16
  agree: '同意',
16
17
  got_it: '知道了',
17
18
  sign_in_with: '通過 {{name}} 繼續',
@@ -24,5 +25,9 @@ const action = {
24
25
  link_another_phone: '綁定其他手機',
25
26
  link_another_email_or_phone: '綁定郵箱或手機號',
26
27
  show_password: '顯示密碼',
28
+ copy: '複製',
29
+ verify_via_passkey: '透過 Passkey 驗證',
30
+ download: '下載',
31
+ single_sign_on: '單點登錄',
27
32
  };
28
33
  export default Object.freeze(action);
@@ -52,9 +52,14 @@ declare const _default: Readonly<{
52
52
  verify_email: string;
53
53
  verify_phone: string;
54
54
  password_requirements: string;
55
- 'password_requirement.length_one': string;
56
- 'password_requirement.length_other': string;
57
- 'password_requirement.character_types_one': string;
58
- 'password_requirement.character_types_other': string;
55
+ password_requirement: {
56
+ length_one: string;
57
+ length_other: string;
58
+ character_types_one: string;
59
+ character_types_other: string;
60
+ };
61
+ use: string;
62
+ single_sign_on_email_form: string;
63
+ single_sign_on_connectors_list: string;
59
64
  }>;
60
65
  export default _default;
@@ -5,21 +5,21 @@ const description = {
5
5
  reminder: '提示',
6
6
  not_found: '404 頁面不存在',
7
7
  agree_with_terms: '我已閱讀並同意 ',
8
- agree_with_terms_modal: '請先同意 <link></link> 以繼續',
8
+ agree_with_terms_modal: '請先同意<link></link>以繼續',
9
9
  terms_of_use: '使用條款',
10
10
  sign_in: '登錄',
11
11
  privacy_policy: '隱私政策',
12
12
  create_account: '創建帳號',
13
13
  or: '或',
14
14
  and: '和',
15
- enter_passcode: '驗證碼已經發送至你的{{ address }} {{target}}',
15
+ enter_passcode: '驗證碼已經發送至你的{{address}} {{target}}',
16
16
  passcode_sent: '驗證碼已經發送',
17
- resend_after_seconds: '在 <span>{{ seconds }}</span> 秒後重新發送',
17
+ resend_after_seconds: '在 <span>{{seconds}}</span> 秒後重新發送',
18
18
  resend_passcode: '重新發送驗證碼',
19
- create_account_id_exists: '{{type}}為 {{value}} 的帳號已存在,你要登錄嗎?',
20
- link_account_id_exists: ' {{type}}為 {{value}} 的帳號已註冊,你要綁定至這個帳號嗎?',
21
- sign_in_id_does_not_exist: '{{type}}為 {{value}} 的帳號不存在,你要創建一個新帳號嗎?',
22
- sign_in_id_does_not_exist_alert: '{{type}}為 {{value}} 的帳號不存在。',
19
+ create_account_id_exists: '{{type}} 為 {{value}} 的帳號已存在,你要登錄嗎?',
20
+ link_account_id_exists: ' {{type}} 為 {{value}} 的帳號已註冊,你要綁定至這個帳號嗎?',
21
+ sign_in_id_does_not_exist: '{{type}} 為 {{value}} 的帳號不存在,你要創建一個新帳號嗎?',
22
+ sign_in_id_does_not_exist_alert: '{{type}} 為 {{value}} 的帳號不存在。',
23
23
  create_account_id_exists_alert: '{{type}} {{value}} 已綁定其他帳號。請嘗試其他{{type}}。',
24
24
  social_identity_exist: ' {{type}} {{value}} 已綁定其他帳號。請嘗試其他{{type}}',
25
25
  bind_account_title: '綁定或註冊帳號',
@@ -36,7 +36,7 @@ const description = {
36
36
  no_account: '還沒有帳號?',
37
37
  have_account: ' 已有帳號?',
38
38
  enter_password: '輸入密碼',
39
- enter_password_for: '輸入{{method}} {{value}} 對應的密碼進行登錄',
39
+ enter_password_for: '輸入{{method}} {{value}}對應的密碼進行登錄',
40
40
  enter_username: '設置用戶名',
41
41
  enter_username_description: '用戶名可以用來進行登錄。用戶名僅可以包含字母、數字和下劃線。',
42
42
  link_email: '綁定郵箱',
@@ -52,9 +52,14 @@ const description = {
52
52
  verify_email: '驗證你的郵箱',
53
53
  verify_phone: '驗證你的手機號碼',
54
54
  password_requirements: '密碼{{items, list}}。',
55
- 'password_requirement.length_one': '長度至少為{{count}}個字符',
56
- 'password_requirement.length_other': '長度至少為{{count}}個字符',
57
- 'password_requirement.character_types_one': '需包含{{count}}類型的大寫字母、小寫字母、數字和符號',
58
- 'password_requirement.character_types_other': '需包含{{count}}類型的大寫字母、小寫字母、數字和符號',
55
+ password_requirement: {
56
+ length_one: '長度至少為 {{count}} 個字符',
57
+ length_other: '長度至少為 {{count}} 個字符',
58
+ character_types_one: '需包含 {{count}} 類型的大寫字母、小寫字母、數字和符號',
59
+ character_types_other: '需包含 {{count}} 類型的大寫字母、小寫字母、數字和符號',
60
+ },
61
+ use: '使用',
62
+ single_sign_on_email_form: '輸入你的企業電子郵件地址',
63
+ single_sign_on_connectors_list: '您的企業已為電子郵件帳戶{{email}}啟用單一登入。您可以繼續使用以下的SSO供應商登入。',
59
64
  };
60
65
  export default Object.freeze(description);
@@ -22,10 +22,13 @@ declare const _default: Readonly<{
22
22
  unsupported_characters: string;
23
23
  pwned: string;
24
24
  restricted_found: string;
25
- 'restricted.repetition': string;
26
- 'restricted.sequence': string;
27
- 'restricted.user_info': string;
28
- 'restricted.words': string;
25
+ restricted: {
26
+ repetition: string;
27
+ sequence: string;
28
+ user_info: string;
29
+ words: string;
30
+ };
29
31
  }>;
32
+ sso_not_enabled: string;
30
33
  }>;
31
34
  export default _default;
@@ -17,5 +17,6 @@ const error = {
17
17
  invalid_session: '未找到會話,請返回並重新登錄。',
18
18
  timeout: '請求超時,請稍後重試。',
19
19
  password_rejected,
20
+ sso_not_enabled: '此郵箱帳戶未啟用單一登錄。',
20
21
  };
21
22
  export default Object.freeze(error);
@@ -5,9 +5,11 @@ declare const _default: Readonly<{
5
5
  unsupported_characters: string;
6
6
  pwned: string;
7
7
  restricted_found: string;
8
- 'restricted.repetition': string;
9
- 'restricted.sequence': string;
10
- 'restricted.user_info': string;
11
- 'restricted.words': string;
8
+ restricted: {
9
+ repetition: string;
10
+ sequence: string;
11
+ user_info: string;
12
+ words: string;
13
+ };
12
14
  }>;
13
15
  export default _default;
@@ -5,9 +5,11 @@ const password_rejected = {
5
5
  unsupported_characters: '發現不支援的字元。',
6
6
  pwned: '請避免使用容易被猜中的簡單密碼。',
7
7
  restricted_found: '請避免過度使用 {{list, list}}。',
8
- 'restricted.repetition': '連續重複的字元',
9
- 'restricted.sequence': '連續的字元',
10
- 'restricted.user_info': '個人資訊',
11
- 'restricted.words': '使用產品相關的字詞',
8
+ restricted: {
9
+ repetition: '連續重複的字元',
10
+ sequence: '連續的字元',
11
+ user_info: '個人資訊',
12
+ words: '使用產品相關的字詞',
13
+ },
12
14
  };
13
15
  export default Object.freeze(password_rejected);
@@ -7,6 +7,7 @@ declare const _default: Readonly<{
7
7
  phone_number: string;
8
8
  confirm_password: string;
9
9
  search_region_code: string;
10
+ backup_code: string;
10
11
  }>;
11
12
  secondary: Readonly<{
12
13
  social_bind_with: string;
@@ -25,6 +26,7 @@ declare const _default: Readonly<{
25
26
  bind_and_continue: string;
26
27
  back: string;
27
28
  nav_back: string;
29
+ nav_skip: string;
28
30
  agree: string;
29
31
  got_it: string;
30
32
  sign_in_with: string;
@@ -37,6 +39,10 @@ declare const _default: Readonly<{
37
39
  link_another_phone: string;
38
40
  link_another_email_or_phone: string;
39
41
  show_password: string;
42
+ copy: string;
43
+ verify_via_passkey: string;
44
+ download: string;
45
+ single_sign_on: string;
40
46
  }>;
41
47
  description: Readonly<{
42
48
  email: string;
@@ -92,10 +98,15 @@ declare const _default: Readonly<{
92
98
  verify_email: string;
93
99
  verify_phone: string;
94
100
  password_requirements: string;
95
- 'password_requirement.length_one': string;
96
- 'password_requirement.length_other': string;
97
- 'password_requirement.character_types_one': string;
98
- 'password_requirement.character_types_other': string;
101
+ password_requirement: {
102
+ length_one: string;
103
+ length_other: string;
104
+ character_types_one: string;
105
+ character_types_other: string;
106
+ };
107
+ use: string;
108
+ single_sign_on_email_form: string;
109
+ single_sign_on_connectors_list: string;
99
110
  }>;
100
111
  error: Readonly<{
101
112
  general_required: string;
@@ -121,20 +132,63 @@ declare const _default: Readonly<{
121
132
  unsupported_characters: string;
122
133
  pwned: string;
123
134
  restricted_found: string;
124
- 'restricted.repetition': string;
125
- 'restricted.sequence': string;
126
- 'restricted.user_info': string;
127
- 'restricted.words': string;
135
+ restricted: {
136
+ repetition: string;
137
+ sequence: string;
138
+ user_info: string;
139
+ words: string;
140
+ };
128
141
  }>;
129
- }>;
130
- demo_app: Readonly<{
131
- notification: string;
142
+ sso_not_enabled: string;
132
143
  }>;
133
144
  list: Readonly<{
134
145
  or: string;
135
146
  and: string;
136
147
  separator: string;
137
148
  }>;
149
+ mfa: Readonly<{
150
+ totp: string;
151
+ webauthn: string;
152
+ backup_code: string;
153
+ link_totp_description: string;
154
+ link_webauthn_description: string;
155
+ link_backup_code_description: string;
156
+ verify_totp_description: string;
157
+ verify_webauthn_description: string;
158
+ verify_backup_code_description: string;
159
+ add_mfa_factors: string;
160
+ add_mfa_description: string;
161
+ verify_mfa_factors: string;
162
+ verify_mfa_description: string;
163
+ add_authenticator_app: string;
164
+ step: string;
165
+ scan_qr_code: string;
166
+ scan_qr_code_description: string;
167
+ qr_code_not_available: string;
168
+ copy_and_paste_key: string;
169
+ copy_and_paste_key_description: string;
170
+ want_to_scan_qr_code: string;
171
+ enter_one_time_code: string;
172
+ enter_one_time_code_link_description: string;
173
+ enter_one_time_code_description: string;
174
+ link_another_mfa_factor: string;
175
+ save_backup_code: string;
176
+ save_backup_code_description: string;
177
+ backup_code_hint: string;
178
+ enter_a_backup_code: string;
179
+ enter_backup_code_description: string;
180
+ create_a_passkey: string;
181
+ create_passkey_description: string;
182
+ try_another_verification_method: string;
183
+ verify_via_passkey: string;
184
+ verify_via_passkey_description: string;
185
+ secret_key_copied: string;
186
+ backup_code_copied: string;
187
+ webauthn_not_ready: string;
188
+ webauthn_not_supported: string;
189
+ webauthn_failed_to_create: string;
190
+ webauthn_failed_to_verify: string;
191
+ }>;
138
192
  };
139
193
  }>;
140
194
  export default _default;
@@ -1,9 +1,9 @@
1
1
  import action from './action.js';
2
- import demo_app from './demo-app.js';
3
2
  import description from './description.js';
4
3
  import error from './error/index.js';
5
4
  import input from './input.js';
6
5
  import list from './list.js';
6
+ import mfa from './mfa.js';
7
7
  import secondary from './secondary.js';
8
8
  const zh_tw = {
9
9
  translation: {
@@ -12,8 +12,8 @@ const zh_tw = {
12
12
  action,
13
13
  description,
14
14
  error,
15
- demo_app,
16
15
  list,
16
+ mfa,
17
17
  },
18
18
  };
19
19
  export default Object.freeze(zh_tw);
@@ -5,5 +5,6 @@ declare const _default: Readonly<{
5
5
  phone_number: string;
6
6
  confirm_password: string;
7
7
  search_region_code: string;
8
+ backup_code: string;
8
9
  }>;
9
10
  export default _default;
@@ -5,5 +5,6 @@ const input = {
5
5
  phone_number: '手機號碼',
6
6
  confirm_password: '確認密碼',
7
7
  search_region_code: '搜尋區域碼',
8
+ backup_code: '備用碼',
8
9
  };
9
10
  export default Object.freeze(input);
@@ -0,0 +1,44 @@
1
+ declare const _default: Readonly<{
2
+ totp: string;
3
+ webauthn: string;
4
+ backup_code: string;
5
+ link_totp_description: string;
6
+ link_webauthn_description: string;
7
+ link_backup_code_description: string;
8
+ verify_totp_description: string;
9
+ verify_webauthn_description: string;
10
+ verify_backup_code_description: string;
11
+ add_mfa_factors: string;
12
+ add_mfa_description: string;
13
+ verify_mfa_factors: string;
14
+ verify_mfa_description: string;
15
+ add_authenticator_app: string;
16
+ step: string;
17
+ scan_qr_code: string;
18
+ scan_qr_code_description: string;
19
+ qr_code_not_available: string;
20
+ copy_and_paste_key: string;
21
+ copy_and_paste_key_description: string;
22
+ want_to_scan_qr_code: string;
23
+ enter_one_time_code: string;
24
+ enter_one_time_code_link_description: string;
25
+ enter_one_time_code_description: string;
26
+ link_another_mfa_factor: string;
27
+ save_backup_code: string;
28
+ save_backup_code_description: string;
29
+ backup_code_hint: string;
30
+ enter_a_backup_code: string;
31
+ enter_backup_code_description: string;
32
+ create_a_passkey: string;
33
+ create_passkey_description: string;
34
+ try_another_verification_method: string;
35
+ verify_via_passkey: string;
36
+ verify_via_passkey_description: string;
37
+ secret_key_copied: string;
38
+ backup_code_copied: string;
39
+ webauthn_not_ready: string;
40
+ webauthn_not_supported: string;
41
+ webauthn_failed_to_create: string;
42
+ webauthn_failed_to_verify: string;
43
+ }>;
44
+ export default _default;
@@ -0,0 +1,44 @@
1
+ const mfa = {
2
+ totp: '身份驗證應用 OTP',
3
+ webauthn: '通行證',
4
+ backup_code: '備份代碼',
5
+ link_totp_description: '例如,Google Authenticator 等。',
6
+ link_webauthn_description: '鏈接您的設備或 USB 硬件',
7
+ link_backup_code_description: '生成備份代碼',
8
+ verify_totp_description: '在應用程序中輸入一次性代碼',
9
+ verify_webauthn_description: '驗證您的設備或 USB 硬件',
10
+ verify_backup_code_description: '粘貼您保存的備份代碼',
11
+ add_mfa_factors: '添加兩步驗證',
12
+ add_mfa_description: '已啟用兩步驗證。選擇第二種驗證方法進行安全登錄。',
13
+ verify_mfa_factors: '兩步驗證',
14
+ verify_mfa_description: '此帳戶已啟用兩步驗證。請選擇第二種驗證身份的方式。',
15
+ add_authenticator_app: '添加身份驗證應用',
16
+ step: '步驟 {{step, number}}: {{content}}',
17
+ scan_qr_code: '掃描此 QR 碼',
18
+ scan_qr_code_description: '使用身份驗證應用程序(如 Google Authenticator、Duo Mobile、Authy 等)掃描以下 QR 碼。',
19
+ qr_code_not_available: '無法掃描 QR 碼?',
20
+ copy_and_paste_key: '複製並粘貼密鑰',
21
+ copy_and_paste_key_description: '將以下密鑰複製並粘貼到身份驗證應用程序中,如 Google Authenticator、Duo Mobile、Authy 等。',
22
+ want_to_scan_qr_code: '想要掃描 QR 碼嗎?',
23
+ enter_one_time_code: '輸入一次性代碼',
24
+ enter_one_time_code_link_description: '輸入身份驗證應用生成的 6 位驗證碼。',
25
+ enter_one_time_code_description: '此帳戶已啟用兩步驗證。請輸入您身份驗證應用中看到的一次性代碼。',
26
+ link_another_mfa_factor: '切換到另一種方法',
27
+ save_backup_code: '保存您的備份代碼',
28
+ save_backup_code_description: '如果在其他方式的兩步驗證中遇到問題,您可以使用這些備份代碼之一訪問您的帳戶。每個代碼只能使用一次。',
29
+ backup_code_hint: '確保複製它們並保存在安全的地方。',
30
+ enter_a_backup_code: '輸入備份代碼',
31
+ enter_backup_code_description: '輸入初始啟用兩步驗證時保存的備份代碼。',
32
+ create_a_passkey: '創建通行證',
33
+ create_passkey_description: '使用設備生物識別、安全密鑰(例如 YubiKey)或其他可用方法註冊您的通行證。',
34
+ try_another_verification_method: '嘗試其他驗證方法',
35
+ verify_via_passkey: '通過通行證驗證',
36
+ verify_via_passkey_description: '使用通行證通過設備密碼或生物識別、掃描 QR 碼或使用 USB 安全密鑰(如 YubiKey)進行驗證。',
37
+ secret_key_copied: '密鑰已複製。',
38
+ backup_code_copied: '備份代碼已複製。',
39
+ webauthn_not_ready: 'WebAuthn 尚未準備就緒。請稍後重試。',
40
+ webauthn_not_supported: '此瀏覽器不支援 WebAuthn。',
41
+ webauthn_failed_to_create: '創建失敗。請重試。',
42
+ webauthn_failed_to_verify: '驗證失敗。請重試。',
43
+ };
44
+ export default Object.freeze(mfa);