@logto/phrases-experience 1.7.0 → 1.8.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.
Files changed (102) hide show
  1. package/lib/index.d.ts +5 -5
  2. package/lib/index.js +3 -0
  3. package/lib/locales/ar/action.d.ts +35 -0
  4. package/lib/locales/ar/action.js +35 -0
  5. package/lib/locales/ar/description.d.ts +90 -0
  6. package/lib/locales/ar/description.js +90 -0
  7. package/lib/locales/ar/development-tenant.d.ts +4 -0
  8. package/lib/locales/ar/development-tenant.js +4 -0
  9. package/lib/locales/ar/error/index.d.ts +34 -0
  10. package/lib/locales/ar/error/index.js +22 -0
  11. package/lib/locales/ar/error/password-rejected.d.ts +15 -0
  12. package/lib/locales/ar/error/password-rejected.js +15 -0
  13. package/lib/locales/ar/index.d.ts +232 -0
  14. package/lib/locales/ar/index.js +23 -0
  15. package/lib/locales/ar/input.d.ts +10 -0
  16. package/lib/locales/ar/input.js +10 -0
  17. package/lib/locales/ar/list.d.ts +6 -0
  18. package/lib/locales/ar/list.js +6 -0
  19. package/lib/locales/ar/mfa.d.ts +44 -0
  20. package/lib/locales/ar/mfa.js +44 -0
  21. package/lib/locales/ar/secondary.d.ts +4 -0
  22. package/lib/locales/ar/secondary.js +4 -0
  23. package/lib/locales/ar/user-scopes.d.ts +14 -0
  24. package/lib/locales/ar/user-scopes.js +14 -0
  25. package/lib/locales/de/action.js +1 -1
  26. package/lib/locales/de/description.d.ts +6 -0
  27. package/lib/locales/de/description.js +7 -1
  28. package/lib/locales/de/error/index.js +1 -1
  29. package/lib/locales/de/index.d.ts +6 -0
  30. package/lib/locales/en/action.js +1 -1
  31. package/lib/locales/en/description.d.ts +6 -0
  32. package/lib/locales/en/description.js +7 -1
  33. package/lib/locales/en/error/index.js +1 -1
  34. package/lib/locales/en/index.d.ts +6 -0
  35. package/lib/locales/es/action.js +1 -1
  36. package/lib/locales/es/description.d.ts +6 -0
  37. package/lib/locales/es/description.js +7 -1
  38. package/lib/locales/es/error/index.js +1 -1
  39. package/lib/locales/es/index.d.ts +6 -0
  40. package/lib/locales/fr/action.js +1 -1
  41. package/lib/locales/fr/description.d.ts +6 -0
  42. package/lib/locales/fr/description.js +7 -1
  43. package/lib/locales/fr/error/index.js +1 -1
  44. package/lib/locales/fr/index.d.ts +6 -0
  45. package/lib/locales/it/action.js +1 -1
  46. package/lib/locales/it/description.d.ts +6 -0
  47. package/lib/locales/it/description.js +7 -1
  48. package/lib/locales/it/error/index.js +1 -1
  49. package/lib/locales/it/index.d.ts +6 -0
  50. package/lib/locales/ja/action.js +1 -1
  51. package/lib/locales/ja/description.d.ts +6 -0
  52. package/lib/locales/ja/description.js +7 -1
  53. package/lib/locales/ja/error/index.js +1 -1
  54. package/lib/locales/ja/index.d.ts +6 -0
  55. package/lib/locales/ko/action.js +1 -1
  56. package/lib/locales/ko/description.d.ts +6 -0
  57. package/lib/locales/ko/description.js +7 -1
  58. package/lib/locales/ko/index.d.ts +6 -0
  59. package/lib/locales/pl-pl/action.js +1 -1
  60. package/lib/locales/pl-pl/description.d.ts +10 -0
  61. package/lib/locales/pl-pl/description.js +11 -1
  62. package/lib/locales/pl-pl/error/index.js +1 -1
  63. package/lib/locales/pl-pl/index.d.ts +10 -0
  64. package/lib/locales/pt-br/action.js +1 -1
  65. package/lib/locales/pt-br/description.d.ts +6 -0
  66. package/lib/locales/pt-br/description.js +7 -1
  67. package/lib/locales/pt-br/error/index.js +1 -1
  68. package/lib/locales/pt-br/index.d.ts +6 -0
  69. package/lib/locales/pt-pt/action.js +1 -1
  70. package/lib/locales/pt-pt/description.d.ts +6 -0
  71. package/lib/locales/pt-pt/description.js +7 -1
  72. package/lib/locales/pt-pt/index.d.ts +6 -0
  73. package/lib/locales/ru/action.js +1 -1
  74. package/lib/locales/ru/description.d.ts +10 -0
  75. package/lib/locales/ru/description.js +11 -1
  76. package/lib/locales/ru/error/index.js +1 -1
  77. package/lib/locales/ru/index.d.ts +10 -0
  78. package/lib/locales/tr-tr/action.js +1 -1
  79. package/lib/locales/tr-tr/description.d.ts +6 -0
  80. package/lib/locales/tr-tr/description.js +7 -1
  81. package/lib/locales/tr-tr/error/index.js +1 -1
  82. package/lib/locales/tr-tr/index.d.ts +6 -0
  83. package/lib/locales/zh-cn/action.d.ts +0 -2
  84. package/lib/locales/zh-cn/action.js +3 -5
  85. package/lib/locales/zh-cn/description.d.ts +6 -3
  86. package/lib/locales/zh-cn/description.js +12 -9
  87. package/lib/locales/zh-cn/error/index.js +1 -1
  88. package/lib/locales/zh-cn/index.d.ts +6 -0
  89. package/lib/locales/zh-cn/user-scopes.d.ts +0 -9
  90. package/lib/locales/zh-cn/user-scopes.js +9 -18
  91. package/lib/locales/zh-hk/action.js +1 -1
  92. package/lib/locales/zh-hk/description.d.ts +6 -0
  93. package/lib/locales/zh-hk/description.js +7 -1
  94. package/lib/locales/zh-hk/error/index.js +1 -1
  95. package/lib/locales/zh-hk/index.d.ts +6 -0
  96. package/lib/locales/zh-tw/action.js +1 -1
  97. package/lib/locales/zh-tw/description.d.ts +6 -0
  98. package/lib/locales/zh-tw/description.js +7 -1
  99. package/lib/locales/zh-tw/error/index.js +1 -1
  100. package/lib/locales/zh-tw/index.d.ts +6 -0
  101. package/lib/types.d.ts +2 -2
  102. package/package.json +3 -4
