@logto/phrases-experience 1.9.1 → 1.10.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/action.d.ts +2 -0
- package/lib/locales/ar/action.js +2 -0
- package/lib/locales/ar/description.d.ts +9 -7
- package/lib/locales/ar/description.js +16 -14
- package/lib/locales/ar/error/index.d.ts +4 -0
- package/lib/locales/ar/error/index.js +4 -0
- package/lib/locales/ar/index.d.ts +15 -0
- package/lib/locales/de/action.d.ts +2 -2
- package/lib/locales/de/action.js +4 -4
- package/lib/locales/de/description.d.ts +9 -12
- package/lib/locales/de/description.js +21 -24
- package/lib/locales/de/error/index.d.ts +4 -0
- package/lib/locales/de/error/index.js +4 -0
- package/lib/locales/de/index.d.ts +15 -0
- package/lib/locales/de/user-scopes.d.ts +0 -9
- package/lib/locales/de/user-scopes.js +9 -18
- package/lib/locales/en/action.d.ts +2 -0
- package/lib/locales/en/action.js +2 -0
- package/lib/locales/en/description.d.ts +9 -0
- package/lib/locales/en/description.js +10 -1
- package/lib/locales/en/error/index.d.ts +4 -0
- package/lib/locales/en/error/index.js +4 -0
- package/lib/locales/en/index.d.ts +15 -0
- package/lib/locales/en/secondary.js +1 -1
- package/lib/locales/es/action.d.ts +2 -2
- package/lib/locales/es/action.js +4 -4
- package/lib/locales/es/description.d.ts +9 -12
- package/lib/locales/es/description.js +21 -24
- package/lib/locales/es/error/index.d.ts +4 -0
- package/lib/locales/es/error/index.js +4 -0
- package/lib/locales/es/index.d.ts +15 -0
- package/lib/locales/es/user-scopes.d.ts +0 -9
- package/lib/locales/es/user-scopes.js +9 -18
- package/lib/locales/fr/action.d.ts +2 -2
- package/lib/locales/fr/action.js +4 -4
- package/lib/locales/fr/description.d.ts +9 -12
- package/lib/locales/fr/description.js +21 -24
- package/lib/locales/fr/error/index.d.ts +4 -0
- package/lib/locales/fr/error/index.js +4 -0
- package/lib/locales/fr/index.d.ts +15 -0
- package/lib/locales/fr/user-scopes.d.ts +0 -9
- package/lib/locales/fr/user-scopes.js +9 -18
- package/lib/locales/it/action.d.ts +2 -2
- package/lib/locales/it/action.js +4 -4
- package/lib/locales/it/description.d.ts +9 -12
- package/lib/locales/it/description.js +21 -24
- package/lib/locales/it/error/index.d.ts +4 -0
- package/lib/locales/it/error/index.js +4 -0
- package/lib/locales/it/index.d.ts +15 -0
- package/lib/locales/it/user-scopes.d.ts +0 -9
- package/lib/locales/it/user-scopes.js +9 -18
- package/lib/locales/ja/action.d.ts +2 -2
- package/lib/locales/ja/action.js +4 -4
- package/lib/locales/ja/description.d.ts +9 -12
- package/lib/locales/ja/description.js +21 -24
- package/lib/locales/ja/error/index.d.ts +4 -0
- package/lib/locales/ja/error/index.js +4 -0
- package/lib/locales/ja/index.d.ts +15 -0
- package/lib/locales/ja/user-scopes.d.ts +0 -9
- package/lib/locales/ja/user-scopes.js +9 -18
- package/lib/locales/ko/action.d.ts +2 -2
- package/lib/locales/ko/action.js +4 -4
- package/lib/locales/ko/description.d.ts +9 -12
- package/lib/locales/ko/description.js +21 -24
- package/lib/locales/ko/error/index.d.ts +4 -0
- package/lib/locales/ko/error/index.js +4 -0
- package/lib/locales/ko/index.d.ts +15 -0
- package/lib/locales/ko/user-scopes.d.ts +0 -9
- package/lib/locales/ko/user-scopes.js +9 -18
- package/lib/locales/pl-pl/action.d.ts +2 -2
- package/lib/locales/pl-pl/action.js +4 -4
- package/lib/locales/pl-pl/description.d.ts +9 -12
- package/lib/locales/pl-pl/description.js +21 -24
- package/lib/locales/pl-pl/error/index.d.ts +4 -0
- package/lib/locales/pl-pl/error/index.js +4 -0
- package/lib/locales/pl-pl/index.d.ts +15 -0
- package/lib/locales/pl-pl/user-scopes.d.ts +0 -9
- package/lib/locales/pl-pl/user-scopes.js +9 -18
- package/lib/locales/pt-br/action.d.ts +2 -2
- package/lib/locales/pt-br/action.js +4 -4
- package/lib/locales/pt-br/description.d.ts +9 -12
- package/lib/locales/pt-br/description.js +21 -24
- package/lib/locales/pt-br/error/index.d.ts +4 -0
- package/lib/locales/pt-br/error/index.js +4 -0
- package/lib/locales/pt-br/index.d.ts +15 -0
- package/lib/locales/pt-br/user-scopes.d.ts +0 -9
- package/lib/locales/pt-br/user-scopes.js +9 -18
- package/lib/locales/pt-pt/action.d.ts +2 -2
- package/lib/locales/pt-pt/action.js +4 -4
- package/lib/locales/pt-pt/description.d.ts +9 -12
- package/lib/locales/pt-pt/description.js +21 -24
- package/lib/locales/pt-pt/error/index.d.ts +4 -0
- package/lib/locales/pt-pt/error/index.js +4 -0
- package/lib/locales/pt-pt/index.d.ts +15 -0
- package/lib/locales/pt-pt/user-scopes.d.ts +0 -9
- package/lib/locales/pt-pt/user-scopes.js +9 -18
- package/lib/locales/ru/action.d.ts +2 -2
- package/lib/locales/ru/action.js +4 -4
- package/lib/locales/ru/description.d.ts +9 -12
- package/lib/locales/ru/description.js +21 -24
- package/lib/locales/ru/error/index.d.ts +4 -0
- package/lib/locales/ru/error/index.js +4 -0
- package/lib/locales/ru/index.d.ts +15 -0
- package/lib/locales/ru/user-scopes.d.ts +0 -9
- package/lib/locales/ru/user-scopes.js +9 -18
- package/lib/locales/tr-tr/action.d.ts +2 -2
- package/lib/locales/tr-tr/action.js +4 -4
- package/lib/locales/tr-tr/description.d.ts +9 -12
- package/lib/locales/tr-tr/description.js +21 -24
- package/lib/locales/tr-tr/error/index.d.ts +4 -0
- package/lib/locales/tr-tr/error/index.js +4 -0
- package/lib/locales/tr-tr/index.d.ts +15 -0
- package/lib/locales/tr-tr/user-scopes.d.ts +0 -9
- package/lib/locales/tr-tr/user-scopes.js +9 -18
- package/lib/locales/uk-ua/action.d.ts +37 -0
- package/lib/locales/uk-ua/action.js +37 -0
- package/lib/locales/uk-ua/description.d.ts +96 -0
- package/lib/locales/uk-ua/description.js +96 -0
- package/lib/locales/uk-ua/development-tenant.d.ts +4 -0
- package/lib/locales/uk-ua/development-tenant.js +4 -0
- package/lib/locales/uk-ua/error/index.d.ts +38 -0
- package/lib/locales/uk-ua/error/index.js +26 -0
- package/lib/locales/uk-ua/error/password-rejected.d.ts +15 -0
- package/lib/locales/uk-ua/error/password-rejected.js +15 -0
- package/lib/locales/uk-ua/index.d.ts +249 -0
- package/lib/locales/uk-ua/index.js +23 -0
- package/lib/locales/uk-ua/input.d.ts +10 -0
- package/lib/locales/uk-ua/input.js +10 -0
- package/lib/locales/uk-ua/list.d.ts +6 -0
- package/lib/locales/uk-ua/list.js +6 -0
- package/lib/locales/uk-ua/mfa.d.ts +44 -0
- package/lib/locales/uk-ua/mfa.js +44 -0
- package/lib/locales/uk-ua/secondary.d.ts +4 -0
- package/lib/locales/uk-ua/secondary.js +4 -0
- package/lib/locales/uk-ua/user-scopes.d.ts +14 -0
- package/lib/locales/uk-ua/user-scopes.js +14 -0
- package/lib/locales/zh-cn/action.d.ts +2 -0
- package/lib/locales/zh-cn/action.js +2 -0
- package/lib/locales/zh-cn/description.d.ts +9 -0
- package/lib/locales/zh-cn/description.js +11 -2
- package/lib/locales/zh-cn/error/index.d.ts +4 -0
- package/lib/locales/zh-cn/error/index.js +4 -0
- package/lib/locales/zh-cn/index.d.ts +15 -0
- package/lib/locales/zh-hk/action.d.ts +2 -2
- package/lib/locales/zh-hk/action.js +4 -4
- package/lib/locales/zh-hk/description.d.ts +9 -12
- package/lib/locales/zh-hk/description.js +21 -24
- package/lib/locales/zh-hk/error/index.d.ts +4 -0
- package/lib/locales/zh-hk/error/index.js +4 -0
- package/lib/locales/zh-hk/index.d.ts +15 -0
- package/lib/locales/zh-hk/user-scopes.d.ts +0 -9
- package/lib/locales/zh-hk/user-scopes.js +9 -18
- package/lib/locales/zh-tw/action.d.ts +2 -2
- package/lib/locales/zh-tw/action.js +4 -4
- package/lib/locales/zh-tw/description.d.ts +9 -12
- package/lib/locales/zh-tw/description.js +26 -29
- package/lib/locales/zh-tw/error/index.d.ts +4 -0
- package/lib/locales/zh-tw/error/index.js +4 -0
- package/lib/locales/zh-tw/index.d.ts +15 -0
- package/lib/locales/zh-tw/user-scopes.d.ts +0 -9
- package/lib/locales/zh-tw/user-scopes.js +9 -18
- package/package.json +6 -6
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const action = {
|
|
2
2
|
sign_in: '登錄',
|
|
3
3
|
continue: '繼續',
|
|
4
|
+
continue_as: '以 {{name}} 繼續',
|
|
4
5
|
create_account: '註冊',
|
|
5
6
|
create_account_without_linking: '創建新的帳戶',
|
|
6
7
|
create: '註冊',
|
|
@@ -29,9 +30,8 @@ const action = {
|
|
|
29
30
|
verify_via_passkey: '透過 Passkey 驗證',
|
|
30
31
|
download: '下載',
|
|
31
32
|
single_sign_on: '單點登錄',
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
use_another_account: 'Use another account',
|
|
33
|
+
authorize: '授權',
|
|
34
|
+
use_another_account: '使用其他帳戶',
|
|
35
|
+
back_to_current_account: '返回當前帳戶',
|
|
36
36
|
};
|
|
37
37
|
export default Object.freeze(action);
|
|
@@ -10,6 +10,7 @@ declare const _default: Readonly<{
|
|
|
10
10
|
sign_in: string;
|
|
11
11
|
privacy_policy: string;
|
|
12
12
|
create_account: string;
|
|
13
|
+
switch_account: string;
|
|
13
14
|
or: string;
|
|
14
15
|
and: string;
|
|
15
16
|
enter_passcode: string;
|
|
@@ -55,37 +56,31 @@ declare const _default: Readonly<{
|
|
|
55
56
|
password_requirements: string;
|
|
56
57
|
password_requirement: {
|
|
57
58
|
length_one: string;
|
|
59
|
+
length_two: string;
|
|
60
|
+
length_few: string;
|
|
61
|
+
length_many: string;
|
|
58
62
|
length_other: string;
|
|
59
63
|
character_types_one: string;
|
|
64
|
+
character_types_two: string;
|
|
65
|
+
character_types_few: string;
|
|
66
|
+
character_types_many: string;
|
|
60
67
|
character_types_other: string;
|
|
61
68
|
};
|
|
62
69
|
use: string;
|
|
63
70
|
single_sign_on_email_form: string;
|
|
64
71
|
single_sign_on_connectors_list: string;
|
|
65
72
|
single_sign_on_enabled: string;
|
|
66
|
-
/** UNTRANSLATED */
|
|
67
73
|
authorize_title: string;
|
|
68
|
-
/** UNTRANSLATED */
|
|
69
74
|
request_permission: string;
|
|
70
|
-
/** UNTRANSLATED */
|
|
71
75
|
grant_organization_access: string;
|
|
72
|
-
/** UNTRANSLATED */
|
|
73
76
|
authorize_personal_data_usage: string;
|
|
74
|
-
/** UNTRANSLATED */
|
|
75
77
|
authorize_organization_access: string;
|
|
76
|
-
/** UNTRANSLATED */
|
|
77
78
|
user_scopes: string;
|
|
78
|
-
/** UNTRANSLATED */
|
|
79
79
|
organization_scopes: string;
|
|
80
|
-
/** UNTRANSLATED */
|
|
81
80
|
authorize_agreement: string;
|
|
82
|
-
/** UNTRANSLATED */
|
|
83
81
|
authorize_agreement_with_redirect: string;
|
|
84
|
-
/** UNTRANSLATED */
|
|
85
82
|
not_you: string;
|
|
86
|
-
/** UNTRANSLATED */
|
|
87
83
|
user_id: string;
|
|
88
|
-
/** UNTRANSLATED */
|
|
89
84
|
redirect_to: string;
|
|
90
85
|
auto_agreement: string;
|
|
91
86
|
identifier_sign_in_description: string;
|
|
@@ -95,5 +90,7 @@ declare const _default: Readonly<{
|
|
|
95
90
|
back_to_sign_in: string;
|
|
96
91
|
support_email: string;
|
|
97
92
|
support_website: string;
|
|
93
|
+
switch_account_title: string;
|
|
94
|
+
switch_account_description: string;
|
|
98
95
|
}>;
|
|
99
96
|
export default _default;
|
|
@@ -10,6 +10,7 @@ const description = {
|
|
|
10
10
|
sign_in: '登錄',
|
|
11
11
|
privacy_policy: '隱私政策',
|
|
12
12
|
create_account: '創建帳號',
|
|
13
|
+
switch_account: '切換帳號',
|
|
13
14
|
or: '或',
|
|
14
15
|
and: '和',
|
|
15
16
|
enter_passcode: '驗證碼已經發送至你的{{ address }} {{target}}',
|
|
@@ -55,38 +56,32 @@ const description = {
|
|
|
55
56
|
password_requirements: '要求密碼 {{items, list}}。',
|
|
56
57
|
password_requirement: {
|
|
57
58
|
length_one: '要求至少 {{count}} 個字符',
|
|
59
|
+
length_two: '要求至少 {{count}} 個字符',
|
|
60
|
+
length_few: '要求至少 {{count}} 個字符',
|
|
61
|
+
length_many: '要求至少 {{count}} 個字符',
|
|
58
62
|
length_other: '要求至少 {{count}} 個字符',
|
|
59
63
|
character_types_one: '要求包含至少 {{count}} 類型的大寫字母,小寫字母,數字和符號',
|
|
64
|
+
character_types_two: '要求包含至少 {{count}} 類型的大寫字母,小寫字母,數字和符號',
|
|
65
|
+
character_types_few: '要求包含至少 {{count}} 類型的大寫字母,小寫字母,數字和符號',
|
|
66
|
+
character_types_many: '要求包含至少 {{count}} 類型的大寫字母,小寫字母,數字和符號',
|
|
60
67
|
character_types_other: '要求包含至少 {{count}} 類型的大寫字母,小寫字母,數字和符號',
|
|
61
68
|
},
|
|
62
69
|
use: '使用',
|
|
63
70
|
single_sign_on_email_form: '輸入你的企業電子郵件地址',
|
|
64
71
|
single_sign_on_connectors_list: '您的企業已為電郵賬戶{{email}}啟用單一登入。您可以繼續使用以下的SSO供應商登入。',
|
|
65
72
|
single_sign_on_enabled: '該帳戶已啟用單一登入',
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
/** UNTRANSLATED */
|
|
79
|
-
organization_scopes: 'Organization access',
|
|
80
|
-
/** UNTRANSLATED */
|
|
81
|
-
authorize_agreement: `By authorizing the access, you agree to the {{name}}'s <link></link>.`,
|
|
82
|
-
/** UNTRANSLATED */
|
|
83
|
-
authorize_agreement_with_redirect: `By authorizing the access, you agree to the {{name}}'s <link></link>, and will be redirected to {{uri}}.`,
|
|
84
|
-
/** UNTRANSLATED */
|
|
85
|
-
not_you: 'Not you?',
|
|
86
|
-
/** UNTRANSLATED */
|
|
87
|
-
user_id: 'User ID: {{id}}',
|
|
88
|
-
/** UNTRANSLATED */
|
|
89
|
-
redirect_to: 'You will be redirected to {{name}}.',
|
|
73
|
+
authorize_title: '授權 {{name}}',
|
|
74
|
+
request_permission: '{{name}} 正在請求訪問:',
|
|
75
|
+
grant_organization_access: '授予組織訪問權限:',
|
|
76
|
+
authorize_personal_data_usage: '授權使用你的個人數據:',
|
|
77
|
+
authorize_organization_access: '授權訪問指定的組織:',
|
|
78
|
+
user_scopes: '個人用戶數據',
|
|
79
|
+
organization_scopes: '組織訪問',
|
|
80
|
+
authorize_agreement: `通過授權訪問,您同意 {{name}} 的 <link></link>。`,
|
|
81
|
+
authorize_agreement_with_redirect: `通過授權訪問,您同意 {{name}} 的 <link></link>,並將被重定向到 {{uri}}。`,
|
|
82
|
+
not_you: '不是你?',
|
|
83
|
+
user_id: '用戶 ID:{{id}}',
|
|
84
|
+
redirect_to: '您將被重定向到 {{name}}。',
|
|
90
85
|
auto_agreement: '繼續即表示您同意<link></link>。',
|
|
91
86
|
identifier_sign_in_description: '輸入您的{{types, list(type: disjunction;)}}以登入。',
|
|
92
87
|
all_sign_in_options: '所有登入選項',
|
|
@@ -95,5 +90,7 @@ const description = {
|
|
|
95
90
|
back_to_sign_in: '返回登入',
|
|
96
91
|
support_email: '支持郵件:<link></link>',
|
|
97
92
|
support_website: '支持網站:<link></link>',
|
|
93
|
+
switch_account_title: '你當前以 {{account}} 登錄',
|
|
94
|
+
switch_account_description: '要繼續,你將退出當前帳號,並自動切換到新帳號。',
|
|
98
95
|
};
|
|
99
96
|
export default Object.freeze(description);
|
|
@@ -18,5 +18,9 @@ const error = {
|
|
|
18
18
|
timeout: '請求超時,請稍後重試。',
|
|
19
19
|
password_rejected,
|
|
20
20
|
sso_not_enabled: '此電子郵件帳戶未啟用單一登錄。',
|
|
21
|
+
invalid_link: '無效的鏈接',
|
|
22
|
+
invalid_link_description: '你的單次使用令牌可能已過期或不再有效。',
|
|
23
|
+
something_went_wrong: '出錯了。',
|
|
24
|
+
captcha_verification_failed: '驗證碼驗證失敗。',
|
|
21
25
|
};
|
|
22
26
|
export default Object.freeze(error);
|
|
@@ -15,6 +15,7 @@ declare const _default: Readonly<{
|
|
|
15
15
|
action: Readonly<{
|
|
16
16
|
sign_in: string;
|
|
17
17
|
continue: string;
|
|
18
|
+
continue_as: string;
|
|
18
19
|
create_account: string;
|
|
19
20
|
create_account_without_linking: string;
|
|
20
21
|
create: string;
|
|
@@ -45,6 +46,7 @@ declare const _default: Readonly<{
|
|
|
45
46
|
single_sign_on: string;
|
|
46
47
|
authorize: string;
|
|
47
48
|
use_another_account: string;
|
|
49
|
+
back_to_current_account: string;
|
|
48
50
|
}>;
|
|
49
51
|
description: Readonly<{
|
|
50
52
|
email: string;
|
|
@@ -58,6 +60,7 @@ declare const _default: Readonly<{
|
|
|
58
60
|
sign_in: string;
|
|
59
61
|
privacy_policy: string;
|
|
60
62
|
create_account: string;
|
|
63
|
+
switch_account: string;
|
|
61
64
|
or: string;
|
|
62
65
|
and: string;
|
|
63
66
|
enter_passcode: string;
|
|
@@ -103,8 +106,14 @@ declare const _default: Readonly<{
|
|
|
103
106
|
password_requirements: string;
|
|
104
107
|
password_requirement: {
|
|
105
108
|
length_one: string;
|
|
109
|
+
length_two: string;
|
|
110
|
+
length_few: string;
|
|
111
|
+
length_many: string;
|
|
106
112
|
length_other: string;
|
|
107
113
|
character_types_one: string;
|
|
114
|
+
character_types_two: string;
|
|
115
|
+
character_types_few: string;
|
|
116
|
+
character_types_many: string;
|
|
108
117
|
character_types_other: string;
|
|
109
118
|
};
|
|
110
119
|
use: string;
|
|
@@ -131,6 +140,8 @@ declare const _default: Readonly<{
|
|
|
131
140
|
back_to_sign_in: string;
|
|
132
141
|
support_email: string;
|
|
133
142
|
support_website: string;
|
|
143
|
+
switch_account_title: string;
|
|
144
|
+
switch_account_description: string;
|
|
134
145
|
}>;
|
|
135
146
|
error: Readonly<{
|
|
136
147
|
general_required: string;
|
|
@@ -164,6 +175,10 @@ declare const _default: Readonly<{
|
|
|
164
175
|
};
|
|
165
176
|
}>;
|
|
166
177
|
sso_not_enabled: string;
|
|
178
|
+
invalid_link: string;
|
|
179
|
+
invalid_link_description: string;
|
|
180
|
+
something_went_wrong: string;
|
|
181
|
+
captcha_verification_failed: string;
|
|
167
182
|
}>;
|
|
168
183
|
list: Readonly<{
|
|
169
184
|
or: string;
|
|
@@ -1,22 +1,13 @@
|
|
|
1
1
|
declare const _default: Readonly<{
|
|
2
2
|
descriptions: {
|
|
3
|
-
/** UNTRANSLATED */
|
|
4
3
|
custom_data: string;
|
|
5
|
-
/** UNTRANSLATED */
|
|
6
4
|
email: string;
|
|
7
|
-
/** UNTRANSLATED */
|
|
8
5
|
phone: string;
|
|
9
|
-
/** UNTRANSLATED */
|
|
10
6
|
profile: string;
|
|
11
|
-
/** UNTRANSLATED */
|
|
12
7
|
roles: string;
|
|
13
|
-
/** UNTRANSLATED */
|
|
14
8
|
identities: string;
|
|
15
|
-
/** UNTRANSLATED */
|
|
16
9
|
'urn:logto:scope:organizations': string;
|
|
17
|
-
/** UNTRANSLATED */
|
|
18
10
|
'urn:logto:scope:organization_roles': string;
|
|
19
|
-
/** UNTRANSLATED */
|
|
20
11
|
address: string;
|
|
21
12
|
};
|
|
22
13
|
}>;
|
|
@@ -1,23 +1,14 @@
|
|
|
1
1
|
const user_scopes = {
|
|
2
2
|
descriptions: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
roles: 'Your roles',
|
|
13
|
-
/** UNTRANSLATED */
|
|
14
|
-
identities: 'Your linked social identities',
|
|
15
|
-
/** UNTRANSLATED */
|
|
16
|
-
'urn:logto:scope:organizations': 'Your organizations info',
|
|
17
|
-
/** UNTRANSLATED */
|
|
18
|
-
'urn:logto:scope:organization_roles': 'Your organization roles',
|
|
19
|
-
/** UNTRANSLATED */
|
|
20
|
-
address: 'Your address',
|
|
3
|
+
custom_data: '你的自訂數據',
|
|
4
|
+
email: '你的電子郵件地址',
|
|
5
|
+
phone: '你的電話號碼',
|
|
6
|
+
profile: '你的姓名、用戶名、頭像和其他個人資料信息',
|
|
7
|
+
roles: '你的角色',
|
|
8
|
+
identities: '你關聯的社交身份',
|
|
9
|
+
'urn:logto:scope:organizations': '你的組織信息',
|
|
10
|
+
'urn:logto:scope:organization_roles': '你的組織角色',
|
|
11
|
+
address: '你的地址',
|
|
21
12
|
},
|
|
22
13
|
};
|
|
23
14
|
export default Object.freeze(user_scopes);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare const _default: Readonly<{
|
|
2
2
|
sign_in: string;
|
|
3
3
|
continue: string;
|
|
4
|
+
continue_as: string;
|
|
4
5
|
create_account: string;
|
|
5
6
|
create_account_without_linking: string;
|
|
6
7
|
create: string;
|
|
@@ -29,9 +30,8 @@ declare const _default: Readonly<{
|
|
|
29
30
|
verify_via_passkey: string;
|
|
30
31
|
download: string;
|
|
31
32
|
single_sign_on: string;
|
|
32
|
-
/** UNTRANSLATED */
|
|
33
33
|
authorize: string;
|
|
34
|
-
/** UNTRANSLATED */
|
|
35
34
|
use_another_account: string;
|
|
35
|
+
back_to_current_account: string;
|
|
36
36
|
}>;
|
|
37
37
|
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const action = {
|
|
2
2
|
sign_in: '登錄',
|
|
3
3
|
continue: '繼續',
|
|
4
|
+
continue_as: '以 {{name}} 繼續',
|
|
4
5
|
create_account: '註冊',
|
|
5
6
|
create_account_without_linking: '創建新的帳戶',
|
|
6
7
|
create: '註冊',
|
|
@@ -29,9 +30,8 @@ const action = {
|
|
|
29
30
|
verify_via_passkey: '透過 Passkey 驗證',
|
|
30
31
|
download: '下載',
|
|
31
32
|
single_sign_on: '單點登錄',
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
use_another_account: 'Use another account',
|
|
33
|
+
authorize: '授權',
|
|
34
|
+
use_another_account: '使用其他帳戶',
|
|
35
|
+
back_to_current_account: '返回當前帳戶',
|
|
36
36
|
};
|
|
37
37
|
export default Object.freeze(action);
|
|
@@ -10,6 +10,7 @@ declare const _default: Readonly<{
|
|
|
10
10
|
sign_in: string;
|
|
11
11
|
privacy_policy: string;
|
|
12
12
|
create_account: string;
|
|
13
|
+
switch_account: string;
|
|
13
14
|
or: string;
|
|
14
15
|
and: string;
|
|
15
16
|
enter_passcode: string;
|
|
@@ -55,37 +56,31 @@ declare const _default: Readonly<{
|
|
|
55
56
|
password_requirements: string;
|
|
56
57
|
password_requirement: {
|
|
57
58
|
length_one: string;
|
|
59
|
+
length_two: string;
|
|
60
|
+
length_few: string;
|
|
61
|
+
length_many: string;
|
|
58
62
|
length_other: string;
|
|
59
63
|
character_types_one: string;
|
|
64
|
+
character_types_two: string;
|
|
65
|
+
character_types_few: string;
|
|
66
|
+
character_types_many: string;
|
|
60
67
|
character_types_other: string;
|
|
61
68
|
};
|
|
62
69
|
use: string;
|
|
63
70
|
single_sign_on_email_form: string;
|
|
64
71
|
single_sign_on_connectors_list: string;
|
|
65
72
|
single_sign_on_enabled: string;
|
|
66
|
-
/** UNTRANSLATED */
|
|
67
73
|
authorize_title: string;
|
|
68
|
-
/** UNTRANSLATED */
|
|
69
74
|
request_permission: string;
|
|
70
|
-
/** UNTRANSLATED */
|
|
71
75
|
grant_organization_access: string;
|
|
72
|
-
/** UNTRANSLATED */
|
|
73
76
|
authorize_personal_data_usage: string;
|
|
74
|
-
/** UNTRANSLATED */
|
|
75
77
|
authorize_organization_access: string;
|
|
76
|
-
/** UNTRANSLATED */
|
|
77
78
|
user_scopes: string;
|
|
78
|
-
/** UNTRANSLATED */
|
|
79
79
|
organization_scopes: string;
|
|
80
|
-
/** UNTRANSLATED */
|
|
81
80
|
authorize_agreement: string;
|
|
82
|
-
/** UNTRANSLATED */
|
|
83
81
|
authorize_agreement_with_redirect: string;
|
|
84
|
-
/** UNTRANSLATED */
|
|
85
82
|
not_you: string;
|
|
86
|
-
/** UNTRANSLATED */
|
|
87
83
|
user_id: string;
|
|
88
|
-
/** UNTRANSLATED */
|
|
89
84
|
redirect_to: string;
|
|
90
85
|
auto_agreement: string;
|
|
91
86
|
identifier_sign_in_description: string;
|
|
@@ -95,5 +90,7 @@ declare const _default: Readonly<{
|
|
|
95
90
|
back_to_sign_in: string;
|
|
96
91
|
support_email: string;
|
|
97
92
|
support_website: string;
|
|
93
|
+
switch_account_title: string;
|
|
94
|
+
switch_account_description: string;
|
|
98
95
|
}>;
|
|
99
96
|
export default _default;
|
|
@@ -10,6 +10,7 @@ const description = {
|
|
|
10
10
|
sign_in: '登錄',
|
|
11
11
|
privacy_policy: '隱私政策',
|
|
12
12
|
create_account: '創建帳號',
|
|
13
|
+
switch_account: '切換帳號',
|
|
13
14
|
or: '或',
|
|
14
15
|
and: '和',
|
|
15
16
|
enter_passcode: '驗證碼已經發送至你的{{address}} {{target}}',
|
|
@@ -27,7 +28,7 @@ const description = {
|
|
|
27
28
|
social_link_email: '你可以綁定其他郵箱',
|
|
28
29
|
social_link_phone: '你可以綁定其他手機號碼',
|
|
29
30
|
social_link_email_or_phone: '你可以綁定其他郵箱或手機號碼',
|
|
30
|
-
social_bind_with_existing: '
|
|
31
|
+
social_bind_with_existing: '我們發現一個已註冊的相關帳戶,你可以直接連接它。',
|
|
31
32
|
skip_social_linking: '跳過連接現有帳戶?',
|
|
32
33
|
reset_password: '忘記密碼',
|
|
33
34
|
reset_password_description: '輸入{{types, list(type: disjunction;)}},獲取驗證碼以重設密碼。',
|
|
@@ -55,45 +56,41 @@ const description = {
|
|
|
55
56
|
password_requirements: '密碼{{items, list}}。',
|
|
56
57
|
password_requirement: {
|
|
57
58
|
length_one: '長度至少為 {{count}} 個字符',
|
|
59
|
+
length_two: '長度至少為 {{count}} 個字符',
|
|
60
|
+
length_few: '長度至少為 {{count}} 個字符',
|
|
61
|
+
length_many: '長度至少為 {{count}} 個字符',
|
|
58
62
|
length_other: '長度至少為 {{count}} 個字符',
|
|
59
63
|
character_types_one: '需包含 {{count}} 類型的大寫字母、小寫字母、數字和符號',
|
|
64
|
+
character_types_two: '需包含 {{count}} 類型的大寫字母、小寫字母、數字和符號',
|
|
65
|
+
character_types_few: '需包含 {{count}} 類型的大寫字母、小寫字母、數字和符號',
|
|
66
|
+
character_types_many: '需包含 {{count}} 類型的大寫字母、小寫字母、數字和符號',
|
|
60
67
|
character_types_other: '需包含 {{count}} 類型的大寫字母、小寫字母、數字和符號',
|
|
61
68
|
},
|
|
62
69
|
use: '使用',
|
|
63
70
|
single_sign_on_email_form: '輸入你的企業電子郵件地址',
|
|
64
|
-
single_sign_on_connectors_list: '
|
|
71
|
+
single_sign_on_connectors_list: '你的企業已為電子郵件帳戶{{email}}啟用單一登入。你可以繼續使用以下的SSO供應商登入。',
|
|
65
72
|
single_sign_on_enabled: '該帳戶已啟用單一登入',
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
/** UNTRANSLATED */
|
|
81
|
-
authorize_agreement: `By authorizing the access, you agree to the {{name}}'s <link></link>.`,
|
|
82
|
-
/** UNTRANSLATED */
|
|
83
|
-
authorize_agreement_with_redirect: `By authorizing the access, you agree to the {{name}}'s <link></link>, and will be redirected to {{uri}}.`,
|
|
84
|
-
/** UNTRANSLATED */
|
|
85
|
-
not_you: 'Not you?',
|
|
86
|
-
/** UNTRANSLATED */
|
|
87
|
-
user_id: 'User ID: {{id}}',
|
|
88
|
-
/** UNTRANSLATED */
|
|
89
|
-
redirect_to: 'You will be redirected to {{name}}.',
|
|
90
|
-
auto_agreement: '繼續即表示您同意<link></link>。',
|
|
91
|
-
identifier_sign_in_description: '輸入您的{{types, list(type: disjunction;)}}以登入。',
|
|
73
|
+
authorize_title: '授權 {{name}}',
|
|
74
|
+
request_permission: '{{name}} 請求訪問權限:',
|
|
75
|
+
grant_organization_access: '授予組織訪問權限:',
|
|
76
|
+
authorize_personal_data_usage: '授權使用你的個人數據:',
|
|
77
|
+
authorize_organization_access: '授權訪問指定組織:',
|
|
78
|
+
user_scopes: '個人用戶數據',
|
|
79
|
+
organization_scopes: '組織訪問',
|
|
80
|
+
authorize_agreement: `通過授權訪問,你同意{{name}}的<link></link>。`,
|
|
81
|
+
authorize_agreement_with_redirect: `通過授權訪問,你同意{{name}}的<link></link>,並將被重定向至{{uri}}。`,
|
|
82
|
+
not_you: '不是你?',
|
|
83
|
+
user_id: '用戶 ID:{{id}}',
|
|
84
|
+
redirect_to: '你將被重定向到 {{name}}。',
|
|
85
|
+
auto_agreement: '繼續即表示你同意<link></link>。',
|
|
86
|
+
identifier_sign_in_description: '輸入你的{{types, list(type: disjunction;)}}以登入。',
|
|
92
87
|
all_sign_in_options: '所有登入選項',
|
|
93
|
-
identifier_register_description: '
|
|
88
|
+
identifier_register_description: '輸入你的{{types, list(type: disjunction;)}}以建立新帳戶。',
|
|
94
89
|
all_account_creation_options: '所有帳戶創建選項',
|
|
95
90
|
back_to_sign_in: '返回登入',
|
|
96
91
|
support_email: '支援郵箱: <link></link>',
|
|
97
92
|
support_website: '支援網站: <link></link>',
|
|
93
|
+
switch_account_title: '目前以 {{account}} 登錄',
|
|
94
|
+
switch_account_description: '若要繼續,你將退出當前帳號,並自動切換到新帳號。',
|
|
98
95
|
};
|
|
99
96
|
export default Object.freeze(description);
|
|
@@ -18,5 +18,9 @@ const error = {
|
|
|
18
18
|
timeout: '請求超時,請稍後重試。',
|
|
19
19
|
password_rejected,
|
|
20
20
|
sso_not_enabled: '此郵箱帳戶未啟用單一登錄。',
|
|
21
|
+
invalid_link: '無效的鏈接',
|
|
22
|
+
invalid_link_description: '你的一次性令牌可能已過期或不再有效。',
|
|
23
|
+
something_went_wrong: '出了些問題。',
|
|
24
|
+
captcha_verification_failed: '驗證碼驗證失敗。',
|
|
21
25
|
};
|
|
22
26
|
export default Object.freeze(error);
|
|
@@ -15,6 +15,7 @@ declare const _default: Readonly<{
|
|
|
15
15
|
action: Readonly<{
|
|
16
16
|
sign_in: string;
|
|
17
17
|
continue: string;
|
|
18
|
+
continue_as: string;
|
|
18
19
|
create_account: string;
|
|
19
20
|
create_account_without_linking: string;
|
|
20
21
|
create: string;
|
|
@@ -45,6 +46,7 @@ declare const _default: Readonly<{
|
|
|
45
46
|
single_sign_on: string;
|
|
46
47
|
authorize: string;
|
|
47
48
|
use_another_account: string;
|
|
49
|
+
back_to_current_account: string;
|
|
48
50
|
}>;
|
|
49
51
|
description: Readonly<{
|
|
50
52
|
email: string;
|
|
@@ -58,6 +60,7 @@ declare const _default: Readonly<{
|
|
|
58
60
|
sign_in: string;
|
|
59
61
|
privacy_policy: string;
|
|
60
62
|
create_account: string;
|
|
63
|
+
switch_account: string;
|
|
61
64
|
or: string;
|
|
62
65
|
and: string;
|
|
63
66
|
enter_passcode: string;
|
|
@@ -103,8 +106,14 @@ declare const _default: Readonly<{
|
|
|
103
106
|
password_requirements: string;
|
|
104
107
|
password_requirement: {
|
|
105
108
|
length_one: string;
|
|
109
|
+
length_two: string;
|
|
110
|
+
length_few: string;
|
|
111
|
+
length_many: string;
|
|
106
112
|
length_other: string;
|
|
107
113
|
character_types_one: string;
|
|
114
|
+
character_types_two: string;
|
|
115
|
+
character_types_few: string;
|
|
116
|
+
character_types_many: string;
|
|
108
117
|
character_types_other: string;
|
|
109
118
|
};
|
|
110
119
|
use: string;
|
|
@@ -131,6 +140,8 @@ declare const _default: Readonly<{
|
|
|
131
140
|
back_to_sign_in: string;
|
|
132
141
|
support_email: string;
|
|
133
142
|
support_website: string;
|
|
143
|
+
switch_account_title: string;
|
|
144
|
+
switch_account_description: string;
|
|
134
145
|
}>;
|
|
135
146
|
error: Readonly<{
|
|
136
147
|
general_required: string;
|
|
@@ -164,6 +175,10 @@ declare const _default: Readonly<{
|
|
|
164
175
|
};
|
|
165
176
|
}>;
|
|
166
177
|
sso_not_enabled: string;
|
|
178
|
+
invalid_link: string;
|
|
179
|
+
invalid_link_description: string;
|
|
180
|
+
something_went_wrong: string;
|
|
181
|
+
captcha_verification_failed: string;
|
|
167
182
|
}>;
|
|
168
183
|
list: Readonly<{
|
|
169
184
|
or: string;
|
|
@@ -1,22 +1,13 @@
|
|
|
1
1
|
declare const _default: Readonly<{
|
|
2
2
|
descriptions: {
|
|
3
|
-
/** UNTRANSLATED */
|
|
4
3
|
custom_data: string;
|
|
5
|
-
/** UNTRANSLATED */
|
|
6
4
|
email: string;
|
|
7
|
-
/** UNTRANSLATED */
|
|
8
5
|
phone: string;
|
|
9
|
-
/** UNTRANSLATED */
|
|
10
6
|
profile: string;
|
|
11
|
-
/** UNTRANSLATED */
|
|
12
7
|
roles: string;
|
|
13
|
-
/** UNTRANSLATED */
|
|
14
8
|
identities: string;
|
|
15
|
-
/** UNTRANSLATED */
|
|
16
9
|
'urn:logto:scope:organizations': string;
|
|
17
|
-
/** UNTRANSLATED */
|
|
18
10
|
'urn:logto:scope:organization_roles': string;
|
|
19
|
-
/** UNTRANSLATED */
|
|
20
11
|
address: string;
|
|
21
12
|
};
|
|
22
13
|
}>;
|
|
@@ -1,23 +1,14 @@
|
|
|
1
1
|
const user_scopes = {
|
|
2
2
|
descriptions: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
roles: 'Your roles',
|
|
13
|
-
/** UNTRANSLATED */
|
|
14
|
-
identities: 'Your linked social identities',
|
|
15
|
-
/** UNTRANSLATED */
|
|
16
|
-
'urn:logto:scope:organizations': 'Your organizations info',
|
|
17
|
-
/** UNTRANSLATED */
|
|
18
|
-
'urn:logto:scope:organization_roles': 'Your organization roles',
|
|
19
|
-
/** UNTRANSLATED */
|
|
20
|
-
address: 'Your address',
|
|
3
|
+
custom_data: '你的自訂資料',
|
|
4
|
+
email: '你的電子郵件地址',
|
|
5
|
+
phone: '你的電話號碼',
|
|
6
|
+
profile: '你的姓名、用戶名、頭像和其他個人資訊',
|
|
7
|
+
roles: '你的角色',
|
|
8
|
+
identities: '你的關聯社交身份',
|
|
9
|
+
'urn:logto:scope:organizations': '你的組織資訊',
|
|
10
|
+
'urn:logto:scope:organization_roles': '你的組織角色',
|
|
11
|
+
address: '你的地址',
|
|
21
12
|
},
|
|
22
13
|
};
|
|
23
14
|
export default Object.freeze(user_scopes);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logto/phrases-experience",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
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,23 +24,23 @@
|
|
|
24
24
|
"url": "https://github.com/logto-io/logto/issues"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@logto/core-kit": "^2.
|
|
28
|
-
"@logto/language-kit": "^1.
|
|
27
|
+
"@logto/core-kit": "^2.6.0",
|
|
28
|
+
"@logto/language-kit": "^1.2.0",
|
|
29
29
|
"@silverhand/essentials": "^2.9.1"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"zod": "^3.
|
|
32
|
+
"zod": "^3.24.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@silverhand/eslint-config": "6.0.1",
|
|
36
36
|
"@silverhand/ts-config": "6.0.0",
|
|
37
37
|
"eslint": "^8.56.0",
|
|
38
38
|
"lint-staged": "^15.0.0",
|
|
39
|
-
"prettier": "^3.
|
|
39
|
+
"prettier": "^3.5.3",
|
|
40
40
|
"typescript": "^5.5.3"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
|
-
"node": "^
|
|
43
|
+
"node": "^22.14.0"
|
|
44
44
|
},
|
|
45
45
|
"eslintConfig": {
|
|
46
46
|
"extends": "@silverhand"
|