@logto/phrases-experience 1.6.0 → 1.7.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/locales/de/description.d.ts +7 -0
- package/lib/locales/de/description.js +11 -4
- package/lib/locales/de/index.d.ts +7 -2
- package/lib/locales/de/user-scopes.d.ts +4 -2
- package/lib/locales/de/user-scopes.js +10 -9
- package/lib/locales/en/description.d.ts +4 -0
- package/lib/locales/en/description.js +7 -3
- package/lib/locales/en/index.d.ts +7 -2
- package/lib/locales/en/user-scopes.d.ts +3 -2
- package/lib/locales/en/user-scopes.js +9 -9
- package/lib/locales/es/description.d.ts +7 -0
- package/lib/locales/es/description.js +10 -3
- package/lib/locales/es/index.d.ts +7 -2
- package/lib/locales/es/user-scopes.d.ts +4 -2
- package/lib/locales/es/user-scopes.js +10 -9
- package/lib/locales/fr/description.d.ts +7 -0
- package/lib/locales/fr/description.js +11 -4
- package/lib/locales/fr/index.d.ts +7 -2
- package/lib/locales/fr/user-scopes.d.ts +4 -2
- package/lib/locales/fr/user-scopes.js +10 -9
- package/lib/locales/it/description.d.ts +7 -0
- package/lib/locales/it/description.js +10 -3
- package/lib/locales/it/index.d.ts +7 -2
- package/lib/locales/it/user-scopes.d.ts +4 -2
- package/lib/locales/it/user-scopes.js +10 -9
- package/lib/locales/ja/description.d.ts +7 -0
- package/lib/locales/ja/description.js +10 -3
- package/lib/locales/ja/index.d.ts +7 -2
- package/lib/locales/ja/user-scopes.d.ts +4 -2
- package/lib/locales/ja/user-scopes.js +10 -9
- package/lib/locales/ko/description.d.ts +7 -0
- package/lib/locales/ko/description.js +11 -4
- package/lib/locales/ko/index.d.ts +7 -2
- package/lib/locales/ko/user-scopes.d.ts +4 -2
- package/lib/locales/ko/user-scopes.js +10 -9
- package/lib/locales/pl-pl/description.d.ts +7 -0
- package/lib/locales/pl-pl/description.js +10 -3
- package/lib/locales/pl-pl/index.d.ts +7 -2
- package/lib/locales/pl-pl/user-scopes.d.ts +4 -2
- package/lib/locales/pl-pl/user-scopes.js +10 -9
- package/lib/locales/pt-br/description.d.ts +7 -0
- package/lib/locales/pt-br/description.js +10 -3
- package/lib/locales/pt-br/index.d.ts +7 -2
- package/lib/locales/pt-br/user-scopes.d.ts +4 -2
- package/lib/locales/pt-br/user-scopes.js +10 -9
- package/lib/locales/pt-pt/description.d.ts +7 -0
- package/lib/locales/pt-pt/description.js +10 -3
- package/lib/locales/pt-pt/index.d.ts +7 -2
- package/lib/locales/pt-pt/user-scopes.d.ts +4 -2
- package/lib/locales/pt-pt/user-scopes.js +10 -9
- package/lib/locales/ru/description.d.ts +7 -0
- package/lib/locales/ru/description.js +10 -3
- package/lib/locales/ru/index.d.ts +7 -2
- package/lib/locales/ru/user-scopes.d.ts +4 -2
- package/lib/locales/ru/user-scopes.js +10 -9
- package/lib/locales/tr-tr/description.d.ts +7 -0
- package/lib/locales/tr-tr/description.js +10 -3
- package/lib/locales/tr-tr/index.d.ts +7 -2
- package/lib/locales/tr-tr/user-scopes.d.ts +4 -2
- package/lib/locales/tr-tr/user-scopes.js +10 -9
- package/lib/locales/zh-cn/description.d.ts +5 -7
- package/lib/locales/zh-cn/description.js +16 -18
- package/lib/locales/zh-cn/index.d.ts +7 -2
- package/lib/locales/zh-cn/user-scopes.d.ts +4 -2
- package/lib/locales/zh-cn/user-scopes.js +10 -9
- package/lib/locales/zh-hk/description.d.ts +7 -0
- package/lib/locales/zh-hk/description.js +10 -3
- package/lib/locales/zh-hk/index.d.ts +7 -2
- package/lib/locales/zh-hk/user-scopes.d.ts +4 -2
- package/lib/locales/zh-hk/user-scopes.js +10 -9
- package/lib/locales/zh-tw/description.d.ts +7 -0
- package/lib/locales/zh-tw/description.js +10 -3
- package/lib/locales/zh-tw/index.d.ts +7 -2
- package/lib/locales/zh-tw/user-scopes.d.ts +4 -2
- package/lib/locales/zh-tw/user-scopes.js +10 -9
- package/package.json +7 -7
|
@@ -13,9 +13,11 @@ declare const _default: Readonly<{
|
|
|
13
13
|
/** UNTRANSLATED */
|
|
14
14
|
identities: string;
|
|
15
15
|
/** UNTRANSLATED */
|
|
16
|
-
|
|
16
|
+
'urn:logto:scope:organizations': string;
|
|
17
17
|
/** UNTRANSLATED */
|
|
18
|
-
|
|
18
|
+
'urn:logto:scope:organization_roles': string;
|
|
19
|
+
/** UNTRANSLATED */
|
|
20
|
+
address: string;
|
|
19
21
|
};
|
|
20
22
|
}>;
|
|
21
23
|
export default _default;
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { UserScope } from '@logto/core-kit';
|
|
2
1
|
const user_scopes = {
|
|
3
2
|
descriptions: {
|
|
4
3
|
/** UNTRANSLATED */
|
|
5
|
-
|
|
4
|
+
custom_data: 'Your custom data',
|
|
6
5
|
/** UNTRANSLATED */
|
|
7
|
-
|
|
6
|
+
email: 'Your email address',
|
|
8
7
|
/** UNTRANSLATED */
|
|
9
|
-
|
|
8
|
+
phone: 'Your phone number',
|
|
10
9
|
/** UNTRANSLATED */
|
|
11
|
-
|
|
10
|
+
profile: 'Your name, username, avatar, and other profile info',
|
|
12
11
|
/** UNTRANSLATED */
|
|
13
|
-
|
|
12
|
+
roles: 'Your roles',
|
|
14
13
|
/** UNTRANSLATED */
|
|
15
|
-
|
|
14
|
+
identities: 'Your linked social identities',
|
|
16
15
|
/** UNTRANSLATED */
|
|
17
|
-
|
|
16
|
+
'urn:logto:scope:organizations': 'Your organizations info',
|
|
18
17
|
/** UNTRANSLATED */
|
|
19
|
-
|
|
18
|
+
'urn:logto:scope:organization_roles': 'Your organization roles',
|
|
19
|
+
/** UNTRANSLATED */
|
|
20
|
+
address: 'Your address',
|
|
20
21
|
},
|
|
21
22
|
};
|
|
22
23
|
export default Object.freeze(user_scopes);
|
|
@@ -69,16 +69,23 @@ declare const _default: Readonly<{
|
|
|
69
69
|
/** UNTRANSLATED */
|
|
70
70
|
grant_organization_access: string;
|
|
71
71
|
/** UNTRANSLATED */
|
|
72
|
+
authorize_personal_data_usage: string;
|
|
73
|
+
/** UNTRANSLATED */
|
|
74
|
+
authorize_organization_access: string;
|
|
75
|
+
/** UNTRANSLATED */
|
|
72
76
|
user_scopes: string;
|
|
73
77
|
/** UNTRANSLATED */
|
|
74
78
|
organization_scopes: string;
|
|
75
79
|
/** UNTRANSLATED */
|
|
76
80
|
authorize_agreement: string;
|
|
77
81
|
/** UNTRANSLATED */
|
|
82
|
+
authorize_agreement_with_redirect: string;
|
|
83
|
+
/** UNTRANSLATED */
|
|
78
84
|
not_you: string;
|
|
79
85
|
/** UNTRANSLATED */
|
|
80
86
|
user_id: string;
|
|
81
87
|
/** UNTRANSLATED */
|
|
82
88
|
redirect_to: string;
|
|
89
|
+
auto_agreement: string;
|
|
83
90
|
}>;
|
|
84
91
|
export default _default;
|
|
@@ -14,8 +14,8 @@ const description = {
|
|
|
14
14
|
and: '和',
|
|
15
15
|
enter_passcode: '驗證碼已經發送至你的{{address}} {{target}}',
|
|
16
16
|
passcode_sent: '驗證碼已經發送',
|
|
17
|
-
resend_after_seconds: '
|
|
18
|
-
resend_passcode: '
|
|
17
|
+
resend_after_seconds: '還沒收到? <span>{{seconds}}</span> 秒後重發',
|
|
18
|
+
resend_passcode: '還沒收到? <a>重發驗證碼</a>',
|
|
19
19
|
create_account_id_exists: '{{type}} 為 {{value}} 的帳號已存在,你要登錄嗎?',
|
|
20
20
|
link_account_id_exists: ' {{type}} 為 {{value}} 的帳號已註冊,你要綁定至這個帳號嗎?',
|
|
21
21
|
sign_in_id_does_not_exist: '{{type}} 為 {{value}} 的帳號不存在,你要創建一個新帳號嗎?',
|
|
@@ -69,16 +69,23 @@ const description = {
|
|
|
69
69
|
/** UNTRANSLATED */
|
|
70
70
|
grant_organization_access: 'Grant the organization access:',
|
|
71
71
|
/** UNTRANSLATED */
|
|
72
|
+
authorize_personal_data_usage: 'Authorize the use of your personal data:',
|
|
73
|
+
/** UNTRANSLATED */
|
|
74
|
+
authorize_organization_access: 'Authorize access to the specific organization:',
|
|
75
|
+
/** UNTRANSLATED */
|
|
72
76
|
user_scopes: 'Personal user data',
|
|
73
77
|
/** UNTRANSLATED */
|
|
74
78
|
organization_scopes: 'Organization access',
|
|
75
79
|
/** UNTRANSLATED */
|
|
76
|
-
authorize_agreement: `By
|
|
80
|
+
authorize_agreement: `By authorizing the access, you agree to the {{name}}'s <link></link>.`,
|
|
81
|
+
/** UNTRANSLATED */
|
|
82
|
+
authorize_agreement_with_redirect: `By authorizing the access, you agree to the {{name}}'s <link></link>, and will be redirected to {{uri}}.`,
|
|
77
83
|
/** UNTRANSLATED */
|
|
78
84
|
not_you: 'Not you?',
|
|
79
85
|
/** UNTRANSLATED */
|
|
80
86
|
user_id: 'User ID: {{id}}',
|
|
81
87
|
/** UNTRANSLATED */
|
|
82
88
|
redirect_to: 'You will be redirected to {{name}}.',
|
|
89
|
+
auto_agreement: '繼續即表示您同意<link></link>。',
|
|
83
90
|
};
|
|
84
91
|
export default Object.freeze(description);
|
|
@@ -113,12 +113,16 @@ declare const _default: Readonly<{
|
|
|
113
113
|
authorize_title: string;
|
|
114
114
|
request_permission: string;
|
|
115
115
|
grant_organization_access: string;
|
|
116
|
+
authorize_personal_data_usage: string;
|
|
117
|
+
authorize_organization_access: string;
|
|
116
118
|
user_scopes: string;
|
|
117
119
|
organization_scopes: string;
|
|
118
120
|
authorize_agreement: string;
|
|
121
|
+
authorize_agreement_with_redirect: string;
|
|
119
122
|
not_you: string;
|
|
120
123
|
user_id: string;
|
|
121
124
|
redirect_to: string;
|
|
125
|
+
auto_agreement: string;
|
|
122
126
|
}>;
|
|
123
127
|
error: Readonly<{
|
|
124
128
|
general_required: string;
|
|
@@ -212,8 +216,9 @@ declare const _default: Readonly<{
|
|
|
212
216
|
profile: string;
|
|
213
217
|
roles: string;
|
|
214
218
|
identities: string;
|
|
215
|
-
|
|
216
|
-
|
|
219
|
+
'urn:logto:scope:organizations': string;
|
|
220
|
+
'urn:logto:scope:organization_roles': string;
|
|
221
|
+
address: string;
|
|
217
222
|
};
|
|
218
223
|
}>;
|
|
219
224
|
};
|
|
@@ -13,9 +13,11 @@ declare const _default: Readonly<{
|
|
|
13
13
|
/** UNTRANSLATED */
|
|
14
14
|
identities: string;
|
|
15
15
|
/** UNTRANSLATED */
|
|
16
|
-
|
|
16
|
+
'urn:logto:scope:organizations': string;
|
|
17
17
|
/** UNTRANSLATED */
|
|
18
|
-
|
|
18
|
+
'urn:logto:scope:organization_roles': string;
|
|
19
|
+
/** UNTRANSLATED */
|
|
20
|
+
address: string;
|
|
19
21
|
};
|
|
20
22
|
}>;
|
|
21
23
|
export default _default;
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { UserScope } from '@logto/core-kit';
|
|
2
1
|
const user_scopes = {
|
|
3
2
|
descriptions: {
|
|
4
3
|
/** UNTRANSLATED */
|
|
5
|
-
|
|
4
|
+
custom_data: 'Your custom data',
|
|
6
5
|
/** UNTRANSLATED */
|
|
7
|
-
|
|
6
|
+
email: 'Your email address',
|
|
8
7
|
/** UNTRANSLATED */
|
|
9
|
-
|
|
8
|
+
phone: 'Your phone number',
|
|
10
9
|
/** UNTRANSLATED */
|
|
11
|
-
|
|
10
|
+
profile: 'Your name, username, avatar, and other profile info',
|
|
12
11
|
/** UNTRANSLATED */
|
|
13
|
-
|
|
12
|
+
roles: 'Your roles',
|
|
14
13
|
/** UNTRANSLATED */
|
|
15
|
-
|
|
14
|
+
identities: 'Your linked social identities',
|
|
16
15
|
/** UNTRANSLATED */
|
|
17
|
-
|
|
16
|
+
'urn:logto:scope:organizations': 'Your organizations info',
|
|
18
17
|
/** UNTRANSLATED */
|
|
19
|
-
|
|
18
|
+
'urn:logto:scope:organization_roles': 'Your organization roles',
|
|
19
|
+
/** UNTRANSLATED */
|
|
20
|
+
address: 'Your address',
|
|
20
21
|
},
|
|
21
22
|
};
|
|
22
23
|
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.7.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,18 +24,18 @@
|
|
|
24
24
|
"url": "https://github.com/logto-io/logto/issues"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@logto/core-kit": "^2.
|
|
27
|
+
"@logto/core-kit": "^2.4.0",
|
|
28
28
|
"@logto/language-kit": "^1.1.0",
|
|
29
|
-
"@silverhand/essentials": "^2.9.
|
|
29
|
+
"@silverhand/essentials": "^2.9.1"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"zod": "^3.22.4"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@silverhand/eslint-config": "
|
|
36
|
-
"@silverhand/ts-config": "
|
|
37
|
-
"buffer": "^
|
|
38
|
-
"eslint": "^8.
|
|
35
|
+
"@silverhand/eslint-config": "6.0.1",
|
|
36
|
+
"@silverhand/ts-config": "6.0.0",
|
|
37
|
+
"buffer": "^6.0.0",
|
|
38
|
+
"eslint": "^8.56.0",
|
|
39
39
|
"lint-staged": "^15.0.0",
|
|
40
40
|
"prettier": "^3.0.0",
|
|
41
41
|
"typescript": "^5.3.3"
|