@logto/phrases-experience 1.12.2 → 1.13.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 (229) hide show
  1. package/lib/index.d.ts +4 -4
  2. package/lib/index.js +5 -2
  3. package/lib/locales/ar/account-center.d.ts +43 -0
  4. package/lib/locales/ar/account-center.js +43 -0
  5. package/lib/locales/ar/description.d.ts +5 -0
  6. package/lib/locales/ar/description.js +5 -0
  7. package/lib/locales/ar/error/index.d.ts +3 -0
  8. package/lib/locales/ar/error/index.js +3 -0
  9. package/lib/locales/ar/index.d.ts +56 -0
  10. package/lib/locales/ar/input.d.ts +1 -0
  11. package/lib/locales/ar/input.js +1 -0
  12. package/lib/locales/ar/mfa.d.ts +4 -0
  13. package/lib/locales/ar/mfa.js +4 -0
  14. package/lib/locales/cs/account-center.d.ts +208 -0
  15. package/lib/locales/cs/account-center.js +208 -0
  16. package/lib/locales/cs/action.d.ts +42 -0
  17. package/lib/locales/cs/action.js +42 -0
  18. package/lib/locales/cs/description.d.ts +113 -0
  19. package/lib/locales/cs/description.js +113 -0
  20. package/lib/locales/cs/development-tenant.d.ts +4 -0
  21. package/lib/locales/cs/development-tenant.js +4 -0
  22. package/lib/locales/cs/error/index.d.ts +46 -0
  23. package/lib/locales/cs/error/index.js +34 -0
  24. package/lib/locales/cs/error/password-rejected.d.ts +15 -0
  25. package/lib/locales/cs/error/password-rejected.js +15 -0
  26. package/lib/locales/cs/index.d.ts +547 -0
  27. package/lib/locales/cs/index.js +29 -0
  28. package/lib/locales/cs/input.d.ts +12 -0
  29. package/lib/locales/cs/input.js +12 -0
  30. package/lib/locales/cs/list.d.ts +6 -0
  31. package/lib/locales/cs/list.js +6 -0
  32. package/lib/locales/cs/mfa.d.ts +65 -0
  33. package/lib/locales/cs/mfa.js +65 -0
  34. package/lib/locales/cs/passkey-sign-in.d.ts +9 -0
  35. package/lib/locales/cs/passkey-sign-in.js +9 -0
  36. package/lib/locales/cs/profile.d.ts +30 -0
  37. package/lib/locales/cs/profile.js +30 -0
  38. package/lib/locales/cs/secondary.d.ts +4 -0
  39. package/lib/locales/cs/secondary.js +4 -0
  40. package/lib/locales/cs/user-scopes.d.ts +15 -0
  41. package/lib/locales/cs/user-scopes.js +15 -0
  42. package/lib/locales/de/account-center.d.ts +43 -0
  43. package/lib/locales/de/account-center.js +43 -0
  44. package/lib/locales/de/description.d.ts +5 -0
  45. package/lib/locales/de/description.js +5 -0
  46. package/lib/locales/de/error/index.d.ts +3 -0
  47. package/lib/locales/de/error/index.js +4 -1
  48. package/lib/locales/de/index.d.ts +56 -0
  49. package/lib/locales/de/input.d.ts +1 -0
  50. package/lib/locales/de/input.js +1 -0
  51. package/lib/locales/de/mfa.d.ts +4 -0
  52. package/lib/locales/de/mfa.js +4 -0
  53. package/lib/locales/en/account-center.d.ts +43 -0
  54. package/lib/locales/en/account-center.js +43 -0
  55. package/lib/locales/en/description.d.ts +5 -0
  56. package/lib/locales/en/description.js +5 -0
  57. package/lib/locales/en/error/index.d.ts +3 -0
  58. package/lib/locales/en/error/index.js +7 -4
  59. package/lib/locales/en/index.d.ts +56 -0
  60. package/lib/locales/en/input.d.ts +1 -0
  61. package/lib/locales/en/input.js +1 -0
  62. package/lib/locales/en/mfa.d.ts +4 -0
  63. package/lib/locales/en/mfa.js +5 -1
  64. package/lib/locales/es/account-center.d.ts +43 -0
  65. package/lib/locales/es/account-center.js +43 -0
  66. package/lib/locales/es/description.d.ts +5 -0
  67. package/lib/locales/es/description.js +5 -0
  68. package/lib/locales/es/error/index.d.ts +3 -0
  69. package/lib/locales/es/error/index.js +3 -0
  70. package/lib/locales/es/index.d.ts +56 -0
  71. package/lib/locales/es/input.d.ts +1 -0
  72. package/lib/locales/es/input.js +1 -0
  73. package/lib/locales/es/mfa.d.ts +4 -0
  74. package/lib/locales/es/mfa.js +4 -0
  75. package/lib/locales/fr/account-center.d.ts +43 -0
  76. package/lib/locales/fr/account-center.js +43 -0
  77. package/lib/locales/fr/description.d.ts +5 -0
  78. package/lib/locales/fr/description.js +5 -0
  79. package/lib/locales/fr/error/index.d.ts +3 -0
  80. package/lib/locales/fr/error/index.js +6 -3
  81. package/lib/locales/fr/index.d.ts +56 -0
  82. package/lib/locales/fr/input.d.ts +1 -0
  83. package/lib/locales/fr/input.js +1 -0
  84. package/lib/locales/fr/mfa.d.ts +4 -0
  85. package/lib/locales/fr/mfa.js +4 -0
  86. package/lib/locales/it/account-center.d.ts +43 -0
  87. package/lib/locales/it/account-center.js +43 -0
  88. package/lib/locales/it/description.d.ts +5 -0
  89. package/lib/locales/it/description.js +5 -0
  90. package/lib/locales/it/error/index.d.ts +3 -0
  91. package/lib/locales/it/error/index.js +6 -3
  92. package/lib/locales/it/index.d.ts +56 -0
  93. package/lib/locales/it/input.d.ts +1 -0
  94. package/lib/locales/it/input.js +1 -0
  95. package/lib/locales/it/mfa.d.ts +4 -0
  96. package/lib/locales/it/mfa.js +4 -0
  97. package/lib/locales/ja/account-center.d.ts +43 -0
  98. package/lib/locales/ja/account-center.js +43 -0
  99. package/lib/locales/ja/description.d.ts +5 -0
  100. package/lib/locales/ja/description.js +5 -0
  101. package/lib/locales/ja/error/index.d.ts +3 -0
  102. package/lib/locales/ja/error/index.js +3 -0
  103. package/lib/locales/ja/index.d.ts +56 -0
  104. package/lib/locales/ja/input.d.ts +1 -0
  105. package/lib/locales/ja/input.js +1 -0
  106. package/lib/locales/ja/mfa.d.ts +4 -0
  107. package/lib/locales/ja/mfa.js +4 -0
  108. package/lib/locales/ko/account-center.d.ts +43 -0
  109. package/lib/locales/ko/account-center.js +43 -0
  110. package/lib/locales/ko/description.d.ts +5 -0
  111. package/lib/locales/ko/description.js +5 -0
  112. package/lib/locales/ko/error/index.d.ts +3 -0
  113. package/lib/locales/ko/error/index.js +5 -2
  114. package/lib/locales/ko/index.d.ts +56 -0
  115. package/lib/locales/ko/input.d.ts +1 -0
  116. package/lib/locales/ko/input.js +1 -0
  117. package/lib/locales/ko/mfa.d.ts +4 -0
  118. package/lib/locales/ko/mfa.js +4 -0
  119. package/lib/locales/pl-pl/account-center.d.ts +43 -0
  120. package/lib/locales/pl-pl/account-center.js +43 -0
  121. package/lib/locales/pl-pl/description.d.ts +5 -0
  122. package/lib/locales/pl-pl/description.js +5 -0
  123. package/lib/locales/pl-pl/error/index.d.ts +3 -0
  124. package/lib/locales/pl-pl/error/index.js +7 -4
  125. package/lib/locales/pl-pl/index.d.ts +56 -0
  126. package/lib/locales/pl-pl/input.d.ts +1 -0
  127. package/lib/locales/pl-pl/input.js +1 -0
  128. package/lib/locales/pl-pl/mfa.d.ts +4 -0
  129. package/lib/locales/pl-pl/mfa.js +4 -0
  130. package/lib/locales/pt-br/account-center.d.ts +43 -0
  131. package/lib/locales/pt-br/account-center.js +43 -0
  132. package/lib/locales/pt-br/description.d.ts +5 -0
  133. package/lib/locales/pt-br/description.js +5 -0
  134. package/lib/locales/pt-br/error/index.d.ts +3 -0
  135. package/lib/locales/pt-br/error/index.js +7 -4
  136. package/lib/locales/pt-br/index.d.ts +56 -0
  137. package/lib/locales/pt-br/input.d.ts +1 -0
  138. package/lib/locales/pt-br/input.js +1 -0
  139. package/lib/locales/pt-br/mfa.d.ts +4 -0
  140. package/lib/locales/pt-br/mfa.js +4 -0
  141. package/lib/locales/pt-pt/account-center.d.ts +43 -0
  142. package/lib/locales/pt-pt/account-center.js +43 -0
  143. package/lib/locales/pt-pt/description.d.ts +5 -0
  144. package/lib/locales/pt-pt/description.js +5 -0
  145. package/lib/locales/pt-pt/error/index.d.ts +3 -0
  146. package/lib/locales/pt-pt/error/index.js +4 -1
  147. package/lib/locales/pt-pt/index.d.ts +56 -0
  148. package/lib/locales/pt-pt/input.d.ts +1 -0
  149. package/lib/locales/pt-pt/input.js +1 -0
  150. package/lib/locales/pt-pt/mfa.d.ts +4 -0
  151. package/lib/locales/pt-pt/mfa.js +4 -0
  152. package/lib/locales/ru/account-center.d.ts +43 -0
  153. package/lib/locales/ru/account-center.js +43 -0
  154. package/lib/locales/ru/description.d.ts +5 -0
  155. package/lib/locales/ru/description.js +5 -0
  156. package/lib/locales/ru/error/index.d.ts +3 -0
  157. package/lib/locales/ru/error/index.js +5 -2
  158. package/lib/locales/ru/index.d.ts +56 -0
  159. package/lib/locales/ru/input.d.ts +1 -0
  160. package/lib/locales/ru/input.js +1 -0
  161. package/lib/locales/ru/mfa.d.ts +4 -0
  162. package/lib/locales/ru/mfa.js +4 -0
  163. package/lib/locales/th/account-center.d.ts +43 -0
  164. package/lib/locales/th/account-center.js +43 -0
  165. package/lib/locales/th/description.d.ts +5 -0
  166. package/lib/locales/th/description.js +5 -0
  167. package/lib/locales/th/error/index.d.ts +3 -0
  168. package/lib/locales/th/error/index.js +7 -4
  169. package/lib/locales/th/index.d.ts +56 -0
  170. package/lib/locales/th/input.d.ts +1 -0
  171. package/lib/locales/th/input.js +1 -0
  172. package/lib/locales/th/mfa.d.ts +4 -0
  173. package/lib/locales/th/mfa.js +4 -0
  174. package/lib/locales/tr-tr/account-center.d.ts +43 -0
  175. package/lib/locales/tr-tr/account-center.js +43 -0
  176. package/lib/locales/tr-tr/description.d.ts +5 -0
  177. package/lib/locales/tr-tr/description.js +5 -0
  178. package/lib/locales/tr-tr/error/index.d.ts +3 -0
  179. package/lib/locales/tr-tr/error/index.js +5 -2
  180. package/lib/locales/tr-tr/index.d.ts +56 -0
  181. package/lib/locales/tr-tr/input.d.ts +1 -0
  182. package/lib/locales/tr-tr/input.js +1 -0
  183. package/lib/locales/tr-tr/mfa.d.ts +4 -0
  184. package/lib/locales/tr-tr/mfa.js +4 -0
  185. package/lib/locales/uk-ua/account-center.d.ts +43 -0
  186. package/lib/locales/uk-ua/account-center.js +43 -0
  187. package/lib/locales/uk-ua/description.d.ts +5 -0
  188. package/lib/locales/uk-ua/description.js +5 -0
  189. package/lib/locales/uk-ua/error/index.d.ts +3 -0
  190. package/lib/locales/uk-ua/error/index.js +3 -0
  191. package/lib/locales/uk-ua/index.d.ts +56 -0
  192. package/lib/locales/uk-ua/input.d.ts +1 -0
  193. package/lib/locales/uk-ua/input.js +1 -0
  194. package/lib/locales/uk-ua/mfa.d.ts +4 -0
  195. package/lib/locales/uk-ua/mfa.js +4 -0
  196. package/lib/locales/zh-cn/account-center.d.ts +43 -0
  197. package/lib/locales/zh-cn/account-center.js +43 -0
  198. package/lib/locales/zh-cn/description.d.ts +5 -0
  199. package/lib/locales/zh-cn/description.js +5 -0
  200. package/lib/locales/zh-cn/error/index.d.ts +3 -0
  201. package/lib/locales/zh-cn/error/index.js +5 -2
  202. package/lib/locales/zh-cn/index.d.ts +56 -0
  203. package/lib/locales/zh-cn/input.d.ts +1 -0
  204. package/lib/locales/zh-cn/input.js +1 -0
  205. package/lib/locales/zh-cn/mfa.d.ts +4 -0
  206. package/lib/locales/zh-cn/mfa.js +4 -0
  207. package/lib/locales/zh-hk/account-center.d.ts +43 -0
  208. package/lib/locales/zh-hk/account-center.js +43 -0
  209. package/lib/locales/zh-hk/description.d.ts +5 -0
  210. package/lib/locales/zh-hk/description.js +5 -0
  211. package/lib/locales/zh-hk/error/index.d.ts +3 -0
  212. package/lib/locales/zh-hk/error/index.js +5 -2
  213. package/lib/locales/zh-hk/index.d.ts +56 -0
  214. package/lib/locales/zh-hk/input.d.ts +1 -0
  215. package/lib/locales/zh-hk/input.js +1 -0
  216. package/lib/locales/zh-hk/mfa.d.ts +4 -0
  217. package/lib/locales/zh-hk/mfa.js +4 -0
  218. package/lib/locales/zh-tw/account-center.d.ts +43 -0
  219. package/lib/locales/zh-tw/account-center.js +43 -0
  220. package/lib/locales/zh-tw/description.d.ts +5 -0
  221. package/lib/locales/zh-tw/description.js +5 -0
  222. package/lib/locales/zh-tw/error/index.d.ts +3 -0
  223. package/lib/locales/zh-tw/error/index.js +5 -2
  224. package/lib/locales/zh-tw/index.d.ts +56 -0
  225. package/lib/locales/zh-tw/input.d.ts +1 -0
  226. package/lib/locales/zh-tw/input.js +1 -0
  227. package/lib/locales/zh-tw/mfa.d.ts +4 -0
  228. package/lib/locales/zh-tw/mfa.js +4 -0
  229. package/package.json +3 -3
