@logto/phrases 1.14.1 → 1.15.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.
@@ -0,0 +1,5 @@
1
+ declare const _default: Readonly<{
2
+ not_enabled: string;
3
+ filed_not_editable: string;
4
+ }>;
5
+ export default _default;
@@ -0,0 +1,5 @@
1
+ const account_center = {
2
+ not_enabled: 'Account center is not enabled.',
3
+ filed_not_editable: 'Field is not editable.',
4
+ };
5
+ export default Object.freeze(account_center);
@@ -8,6 +8,7 @@ declare const _default: Readonly<{
8
8
  consent_management_api_scopes_not_allowed: string;
9
9
  protected_app_metadata_is_required: string;
10
10
  protected_app_not_configured: string;
11
+ use_saml_app_api: string;
11
12
  cloudflare_unknown_error: string;
12
13
  protected_application_only: string;
13
14
  protected_application_misconfigured: string;
@@ -8,6 +8,7 @@ const application = {
8
8
  consent_management_api_scopes_not_allowed: 'Management API scopes are not allowed.',
9
9
  protected_app_metadata_is_required: 'Protected app metadata is required.',
10
10
  protected_app_not_configured: 'Protected app provider is not configured. This feature is not available for open source version.',
11
+ use_saml_app_api: 'Use `[METHOD] /saml-applications(/.*)?` API to operate SAML app.',
11
12
  cloudflare_unknown_error: 'Got unknown error when requesting Cloudflare API',
12
13
  protected_application_only: 'The feature is only available for protected applications.',
13
14
  protected_application_misconfigured: 'Protected application is misconfigured.',
@@ -77,6 +77,12 @@ declare const _default: Readonly<{
77
77
  password_algorithm_required: string;
78
78
  password_and_digest: string;
79
79
  personal_access_token_name_exists: string;
80
+ totp_secret_invalid: string;
81
+ wrong_backup_code_format: string;
82
+ username_required: string;
83
+ email_or_phone_required: string;
84
+ email_required: string;
85
+ phone_required: string;
80
86
  }>;
81
87
  password: Readonly<{
82
88
  unsupported_encryption_method: string;
@@ -257,6 +263,7 @@ declare const _default: Readonly<{
257
263
  consent_management_api_scopes_not_allowed: string;
258
264
  protected_app_metadata_is_required: string;
259
265
  protected_app_not_configured: string;
266
+ use_saml_app_api: string;
260
267
  cloudflare_unknown_error: string;
261
268
  protected_application_only: string;
262
269
  protected_application_misconfigured: string;
@@ -283,6 +290,11 @@ declare const _default: Readonly<{
283
290
  verification_record: Readonly<{
284
291
  not_found: string;
285
292
  permission_denied: string;
293
+ not_supported_for_google_one_tap: string;
294
+ }>;
295
+ account_center: Readonly<{
296
+ not_enabled: string;
297
+ filed_not_editable: string;
286
298
  }>;
287
299
  }>;
288
300
  export default _default;
@@ -1,3 +1,4 @@
1
+ import account_center from './account-center.js';
1
2
  import application from './application.js';
2
3
  import auth from './auth.js';
3
4
  import connector from './connector.js';
@@ -51,5 +52,6 @@ const errors = {
51
52
  organization,
52
53
  single_sign_on,
53
54
  verification_record,
55
+ account_center,
54
56
  };
55
57
  export default Object.freeze(errors);
@@ -34,5 +34,11 @@ declare const _default: Readonly<{
34
34
  password_algorithm_required: string;
35
35
  password_and_digest: string;
36
36
  personal_access_token_name_exists: string;
37
+ totp_secret_invalid: string;
38
+ wrong_backup_code_format: string;
39
+ username_required: string;
40
+ email_or_phone_required: string;
41
+ email_required: string;
42
+ phone_required: string;
37
43
  }>;
38
44
  export default _default;
@@ -34,5 +34,11 @@ const user = {
34
34
  password_algorithm_required: 'Password algorithm is required.',
35
35
  password_and_digest: 'You cannot set both plain text password and password digest.',
36
36
  personal_access_token_name_exists: 'Personal access token name already exists.',
37
+ totp_secret_invalid: 'Invalid TOTP secret supplied.',
38
+ wrong_backup_code_format: 'Backup code format is invalid.',
39
+ username_required: 'Username is a required identifier, you can not set it to null.',
40
+ email_or_phone_required: 'Email address or phone number is a required identifier, at least one is required.',
41
+ email_required: 'Email address is a required identifier, you can not set it to null.',
42
+ phone_required: 'Phone number is a required identifier, you can not set it to null.',
37
43
  };
38
44
  export default Object.freeze(user);
@@ -1,5 +1,6 @@
1
1
  declare const _default: Readonly<{
2
2
  not_found: string;
3
3
  permission_denied: string;
4
+ not_supported_for_google_one_tap: string;
4
5
  }>;
5
6
  export default _default;
@@ -1,5 +1,6 @@
1
1
  const verification_record = {
2
2
  not_found: 'Verification record not found.',
3
3
  permission_denied: 'Permission denied, please re-authenticate.',
4
+ not_supported_for_google_one_tap: 'This API does not support Google One Tap.',
4
5
  };
5
6
  export default Object.freeze(verification_record);
@@ -691,6 +691,9 @@ declare const _default: Readonly<{
691
691
  auth_params: string;
692
692
  auth_params_tooltip: string;
693
693
  };
694
+ trust_unverified_email: string;
695
+ trust_unverified_email_label: string;
696
+ trust_unverified_email_tip: string;
694
697
  }>;
695
698
  get_started: Readonly<{
696
699
  page_title: string;
@@ -1033,6 +1036,8 @@ declare const _default: Readonly<{
1033
1036
  };
1034
1037
  enable_user_registration: string;
1035
1038
  enable_user_registration_description: string;
1039
+ unknown_session_redirect_url: string;
1040
+ unknown_session_redirect_url_tip: string;
1036
1041
  };
1037
1042
  }>;
1038
1043
  content: Readonly<{
@@ -1058,6 +1063,14 @@ declare const _default: Readonly<{
1058
1063
  default_language_description_auto: string;
1059
1064
  default_language_description_fixed: string;
1060
1065
  };
1066
+ support: {
1067
+ title: string;
1068
+ subtitle: string;
1069
+ support_email: string;
1070
+ support_email_placeholder: string;
1071
+ support_website: string;
1072
+ support_website_placeholder: string;
1073
+ };
1061
1074
  manage_language: {
1062
1075
  title: string;
1063
1076
  subtitle: string;
@@ -2752,6 +2765,12 @@ declare const _default: Readonly<{
2752
2765
  password_algorithm_required: string;
2753
2766
  password_and_digest: string;
2754
2767
  personal_access_token_name_exists: string;
2768
+ totp_secret_invalid: string;
2769
+ wrong_backup_code_format: string;
2770
+ username_required: string;
2771
+ email_or_phone_required: string;
2772
+ email_required: string;
2773
+ phone_required: string;
2755
2774
  }>;
2756
2775
  password: Readonly<{
2757
2776
  unsupported_encryption_method: string;
@@ -2932,6 +2951,7 @@ declare const _default: Readonly<{
2932
2951
  consent_management_api_scopes_not_allowed: string;
2933
2952
  protected_app_metadata_is_required: string;
2934
2953
  protected_app_not_configured: string;
2954
+ use_saml_app_api: string;
2935
2955
  cloudflare_unknown_error: string;
2936
2956
  protected_application_only: string;
2937
2957
  protected_application_misconfigured: string;
@@ -2958,6 +2978,11 @@ declare const _default: Readonly<{
2958
2978
  verification_record: Readonly<{
2959
2979
  not_found: string;
2960
2980
  permission_denied: string;
2981
+ not_supported_for_google_one_tap: string;
2982
+ }>;
2983
+ account_center: Readonly<{
2984
+ not_enabled: string;
2985
+ filed_not_editable: string;
2961
2986
  }>;
2962
2987
  }>;
2963
2988
  }>;
@@ -89,5 +89,8 @@ declare const _default: Readonly<{
89
89
  auth_params: string;
90
90
  auth_params_tooltip: string;
91
91
  };
92
+ trust_unverified_email: string;
93
+ trust_unverified_email_label: string;
94
+ trust_unverified_email_tip: string;
92
95
  }>;
93
96
  export default _default;
@@ -89,5 +89,8 @@ const enterprise_sso_details = {
89
89
  auth_params: 'Additional authentication parameters',
90
90
  auth_params_tooltip: 'Additional parameters to be passed in the authorization request. By default only (openid profile) scopes will be requested, you can specify additional scopes or a exclusive state value here. (e.g., { "scope": "organizations email", "state": "secret_state" }).',
91
91
  },
92
+ trust_unverified_email: 'Trust unverified email',
93
+ trust_unverified_email_label: 'Always trust the unverified email addresses returned from the identity provider',
94
+ trust_unverified_email_tip: 'The Entra ID (OIDC) connector does not return the `email_verified` claim, meaning that email addresses from Azure are not guaranteed to be verified. By default, Logto will not sync unverified email addresses to the user profile. Enable this option only if you trust all the email addresses from the Entra ID directory.',
92
95
  };
93
96
  export default Object.freeze(enterprise_sso_details);
@@ -689,6 +689,9 @@ declare const _default: Readonly<{
689
689
  auth_params: string;
690
690
  auth_params_tooltip: string;
691
691
  };
692
+ trust_unverified_email: string;
693
+ trust_unverified_email_label: string;
694
+ trust_unverified_email_tip: string;
692
695
  }>;
693
696
  get_started: Readonly<{
694
697
  page_title: string;
@@ -1031,6 +1034,8 @@ declare const _default: Readonly<{
1031
1034
  };
1032
1035
  enable_user_registration: string;
1033
1036
  enable_user_registration_description: string;
1037
+ unknown_session_redirect_url: string;
1038
+ unknown_session_redirect_url_tip: string;
1034
1039
  };
1035
1040
  }>;
1036
1041
  content: Readonly<{
@@ -1056,6 +1061,14 @@ declare const _default: Readonly<{
1056
1061
  default_language_description_auto: string;
1057
1062
  default_language_description_fixed: string;
1058
1063
  };
1064
+ support: {
1065
+ title: string;
1066
+ subtitle: string;
1067
+ support_email: string;
1068
+ support_email_placeholder: string;
1069
+ support_website: string;
1070
+ support_website_placeholder: string;
1071
+ };
1059
1072
  manage_language: {
1060
1073
  title: string;
1061
1074
  subtitle: string;
@@ -21,6 +21,14 @@ declare const _default: Readonly<{
21
21
  default_language_description_auto: string;
22
22
  default_language_description_fixed: string;
23
23
  };
24
+ support: {
25
+ title: string;
26
+ subtitle: string;
27
+ support_email: string;
28
+ support_email_placeholder: string;
29
+ support_website: string;
30
+ support_website_placeholder: string;
31
+ };
24
32
  manage_language: {
25
33
  title: string;
26
34
  subtitle: string;
@@ -21,6 +21,14 @@ const content = {
21
21
  default_language_description_auto: 'The default language will be used when the detected user language isn’t covered in the current language library.',
22
22
  default_language_description_fixed: 'When auto-detect is off, the default language is the only language your software will show. Turn on auto-detect for language extension.',
23
23
  },
24
+ support: {
25
+ title: 'SUPPORT',
26
+ subtitle: 'Display your support channels on error pages for quick user assistance.',
27
+ support_email: 'Support email',
28
+ support_email_placeholder: 'support@email.com',
29
+ support_website: 'Support website',
30
+ support_website_placeholder: 'https://your.website/support',
31
+ },
24
32
  manage_language: {
25
33
  title: 'Manage language',
26
34
  subtitle: 'Localize the product experience by adding languages and translations. Your contribution can be set as the default language.',
@@ -133,6 +133,8 @@ declare const _default: Readonly<{
133
133
  };
134
134
  enable_user_registration: string;
135
135
  enable_user_registration_description: string;
136
+ unknown_session_redirect_url: string;
137
+ unknown_session_redirect_url_tip: string;
136
138
  };
137
139
  }>;
138
140
  content: Readonly<{
@@ -158,6 +160,14 @@ declare const _default: Readonly<{
158
160
  default_language_description_auto: string;
159
161
  default_language_description_fixed: string;
160
162
  };
163
+ support: {
164
+ title: string;
165
+ subtitle: string;
166
+ support_email: string;
167
+ support_email_placeholder: string;
168
+ support_website: string;
169
+ support_website_placeholder: string;
170
+ };
161
171
  manage_language: {
162
172
  title: string;
163
173
  subtitle: string;
@@ -57,6 +57,8 @@ declare const _default: Readonly<{
57
57
  };
58
58
  enable_user_registration: string;
59
59
  enable_user_registration_description: string;
60
+ unknown_session_redirect_url: string;
61
+ unknown_session_redirect_url_tip: string;
60
62
  };
61
63
  }>;
62
64
  export default _default;
@@ -57,6 +57,8 @@ const sign_up_and_sign_in = {
57
57
  },
58
58
  enable_user_registration: 'Enable user registration',
59
59
  enable_user_registration_description: 'Enable or disallow user registration. Once disabled, users can still be added in the admin console but users can no longer establish accounts through the sign-in UI.',
60
+ unknown_session_redirect_url: 'Unknown session redirect URL',
61
+ unknown_session_redirect_url_tip: 'Sometimes, Logto may not recognize a user’s session on the sign-in page, like when a session expires or the user bookmarks or shares the sign-in link. By default, an “unknown session” 404 error appears. To enhance user experience, set a fallback URL to redirect users back to your app and restart authentication.',
60
62
  },
61
63
  };
62
64
  export default Object.freeze(sign_up_and_sign_in);
@@ -690,6 +690,9 @@ declare const _default: Readonly<{
690
690
  auth_params: string;
691
691
  auth_params_tooltip: string;
692
692
  };
693
+ trust_unverified_email: string;
694
+ trust_unverified_email_label: string;
695
+ trust_unverified_email_tip: string;
693
696
  }>;
