@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.
- 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 +33 -0
- package/lib/locales/ar/index.js +2 -0
- package/lib/locales/ar/mfa.d.ts +6 -0
- package/lib/locales/ar/mfa.js +6 -0
- package/lib/locales/ar/profile.d.ts +25 -0
- package/lib/locales/ar/profile.js +25 -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 +33 -0
- package/lib/locales/de/index.js +2 -0
- package/lib/locales/de/mfa.d.ts +6 -0
- package/lib/locales/de/mfa.js +6 -0
- package/lib/locales/de/profile.d.ts +25 -0
- package/lib/locales/de/profile.js +25 -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 +33 -0
- package/lib/locales/en/index.js +2 -0
- package/lib/locales/en/mfa.d.ts +6 -0
- package/lib/locales/en/mfa.js +6 -0
- package/lib/locales/en/profile.d.ts +25 -0
- package/lib/locales/en/profile.js +25 -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 +33 -0
- package/lib/locales/es/index.js +2 -0
- package/lib/locales/es/mfa.d.ts +6 -0
- package/lib/locales/es/mfa.js +6 -0
- package/lib/locales/es/profile.d.ts +25 -0
- package/lib/locales/es/profile.js +25 -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 +33 -0
- package/lib/locales/fr/index.js +2 -0
- package/lib/locales/fr/mfa.d.ts +6 -0
- package/lib/locales/fr/mfa.js +6 -0
- package/lib/locales/fr/profile.d.ts +25 -0
- package/lib/locales/fr/profile.js +25 -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 +33 -0
- package/lib/locales/it/index.js +2 -0
- package/lib/locales/it/mfa.d.ts +6 -0
- package/lib/locales/it/mfa.js +6 -0
- package/lib/locales/it/profile.d.ts +25 -0
- package/lib/locales/it/profile.js +25 -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 +33 -0
- package/lib/locales/ja/index.js +2 -0
- package/lib/locales/ja/mfa.d.ts +6 -0
- package/lib/locales/ja/mfa.js +6 -0
- package/lib/locales/ja/profile.d.ts +25 -0
- package/lib/locales/ja/profile.js +25 -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 +34 -1
- package/lib/locales/ko/index.js +2 -0
- package/lib/locales/ko/mfa.d.ts +6 -0
- package/lib/locales/ko/mfa.js +6 -0
- package/lib/locales/ko/profile.d.ts +25 -0
- package/lib/locales/ko/profile.js +25 -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 +34 -1
- package/lib/locales/pl-pl/index.js +2 -0
- package/lib/locales/pl-pl/mfa.d.ts +6 -0
- package/lib/locales/pl-pl/mfa.js +6 -0
- package/lib/locales/pl-pl/profile.d.ts +25 -0
- package/lib/locales/pl-pl/profile.js +25 -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 +34 -1
- package/lib/locales/pt-br/index.js +2 -0
- package/lib/locales/pt-br/mfa.d.ts +6 -0
- package/lib/locales/pt-br/mfa.js +6 -0
- package/lib/locales/pt-br/profile.d.ts +25 -0
- package/lib/locales/pt-br/profile.js +25 -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 +34 -1
- package/lib/locales/pt-pt/index.js +2 -0
- package/lib/locales/pt-pt/mfa.d.ts +6 -0
- package/lib/locales/pt-pt/mfa.js +6 -0
- package/lib/locales/pt-pt/profile.d.ts +25 -0
- package/lib/locales/pt-pt/profile.js +25 -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 +34 -1
- package/lib/locales/ru/index.js +2 -0
- package/lib/locales/ru/mfa.d.ts +6 -0
- package/lib/locales/ru/mfa.js +6 -0
- package/lib/locales/ru/profile.d.ts +25 -0
- package/lib/locales/ru/profile.js +25 -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 +34 -1
- package/lib/locales/tr-tr/index.js +2 -0
- package/lib/locales/tr-tr/mfa.d.ts +6 -0
- package/lib/locales/tr-tr/mfa.js +6 -0
- package/lib/locales/tr-tr/profile.d.ts +25 -0
- package/lib/locales/tr-tr/profile.js +25 -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 +33 -0
- package/lib/locales/uk-ua/index.js +2 -0
- package/lib/locales/uk-ua/mfa.d.ts +6 -0
- package/lib/locales/uk-ua/mfa.js +6 -0
- package/lib/locales/uk-ua/profile.d.ts +25 -0
- package/lib/locales/uk-ua/profile.js +25 -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 +33 -0
- package/lib/locales/zh-cn/index.js +2 -0
- package/lib/locales/zh-cn/mfa.d.ts +6 -0
- package/lib/locales/zh-cn/mfa.js +6 -0
- package/lib/locales/zh-cn/profile.d.ts +25 -0
- package/lib/locales/zh-cn/profile.js +25 -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 +34 -1
- package/lib/locales/zh-hk/index.js +2 -0
- package/lib/locales/zh-hk/mfa.d.ts +6 -0
- package/lib/locales/zh-hk/mfa.js +6 -0
- package/lib/locales/zh-hk/profile.d.ts +25 -0
- package/lib/locales/zh-hk/profile.js +25 -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 +34 -1
- package/lib/locales/zh-tw/index.js +2 -0
- package/lib/locales/zh-tw/mfa.d.ts +6 -0
- package/lib/locales/zh-tw/mfa.js +6 -0
- package/lib/locales/zh-tw/profile.d.ts +25 -0
- package/lib/locales/zh-tw/profile.js +25 -0
- 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);
|
|
@@ -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;
|
package/lib/locales/zh-hk/mfa.js
CHANGED
|
@@ -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);
|
|
@@ -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;
|
package/lib/locales/zh-tw/mfa.js
CHANGED
|
@@ -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.
|
|
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
|
-
"@
|
|
28
|
-
"@logto/
|
|
29
|
-
"@
|
|
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": "
|
|
32
|
+
"zod": "3.24.3"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@silverhand/eslint-config": "6.0.1",
|