package/lib/index.d.ts CHANGED
@@ -5,15 +5,15 @@ import en from './locales/en/index.js';
5
5
  import type { LocalePhrase } from './types.js';
6
6
  export type { LocalePhrase } from './types.js';
7
7
  export type I18nKey = NormalizeKeyPaths<typeof en.translation>;
8
- export declare const builtInLanguages: readonly ["de", "en", "es", "fr", "it", "ja", "ko", "pl-PL", "pt-PT", "pt-BR", "ru", "tr-TR", "zh-CN", "zh-HK", "zh-TW"];
8
+ export declare const builtInLanguages: readonly ["ar", "de", "en", "es", "fr", "it", "ja", "ko", "pl-PL", "pt-PT", "pt-BR", "ru", "tr-TR", "zh-CN", "zh-HK", "zh-TW"];
9
9
  export declare const builtInLanguageOptions: {
10
- value: "de" | "en" | "es" | "fr" | "it" | "ja" | "ko" | "pl-PL" | "pt-PT" | "pt-BR" | "ru" | "tr-TR" | "zh-CN" | "zh-HK" | "zh-TW";
11
- title: "Deutsch" | "English" | "Español" | "Français" | "Italiano" | "日本語" | "한국어" | "Polski" | "Português (Portugal)" | "Português (Brasil)" | "Русский" | "Türkçe" | "简体中文" | "繁體中文(香港)" | "繁體中文(台灣)";
10
+ value: "ar" | "de" | "en" | "es" | "fr" | "it" | "ja" | "ko" | "pl-PL" | "pt-PT" | "pt-BR" | "ru" | "tr-TR" | "zh-CN" | "zh-HK" | "zh-TW";
11
+ title: "العربية" | "Deutsch" | "English" | "Español" | "Français" | "Italiano" | "日本語" | "한국어" | "Polski" | "Português (Portugal)" | "Português (Brasil)" | "Русский" | "Türkçe" | "简体中文" | "繁體中文(香港)" | "繁體中文(台灣)";
12
12
  }[];
