@logto/phrases-experience 1.2.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/LICENSE +373 -0
- package/README.md +3 -0
- package/lib/index.d.ts +19 -0
- package/lib/index.js +59 -0
- package/lib/locales/de/action.d.ts +28 -0
- package/lib/locales/de/action.js +28 -0
- package/lib/locales/de/demo-app.d.ts +4 -0
- package/lib/locales/de/demo-app.js +4 -0
- package/lib/locales/de/description.d.ts +60 -0
- package/lib/locales/de/description.js +60 -0
- package/lib/locales/de/error/index.d.ts +31 -0
- package/lib/locales/de/error/index.js +21 -0
- package/lib/locales/de/error/password-rejected.d.ts +13 -0
- package/lib/locales/de/error/password-rejected.js +13 -0
- package/lib/locales/de/index.d.ts +140 -0
- package/lib/locales/de/index.js +19 -0
- package/lib/locales/de/input.d.ts +9 -0
- package/lib/locales/de/input.js +9 -0
- package/lib/locales/de/list.d.ts +6 -0
- package/lib/locales/de/list.js +6 -0
- package/lib/locales/de/secondary.d.ts +4 -0
- package/lib/locales/de/secondary.js +4 -0
- package/lib/locales/en/action.d.ts +28 -0
- package/lib/locales/en/action.js +28 -0
- package/lib/locales/en/demo-app.d.ts +4 -0
- package/lib/locales/en/demo-app.js +4 -0
- package/lib/locales/en/description.d.ts +60 -0
- package/lib/locales/en/description.js +60 -0
- package/lib/locales/en/error/index.d.ts +31 -0
- package/lib/locales/en/error/index.js +21 -0
- package/lib/locales/en/error/password-rejected.d.ts +13 -0
- package/lib/locales/en/error/password-rejected.js +13 -0
- package/lib/locales/en/index.d.ts +140 -0
- package/lib/locales/en/index.js +19 -0
- package/lib/locales/en/input.d.ts +9 -0
- package/lib/locales/en/input.js +9 -0
- package/lib/locales/en/list.d.ts +6 -0
- package/lib/locales/en/list.js +6 -0
- package/lib/locales/en/secondary.d.ts +4 -0
- package/lib/locales/en/secondary.js +4 -0
- package/lib/locales/es/action.d.ts +28 -0
- package/lib/locales/es/action.js +28 -0
- package/lib/locales/es/demo-app.d.ts +4 -0
- package/lib/locales/es/demo-app.js +4 -0
- package/lib/locales/es/description.d.ts +60 -0
- package/lib/locales/es/description.js +60 -0
- package/lib/locales/es/error/index.d.ts +31 -0
- package/lib/locales/es/error/index.js +21 -0
- package/lib/locales/es/error/password-rejected.d.ts +13 -0
- package/lib/locales/es/error/password-rejected.js +13 -0
- package/lib/locales/es/index.d.ts +140 -0
- package/lib/locales/es/index.js +19 -0
- package/lib/locales/es/input.d.ts +9 -0
- package/lib/locales/es/input.js +9 -0
- package/lib/locales/es/list.d.ts +6 -0
- package/lib/locales/es/list.js +6 -0
- package/lib/locales/es/secondary.d.ts +4 -0
- package/lib/locales/es/secondary.js +4 -0
- package/lib/locales/fr/action.d.ts +28 -0
- package/lib/locales/fr/action.js +28 -0
- package/lib/locales/fr/demo-app.d.ts +4 -0
- package/lib/locales/fr/demo-app.js +4 -0
- package/lib/locales/fr/description.d.ts +60 -0
- package/lib/locales/fr/description.js +60 -0
- package/lib/locales/fr/error/index.d.ts +31 -0
- package/lib/locales/fr/error/index.js +21 -0
- package/lib/locales/fr/error/password-rejected.d.ts +13 -0
- package/lib/locales/fr/error/password-rejected.js +13 -0
- package/lib/locales/fr/index.d.ts +140 -0
- package/lib/locales/fr/index.js +19 -0
- package/lib/locales/fr/input.d.ts +9 -0
- package/lib/locales/fr/input.js +9 -0
- package/lib/locales/fr/list.d.ts +6 -0
- package/lib/locales/fr/list.js +6 -0
- package/lib/locales/fr/secondary.d.ts +4 -0
- package/lib/locales/fr/secondary.js +4 -0
- package/lib/locales/it/action.d.ts +28 -0
- package/lib/locales/it/action.js +28 -0
- package/lib/locales/it/demo-app.d.ts +4 -0
- package/lib/locales/it/demo-app.js +4 -0
- package/lib/locales/it/description.d.ts +60 -0
- package/lib/locales/it/description.js +60 -0
- package/lib/locales/it/error/index.d.ts +31 -0
- package/lib/locales/it/error/index.js +21 -0
- package/lib/locales/it/error/password-rejected.d.ts +13 -0
- package/lib/locales/it/error/password-rejected.js +13 -0
- package/lib/locales/it/index.d.ts +140 -0
- package/lib/locales/it/index.js +19 -0
- package/lib/locales/it/input.d.ts +9 -0
- package/lib/locales/it/input.js +9 -0
- package/lib/locales/it/list.d.ts +6 -0
- package/lib/locales/it/list.js +6 -0
- package/lib/locales/it/secondary.d.ts +4 -0
- package/lib/locales/it/secondary.js +4 -0
- package/lib/locales/ja/action.d.ts +28 -0
- package/lib/locales/ja/action.js +28 -0
- package/lib/locales/ja/demo-app.d.ts +4 -0
- package/lib/locales/ja/demo-app.js +4 -0
- package/lib/locales/ja/description.d.ts +60 -0
- package/lib/locales/ja/description.js +60 -0
- package/lib/locales/ja/error/index.d.ts +31 -0
- package/lib/locales/ja/error/index.js +21 -0
- package/lib/locales/ja/error/password-rejected.d.ts +13 -0
- package/lib/locales/ja/error/password-rejected.js +13 -0
- package/lib/locales/ja/index.d.ts +140 -0
- package/lib/locales/ja/index.js +19 -0
- package/lib/locales/ja/input.d.ts +9 -0
- package/lib/locales/ja/input.js +9 -0
- package/lib/locales/ja/list.d.ts +6 -0
- package/lib/locales/ja/list.js +7 -0
- package/lib/locales/ja/secondary.d.ts +4 -0
- package/lib/locales/ja/secondary.js +4 -0
- package/lib/locales/ko/action.d.ts +28 -0
- package/lib/locales/ko/action.js +28 -0
- package/lib/locales/ko/demo-app.d.ts +4 -0
- package/lib/locales/ko/demo-app.js +4 -0
- package/lib/locales/ko/description.d.ts +60 -0
- package/lib/locales/ko/description.js +60 -0
- package/lib/locales/ko/error/index.d.ts +31 -0
- package/lib/locales/ko/error/index.js +21 -0
- package/lib/locales/ko/error/password-rejected.d.ts +13 -0
- package/lib/locales/ko/error/password-rejected.js +13 -0
- package/lib/locales/ko/index.d.ts +140 -0
- package/lib/locales/ko/index.js +19 -0
- package/lib/locales/ko/input.d.ts +9 -0
- package/lib/locales/ko/input.js +9 -0
- package/lib/locales/ko/list.d.ts +6 -0
- package/lib/locales/ko/list.js +6 -0
- package/lib/locales/ko/secondary.d.ts +4 -0
- package/lib/locales/ko/secondary.js +4 -0
- package/lib/locales/pl-pl/action.d.ts +28 -0
- package/lib/locales/pl-pl/action.js +28 -0
- package/lib/locales/pl-pl/demo-app.d.ts +4 -0
- package/lib/locales/pl-pl/demo-app.js +4 -0
- package/lib/locales/pl-pl/description.d.ts +60 -0
- package/lib/locales/pl-pl/description.js +60 -0
- package/lib/locales/pl-pl/error/index.d.ts +31 -0
- package/lib/locales/pl-pl/error/index.js +21 -0
- package/lib/locales/pl-pl/error/password-rejected.d.ts +13 -0
- package/lib/locales/pl-pl/error/password-rejected.js +13 -0
- package/lib/locales/pl-pl/index.d.ts +140 -0
- package/lib/locales/pl-pl/index.js +19 -0
- package/lib/locales/pl-pl/input.d.ts +9 -0
- package/lib/locales/pl-pl/input.js +9 -0
- package/lib/locales/pl-pl/list.d.ts +6 -0
- package/lib/locales/pl-pl/list.js +6 -0
- package/lib/locales/pl-pl/secondary.d.ts +4 -0
- package/lib/locales/pl-pl/secondary.js +4 -0
- package/lib/locales/pt-br/action.d.ts +28 -0
- package/lib/locales/pt-br/action.js +28 -0
- package/lib/locales/pt-br/demo-app.d.ts +4 -0
- package/lib/locales/pt-br/demo-app.js +4 -0
- package/lib/locales/pt-br/description.d.ts +60 -0
- package/lib/locales/pt-br/description.js +60 -0
- package/lib/locales/pt-br/error/index.d.ts +31 -0
- package/lib/locales/pt-br/error/index.js +21 -0
- package/lib/locales/pt-br/error/password-rejected.d.ts +13 -0
- package/lib/locales/pt-br/error/password-rejected.js +13 -0
- package/lib/locales/pt-br/index.d.ts +140 -0
- package/lib/locales/pt-br/index.js +19 -0
- package/lib/locales/pt-br/input.d.ts +9 -0
- package/lib/locales/pt-br/input.js +9 -0
- package/lib/locales/pt-br/list.d.ts +6 -0
- package/lib/locales/pt-br/list.js +6 -0
- package/lib/locales/pt-br/secondary.d.ts +4 -0
- package/lib/locales/pt-br/secondary.js +4 -0
- package/lib/locales/pt-pt/action.d.ts +28 -0
- package/lib/locales/pt-pt/action.js +28 -0
- package/lib/locales/pt-pt/demo-app.d.ts +4 -0
- package/lib/locales/pt-pt/demo-app.js +4 -0
- package/lib/locales/pt-pt/description.d.ts +60 -0
- package/lib/locales/pt-pt/description.js +60 -0
- package/lib/locales/pt-pt/error/index.d.ts +31 -0
- package/lib/locales/pt-pt/error/index.js +21 -0
- package/lib/locales/pt-pt/error/password-rejected.d.ts +13 -0
- package/lib/locales/pt-pt/error/password-rejected.js +13 -0
- package/lib/locales/pt-pt/index.d.ts +140 -0
- package/lib/locales/pt-pt/index.js +19 -0
- package/lib/locales/pt-pt/input.d.ts +9 -0
- package/lib/locales/pt-pt/input.js +9 -0
- package/lib/locales/pt-pt/list.d.ts +6 -0
- package/lib/locales/pt-pt/list.js +6 -0
- package/lib/locales/pt-pt/secondary.d.ts +4 -0
- package/lib/locales/pt-pt/secondary.js +4 -0
- package/lib/locales/ru/action.d.ts +28 -0
- package/lib/locales/ru/action.js +28 -0
- package/lib/locales/ru/demo-app.d.ts +4 -0
- package/lib/locales/ru/demo-app.js +4 -0
- package/lib/locales/ru/description.d.ts +60 -0
- package/lib/locales/ru/description.js +60 -0
- package/lib/locales/ru/error/index.d.ts +31 -0
- package/lib/locales/ru/error/index.js +21 -0
- package/lib/locales/ru/error/password-rejected.d.ts +13 -0
- package/lib/locales/ru/error/password-rejected.js +13 -0
- package/lib/locales/ru/index.d.ts +140 -0
- package/lib/locales/ru/index.js +19 -0
- package/lib/locales/ru/input.d.ts +9 -0
- package/lib/locales/ru/input.js +9 -0
- package/lib/locales/ru/list.d.ts +6 -0
- package/lib/locales/ru/list.js +6 -0
- package/lib/locales/ru/secondary.d.ts +4 -0
- package/lib/locales/ru/secondary.js +4 -0
- package/lib/locales/tr-tr/action.d.ts +28 -0
- package/lib/locales/tr-tr/action.js +28 -0
- package/lib/locales/tr-tr/demo-app.d.ts +4 -0
- package/lib/locales/tr-tr/demo-app.js +4 -0
- package/lib/locales/tr-tr/description.d.ts +60 -0
- package/lib/locales/tr-tr/description.js +60 -0
- package/lib/locales/tr-tr/error/index.d.ts +31 -0
- package/lib/locales/tr-tr/error/index.js +21 -0
- package/lib/locales/tr-tr/error/password-rejected.d.ts +13 -0
- package/lib/locales/tr-tr/error/password-rejected.js +13 -0
- package/lib/locales/tr-tr/index.d.ts +140 -0
- package/lib/locales/tr-tr/index.js +19 -0
- package/lib/locales/tr-tr/input.d.ts +9 -0
- package/lib/locales/tr-tr/input.js +9 -0
- package/lib/locales/tr-tr/list.d.ts +6 -0
- package/lib/locales/tr-tr/list.js +6 -0
- package/lib/locales/tr-tr/secondary.d.ts +4 -0
- package/lib/locales/tr-tr/secondary.js +4 -0
- package/lib/locales/zh-cn/action.d.ts +28 -0
- package/lib/locales/zh-cn/action.js +28 -0
- package/lib/locales/zh-cn/demo-app.d.ts +4 -0
- package/lib/locales/zh-cn/demo-app.js +4 -0
- package/lib/locales/zh-cn/description.d.ts +60 -0
- package/lib/locales/zh-cn/description.js +60 -0
- package/lib/locales/zh-cn/error/index.d.ts +31 -0
- package/lib/locales/zh-cn/error/index.js +21 -0
- package/lib/locales/zh-cn/error/password-rejected.d.ts +13 -0
- package/lib/locales/zh-cn/error/password-rejected.js +13 -0
- package/lib/locales/zh-cn/index.d.ts +140 -0
- package/lib/locales/zh-cn/index.js +19 -0
- package/lib/locales/zh-cn/input.d.ts +9 -0
- package/lib/locales/zh-cn/input.js +9 -0
- package/lib/locales/zh-cn/list.d.ts +6 -0
- package/lib/locales/zh-cn/list.js +6 -0
- package/lib/locales/zh-cn/secondary.d.ts +4 -0
- package/lib/locales/zh-cn/secondary.js +4 -0
- package/lib/locales/zh-hk/action.d.ts +28 -0
- package/lib/locales/zh-hk/action.js +28 -0
- package/lib/locales/zh-hk/demo-app.d.ts +4 -0
- package/lib/locales/zh-hk/demo-app.js +4 -0
- package/lib/locales/zh-hk/description.d.ts +60 -0
- package/lib/locales/zh-hk/description.js +60 -0
- package/lib/locales/zh-hk/error/index.d.ts +31 -0
- package/lib/locales/zh-hk/error/index.js +21 -0
- package/lib/locales/zh-hk/error/password-rejected.d.ts +13 -0
- package/lib/locales/zh-hk/error/password-rejected.js +13 -0
- package/lib/locales/zh-hk/index.d.ts +140 -0
- package/lib/locales/zh-hk/index.js +19 -0
- package/lib/locales/zh-hk/input.d.ts +9 -0
- package/lib/locales/zh-hk/input.js +9 -0
- package/lib/locales/zh-hk/list.d.ts +6 -0
- package/lib/locales/zh-hk/list.js +6 -0
- package/lib/locales/zh-hk/secondary.d.ts +4 -0
- package/lib/locales/zh-hk/secondary.js +4 -0
- package/lib/locales/zh-tw/action.d.ts +28 -0
- package/lib/locales/zh-tw/action.js +28 -0
- package/lib/locales/zh-tw/demo-app.d.ts +4 -0
- package/lib/locales/zh-tw/demo-app.js +4 -0
- package/lib/locales/zh-tw/description.d.ts +60 -0
- package/lib/locales/zh-tw/description.js +60 -0
- package/lib/locales/zh-tw/error/index.d.ts +31 -0
- package/lib/locales/zh-tw/error/index.js +21 -0
- package/lib/locales/zh-tw/error/password-rejected.d.ts +13 -0
- package/lib/locales/zh-tw/error/password-rejected.js +13 -0
- package/lib/locales/zh-tw/index.d.ts +140 -0
- package/lib/locales/zh-tw/index.js +19 -0
- package/lib/locales/zh-tw/input.d.ts +9 -0
- package/lib/locales/zh-tw/input.js +9 -0
- package/lib/locales/zh-tw/list.d.ts +6 -0
- package/lib/locales/zh-tw/list.js +6 -0
- package/lib/locales/zh-tw/secondary.d.ts +4 -0
- package/lib/locales/zh-tw/secondary.js +4 -0
- package/lib/types.d.ts +2 -0
- package/lib/types.js +1 -0
- package/package.json +58 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
const description = {
|
|
2
|
+
email: '邮箱',
|
|
3
|
+
phone_number: '手机号',
|
|
4
|
+
username: '用户名',
|
|
5
|
+
reminder: '提示',
|
|
6
|
+
not_found: '404 页面不存在',
|
|
7
|
+
agree_with_terms: '我已阅读并同意 ',
|
|
8
|
+
agree_with_terms_modal: '请先同意 <link></link> 以继续',
|
|
9
|
+
terms_of_use: '使用条款',
|
|
10
|
+
sign_in: '登录',
|
|
11
|
+
privacy_policy: '隐私政策',
|
|
12
|
+
create_account: '创建帐号',
|
|
13
|
+
or: '或',
|
|
14
|
+
and: '和',
|
|
15
|
+
enter_passcode: '验证码已经发送至你的{{ address }} {{target}}',
|
|
16
|
+
passcode_sent: '验证码已经发送',
|
|
17
|
+
resend_after_seconds: '在 <span>{{ seconds }}</span> 秒后重发',
|
|
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}} 的帐号不存在。',
|
|
23
|
+
create_account_id_exists_alert: '{{type}} {{value}} 已绑定其他账号。请尝试其他{{type}}。',
|
|
24
|
+
social_identity_exist: ' {{type}} {{value}} 已绑定其他账号。请尝试其他{{type}}',
|
|
25
|
+
bind_account_title: '绑定或注册帐号',
|
|
26
|
+
social_create_account: '你可以注册一个新的账号。',
|
|
27
|
+
social_link_email: '你可以绑定其他邮箱',
|
|
28
|
+
social_link_phone: '你可以绑定其他手机号',
|
|
29
|
+
social_link_email_or_phone: '你可以绑定其他邮箱或手机号',
|
|
30
|
+
social_bind_with_existing: '找到了一个已注册的账号,你可以直接绑定。',
|
|
31
|
+
reset_password: '忘记密码',
|
|
32
|
+
reset_password_description: '输入{{types, list(type: disjunction;)}},获取验证码以重设密码。',
|
|
33
|
+
new_password: '新密码',
|
|
34
|
+
set_password: '设置密码',
|
|
35
|
+
password_changed: '已重置密码!',
|
|
36
|
+
no_account: '还没有账号?',
|
|
37
|
+
have_account: ' 已有账号?',
|
|
38
|
+
enter_password: '输入密码',
|
|
39
|
+
enter_password_for: '输入{{method}} {{value}} 对应的密码进行登录',
|
|
40
|
+
enter_username: '设置用户名',
|
|
41
|
+
enter_username_description: '用户名可以用来进行登录。用户名仅可以包含字母、数字和下划线。',
|
|
42
|
+
link_email: '绑定邮箱',
|
|
43
|
+
link_phone: '绑定手机',
|
|
44
|
+
link_email_or_phone: '绑定邮箱或手机号',
|
|
45
|
+
link_email_description: '绑定邮箱以保障你的账号安全',
|
|
46
|
+
link_phone_description: '绑定手机号以保障你的账号安全',
|
|
47
|
+
link_email_or_phone_description: '绑定邮箱或手机号以保障你的账号安全',
|
|
48
|
+
continue_with_more_information: '为保障你的账号安全,需要你补充以下信息。',
|
|
49
|
+
create_your_account: '注册你的账号',
|
|
50
|
+
sign_in_to_your_account: '登录你的账号',
|
|
51
|
+
no_region_code_found: '没有找到区域码',
|
|
52
|
+
verify_email: '验证你的邮箱',
|
|
53
|
+
verify_phone: '验证你的手机号',
|
|
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}}种大写字母、小写字母、数字和符号',
|
|
59
|
+
};
|
|
60
|
+
export default Object.freeze(description);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const _default: Readonly<{
|
|
2
|
+
general_required: string;
|
|
3
|
+
general_invalid: string;
|
|
4
|
+
username_required: string;
|
|
5
|
+
password_required: string;
|
|
6
|
+
username_exists: string;
|
|
7
|
+
username_should_not_start_with_number: string;
|
|
8
|
+
username_invalid_charset: string;
|
|
9
|
+
invalid_email: string;
|
|
10
|
+
invalid_phone: string;
|
|
11
|
+
passwords_do_not_match: string;
|
|
12
|
+
invalid_passcode: string;
|
|
13
|
+
invalid_connector_auth: string;
|
|
14
|
+
invalid_connector_request: string;
|
|
15
|
+
unknown: string;
|
|
16
|
+
invalid_session: string;
|
|
17
|
+
timeout: string;
|
|
18
|
+
password_rejected: Readonly<{
|
|
19
|
+
too_short: string;
|
|
20
|
+
too_long: string;
|
|
21
|
+
character_types: string;
|
|
22
|
+
unsupported_characters: string;
|
|
23
|
+
pwned: string;
|
|
24
|
+
restricted_found: string;
|
|
25
|
+
'restricted.repetition': string;
|
|
26
|
+
'restricted.sequence': string;
|
|
27
|
+
'restricted.user_info': string;
|
|
28
|
+
'restricted.words': string;
|
|
29
|
+
}>;
|
|
30
|
+
}>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import password_rejected from './password-rejected.js';
|
|
2
|
+
const error = {
|
|
3
|
+
general_required: '{{types, list(type: disjunction;)}}必填',
|
|
4
|
+
general_invalid: '无效的{{types, list(type: disjunction;)}}',
|
|
5
|
+
username_required: '用户名必填',
|
|
6
|
+
password_required: '密码必填',
|
|
7
|
+
username_exists: '用户名已存在',
|
|
8
|
+
username_should_not_start_with_number: '用户名不能以数字开头',
|
|
9
|
+
username_invalid_charset: '用户名只能包含英文字母、数字或下划线。',
|
|
10
|
+
invalid_email: '无效的邮箱',
|
|
11
|
+
invalid_phone: '无效的手机号',
|
|
12
|
+
passwords_do_not_match: '两次输入的密码不一致,请重试。',
|
|
13
|
+
invalid_passcode: '无效的验证码',
|
|
14
|
+
invalid_connector_auth: '登录失败',
|
|
15
|
+
invalid_connector_request: '无效的登录请求',
|
|
16
|
+
unknown: '未知错误,请稍后重试。',
|
|
17
|
+
invalid_session: '未找到会话,请返回并重新登录。',
|
|
18
|
+
timeout: '请求超时,请稍后重试。',
|
|
19
|
+
password_rejected,
|
|
20
|
+
};
|
|
21
|
+
export default Object.freeze(error);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: Readonly<{
|
|
2
|
+
too_short: string;
|
|
3
|
+
too_long: string;
|
|
4
|
+
character_types: string;
|
|
5
|
+
unsupported_characters: string;
|
|
6
|
+
pwned: string;
|
|
7
|
+
restricted_found: string;
|
|
8
|
+
'restricted.repetition': string;
|
|
9
|
+
'restricted.sequence': string;
|
|
10
|
+
'restricted.user_info': string;
|
|
11
|
+
'restricted.words': string;
|
|
12
|
+
}>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const password_rejected = {
|
|
2
|
+
too_short: '最短长度为{{min}}。',
|
|
3
|
+
too_long: '最长长度为{{max}}。',
|
|
4
|
+
character_types: '需要至少{{min}}种字符类型。',
|
|
5
|
+
unsupported_characters: '发现不支持的字符。',
|
|
6
|
+
pwned: '避免使用容易被猜到的简单密码。',
|
|
7
|
+
restricted_found: '避免过度使用{{list, list}}。',
|
|
8
|
+
'restricted.repetition': '重复字符',
|
|
9
|
+
'restricted.sequence': '连续字符',
|
|
10
|
+
'restricted.user_info': '您的个人信息',
|
|
11
|
+
'restricted.words': '产品上下文',
|
|
12
|
+
};
|
|
13
|
+
export default Object.freeze(password_rejected);
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
declare const _default: Readonly<{
|
|
2
|
+
translation: {
|
|
3
|
+
input: Readonly<{
|
|
4
|
+
username: string;
|
|
5
|
+
password: string;
|
|
6
|
+
email: string;
|
|
7
|
+
phone_number: string;
|
|
8
|
+
confirm_password: string;
|
|
9
|
+
search_region_code: string;
|
|
10
|
+
}>;
|
|
11
|
+
secondary: Readonly<{
|
|
12
|
+
social_bind_with: string;
|
|
13
|
+
}>;
|
|
14
|
+
action: Readonly<{
|
|
15
|
+
sign_in: string;
|
|
16
|
+
continue: string;
|
|
17
|
+
create_account: string;
|
|
18
|
+
create_account_without_linking: string;
|
|
19
|
+
create: string;
|
|
20
|
+
enter_passcode: string;
|
|
21
|
+
confirm: string;
|
|
22
|
+
cancel: string;
|
|
23
|
+
save_password: string;
|
|
24
|
+
bind: string;
|
|
25
|
+
bind_and_continue: string;
|
|
26
|
+
back: string;
|
|
27
|
+
nav_back: string;
|
|
28
|
+
agree: string;
|
|
29
|
+
got_it: string;
|
|
30
|
+
sign_in_with: string;
|
|
31
|
+
forgot_password: string;
|
|
32
|
+
switch_to: string;
|
|
33
|
+
sign_in_via_passcode: string;
|
|
34
|
+
sign_in_via_password: string;
|
|
35
|
+
change: string;
|
|
36
|
+
link_another_email: string;
|
|
37
|
+
link_another_phone: string;
|
|
38
|
+
link_another_email_or_phone: string;
|
|
39
|
+
show_password: string;
|
|
40
|
+
}>;
|
|
41
|
+
description: Readonly<{
|
|
42
|
+
email: string;
|
|
43
|
+
phone_number: string;
|
|
44
|
+
username: string;
|
|
45
|
+
reminder: string;
|
|
46
|
+
not_found: string;
|
|
47
|
+
agree_with_terms: string;
|
|
48
|
+
agree_with_terms_modal: string;
|
|
49
|
+
terms_of_use: string;
|
|
50
|
+
sign_in: string;
|
|
51
|
+
privacy_policy: string;
|
|
52
|
+
create_account: string;
|
|
53
|
+
or: string;
|
|
54
|
+
and: string;
|
|
55
|
+
enter_passcode: string;
|
|
56
|
+
passcode_sent: string;
|
|
57
|
+
resend_after_seconds: string;
|
|
58
|
+
resend_passcode: string;
|
|
59
|
+
create_account_id_exists: string;
|
|
60
|
+
link_account_id_exists: string;
|
|
61
|
+
sign_in_id_does_not_exist: string;
|
|
62
|
+
sign_in_id_does_not_exist_alert: string;
|
|
63
|
+
create_account_id_exists_alert: string;
|
|
64
|
+
social_identity_exist: string;
|
|
65
|
+
bind_account_title: string;
|
|
66
|
+
social_create_account: string;
|
|
67
|
+
social_link_email: string;
|
|
68
|
+
social_link_phone: string;
|
|
69
|
+
social_link_email_or_phone: string;
|
|
70
|
+
social_bind_with_existing: string;
|
|
71
|
+
reset_password: string;
|
|
72
|
+
reset_password_description: string;
|
|
73
|
+
new_password: string;
|
|
74
|
+
set_password: string;
|
|
75
|
+
password_changed: string;
|
|
76
|
+
no_account: string;
|
|
77
|
+
have_account: string;
|
|
78
|
+
enter_password: string;
|
|
79
|
+
enter_password_for: string;
|
|
80
|
+
enter_username: string;
|
|
81
|
+
enter_username_description: string;
|
|
82
|
+
link_email: string;
|
|
83
|
+
link_phone: string;
|
|
84
|
+
link_email_or_phone: string;
|
|
85
|
+
link_email_description: string;
|
|
86
|
+
link_phone_description: string;
|
|
87
|
+
link_email_or_phone_description: string;
|
|
88
|
+
continue_with_more_information: string;
|
|
89
|
+
create_your_account: string;
|
|
90
|
+
sign_in_to_your_account: string;
|
|
91
|
+
no_region_code_found: string;
|
|
92
|
+
verify_email: string;
|
|
93
|
+
verify_phone: string;
|
|
94
|
+
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;
|
|
99
|
+
}>;
|
|
100
|
+
error: Readonly<{
|
|
101
|
+
general_required: string;
|
|
102
|
+
general_invalid: string;
|
|
103
|
+
username_required: string;
|
|
104
|
+
password_required: string;
|
|
105
|
+
username_exists: string;
|
|
106
|
+
username_should_not_start_with_number: string;
|
|
107
|
+
username_invalid_charset: string;
|
|
108
|
+
invalid_email: string;
|
|
109
|
+
invalid_phone: string;
|
|
110
|
+
passwords_do_not_match: string;
|
|
111
|
+
invalid_passcode: string;
|
|
112
|
+
invalid_connector_auth: string;
|
|
113
|
+
invalid_connector_request: string;
|
|
114
|
+
unknown: string;
|
|
115
|
+
invalid_session: string;
|
|
116
|
+
timeout: string;
|
|
117
|
+
password_rejected: Readonly<{
|
|
118
|
+
too_short: string;
|
|
119
|
+
too_long: string;
|
|
120
|
+
character_types: string;
|
|
121
|
+
unsupported_characters: string;
|
|
122
|
+
pwned: string;
|
|
123
|
+
restricted_found: string;
|
|
124
|
+
'restricted.repetition': string;
|
|
125
|
+
'restricted.sequence': string;
|
|
126
|
+
'restricted.user_info': string;
|
|
127
|
+
'restricted.words': string;
|
|
128
|
+
}>;
|
|
129
|
+
}>;
|
|
130
|
+
demo_app: Readonly<{
|
|
131
|
+
notification: string;
|
|
132
|
+
}>;
|
|
133
|
+
list: Readonly<{
|
|
134
|
+
or: string;
|
|
135
|
+
and: string;
|
|
136
|
+
separator: string;
|
|
137
|
+
}>;
|
|
138
|
+
};
|
|
139
|
+
}>;
|
|
140
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import action from './action.js';
|
|
2
|
+
import demo_app from './demo-app.js';
|
|
3
|
+
import description from './description.js';
|
|
4
|
+
import error from './error/index.js';
|
|
5
|
+
import input from './input.js';
|
|
6
|
+
import list from './list.js';
|
|
7
|
+
import secondary from './secondary.js';
|
|
8
|
+
const zh_cn = {
|
|
9
|
+
translation: {
|
|
10
|
+
input,
|
|
11
|
+
secondary,
|
|
12
|
+
action,
|
|
13
|
+
description,
|
|
14
|
+
error,
|
|
15
|
+
demo_app,
|
|
16
|
+
list,
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
export default Object.freeze(zh_cn);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
declare const _default: Readonly<{
|
|
2
|
+
sign_in: string;
|
|
3
|
+
continue: string;
|
|
4
|
+
create_account: string;
|
|
5
|
+
create_account_without_linking: string;
|
|
6
|
+
create: string;
|
|
7
|
+
enter_passcode: string;
|
|
8
|
+
confirm: string;
|
|
9
|
+
cancel: string;
|
|
10
|
+
save_password: string;
|
|
11
|
+
bind: string;
|
|
12
|
+
bind_and_continue: string;
|
|
13
|
+
back: string;
|
|
14
|
+
nav_back: string;
|
|
15
|
+
agree: string;
|
|
16
|
+
got_it: string;
|
|
17
|
+
sign_in_with: string;
|
|
18
|
+
forgot_password: string;
|
|
19
|
+
switch_to: string;
|
|
20
|
+
sign_in_via_passcode: string;
|
|
21
|
+
sign_in_via_password: string;
|
|
22
|
+
change: string;
|
|
23
|
+
link_another_email: string;
|
|
24
|
+
link_another_phone: string;
|
|
25
|
+
link_another_email_or_phone: string;
|
|
26
|
+
show_password: string;
|
|
27
|
+
}>;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const action = {
|
|
2
|
+
sign_in: '登錄',
|
|
3
|
+
continue: '繼續',
|
|
4
|
+
create_account: '註冊',
|
|
5
|
+
create_account_without_linking: '註冊新的帳號',
|
|
6
|
+
create: '註冊',
|
|
7
|
+
enter_passcode: '輸入驗證碼',
|
|
8
|
+
confirm: '確認',
|
|
9
|
+
cancel: '取消',
|
|
10
|
+
save_password: '保存密碼',
|
|
11
|
+
bind: '綁定到 {{address}}',
|
|
12
|
+
bind_and_continue: '綁定並繼續',
|
|
13
|
+
back: '返回',
|
|
14
|
+
nav_back: '返回',
|
|
15
|
+
agree: '同意',
|
|
16
|
+
got_it: '知道了',
|
|
17
|
+
sign_in_with: '通過 {{name}} 繼續',
|
|
18
|
+
forgot_password: '忘記密碼?',
|
|
19
|
+
switch_to: '切換到{{method}}',
|
|
20
|
+
sign_in_via_passcode: '用驗證碼登錄',
|
|
21
|
+
sign_in_via_password: '密碼登錄',
|
|
22
|
+
change: '更改{{method}}',
|
|
23
|
+
link_another_email: '綁定其他電子郵件',
|
|
24
|
+
link_another_phone: '綁定其他手機',
|
|
25
|
+
link_another_email_or_phone: '綁定電子郵件或手機號碼',
|
|
26
|
+
show_password: '顯示密碼',
|
|
27
|
+
};
|
|
28
|
+
export default Object.freeze(action);
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
declare const _default: Readonly<{
|
|
2
|
+
email: string;
|
|
3
|
+
phone_number: string;
|
|
4
|
+
username: string;
|
|
5
|
+
reminder: string;
|
|
6
|
+
not_found: string;
|
|
7
|
+
agree_with_terms: string;
|
|
8
|
+
agree_with_terms_modal: string;
|
|
9
|
+
terms_of_use: string;
|
|
10
|
+
sign_in: string;
|
|
11
|
+
privacy_policy: string;
|
|
12
|
+
create_account: string;
|
|
13
|
+
or: string;
|
|
14
|
+
and: string;
|
|
15
|
+
enter_passcode: string;
|
|
16
|
+
passcode_sent: string;
|
|
17
|
+
resend_after_seconds: string;
|
|
18
|
+
resend_passcode: string;
|
|
19
|
+
create_account_id_exists: string;
|
|
20
|
+
link_account_id_exists: string;
|
|
21
|
+
sign_in_id_does_not_exist: string;
|
|
22
|
+
sign_in_id_does_not_exist_alert: string;
|
|
23
|
+
create_account_id_exists_alert: string;
|
|
24
|
+
social_identity_exist: string;
|
|
25
|
+
bind_account_title: string;
|
|
26
|
+
social_create_account: string;
|
|
27
|
+
social_link_email: string;
|
|
28
|
+
social_link_phone: string;
|
|
29
|
+
social_link_email_or_phone: string;
|
|
30
|
+
social_bind_with_existing: string;
|
|
31
|
+
reset_password: string;
|
|
32
|
+
reset_password_description: string;
|
|
33
|
+
new_password: string;
|
|
34
|
+
set_password: string;
|
|
35
|
+
password_changed: string;
|
|
36
|
+
no_account: string;
|
|
37
|
+
have_account: string;
|
|
38
|
+
enter_password: string;
|
|
39
|
+
enter_password_for: string;
|
|
40
|
+
enter_username: string;
|
|
41
|
+
enter_username_description: string;
|
|
42
|
+
link_email: string;
|
|
43
|
+
link_phone: string;
|
|
44
|
+
link_email_or_phone: string;
|
|
45
|
+
link_email_description: string;
|
|
46
|
+
link_phone_description: string;
|
|
47
|
+
link_email_or_phone_description: string;
|
|
48
|
+
continue_with_more_information: string;
|
|
49
|
+
create_your_account: string;
|
|
50
|
+
sign_in_to_your_account: string;
|
|
51
|
+
no_region_code_found: string;
|
|
52
|
+
verify_email: string;
|
|
53
|
+
verify_phone: string;
|
|
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;
|
|
59
|
+
}>;
|
|
60
|
+
export default _default;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
const description = {
|
|
2
|
+
email: '郵箱',
|
|
3
|
+
phone_number: '手機號',
|
|
4
|
+
username: '用戶名',
|
|
5
|
+
reminder: '提示',
|
|
6
|
+
not_found: '404 頁面不存在',
|
|
7
|
+
agree_with_terms: '我已閱讀並同意 ',
|
|
8
|
+
agree_with_terms_modal: '請先同意 <link></link> 以繼續',
|
|
9
|
+
terms_of_use: '使用條款',
|
|
10
|
+
sign_in: '登錄',
|
|
11
|
+
privacy_policy: '隱私政策',
|
|
12
|
+
create_account: '創建帳號',
|
|
13
|
+
or: '或',
|
|
14
|
+
and: '和',
|
|
15
|
+
enter_passcode: '驗證碼已經發送至你的{{ address }} {{target}}',
|
|
16
|
+
passcode_sent: '驗證碼已經發送',
|
|
17
|
+
resend_after_seconds: '在 <span>{{ seconds }}</span> 秒後重發',
|
|
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}} 的帳號不存在。',
|
|
23
|
+
create_account_id_exists_alert: '{{type}} {{value}} 已綁定其他帳號。請嘗試其他{{type}}。',
|
|
24
|
+
social_identity_exist: ' {{type}} {{value}} 已綁定其他帳號。請嘗試其他{{type}}',
|
|
25
|
+
bind_account_title: '綁定或註冊帳號',
|
|
26
|
+
social_create_account: '你可以註冊一個新的帳號。',
|
|
27
|
+
social_link_email: '你可以綁定其他郵箱',
|
|
28
|
+
social_link_phone: '你可以綁定其他手機號',
|
|
29
|
+
social_link_email_or_phone: '你可以綁定其他郵箱或手機號',
|
|
30
|
+
social_bind_with_existing: '找到了一個已註冊的帳號,你可以直接綁定。',
|
|
31
|
+
reset_password: '忘記密碼',
|
|
32
|
+
reset_password_description: '輸入{{types, list(type: disjunction;)}},獲取驗證碼以重設密碼。',
|
|
33
|
+
new_password: '新密碼',
|
|
34
|
+
set_password: '設定密碼',
|
|
35
|
+
password_changed: '已重置密碼!',
|
|
36
|
+
no_account: '還沒有帳號?',
|
|
37
|
+
have_account: ' 已有帳號?',
|
|
38
|
+
enter_password: '輸入密碼',
|
|
39
|
+
enter_password_for: '輸入{{method}} {{value}} 對應的密碼進行登錄',
|
|
40
|
+
enter_username: '設定用戶名',
|
|
41
|
+
enter_username_description: '用戶名可以用來進行登錄。用戶名僅可以包含字母、數字和下劃線。',
|
|
42
|
+
link_email: '綁定郵箱',
|
|
43
|
+
link_phone: '綁定手機',
|
|
44
|
+
link_email_or_phone: '綁定郵箱或手機號',
|
|
45
|
+
link_email_description: '綁定郵箱以保障你的帳號安全',
|
|
46
|
+
link_phone_description: '綁定手機號以保障你的帳號安全',
|
|
47
|
+
link_email_or_phone_description: '綁定郵箱或手機號以保障你的帳號安全',
|
|
48
|
+
continue_with_more_information: '為保障你的帳號安全,需要你補充以下信息。',
|
|
49
|
+
create_your_account: '註冊你的帳號',
|
|
50
|
+
sign_in_to_your_account: '登錄你的帳號',
|
|
51
|
+
no_region_code_found: '沒有找到區域碼',
|
|
52
|
+
verify_email: '驗證你的郵箱',
|
|
53
|
+
verify_phone: '驗證你的手機號',
|
|
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}}類型的大寫字母,小寫字母,數字和符號',
|
|
59
|
+
};
|
|
60
|
+
export default Object.freeze(description);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const _default: Readonly<{
|
|
2
|
+
general_required: string;
|
|
3
|
+
general_invalid: string;
|
|
4
|
+
username_required: string;
|
|
5
|
+
password_required: string;
|
|
6
|
+
username_exists: string;
|
|
7
|
+
username_should_not_start_with_number: string;
|
|
8
|
+
username_invalid_charset: string;
|
|
9
|
+
invalid_email: string;
|
|
10
|
+
invalid_phone: string;
|
|
11
|
+
passwords_do_not_match: string;
|
|
12
|
+
invalid_passcode: string;
|
|
13
|
+
invalid_connector_auth: string;
|
|
14
|
+
invalid_connector_request: string;
|
|
15
|
+
unknown: string;
|
|
16
|
+
invalid_session: string;
|
|
17
|
+
timeout: string;
|
|
18
|
+
password_rejected: Readonly<{
|
|
19
|
+
too_short: string;
|
|
20
|
+
too_long: string;
|
|
21
|
+
character_types: string;
|
|
22
|
+
unsupported_characters: string;
|
|
23
|
+
pwned: string;
|
|
24
|
+
restricted_found: string;
|
|
25
|
+
'restricted.repetition': string;
|
|
26
|
+
'restricted.sequence': string;
|
|
27
|
+
'restricted.user_info': string;
|
|
28
|
+
'restricted.words': string;
|
|
29
|
+
}>;
|
|
30
|
+
}>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import password_rejected from './password-rejected.js';
|
|
2
|
+
const error = {
|
|
3
|
+
general_required: '{{types, list(type: disjunction;)}}必填',
|
|
4
|
+
general_invalid: '無效的{{types, list(type: disjunction;)}}',
|
|
5
|
+
username_required: '用戶名必填',
|
|
6
|
+
password_required: '密碼必填',
|
|
7
|
+
username_exists: '用戶名已存在',
|
|
8
|
+
username_should_not_start_with_number: '用戶名不能以數字開頭',
|
|
9
|
+
username_invalid_charset: '用戶名只能包含英文字母、數字或下劃線。',
|
|
10
|
+
invalid_email: '無效的電子郵件',
|
|
11
|
+
invalid_phone: '無效的手機號碼',
|
|
12
|
+
passwords_do_not_match: '兩次輸入的密碼不一致,請重試。',
|
|
13
|
+
invalid_passcode: '無效的驗證碼',
|
|
14
|
+
invalid_connector_auth: '登錄失敗',
|
|
15
|
+
invalid_connector_request: '無效的登錄請求',
|
|
16
|
+
unknown: '未知錯誤,請稍後重試。',
|
|
17
|
+
invalid_session: '未找到會話,請返回並重新登錄。',
|
|
18
|
+
timeout: '請求超時,請稍後重試。',
|
|
19
|
+
password_rejected,
|
|
20
|
+
};
|
|
21
|
+
export default Object.freeze(error);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: Readonly<{
|
|
2
|
+
too_short: string;
|
|
3
|
+
too_long: string;
|
|
4
|
+
character_types: string;
|
|
5
|
+
unsupported_characters: string;
|
|
6
|
+
pwned: string;
|
|
7
|
+
restricted_found: string;
|
|
8
|
+
'restricted.repetition': string;
|
|
9
|
+
'restricted.sequence': string;
|
|
10
|
+
'restricted.user_info': string;
|
|
11
|
+
'restricted.words': string;
|
|
12
|
+
}>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const password_rejected = {
|
|
2
|
+
too_short: '最少長度為{{min}}。',
|
|
3
|
+
too_long: '最大長度為{{max}}。',
|
|
4
|
+
character_types: '至少需要{{min}}種類的字符。',
|
|
5
|
+
unsupported_characters: '發現不支援的字符。',
|
|
6
|
+
pwned: '避免使用容易猜測的簡單密碼。',
|
|
7
|
+
restricted_found: '避免過度使用{{list, list}}。',
|
|
8
|
+
'restricted.repetition': '重複的字符',
|
|
9
|
+
'restricted.sequence': '連續的字符',
|
|
10
|
+
'restricted.user_info': '個人資訊',
|
|
11
|
+
'restricted.words': '產品上下文',
|
|
12
|
+
};
|
|
13
|
+
export default Object.freeze(password_rejected);
|