package/lib/index.d.ts CHANGED
@@ -5,12 +5,12 @@ 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 ["ar", "de", "en", "es", "fr", "it", "ja", "ko", "pl-PL", "pt-PT", "pt-BR", "ru", "th", "tr-TR", "uk-UA", "zh-CN", "zh-HK", "zh-TW"];
8
+ export declare const builtInLanguages: readonly ["ar", "cs", "de", "en", "es", "fr", "it", "ja", "ko", "pl-PL", "pt-PT", "pt-BR", "ru", "th", "tr-TR", "uk-UA", "zh-CN", "zh-HK", "zh-TW"];
9
9
  export declare const builtInLanguageOptions: {
10
- value: "ar" | "de" | "en" | "es" | "fr" | "it" | "ja" | "ko" | "pl-PL" | "pt-PT" | "pt-BR" | "ru" | "th" | "tr-TR" | "uk-UA" | "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" | "cs" | "de" | "en" | "es" | "fr" | "it" | "ja" | "ko" | "pl-PL" | "pt-PT" | "pt-BR" | "ru" | "th" | "tr-TR" | "uk-UA" | "zh-CN" | "zh-HK" | "zh-TW";
11
+ title: "العربية" | "Čeština" | "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<["ar", "de", "en", "es", "fr", "it", "ja", "ko", "pl-PL", "pt-PT", "pt-BR", "ru", "th", "tr-TR", "uk-UA", "zh-CN", "zh-HK", "zh-TW"]>;
13
+ export declare const builtInLanguageTagGuard: z.ZodEnum<["ar", "cs", "de", "en", "es", "fr", "it", "ja", "ko", "pl-PL", "pt-PT", "pt-BR", "ru", "th", "tr-TR", "uk-UA", "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;
package/lib/index.js CHANGED
@@ -1,6 +1,7 @@
1
- import { languages, fallback } from '@logto/language-kit';
1
+ import { languages, findSupportedLanguageTag } from '@logto/language-kit';
2
2
  import { z } from 'zod';
3
3
  import ar from './locales/ar/index.js';
4
+ import cs from './locales/cs/index.js';
4
5
  import de from './locales/de/index.js';
5
6
  import en from './locales/en/index.js';
6
7
  import es from './locales/es/index.js';
@@ -20,6 +21,7 @@ import zhHK from './locales/zh-hk/index.js';
20
21
  import zhTW from './locales/zh-tw/index.js';
21
22
  export const builtInLanguages = [
22
23
  'ar',
24
+ 'cs',
23
25
  'de',
24
26
  'en',
25
27
  'es',
@@ -45,6 +47,7 @@ export const builtInLanguageOptions = builtInLanguages.map((languageTag) => ({
45
47
  export const builtInLanguageTagGuard = z.enum(builtInLanguages);
46
48
  const resource = {
47
49
  ar,
50
+ cs,
48
51
  de,
49
52
  en,
50
53
  es,
@@ -63,6 +66,6 @@ const resource = {
63
66
  'zh-HK': zhHK,
64
67
  'zh-TW': zhTW,
65
68
  };
66
- export const getDefaultLanguageTag = (language) => builtInLanguageTagGuard.or(fallback('en')).parse(language);
69
+ export const getDefaultLanguageTag = (language) => builtInLanguageTagGuard.parse(findSupportedLanguageTag(language ? [language] : [], builtInLanguages, 'en'));
67
70
  export const isBuiltInLanguageTag = (language) => builtInLanguageTagGuard.safeParse(language).success;
68
71
  export default resource;
@@ -3,6 +3,12 @@ declare const _default: Readonly<{
3
3
  title: string;
4
4
  description: string;
5
5
  };
6
+ page: {
7
+ title: string;
8
+ security_title: string;
9
+ security_description: string;
10
+ support: string;
11
+ };
6
12
  verification: {
7
13
  title: string;
8
14
  description: string;
@@ -52,6 +58,39 @@ declare const _default: Readonly<{
52
58
  description: string;
53
59
  success: string;
54
60
  };
61
+ security: {
62
+ add: string;
63
+ change: string;
64
+ remove: string;
65
+ not_set: string;
66
+ social_sign_in: string;
67
+ social_not_linked: string;
68
+ email_phone: string;
69
+ email: string;
70
+ phone: string;
71
+ password: string;
72
+ configured: string;
73
+ not_configured: string;
74
+ two_step_verification: string;
75
+ authenticator_app: string;
76
+ passkeys: string;
77
+ backup_codes: string;
78
+ email_verification_code: string;
79
+ phone_verification_code: string;
80
+ passkeys_count_one: string;
81
+ passkeys_count_other: string;
82
+ backup_codes_count_one: string;
83
+ backup_codes_count_other: string;
84
+ view: string;
85
+ manage: string;
86
+ };
87
+ social: {
88
+ linked: string;
89
+ not_enabled: string;
90
+ removed: string;
91
+ remove_confirmation_title: string;
92
+ remove_confirmation_description: string;
93
+ };
55
94
  password: {
56
95
  title: string;
57
96
  description: string;
@@ -122,6 +161,10 @@ declare const _default: Readonly<{
122
161
  title: string;
123
162
  description: string;
124
163
  };
164
+ totp_replaced: {
165
+ title: string;
166
+ description: string;
167
+ };
125
168
  backup_code: {
126
169
  title: string;
127
170
  description: string;
@@ -3,6 +3,12 @@ const account_center = {
3
3
  title: 'الصفحة غير موجودة',
4
4
  description: 'هذه الصفحة غير متاحة.',
5
5
  },
6
+ page: {
7
+ title: 'الحساب',
8
+ security_title: 'الأمان',
9
+ security_description: 'غيّر إعدادات حسابك هنا لضمان أمان حسابك.',
10
+ support: 'الدعم',
11
+ },
6
12
  verification: {
7
13
  title: 'التحقق الأمني',
8
14
  description: 'تحقق من أنك الشخص المقصود لحماية أمان حسابك. يرجى اختيار الطريقة للتحقق من هويتك.',
@@ -52,6 +58,39 @@ const account_center = {
52
58
  description: 'يجب أن يحتوي اسم المستخدم على أحرف وأرقام وشرطات سفلية فقط.',
53
59
  success: 'تم تحديث اسم المستخدم بنجاح.',
54
60
  },
61
+ security: {
62
+ add: 'إضافة',
63
+ change: 'تغيير',
64
+ remove: 'إزالة',
65
+ not_set: 'غير محدد',
66
+ social_sign_in: 'تسجيل الدخول الاجتماعي',
67
+ social_not_linked: 'غير مرتبط',
68
+ email_phone: 'البريد الإلكتروني / الهاتف',
69
+ email: 'البريد الإلكتروني',
70
+ phone: 'الهاتف',
71
+ password: 'كلمة المرور',
72
+ configured: 'تم الإعداد',
73
+ not_configured: 'غير معدّ',
74
+ two_step_verification: 'التحقق بخطوتين',
75
+ authenticator_app: 'تطبيق المصادقة',
76
+ passkeys: 'مفاتيح المرور',
77
+ backup_codes: 'رموز النسخ الاحتياطي',
78
+ email_verification_code: 'رمز التحقق عبر البريد الإلكتروني',
79
+ phone_verification_code: 'رمز التحقق عبر الهاتف',
80
+ passkeys_count_one: '{{count}} مفتاح مرور',
81
+ passkeys_count_other: '{{count}} مفاتيح مرور',
82
+ backup_codes_count_one: '{{count}} رمز متبقٍ',
83
+ backup_codes_count_other: '{{count}} رموز متبقية',
84
+ view: 'عرض',
85
+ manage: 'إدارة',
86
+ },
87
+ social: {
88
+ linked: 'تم ربط {{connector}} بنجاح.',
89
+ not_enabled: 'طريقة تسجيل الدخول الاجتماعي هذه غير مفعلة. يُرجى التواصل مع المسؤول للحصول على المساعدة.',
90
+ removed: 'تمت إزالة {{connector}} بنجاح.',
91
+ remove_confirmation_title: 'إزالة الحساب الاجتماعي',
92
+ remove_confirmation_description: 'إذا أزلت {{connector}}، فقد لا تتمكن من تسجيل الدخول به حتى تقوم بإضافته مرة أخرى.',
93
+ },
55
94
  password: {
56
95
  title: 'تعيين كلمة المرور',
57
96
  description: 'أنشئ كلمة مرور جديدة لحماية حسابك.',
@@ -122,6 +161,10 @@ const account_center = {
122
161
  title: 'تمت إضافة تطبيق المصادقة!',
123
162
  description: 'تم ربط تطبيق المصادقة بحسابك بنجاح.',
124
163
  },
164
+ totp_replaced: {
165
+ title: 'تم استبدال تطبيق المصادقة!',
166
+ description: 'تم استبدال تطبيق المصادقة الخاص بك بنجاح.',
167
+ },
125
168
  backup_code: {
126
169
  title: 'تم إنشاء رموز النسخ الاحتياطي!',
127
170
  description: 'تم حفظ رموز النسخ الاحتياطي الخاصة بك. احتفظ بها في مكان آمن.',
@@ -50,6 +50,11 @@ declare const _default: Readonly<{
50
50
  continue_with_more_information: string;
51
51
  create_your_account: string;
52
52
  sign_in_to_your_account: string;
53
+ device_activation: string;
54
+ device_activation_description: string;
55
+ device_activation_error_description: string;
56
+ device_activation_success: string;
57
+ device_activation_success_description: string;
53
58
  no_region_code_found: string;
54
59
  verify_email: string;
55
60
  verify_phone: string;
@@ -50,6 +50,11 @@ const description = {
50
50
  continue_with_more_information: 'لزيادة الأمان، يرجى استكمال تفاصيل الحساب أدناه.',
51
51
  create_your_account: 'إنشاء حسابك',
52
52
  sign_in_to_your_account: 'تسجيل الدخول إلى حسابك',
53
+ device_activation: 'تفعيل الجهاز',
54
+ device_activation_description: 'أدخل الرمز المعروض على جهازك. تأكد من تطابقه، ثم تابع لتسجيل الدخول إلى هذا الجهاز.',
55
+ device_activation_error_description: 'أدخل الرمز المعروض على جهازك.',
56
+ device_activation_success: 'تم توصيل جهازك!',
57
+ device_activation_success_description: 'عد إلى جهازك للمتابعة.',
53
58
  no_region_code_found: 'لم يتم العثور على رمز المنطقة',
54
59
  verify_email: 'تحقق من بريدك الإلكتروني',
55
60
  verify_phone: 'تحقق من رقم هاتفك',
@@ -12,6 +12,9 @@ declare const _default: Readonly<{
12
12
  invalid_phone: string;
13
13
  passwords_do_not_match: string;
14
14
  invalid_passcode: string;
15
+ device_code_required: string;
16
+ invalid_device_code: string;
17
+ device_flow_aborted: string;
15
18
  invalid_connector_auth: string;
16
19
  invalid_connector_request: string;
17
20
  unknown: string;
@@ -13,6 +13,9 @@ const error = {
13
13
  invalid_phone: 'رقم الهاتف غير صالح',
14
14
  passwords_do_not_match: 'كلمات المرور غير متطابقة. يرجى المحاولة مرة أخرى.',
15
15
  invalid_passcode: 'رمز التحقق غير صالح.',
16
+ device_code_required: 'الرمز مطلوب.',
17
+ invalid_device_code: 'رمز الجهاز غير صالح.',
18
+ device_flow_aborted: 'تم مقاطعة طلب تسجيل الدخول.',
16
19
  invalid_connector_auth: 'التوثيق غير صالح',
17
20
  invalid_connector_request: 'بيانات الموصل غير صالحة',
18
21
  unknown: 'خطأ غير معروف. يرجى المحاولة مرة أخرى لاحقًا.',
@@ -8,6 +8,7 @@ declare const _default: Readonly<{
8
8
  confirm_password: string;
9
9
  search_region_code: string;
10
10
  backup_code: string;
11
+ code: string;
11
12
  label_with_optional: string;
12
13
  }>;
13
14
  secondary: Readonly<{
@@ -106,6 +107,11 @@ declare const _default: Readonly<{
106
107
  continue_with_more_information: string;
107
108
  create_your_account: string;
108
109
  sign_in_to_your_account: string;
110
+ device_activation: string;
111
+ device_activation_description: string;
112
+ device_activation_error_description: string;
113
+ device_activation_success: string;
114
+ device_activation_success_description: string;
109
115
  no_region_code_found: string;
110
116
  verify_email: string;
111
117
  verify_phone: string;
@@ -175,6 +181,9 @@ declare const _default: Readonly<{
175
181
  invalid_phone: string;
176
182
  passwords_do_not_match: string;
177
183
  invalid_passcode: string;
184
+ device_code_required: string;
185
+ invalid_device_code: string;
186
+ device_flow_aborted: string;
178
187
  invalid_connector_auth: string;
179
188
  invalid_connector_request: string;
180
189
  unknown: string;
@@ -228,6 +237,9 @@ declare const _default: Readonly<{
228
237
  verify_phone_verification_code_description: string;
229
238
  send_to_email: string;
230
239
  send_to_phone: string;
240
+ onboarding: string;
241
+ onboarding_description: string;
242
+ enable_mfa: string;
231
243
  add_mfa_factors: string;
232
244
  add_mfa_description: string;
233
245
  add_another_mfa_factor: string;
@@ -235,6 +247,7 @@ declare const _default: Readonly<{
235
247
  verify_mfa_factors: string;
236
248
  verify_mfa_description: string;
237
249
  add_authenticator_app: string;
250
+ replace_authenticator_app: string;
238
251
  step: string;
239
252
  scan_qr_code: string;
240
253
  scan_qr_code_description: string;
@@ -319,6 +332,12 @@ declare const _default: Readonly<{
319
332
  title: string;
320
333
  description: string;
321
334
  };
335
+ page: {
336
+ title: string;
337
+ security_title: string;
338
+ security_description: string;
339
+ support: string;
340
+ };
322
341
  verification: {
323
342
  title: string;
324
343
  description: string;
@@ -368,6 +387,39 @@ declare const _default: Readonly<{
368
387
  description: string;
369
388
  success: string;
370
389
  };
390
+ security: {
391
+ add: string;
392
+ change: string;
393
+ remove: string;
394
+ not_set: string;
395
+ social_sign_in: string;
396
+ social_not_linked: string;
397
+ email_phone: string;
398
+ email: string;
399
+ phone: string;
400
+ password: string;
401
+ configured: string;
402
+ not_configured: string;
403
+ two_step_verification: string;
404
+ authenticator_app: string;
405
+ passkeys: string;
406
+ backup_codes: string;
407
+ email_verification_code: string;
408
+ phone_verification_code: string;
409
+ passkeys_count_one: string;
410
+ passkeys_count_other: string;
411
+ backup_codes_count_one: string;
412
+ backup_codes_count_other: string;
413
+ view: string;
414
+ manage: string;
415
+ };
416
+ social: {
417
+ linked: string;
418
+ not_enabled: string;
419
+ removed: string;
420
+ remove_confirmation_title: string;
421
+ remove_confirmation_description: string;
422
+ };
371
423
  password: {
372
424
  title: string;
373
425
  description: string;
@@ -438,6 +490,10 @@ declare const _default: Readonly<{
438
490
  title: string;
439
491
  description: string;
440
492
  };
493
+ totp_replaced: {
494
+ title: string;
495
+ description: string;
496
+ };
441
497
  backup_code: {
442
498
  title: string;
443
499
  description: string;
@@ -6,6 +6,7 @@ declare const _default: Readonly<{
6
6
  confirm_password: string;
7
7
  search_region_code: string;
8
8
  backup_code: string;
9
+ code: string;
9
10
  label_with_optional: string;
10
11
  }>;
11
12
  export default _default;
@@ -6,6 +6,7 @@ const input = {
6
6
  confirm_password: 'تأكيد كلمة المرور',
7
7
  search_region_code: 'رمز منطقة البحث',
8
8
  backup_code: 'رمز النسخ الاحتياطي',
9
+ code: 'الرمز',
9
10
  label_with_optional: '(اختياري) {{label}}',
10
11
  };
11
12
  export default Object.freeze(input);
@@ -18,6 +18,9 @@ declare const _default: Readonly<{
18
18
  verify_phone_verification_code_description: string;
19
19
  send_to_email: string;
20
20
  send_to_phone: string;
21
+ onboarding: string;
22
+ onboarding_description: string;
23
+ enable_mfa: string;
21
24
  add_mfa_factors: string;
22
25
  add_mfa_description: string;
23
26
  add_another_mfa_factor: string;
@@ -25,6 +28,7 @@ declare const _default: Readonly<{
25
28
  verify_mfa_factors: string;
26
29
  verify_mfa_description: string;
27
30
  add_authenticator_app: string;
31
+ replace_authenticator_app: string;
28
32
  step: string;
29
33
  scan_qr_code: string;
30
34
  scan_qr_code_description: string;
@@ -18,6 +18,9 @@ const mfa = {
18
18
  verify_phone_verification_code_description: 'أدخل الرمز المرسل إلى هاتفك',
19
19
  send_to_email: 'إرسال إلى {{identifier}}',
20
20
  send_to_phone: 'إرسال إلى {{identifier}}',
21
+ onboarding: 'تشغيل التحقق بخطوتين',
22
+ onboarding_description: 'احمِ حسابك بالتحقق بخطوتين. اختر طريقة أو أكثر: مفتاح المرور، تطبيق المصادقة (OTP)، رمز التحقق عبر الرسائل القصيرة، أو رموز النسخ الاحتياطي.',
23
+ enable_mfa: 'تفعيل التحقق بخطوتين',
21
24
  add_mfa_factors: 'إضافة التحقق من خطوتين',
22
25
  add_mfa_description: 'تم تمكين التحقق من خطوتين. حدد طريقة التحقق الثانية لتسجيل الدخول الآمن.',
23
26
  add_another_mfa_factor: 'إضافة تحقق آخر من خطوتين',
@@ -25,6 +28,7 @@ const mfa = {
25
28
  verify_mfa_factors: 'التحقق من خطوتين',
26
29
  verify_mfa_description: 'تم تمكين التحقق من خطوتين لهذا الحساب. يرجى تحديد الطريقة الثانية للتحقق من هويتك.',
27
30
  add_authenticator_app: 'إضافة تطبيق المصادقة',
31
+ replace_authenticator_app: 'استبدال تطبيق المصادقة',
28
32
  step: 'الخطوة {{step, number}}: {{content}}',
29
33
  scan_qr_code: 'مسح رمز الاستجابة السريعة هذا',
30
34
  scan_qr_code_description: 'مسح رمز الاستجابة السريعة التالي باستخدام تطبيق المصادقة الخاص بك ، مثل Google Authenticator و Duo Mobile و Authy ، إلخ.',
@@ -0,0 +1,208 @@
1
+ declare const _default: Readonly<{
2
+ home: {
3
+ title: string;
4
+ description: string;
5
+ };
6
+ page: {
7
+ title: string;
8
+ security_title: string;
9
+ security_description: string;
10
+ support: string;
11
+ };
12
+ verification: {
13
+ title: string;
14
+ description: string;
15
+ error_send_failed: string;
16
+ error_invalid_code: string;
17
+ error_verify_failed: string;
18
+ verification_required: string;
19
+ try_another_method: string;
20
+ };
21
+ password_verification: {
22
+ title: string;
23
+ description: string;
24
+ error_failed: string;
25
+ };
26
+ verification_method: {
27
+ password: {
28
+ name: string;
29
+ description: string;
30
+ };
31
+ email: {
32
+ name: string;
33
+ description: string;
34
+ };
35
+ phone: {
36
+ name: string;
37
+ description: string;
38
+ };
39
+ };
40
+ email: {
41
+ title: string;
42
+ description: string;
43
+ verification_title: string;
44
+ verification_description: string;
45
+ success: string;
46
+ verification_required: string;
47
+ };
48
+ phone: {
49
+ title: string;
50
+ description: string;
51
+ verification_title: string;
52
+ verification_description: string;
53
+ success: string;
54
+ verification_required: string;
55
+ };
56
+ username: {
57
+ title: string;
58
+ description: string;
59
+ success: string;
60
+ };
61
+ security: {
62
+ add: string;
63
+ change: string;
64
+ remove: string;
65
+ not_set: string;
66
+ social_sign_in: string;
67
+ social_not_linked: string;
68
+ email_phone: string;
69
+ email: string;
70
+ phone: string;
71
+ password: string;
72
+ configured: string;
73
+ not_configured: string;
74
+ two_step_verification: string;
75
+ authenticator_app: string;
76
+ passkeys: string;
77
+ backup_codes: string;
78
+ email_verification_code: string;
79
+ phone_verification_code: string;
80
+ passkeys_count_one: string;
81
+ passkeys_count_other: string;
82
+ backup_codes_count_one: string;
83
+ backup_codes_count_other: string;
84
+ view: string;
85
+ manage: string;
86
+ };
87
+ social: {
88
+ linked: string;
89
+ removed: string;
90
+ not_enabled: string;
91
+ remove_confirmation_title: string;
92
+ remove_confirmation_description: string;
93
+ };
94
+ password: {
95
+ title: string;
96
+ description: string;
97
+ success: string;
98
+ };
99
+ code_verification: {
100
+ send: string;
101
+ resend: string;
102
+ resend_countdown: string;
103
+ };
104
+ email_verification: {
105
+ title: string;
106
+ prepare_description: string;
107
+ email_label: string;
108
+ send: string;
109
+ description: string;
110
+ resend: string;
111
+ not_received: string;
112
+ resend_action: string;
113
+ resend_countdown: string;
114
+ error_send_failed: string;
115
+ error_verify_failed: string;
116
+ error_invalid_code: string;
117
+ };
118
+ phone_verification: {
119
+ title: string;
120
+ prepare_description: string;
121
+ phone_label: string;
122
+ send: string;
123
+ description: string;
124
+ resend: string;
125
+ resend_countdown: string;
126
+ error_send_failed: string;
127
+ error_verify_failed: string;
128
+ error_invalid_code: string;
129
+ };
130
+ mfa: {
131
+ totp_already_added: string;
132
+ totp_not_enabled: string;
133
+ backup_code_already_added: string;
134
+ backup_code_not_enabled: string;
135
+ backup_code_requires_other_mfa: string;
136
+ passkey_not_enabled: string;
137
+ passkey_already_registered: string;
138
+ };
139
+ update_success: {
140
+ default: {
141
+ title: string;
142
+ description: string;
143
+ };
144
+ email: {
145
+ title: string;
146
+ description: string;
147
+ };
148
+ phone: {
149
+ title: string;
150
+ description: string;
151
+ };
152
+ username: {
153
+ title: string;
154
+ description: string;
155
+ };
156
+ password: {
157
+ title: string;
158
+ description: string;
159
+ };
160
+ totp: {
161
+ title: string;
162
+ description: string;
163
+ };
164
+ totp_replaced: {
165
+ title: string;
166
+ description: string;
167
+ };
168
+ backup_code: {
169
+ title: string;
170
+ description: string;
171
+ };
172
+ passkey: {
173
+ title: string;
174
+ description: string;
175
+ };
176
+ social: {
177
+ title: string;
178
+ description: string;
179
+ };
180
+ };
181
+ backup_code: {
182
+ title: string;
183
+ description: string;
184
+ copy_hint: string;
185
+ generate_new_title: string;
186
+ generate_new: string;
187
+ };
188
+ passkey: {
189
+ title: string;
190
+ added: string;
191
+ last_used: string;
192
+ never_used: string;
193
+ unnamed: string;
194
+ renamed: string;
195
+ deleted: string;
196
+ add_another_title: string;
197
+ add_another_description: string;
198
+ add_passkey: string;
199
+ delete_confirmation_title: string;
200
+ delete_confirmation_description: string;
201
+ rename_passkey: string;
202
+ rename_description: string;
203
+ name_this_passkey: string;
204
+ name_passkey_description: string;
205
+ name_input_label: string;
206
+ };
207
+ }>;
208
+ export default _default;