13
- export declare const builtInLanguageTagGuard: z.ZodEnum<["de", "en", "es", "fr", "it", "ja", "ko", "pl-PL", "pt-PT", "pt-BR", "ru", "tr-TR", "zh-CN", "zh-HK", "zh-TW"]>;
13
+ export declare const builtInLanguageTagGuard: z.ZodEnum<["ar", "de", "en", "es", "fr", "it", "ja", "ko", "pl-PL", "pt-PT", "pt-BR", "ru", "tr-TR", "zh-CN", "zh-HK", "zh-TW"]>;
14
14
  export type BuiltInLanguageTag = z.infer<typeof builtInLanguageTagGuard>;
15
15
  export type Resource = Record<BuiltInLanguageTag, LocalePhrase>;
16
16
  declare const resource: Resource;
17
17
  export declare const getDefaultLanguageTag: (language: string) => LanguageTag;
18
- export declare const isBuiltInLanguageTag: (language: string) => language is "de" | "en" | "es" | "fr" | "it" | "ja" | "ko" | "pl-PL" | "pt-PT" | "pt-BR" | "ru" | "tr-TR" | "zh-CN" | "zh-HK" | "zh-TW";
18
+ export declare const isBuiltInLanguageTag: (language: string) => language is BuiltInLanguageTag;
19
19
  export default resource;
package/lib/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { languages, fallback } from '@logto/language-kit';
2
2
  import { z } from 'zod';
3
+ import ar from './locales/ar/index.js';
3
4
  import de from './locales/de/index.js';
4
5
  import en from './locales/en/index.js';
5
6
  import es from './locales/es/index.js';
@@ -16,6 +17,7 @@ import zhCN from './locales/zh-cn/index.js';
16
17
  import zhHK from './locales/zh-hk/index.js';
17
18
  import zhTW from './locales/zh-tw/index.js';
