@logto/phrases-experience 1.10.0 → 1.11.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.
- package/lib/index.d.ts +4 -4
- package/lib/index.js +3 -0
- package/lib/locales/ar/description.d.ts +1 -0
- package/lib/locales/ar/description.js +1 -0
- package/lib/locales/ar/error/index.d.ts +2 -0
- package/lib/locales/ar/error/index.js +2 -0
- package/lib/locales/ar/index.d.ts +45 -0
- package/lib/locales/ar/index.js +2 -0
- package/lib/locales/ar/input.d.ts +1 -0
- package/lib/locales/ar/input.js +1 -0
- package/lib/locales/ar/mfa.d.ts +12 -0
- package/lib/locales/ar/mfa.js +12 -0
- package/lib/locales/ar/profile.d.ts +30 -0
- package/lib/locales/ar/profile.js +30 -0
- package/lib/locales/de/description.d.ts +1 -0
- package/lib/locales/de/description.js +1 -0
- package/lib/locales/de/error/index.d.ts +2 -0
- package/lib/locales/de/error/index.js +2 -0
- package/lib/locales/de/index.d.ts +45 -0
- package/lib/locales/de/index.js +2 -0
- package/lib/locales/de/input.d.ts +1 -0
- package/lib/locales/de/input.js +1 -0
- package/lib/locales/de/mfa.d.ts +12 -0
- package/lib/locales/de/mfa.js +12 -0
- package/lib/locales/de/profile.d.ts +30 -0
- package/lib/locales/de/profile.js +30 -0
- package/lib/locales/en/description.d.ts +1 -0
- package/lib/locales/en/description.js +1 -0
- package/lib/locales/en/error/index.d.ts +2 -0
- package/lib/locales/en/error/index.js +2 -0
- package/lib/locales/en/index.d.ts +45 -0
- package/lib/locales/en/index.js +2 -0
- package/lib/locales/en/input.d.ts +1 -0
- package/lib/locales/en/input.js +1 -0
- package/lib/locales/en/mfa.d.ts +12 -0
- package/lib/locales/en/mfa.js +12 -0
- package/lib/locales/en/profile.d.ts +30 -0
- package/lib/locales/en/profile.js +30 -0
- package/lib/locales/es/description.d.ts +1 -0
- package/lib/locales/es/description.js +1 -0
- package/lib/locales/es/error/index.d.ts +2 -0
- package/lib/locales/es/error/index.js +2 -0
- package/lib/locales/es/index.d.ts +45 -0
- package/lib/locales/es/index.js +2 -0
- package/lib/locales/es/input.d.ts +1 -0
- package/lib/locales/es/input.js +1 -0
- package/lib/locales/es/mfa.d.ts +12 -0
- package/lib/locales/es/mfa.js +12 -0
- package/lib/locales/es/profile.d.ts +30 -0
- package/lib/locales/es/profile.js +30 -0
- package/lib/locales/fr/description.d.ts +1 -0
- package/lib/locales/fr/description.js +1 -0
- package/lib/locales/fr/error/index.d.ts +2 -0
- package/lib/locales/fr/error/index.js +2 -0
- package/lib/locales/fr/index.d.ts +45 -0
- package/lib/locales/fr/index.js +2 -0
- package/lib/locales/fr/input.d.ts +1 -0
- package/lib/locales/fr/input.js +1 -0
- package/lib/locales/fr/mfa.d.ts +12 -0
- package/lib/locales/fr/mfa.js +12 -0
- package/lib/locales/fr/profile.d.ts +30 -0
- package/lib/locales/fr/profile.js +30 -0
- package/lib/locales/it/description.d.ts +1 -0
- package/lib/locales/it/description.js +1 -0
- package/lib/locales/it/error/index.d.ts +2 -0
- package/lib/locales/it/error/index.js +2 -0
- package/lib/locales/it/index.d.ts +45 -0
- package/lib/locales/it/index.js +2 -0
- package/lib/locales/it/input.d.ts +1 -0
- package/lib/locales/it/input.js +1 -0
- package/lib/locales/it/mfa.d.ts +12 -0
- package/lib/locales/it/mfa.js +12 -0
- package/lib/locales/it/profile.d.ts +30 -0
- package/lib/locales/it/profile.js +30 -0
- package/lib/locales/ja/description.d.ts +1 -0
- package/lib/locales/ja/description.js +1 -0
- package/lib/locales/ja/error/index.d.ts +2 -0
- package/lib/locales/ja/error/index.js +2 -0
- package/lib/locales/ja/index.d.ts +45 -0
- package/lib/locales/ja/index.js +2 -0
- package/lib/locales/ja/input.d.ts +1 -0
- package/lib/locales/ja/input.js +1 -0
- package/lib/locales/ja/mfa.d.ts +12 -0
- package/lib/locales/ja/mfa.js +12 -0
- package/lib/locales/ja/profile.d.ts +30 -0
- package/lib/locales/ja/profile.js +30 -0
- package/lib/locales/ko/description.d.ts +1 -0
- package/lib/locales/ko/description.js +1 -0
- package/lib/locales/ko/error/index.d.ts +3 -1
- package/lib/locales/ko/error/index.js +3 -1
- package/lib/locales/ko/index.d.ts +46 -1
- package/lib/locales/ko/index.js +2 -0
- package/lib/locales/ko/input.d.ts +1 -0
- package/lib/locales/ko/input.js +1 -0
- package/lib/locales/ko/mfa.d.ts +12 -0
- package/lib/locales/ko/mfa.js +12 -0
- package/lib/locales/ko/profile.d.ts +30 -0
- package/lib/locales/ko/profile.js +30 -0
- package/lib/locales/pl-pl/description.d.ts +1 -0
- package/lib/locales/pl-pl/description.js +1 -0
- package/lib/locales/pl-pl/error/index.d.ts +3 -1
- package/lib/locales/pl-pl/error/index.js +3 -1
- package/lib/locales/pl-pl/index.d.ts +46 -1
- package/lib/locales/pl-pl/index.js +2 -0
- package/lib/locales/pl-pl/input.d.ts +1 -0
- package/lib/locales/pl-pl/input.js +1 -0
- package/lib/locales/pl-pl/mfa.d.ts +12 -0
- package/lib/locales/pl-pl/mfa.js +12 -0
- package/lib/locales/pl-pl/profile.d.ts +30 -0
- package/lib/locales/pl-pl/profile.js +30 -0
- package/lib/locales/pt-br/description.d.ts +1 -0
- package/lib/locales/pt-br/description.js +1 -0
- package/lib/locales/pt-br/error/index.d.ts +3 -1
- package/lib/locales/pt-br/error/index.js +3 -1
- package/lib/locales/pt-br/index.d.ts +46 -1
- package/lib/locales/pt-br/index.js +2 -0
- package/lib/locales/pt-br/input.d.ts +1 -0
- package/lib/locales/pt-br/input.js +1 -0
- package/lib/locales/pt-br/mfa.d.ts +12 -0
- package/lib/locales/pt-br/mfa.js +12 -0
- package/lib/locales/pt-br/profile.d.ts +30 -0
- package/lib/locales/pt-br/profile.js +30 -0
- package/lib/locales/pt-pt/description.d.ts +1 -0
- package/lib/locales/pt-pt/description.js +1 -0
- package/lib/locales/pt-pt/error/index.d.ts +3 -1
- package/lib/locales/pt-pt/error/index.js +3 -1
- package/lib/locales/pt-pt/index.d.ts +46 -1
- package/lib/locales/pt-pt/index.js +2 -0
- package/lib/locales/pt-pt/input.d.ts +1 -0
- package/lib/locales/pt-pt/input.js +1 -0
- package/lib/locales/pt-pt/mfa.d.ts +12 -0
- package/lib/locales/pt-pt/mfa.js +12 -0
- package/lib/locales/pt-pt/profile.d.ts +30 -0
- package/lib/locales/pt-pt/profile.js +30 -0
- package/lib/locales/ru/description.d.ts +1 -0
- package/lib/locales/ru/description.js +1 -0
- package/lib/locales/ru/error/index.d.ts +3 -1
- package/lib/locales/ru/error/index.js +3 -1
- package/lib/locales/ru/index.d.ts +46 -1
- package/lib/locales/ru/index.js +2 -0
- package/lib/locales/ru/input.d.ts +1 -0
- package/lib/locales/ru/input.js +1 -0
- package/lib/locales/ru/mfa.d.ts +12 -0
- package/lib/locales/ru/mfa.js +12 -0
- package/lib/locales/ru/profile.d.ts +30 -0
- package/lib/locales/ru/profile.js +30 -0
- package/lib/locales/th/action.d.ts +37 -0
- package/lib/locales/th/action.js +37 -0
- package/lib/locales/th/description.d.ts +97 -0
- package/lib/locales/th/description.js +97 -0
- package/lib/locales/th/development-tenant.d.ts +4 -0
- package/lib/locales/th/development-tenant.js +4 -0
- package/lib/locales/th/error/index.d.ts +40 -0
- package/lib/locales/th/error/index.js +28 -0
- package/lib/locales/th/error/password-rejected.d.ts +15 -0
- package/lib/locales/th/error/password-rejected.js +15 -0
- package/lib/locales/th/index.d.ts +294 -0
- package/lib/locales/th/index.js +25 -0
- package/lib/locales/th/input.d.ts +11 -0
- package/lib/locales/th/input.js +11 -0
- package/lib/locales/th/list.d.ts +6 -0
- package/lib/locales/th/list.js +6 -0
- package/lib/locales/th/mfa.d.ts +56 -0
- package/lib/locales/th/mfa.js +56 -0
- package/lib/locales/th/profile.d.ts +30 -0
- package/lib/locales/th/profile.js +30 -0
- package/lib/locales/th/secondary.d.ts +4 -0
- package/lib/locales/th/secondary.js +4 -0
- package/lib/locales/th/user-scopes.d.ts +14 -0
- package/lib/locales/th/user-scopes.js +14 -0
- package/lib/locales/tr-tr/description.d.ts +1 -0
- package/lib/locales/tr-tr/description.js +1 -0
- package/lib/locales/tr-tr/error/index.d.ts +3 -1
- package/lib/locales/tr-tr/error/index.js +3 -1
- package/lib/locales/tr-tr/index.d.ts +46 -1
- package/lib/locales/tr-tr/index.js +2 -0
- package/lib/locales/tr-tr/input.d.ts +1 -0
- package/lib/locales/tr-tr/input.js +1 -0
- package/lib/locales/tr-tr/mfa.d.ts +12 -0
- package/lib/locales/tr-tr/mfa.js +12 -0
- package/lib/locales/tr-tr/profile.d.ts +30 -0
- package/lib/locales/tr-tr/profile.js +30 -0
- package/lib/locales/uk-ua/description.d.ts +1 -0
- package/lib/locales/uk-ua/description.js +1 -0
- package/lib/locales/uk-ua/error/index.d.ts +2 -0
- package/lib/locales/uk-ua/error/index.js +2 -0
- package/lib/locales/uk-ua/index.d.ts +45 -0
- package/lib/locales/uk-ua/index.js +2 -0
- package/lib/locales/uk-ua/input.d.ts +1 -0
- package/lib/locales/uk-ua/input.js +1 -0
- package/lib/locales/uk-ua/mfa.d.ts +12 -0
- package/lib/locales/uk-ua/mfa.js +12 -0
- package/lib/locales/uk-ua/profile.d.ts +30 -0
- package/lib/locales/uk-ua/profile.js +30 -0
- package/lib/locales/zh-cn/description.d.ts +1 -0
- package/lib/locales/zh-cn/description.js +1 -0
- package/lib/locales/zh-cn/error/index.d.ts +2 -0
- package/lib/locales/zh-cn/error/index.js +2 -0
- package/lib/locales/zh-cn/index.d.ts +45 -0
- package/lib/locales/zh-cn/index.js +2 -0
- package/lib/locales/zh-cn/input.d.ts +1 -0
- package/lib/locales/zh-cn/input.js +1 -0
- package/lib/locales/zh-cn/mfa.d.ts +12 -0
- package/lib/locales/zh-cn/mfa.js +12 -0
- package/lib/locales/zh-cn/profile.d.ts +30 -0
- package/lib/locales/zh-cn/profile.js +30 -0
- package/lib/locales/zh-hk/description.d.ts +1 -0
- package/lib/locales/zh-hk/description.js +1 -0
- package/lib/locales/zh-hk/error/index.d.ts +3 -1
- package/lib/locales/zh-hk/error/index.js +4 -2
- package/lib/locales/zh-hk/index.d.ts +46 -1
- package/lib/locales/zh-hk/index.js +2 -0
- package/lib/locales/zh-hk/input.d.ts +1 -0
- package/lib/locales/zh-hk/input.js +1 -0
- package/lib/locales/zh-hk/mfa.d.ts +12 -0
- package/lib/locales/zh-hk/mfa.js +12 -0
- package/lib/locales/zh-hk/profile.d.ts +30 -0
- package/lib/locales/zh-hk/profile.js +30 -0
- package/lib/locales/zh-tw/description.d.ts +1 -0
- package/lib/locales/zh-tw/description.js +1 -0
- package/lib/locales/zh-tw/error/index.d.ts +3 -1
- package/lib/locales/zh-tw/error/index.js +3 -1
- package/lib/locales/zh-tw/index.d.ts +46 -1
- package/lib/locales/zh-tw/index.js +2 -0
- package/lib/locales/zh-tw/input.d.ts +1 -0
- package/lib/locales/zh-tw/input.js +1 -0
- package/lib/locales/zh-tw/mfa.d.ts +12 -0
- package/lib/locales/zh-tw/mfa.js +12 -0
- package/lib/locales/zh-tw/profile.d.ts +30 -0
- package/lib/locales/zh-tw/profile.js +30 -0
- package/package.json +5 -5
|
@@ -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;
|
|
@@ -142,10 +143,13 @@ declare const _default: Readonly<{
|
|
|
142
143
|
support_website: string;
|
|
143
144
|
switch_account_title: string;
|
|
144
145
|
switch_account_description: string;
|
|
146
|
+
about_yourself: string;
|
|
145
147
|
}>;
|
|
146
148
|
error: Readonly<{
|
|
147
149
|
general_required: string;
|
|
148
150
|
general_invalid: string;
|
|
151
|
+
invalid_min_max_input: string;
|
|
152
|
+
invalid_min_max_length: string;
|
|
149
153
|
username_required: string;
|
|
150
154
|
password_required: string;
|
|
151
155
|
username_exists: string;
|
|
@@ -189,12 +193,20 @@ declare const _default: Readonly<{
|
|
|
189
193
|
totp: string;
|
|
190
194
|
webauthn: string;
|
|
191
195
|
backup_code: string;
|
|
196
|
+
email_verification_code: string;
|
|
197
|
+
phone_verification_code: string;
|
|
192
198
|
link_totp_description: string;
|
|
193
199
|
link_webauthn_description: string;
|
|
194
200
|
link_backup_code_description: string;
|
|
201
|
+
link_email_verification_code_description: string;
|
|
202
|
+
link_email_2fa_description: string;
|
|
203
|
+
link_phone_verification_code_description: string;
|
|
204
|
+
link_phone_2fa_description: string;
|
|
195
205
|
verify_totp_description: string;
|
|
196
206
|
verify_webauthn_description: string;
|
|
197
207
|
verify_backup_code_description: string;
|
|
208
|
+
verify_email_verification_code_description: string;
|
|
209
|
+
verify_phone_verification_code_description: string;
|
|
198
210
|
add_mfa_factors: string;
|
|
199
211
|
add_mfa_description: string;
|
|
200
212
|
verify_mfa_factors: string;
|
|
@@ -210,6 +222,10 @@ declare const _default: Readonly<{
|
|
|
210
222
|
enter_one_time_code: string;
|
|
211
223
|
enter_one_time_code_link_description: string;
|
|
212
224
|
enter_one_time_code_description: string;
|
|
225
|
+
enter_email_verification_code: string;
|
|
226
|
+
enter_email_verification_code_description: string;
|
|
227
|
+
enter_phone_verification_code: string;
|
|
228
|
+
enter_phone_verification_code_description: string;
|
|
213
229
|
link_another_mfa_factor: string;
|
|
214
230
|
save_backup_code: string;
|
|
215
231
|
save_backup_code_description: string;
|
|
@@ -244,6 +260,35 @@ declare const _default: Readonly<{
|
|
|
244
260
|
address: string;
|
|
245
261
|
};
|
|
246
262
|
}>;
|
|
263
|
+
profile: Readonly<{
|
|
264
|
+
name: string;
|
|
265
|
+
avatar: string;
|
|
266
|
+
givenName: string;
|
|
267
|
+
familyName: string;
|
|
268
|
+
middleName: string;
|
|
269
|
+
fullname: string;
|
|
270
|
+
nickname: string;
|
|
271
|
+
preferredUsername: string;
|
|
272
|
+
profile: string;
|
|
273
|
+
website: string;
|
|
274
|
+
gender: string;
|
|
275
|
+
birthdate: string;
|
|
276
|
+
zoneinfo: string;
|
|
277
|
+
locale: string;
|
|
278
|
+
address: {
|
|
279
|
+
formatted: string;
|
|
280
|
+
streetAddress: string;
|
|
281
|
+
locality: string;
|
|
282
|
+
region: string;
|
|
283
|
+
postalCode: string;
|
|
284
|
+
country: string;
|
|
285
|
+
};
|
|
286
|
+
gender_options: {
|
|
287
|
+
female: string;
|
|
288
|
+
male: string;
|
|
289
|
+
prefer_not_to_say: string;
|
|
290
|
+
};
|
|
291
|
+
}>;
|
|
247
292
|
};
|
|
248
293
|
}>;
|
|
249
294
|
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_cn = {
|
|
@@ -18,6 +19,7 @@ const zh_cn = {
|
|
|
18
19
|
mfa,
|
|
19
20
|
development_tenant,
|
|
20
21
|
user_scopes,
|
|
22
|
+
profile,
|
|
21
23
|
},
|
|
22
24
|
};
|
|
23
25
|
export default Object.freeze(zh_cn);
|
|
@@ -2,12 +2,20 @@ 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_email_2fa_description: string;
|
|
12
|
+
link_phone_verification_code_description: string;
|
|
13
|
+
link_phone_2fa_description: string;
|
|
8
14
|
verify_totp_description: string;
|
|
9
15
|
verify_webauthn_description: string;
|
|
10
16
|
verify_backup_code_description: string;
|
|
17
|
+
verify_email_verification_code_description: string;
|
|
18
|
+
verify_phone_verification_code_description: string;
|
|
11
19
|
add_mfa_factors: string;
|
|
12
20
|
add_mfa_description: string;
|
|
13
21
|
verify_mfa_factors: string;
|
|
@@ -23,6 +31,10 @@ declare const _default: Readonly<{
|
|
|
23
31
|
enter_one_time_code: string;
|
|
24
32
|
enter_one_time_code_link_description: string;
|
|
25
33
|
enter_one_time_code_description: string;
|
|
34
|
+
enter_email_verification_code: string;
|
|
35
|
+
enter_email_verification_code_description: string;
|
|
36
|
+
enter_phone_verification_code: string;
|
|
37
|
+
enter_phone_verification_code_description: string;
|
|
26
38
|
link_another_mfa_factor: string;
|
|
27
39
|
save_backup_code: string;
|
|
28
40
|
save_backup_code_description: string;
|
package/lib/locales/zh-cn/mfa.js
CHANGED
|
@@ -2,12 +2,20 @@ 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_email_2fa_description: '关联您的电子邮件地址进行两步验证',
|
|
12
|
+
link_phone_verification_code_description: '关联您的电话号码',
|
|
13
|
+
link_phone_2fa_description: '关联您的电话号码进行两步验证',
|
|
8
14
|
verify_totp_description: '在应用程序中输入一次性代码',
|
|
9
15
|
verify_webauthn_description: '验证您的设备或 USB 硬件',
|
|
10
16
|
verify_backup_code_description: '粘贴您保存的备份代码',
|
|
17
|
+
verify_email_verification_code_description: '输入发送到您电子邮件的验证码',
|
|
18
|
+
verify_phone_verification_code_description: '输入发送到您手机的验证码',
|
|
11
19
|
add_mfa_factors: '添加两步验证',
|
|
12
20
|
add_mfa_description: '已启用两步验证。选择第二种验证方法以进行安全登录。',
|
|
13
21
|
verify_mfa_factors: '两步验证',
|
|
@@ -23,6 +31,10 @@ const mfa = {
|
|
|
23
31
|
enter_one_time_code: '输入一次性代码',
|
|
24
32
|
enter_one_time_code_link_description: '输入身份验证应用生成的 6 位验证码。',
|
|
25
33
|
enter_one_time_code_description: '此帐户启用了两步验证。请在你关联的认证应用中输入显示的一次性代码。',
|
|
34
|
+
enter_email_verification_code: '输入邮箱验证码',
|
|
35
|
+
enter_email_verification_code_description: '此账户已启用两步认证。请输入发送到 {{identifier}} 的验证码。',
|
|
36
|
+
enter_phone_verification_code: '输入短信验证码',
|
|
37
|
+
enter_phone_verification_code_description: '此账户已启用两步认证。请输入发送到 {{identifier}} 的短信验证码。',
|
|
26
38
|
link_another_mfa_factor: '切换到另一种方法',
|
|
27
39
|
save_backup_code: '保存您的备份代码',
|
|
28
40
|
save_backup_code_description: '如果在其他方式的两步验证中遇到问题,您可以使用这些备份代码之一访问您的帐户。每个代码只能使用一次。',
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
gender_options: {
|
|
25
|
+
female: string;
|
|
26
|
+
male: string;
|
|
27
|
+
prefer_not_to_say: string;
|
|
28
|
+
};
|
|
29
|
+
}>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
gender_options: {
|
|
25
|
+
female: '女性',
|
|
26
|
+
male: '男性',
|
|
27
|
+
prefer_not_to_say: '不愿透露',
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
export default Object.freeze(profile);
|
|
@@ -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);
|
|
@@ -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;
|
|
@@ -142,10 +143,13 @@ declare const _default: Readonly<{
|
|
|
142
143
|
support_website: string;
|
|
143
144
|
switch_account_title: string;
|
|
144
145
|
switch_account_description: string;
|
|
146
|
+
about_yourself: string;
|
|
145
147
|
}>;
|
|
146
148
|
error: Readonly<{
|
|
147
149
|
general_required: string;
|
|
148
150
|
general_invalid: string;
|
|
151
|
+
invalid_min_max_input: string;
|
|
152
|
+
invalid_min_max_length: string;
|
|
149
153
|
username_required: string;
|
|
150
154
|
password_required: string;
|
|
151
155
|
username_exists: string;
|
|
@@ -177,8 +181,8 @@ declare const _default: Readonly<{
|
|
|
177
181
|
sso_not_enabled: string;
|
|
178
182
|
invalid_link: string;
|
|
179
183
|
invalid_link_description: string;
|
|
180
|
-
something_went_wrong: string;
|
|
181
184
|
captcha_verification_failed: string;
|
|
185
|
+
something_went_wrong: string;
|
|
182
186
|
}>;
|
|
183
187
|
list: Readonly<{
|
|
184
188
|
or: string;
|
|
@@ -189,12 +193,20 @@ declare const _default: Readonly<{
|
|
|
189
193
|
totp: string;
|
|
190
194
|
webauthn: string;
|
|
191
195
|
backup_code: string;
|
|
196
|
+
email_verification_code: string;
|
|
197
|
+
phone_verification_code: string;
|
|
192
198
|
link_totp_description: string;
|
|
193
199
|
link_webauthn_description: string;
|
|
194
200
|
link_backup_code_description: string;
|
|
201
|
+
link_email_verification_code_description: string;
|
|
202
|
+
link_email_2fa_description: string;
|
|
203
|
+
link_phone_verification_code_description: string;
|
|
204
|
+
link_phone_2fa_description: string;
|
|
195
205
|
verify_totp_description: string;
|
|
196
206
|
verify_webauthn_description: string;
|
|
197
207
|
verify_backup_code_description: string;
|
|
208
|
+
verify_email_verification_code_description: string;
|
|
209
|
+
verify_phone_verification_code_description: string;
|
|
198
210
|
add_mfa_factors: string;
|
|
199
211
|
add_mfa_description: string;
|
|
200
212
|
verify_mfa_factors: string;
|
|
@@ -210,6 +222,10 @@ declare const _default: Readonly<{
|
|
|
210
222
|
enter_one_time_code: string;
|
|
211
223
|
enter_one_time_code_link_description: string;
|
|
212
224
|
enter_one_time_code_description: string;
|
|
225
|
+
enter_email_verification_code: string;
|
|
226
|
+
enter_email_verification_code_description: string;
|
|
227
|
+
enter_phone_verification_code: string;
|
|
228
|
+
enter_phone_verification_code_description: string;
|
|
213
229
|
link_another_mfa_factor: string;
|
|
214
230
|
save_backup_code: string;
|
|
215
231
|
save_backup_code_description: string;
|
|
@@ -244,6 +260,35 @@ declare const _default: Readonly<{
|
|
|
244
260
|
address: string;
|
|
245
261
|
};
|
|
246
262
|
}>;
|
|
263
|
+
profile: Readonly<{
|
|
264
|
+
name: string;
|
|
265
|
+
avatar: string;
|
|
266
|
+
givenName: string;
|
|
267
|
+
familyName: string;
|
|
268
|
+
middleName: string;
|
|
269
|
+
fullname: string;
|
|
270
|
+
nickname: string;
|
|
271
|
+
preferredUsername: string;
|
|
272
|
+
profile: string;
|
|
273
|
+
website: string;
|
|
274
|
+
gender: string;
|
|
275
|
+
birthdate: string;
|
|
276
|
+
zoneinfo: string;
|
|
277
|
+
locale: string;
|
|
278
|
+
address: {
|
|
279
|
+
formatted: string;
|
|
280
|
+
streetAddress: string;
|
|
281
|
+
locality: string;
|
|
282
|
+
region: string;
|
|
283
|
+
postalCode: string;
|
|
284
|
+
country: string;
|
|
285
|
+
};
|
|
286
|
+
gender_options: {
|
|
287
|
+
female: string;
|
|
288
|
+
male: string;
|
|
289
|
+
prefer_not_to_say: string;
|
|
290
|
+
};
|
|
291
|
+
}>;
|
|
247
292
|
};
|
|
248
293
|
}>;
|
|
249
294
|
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,20 @@ 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_email_2fa_description: string;
|
|
12
|
+
link_phone_verification_code_description: string;
|
|
13
|
+
link_phone_2fa_description: string;
|
|
8
14
|
verify_totp_description: string;
|
|
9
15
|
verify_webauthn_description: string;
|
|
10
16
|
verify_backup_code_description: string;
|
|
17
|
+
verify_email_verification_code_description: string;
|
|
18
|
+
verify_phone_verification_code_description: string;
|
|
11
19
|
add_mfa_factors: string;
|
|
12
20
|
add_mfa_description: string;
|
|
13
21
|
verify_mfa_factors: string;
|
|
@@ -23,6 +31,10 @@ declare const _default: Readonly<{
|
|
|
23
31
|
enter_one_time_code: string;
|
|
24
32
|
enter_one_time_code_link_description: string;
|
|
25
33
|
enter_one_time_code_description: string;
|
|
34
|
+
enter_email_verification_code: string;
|
|
35
|
+
enter_email_verification_code_description: string;
|
|
36
|
+
enter_phone_verification_code: string;
|
|
37
|
+
enter_phone_verification_code_description: string;
|
|
26
38
|
link_another_mfa_factor: string;
|
|
27
39
|
save_backup_code: string;
|
|
28
40
|
save_backup_code_description: string;
|
package/lib/locales/zh-hk/mfa.js
CHANGED
|
@@ -2,12 +2,20 @@ 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_email_2fa_description: '關聯您的電子郵件地址進行兩步驗證',
|
|
12
|
+
link_phone_verification_code_description: '關聯您的電話號碼',
|
|
13
|
+
link_phone_2fa_description: '關聯您的電話號碼進行兩步驗證',
|
|
8
14
|
verify_totp_description: '在應用程序中輸入一次性代碼',
|
|
9
15
|
verify_webauthn_description: '驗證您的設備或 USB 硬件',
|
|
10
16
|
verify_backup_code_description: '粘貼您保存的備份代碼',
|
|
17
|
+
verify_email_verification_code_description: '輸入發送到您電子郵件的驗證碼',
|
|
18
|
+
verify_phone_verification_code_description: '輸入發送到您手機的驗證碼',
|
|
11
19
|
add_mfa_factors: '添加兩步驗證',
|
|
12
20
|
add_mfa_description: '已啟用兩步驗證。選擇第二種驗證方法進行安全登錄。',
|
|
13
21
|
verify_mfa_factors: '兩步驗證',
|
|
@@ -23,6 +31,10 @@ const mfa = {
|
|
|
23
31
|
enter_one_time_code: '輸入一次性代碼',
|
|
24
32
|
enter_one_time_code_link_description: '輸入身份驗證應用生成的 6 位驗證碼。',
|
|
25
33
|
enter_one_time_code_description: '此帳戶啟用了兩步驗證。請輸入在您關聯的認證應用中顯示的一次性代碼。',
|
|
34
|
+
enter_email_verification_code: '輸入電郵驗證碼',
|
|
35
|
+
enter_email_verification_code_description: '此帳戶已啟用兩步認證。請輸入發送到你電郵地址的驗證碼。 {{identifier}}',
|
|
36
|
+
enter_phone_verification_code: '輸入短訊驗證碼',
|
|
37
|
+
enter_phone_verification_code_description: '此帳戶已啟用兩步認證。請輸入發送到你手機號碼的短訊驗證碼。 {{identifier}}',
|
|
26
38
|
link_another_mfa_factor: '切換到另一種方法',
|
|
27
39
|
save_backup_code: '保存您的備份代碼',
|
|
28
40
|
save_backup_code_description: '如果在其他方式的兩步驗證中遇到問題,您可以使用這些備份代碼之一訪問您的帳戶。每個代碼只能使用一次。',
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
gender_options: {
|
|
25
|
+
female: string;
|
|
26
|
+
male: string;
|
|
27
|
+
prefer_not_to_say: string;
|
|
28
|
+
};
|
|
29
|
+
}>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
gender_options: {
|
|
25
|
+
female: '女性',
|
|
26
|
+
male: '男性',
|
|
27
|
+
prefer_not_to_say: '不願透露',
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
export default Object.freeze(profile);
|
|
@@ -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);
|