694
697
  get_started: Readonly<{
695
698
  page_title: string;
@@ -1032,6 +1035,8 @@ declare const _default: Readonly<{
1032
1035
  };
1033
1036
  enable_user_registration: string;
1034
1037
  enable_user_registration_description: string;
1038
+ unknown_session_redirect_url: string;
1039
+ unknown_session_redirect_url_tip: string;
1035
1040
  };
1036
1041
  }>;
1037
1042
  content: Readonly<{
@@ -1057,6 +1062,14 @@ declare const _default: Readonly<{
1057
1062
  default_language_description_auto: string;
1058
1063
  default_language_description_fixed: string;
1059
1064
  };
1065
+ support: {
1066
+ title: string;
1067
+ subtitle: string;
1068
+ support_email: string;
1069
+ support_email_placeholder: string;
1070
+ support_website: string;
1071
+ support_website_placeholder: string;
1072
+ };
1060
1073
  manage_language: {
1061
1074
  title: string;
1062
1075
  subtitle: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logto/phrases",
3
- "version": "1.14.1",
3
+ "version": "1.15.0",
4
4
  "description": "Logto shared phrases (i18n).",
5
5
  "author": "Silverhand Inc. <contact@silverhand.io>",
6
6
  "homepage": "https://github.com/logto-io/logto#readme",