18
19
  export const builtInLanguages = [
20
+ 'ar',
19
21
  'de',
20
22
  'en',
21
23
  'es',
@@ -38,6 +40,7 @@ export const builtInLanguageOptions = builtInLanguages.map((languageTag) => ({
38
40
  }));
39
41
  export const builtInLanguageTagGuard = z.enum(builtInLanguages);
40
42
  const resource = {
43
+ ar,
41
44
  de,
42
45
  en,
43
46
  es,
@@ -0,0 +1,35 @@
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
+ nav_skip: string;
16
+ agree: string;
17
+ got_it: string;
18
+ sign_in_with: string;
19
+ forgot_password: string;
20
+ switch_to: string;
21
+ sign_in_via_passcode: string;
22
+ sign_in_via_password: string;
23
+ change: string;
24
+ link_another_email: string;
25
+ link_another_phone: string;
26
+ link_another_email_or_phone: string;
27
+ show_password: string;
28
+ copy: string;
29
+ verify_via_passkey: string;
30
+ download: string;
31
+ single_sign_on: string;
32
+ authorize: string;
33
+ use_another_account: string;
34
+ }>;
35
+ export default _default;
@@ -0,0 +1,35 @@
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
+ nav_skip: 'تخطي',
16
+ agree: 'موافق',
17
+ got_it: 'فهمت',
18
+ sign_in_with: 'تسجيل الدخول باستخدام {{name}}',
19
+ forgot_password: 'هل نسيت كلمة المرور؟',
20
+ switch_to: 'التبديل إلى {{method}}',
21
+ sign_in_via_passcode: 'تسجيل الدخول باستخدام رمز التحقق',
22
+ sign_in_via_password: 'تسجيل الدخول باستخدام كلمة المرور',
23
+ change: 'تغيير {{method}}',
24
+ link_another_email: 'ربط بريد إلكتروني آخر',
25
+ link_another_phone: 'ربط هاتف آخر',
26
+ link_another_email_or_phone: 'ربط بريد إلكتروني أو هاتف آخر',
27
+ show_password: 'عرض كلمة المرور',
28
+ copy: 'نسخ',
29
+ verify_via_passkey: 'التحقق عبر مفتاح التحقق',
30
+ download: 'تحميل',
31
+ single_sign_on: 'تسجيل الدخول الموحد',
32
+ authorize: 'التفويض',
33
+ use_another_account: 'استخدام حساب آخر',
34
+ };
35
+ export default Object.freeze(action);
@@ -0,0 +1,90 @@
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
+ skip_social_linking: string;
32
+ reset_password: string;
33
+ reset_password_description: string;
34
+ new_password: string;
35
+ set_password: string;
36
+ password_changed: string;
37
+ no_account: string;
38
+ have_account: string;
39
+ enter_password: string;
40
+ enter_password_for: string;
41
+ enter_username: string;
42
+ enter_username_description: string;
43
+ link_email: string;
44
+ link_phone: string;
45
+ link_email_or_phone: string;
46
+ link_email_description: string;
47
+ link_phone_description: string;
48
+ link_email_or_phone_description: string;
49
+ continue_with_more_information: string;
50
+ create_your_account: string;
51
+ sign_in_to_your_account: string;
52
+ no_region_code_found: string;
53
+ verify_email: string;
54
+ verify_phone: string;
55
+ password_requirements: string;
56
+ password_requirement: {
57
+ length_one: string;
58
+ length_other: string;
59
+ character_types_one: string;
60
+ character_types_other: string;
61
+ };
62
+ use: string;
63
+ single_sign_on_email_form: string;
64
+ single_sign_on_connectors_list: string;
65
+ single_sign_on_enabled: string;
66
+ authorize_title: string;
67
+ request_permission: string;
68
+ grant_organization_access: string;
69
+ authorize_personal_data_usage: string;
70
+ authorize_organization_access: string;
71
+ user_scopes: string;
72
+ organization_scopes: string;
73
+ authorize_agreement: string;
74
+ authorize_agreement_with_redirect: string;
75
+ not_you: string;
76
+ user_id: string;
77
+ redirect_to: string;
78
+ auto_agreement: string;
79
+ /** UNTRANSLATED */
80
+ identifier_sign_in_description: string;
81
+ /** UNTRANSLATED */
82
+ all_sign_in_options: string;
83
+ /** UNTRANSLATED */
84
+ identifier_register_description: string;
85
+ /** UNTRANSLATED */
86
+ all_account_creation_options: string;
87
+ /** UNTRANSLATED */
88
+ back_to_sign_in: string;
89
+ }>;
90
+ export default _default;
@@ -0,0 +1,90 @@
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: 'لم تستلمه بعد؟ <a>إعادة إرسال رمز التحقق</a>',
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
+ skip_social_linking: 'تخطي ربط الحساب الحالي؟',
32
+ reset_password: 'إعادة تعيين كلمة المرور',
33
+ reset_password_description: 'أدخل {{types, list(type: disjunction;)}} المرتبطة بحسابك، وسنرسل لك رمز التحقق لإعادة تعيين كلمة المرور.',
34
+ new_password: 'كلمة المرور الجديدة',
35
+ set_password: 'تعيين كلمة المرور',
36
+ password_changed: 'تم تغيير كلمة المرور',
37
+ no_account: 'لا يوجد حساب بعد؟ ',
38
+ have_account: 'هل لديك حساب بالفعل؟',
39
+ enter_password: 'أدخل كلمة المرور',
40
+ enter_password_for: 'تسجيل الدخول باستخدام كلمة المرور إلى {{method}} {{value}}',
41
+ enter_username: 'تعيين اسم المستخدم',
42
+ enter_username_description: 'اسم المستخدم هو بديل لتسجيل الدخول. يجب أن يحتوي اسم المستخدم فقط على الأحرف والأرقام وشرطات السفل.',
43
+ link_email: 'ربط البريد الإلكتروني',
44
+ link_phone: 'ربط الهاتف',
45
+ link_email_or_phone: 'ربط البريد الإلكتروني أو الهاتف',
46
+ link_email_description: 'لزيادة الأمان، يرجى ربط بريدك الإلكتروني بالحساب.',
47
+ link_phone_description: 'لزيادة الأمان، يرجى ربط هاتفك بالحساب.',
48
+ link_email_or_phone_description: 'لزيادة الأمان، يرجى ربط بريدك الإلكتروني أو هاتفك بالحساب.',
49
+ continue_with_more_information: 'لزيادة الأمان، يرجى استكمال تفاصيل الحساب أدناه.',
50
+ create_your_account: 'إنشاء حسابك',
51
+ sign_in_to_your_account: 'تسجيل الدخول إلى حسابك',
52
+ no_region_code_found: 'لم يتم العثور على رمز المنطقة',
53
+ verify_email: 'تحقق من بريدك الإلكتروني',
54
+ verify_phone: 'تحقق من رقم هاتفك',
55
+ password_requirements: 'متطلبات كلمة المرور {{items, list}}.',
56
+ password_requirement: {
57
+ length_one: 'يتطلب حرف واحد على الأقل',
58
+ length_other: 'يتطلب {{count}} أحرف على الأقل',
59
+ character_types_one: 'يجب أن يحتوي على حرف واحد على الأقل من الأحرف الكبيرة والصغيرة والأرقام والرموز',
60
+ character_types_other: 'يجب أن يحتوي على {{count}} أنواع على الأقل من الأحرف الكبيرة والصغيرة والأرقام والرموز',
61
+ },
62
+ use: 'استخدام',
63
+ single_sign_on_email_form: 'أدخل عنوان بريدك الإلكتروني الخاص بالشركة',
64
+ single_sign_on_connectors_list: 'لقد قامت الشركة بتمكين تسجيل الدخول الموحد لحساب البريد الإلكتروني {{email}}. يمكنك الاستمرار في تسجيل الدخول باستخدام موفرات SSO التالية.',
65
+ single_sign_on_enabled: 'تم تمكين تسجيل الدخول الموحد لهذا الحساب',
66
+ authorize_title: 'السماح لـ {{name}}',
67
+ request_permission: '{{name}} يطلب الوصول إلى:',
68
+ grant_organization_access: 'منح الوصول إلى المؤسسة:',
69
+ authorize_personal_data_usage: 'السماح باستخدام البيانات الشخصية الخاصة بك:',
70
+ authorize_organization_access: 'السماح بالوصول إلى المؤسسة المحددة:',
71
+ user_scopes: 'بيانات المستخدم الشخصية',
72
+ organization_scopes: 'الوصول إلى المؤسسة',
73
+ authorize_agreement: `بالسماح بالوصول، فإنك توافق على <link></link> لـ {{name}}.`,
74
+ authorize_agreement_with_redirect: `بالسماح بالوصول، فإنك توافق على <link></link> لـ {{name}}، وسيتم توجيهك إلى {{uri}}.`,
75
+ not_you: 'ليس أنت؟',
76
+ user_id: 'معرف المستخدم: {{id}}',
77
+ redirect_to: 'سيتم توجيهك إلى {{name}}.',
78
+ auto_agreement: 'من خلال المتابعة، فإنك توافق على <link></link>.',
79
+ /** UNTRANSLATED */
80
+ identifier_sign_in_description: 'Enter you {{types, list(type: disjunction;)}} to sign in.',
81
+ /** UNTRANSLATED */
82
+ all_sign_in_options: 'All sign-in options',
83
+ /** UNTRANSLATED */
84
+ identifier_register_description: 'Enter you {{types, list(type: disjunction;)}} to create a new account.',
85
+ /** UNTRANSLATED */
86
+ all_account_creation_options: 'All account creation options',
87
+ /** UNTRANSLATED */
88
+ back_to_sign_in: 'Back to sign in',
89
+ };
90
+ export default Object.freeze(description);
@@ -0,0 +1,4 @@
1
+ declare const _default: Readonly<{
2
+ notification: string;
3
+ }>;
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ const development_tenant = {
2
+ notification: 'أنت في وضع التطوير',
3
+ };
4
+ export default Object.freeze(development_tenant);
@@ -0,0 +1,34 @@
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: {
26
+ repetition: string;
27
+ sequence: string;
28
+ user_info: string;
29
+ words: string;
30
+ };
31
+ }>;
32
+ sso_not_enabled: string;
33
+ }>;
34
+ export default _default;
@@ -0,0 +1,22 @@
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
+ sso_not_enabled: 'تسجيل الدخول الموحد غير ممكّن لحساب البريد الإلكتروني هذا.',
21
+ };
22
+ export default Object.freeze(error);
@@ -0,0 +1,15 @@
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: {
9
+ repetition: string;
10
+ sequence: string;
11
+ user_info: string;
12
+ words: string;
13
+ };
14
+ }>;
15
+ export default _default;
@@ -0,0 +1,15 @@
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: {
9
+ repetition: 'حروف متكررة',
10
+ sequence: 'حروف متتالية',
11
+ user_info: 'معلوماتك الشخصية',
12
+ words: 'سياق المنتج',
13
+ },
14
+ };
15
+ export default Object.freeze(password_rejected);
@@ -0,0 +1,232 @@
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
+ backup_code: string;
11
+ }>;
12
+ secondary: Readonly<{
13
+ social_bind_with: string;
14
+ }>;
15
+ action: Readonly<{
16
+ sign_in: string;
17
+ continue: string;
18
+ create_account: string;
19
+ create_account_without_linking: string;
20
+ create: string;
21
+ enter_passcode: string;
22
+ confirm: string;
23
+ cancel: string;
24
+ save_password: string;
25
+ bind: string;
26
+ bind_and_continue: string;
27
+ back: string;
28
+ nav_back: string;
29
+ nav_skip: string;
30
+ agree: string;
31
+ got_it: string;
32
+ sign_in_with: string;
33
+ forgot_password: string;
34
+ switch_to: string;
35
+ sign_in_via_passcode: string;
36
+ sign_in_via_password: string;
37
+ change: string;
38
+ link_another_email: string;
39
+ link_another_phone: string;
40
+ link_another_email_or_phone: string;
41
+ show_password: string;
42
+ copy: string;
43
+ verify_via_passkey: string;
44
+ download: string;
45
+ single_sign_on: string;
46
+ authorize: string;
47
+ use_another_account: string;
48
+ }>;
49
+ description: Readonly<{
50
+ email: string;
51
+ phone_number: string;
52
+ username: string;
53
+ reminder: string;
54
+ not_found: string;
55
+ agree_with_terms: string;
56
+ agree_with_terms_modal: string;
57
+ terms_of_use: string;
58
+ sign_in: string;
59
+ privacy_policy: string;
60
+ create_account: string;
61
+ or: string;
62
+ and: string;
63
+ enter_passcode: string;
64
+ passcode_sent: string;
65
+ resend_after_seconds: string;
66
+ resend_passcode: string;
67
+ create_account_id_exists: string;
68
+ link_account_id_exists: string;
69
+ sign_in_id_does_not_exist: string;
70
+ sign_in_id_does_not_exist_alert: string;
71
+ create_account_id_exists_alert: string;
72
+ social_identity_exist: string;
73
+ bind_account_title: string;
74
+ social_create_account: string;
75
+ social_link_email: string;
76
+ social_link_phone: string;
77
+ social_link_email_or_phone: string;
78
+ social_bind_with_existing: string;
79
+ skip_social_linking: string;
80
+ reset_password: string;
81
+ reset_password_description: string;
82
+ new_password: string;
83
+ set_password: string;
84
+ password_changed: string;
85
+ no_account: string;
86
+ have_account: string;
87
+ enter_password: string;
88
+ enter_password_for: string;
89
+ enter_username: string;
90
+ enter_username_description: string;
91
+ link_email: string;
92
+ link_phone: string;
93
+ link_email_or_phone: string;
94
+ link_email_description: string;
95
+ link_phone_description: string;
96
+ link_email_or_phone_description: string;
97
+ continue_with_more_information: string;
98
+ create_your_account: string;
99
+ sign_in_to_your_account: string;
100
+ no_region_code_found: string;
101
+ verify_email: string;
102
+ verify_phone: string;
103
+ password_requirements: string;
104
+ password_requirement: {
105
+ length_one: string;
106
+ length_other: string;
107
+ character_types_one: string;
108
+ character_types_other: string;
109
+ };
110
+ use: string;
111
+ single_sign_on_email_form: string;
112
+ single_sign_on_connectors_list: string;
113
+ single_sign_on_enabled: string;
114
+ authorize_title: string;
115
+ request_permission: string;
116
+ grant_organization_access: string;
117
+ authorize_personal_data_usage: string;
118
+ authorize_organization_access: string;
119
+ user_scopes: string;
120
+ organization_scopes: string;
121
+ authorize_agreement: string;
122
+ authorize_agreement_with_redirect: string;
123
+ not_you: string;
124
+ user_id: string;
125
+ redirect_to: string;
126
+ auto_agreement: string;
127
+ identifier_sign_in_description: string;
128
+ all_sign_in_options: string;
129
+ identifier_register_description: string;
130
+ all_account_creation_options: string;
131
+ back_to_sign_in: string;
132
+ }>;
133
+ error: Readonly<{
134
+ general_required: string;
135
+ general_invalid: string;
136
+ username_required: string;
137
+ password_required: string;
138
+ username_exists: string;
139
+ username_should_not_start_with_number: string;
140
+ username_invalid_charset: string;
141
+ invalid_email: string;
142
+ invalid_phone: string;
143
+ passwords_do_not_match: string;
144
+ invalid_passcode: string;
145
+ invalid_connector_auth: string;
146
+ invalid_connector_request: string;
147
+ unknown: string;
148
+ invalid_session: string;
149
+ timeout: string;
150
+ password_rejected: Readonly<{
151
+ too_short: string;
152
+ too_long: string;
153
+ character_types: string;
154
+ unsupported_characters: string;
155
+ pwned: string;
156
+ restricted_found: string;
157
+ restricted: {
158
+ repetition: string;
159
+ sequence: string;
160
+ user_info: string;
161
+ words: string;
162
+ };
163
+ }>;
164
+ sso_not_enabled: string;
165
+ }>;
166
+ list: Readonly<{
167
+ or: string;
168
+ and: string;
169
+ separator: string;
170
+ }>;
171
+ mfa: Readonly<{
172
+ totp: string;
173
+ webauthn: string;
174
+ backup_code: string;
175
+ link_totp_description: string;
176
+ link_webauthn_description: string;
177
+ link_backup_code_description: string;
178
+ verify_totp_description: string;
179
+ verify_webauthn_description: string;
180
+ verify_backup_code_description: string;
181
+ add_mfa_factors: string;
182
+ add_mfa_description: string;
183
+ verify_mfa_factors: string;
184
+ verify_mfa_description: string;
185
+ add_authenticator_app: string;
186
+ step: string;
187
+ scan_qr_code: string;
188
+ scan_qr_code_description: string;
189
+ qr_code_not_available: string;
190
+ copy_and_paste_key: string;
191
+ copy_and_paste_key_description: string;
192
+ want_to_scan_qr_code: string;
193
+ enter_one_time_code: string;
194
+ enter_one_time_code_link_description: string;
195
+ enter_one_time_code_description: string;
196
+ link_another_mfa_factor: string;
197
+ save_backup_code: string;
198
+ save_backup_code_description: string;
199
+ backup_code_hint: string;
200
+ enter_a_backup_code: string;
201
+ enter_backup_code_description: string;
202
+ create_a_passkey: string;
203
+ create_passkey_description: string;
204
+ try_another_verification_method: string;
205
+ verify_via_passkey: string;
206
+ verify_via_passkey_description: string;
207
+ secret_key_copied: string;
208
+ backup_code_copied: string;
209
+ webauthn_not_ready: string;
210
+ webauthn_not_supported: string;
211
+ webauthn_failed_to_create: string;
212
+ webauthn_failed_to_verify: string;
213
+ }>;
214
+ development_tenant: Readonly<{
215
+ notification: string;
216
+ }>;
217
+ user_scopes: Readonly<{
218
+ descriptions: {
219
+ custom_data: string;
220
+ email: string;
221
+ phone: string;
222
+ profile: string;
223
+ roles: string;
224
+ identities: string;
225
+ 'urn:logto:scope:organizations': string;
226
+ 'urn:logto:scope:organization_roles': string;
227
+ address: string;
228
+ };
229
+ }>;
230
+ };
231
+ }>;
232
+ export default _default;
@@ -0,0 +1,23 @@
1
+ import action from './action.js';
2
+ import description from './description.js';
3
+ import development_tenant from './development-tenant.js';
4
+ import error from './error/index.js';
5
+ import input from './input.js';
6
+ import list from './list.js';
7
+ import mfa from './mfa.js';
8
+ import secondary from './secondary.js';
9
+ import user_scopes from './user-scopes.js';
10
+ const ar = {
11
+ translation: {
12
+ input,
13
+ secondary,
14
+ action,
15
+ description,
16
+ error,
17
+ list,
18
+ mfa,
19
+ development_tenant,
20
+ user_scopes,
21
+ },
22
+ };
23
+ export default Object.freeze(ar);
@@ -0,0 +1,10 @@
1
+ declare const _default: Readonly<{
2
+ username: string;
3
+ password: string;
4
+ email: string;
5
+ phone_number: string;
6
+ confirm_password: string;
7
+ search_region_code: string;
8
+ backup_code: string;
9
+ }>;
10
+ export default _default;