@prosopo/locale 3.9.1 → 3.10.1

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 (409) hide show
  1. package/.turbo/turbo-build$colon$cjs.log +266 -13
  2. package/.turbo/turbo-build$colon$tsc.log +5 -5
  3. package/.turbo/turbo-build.log +266 -13
  4. package/CHANGELOG.md +42 -0
  5. package/README.md +203 -0
  6. package/dist/browserUiLanguages.d.ts +10 -0
  7. package/dist/browserUiLanguages.d.ts.map +1 -0
  8. package/dist/browserUiLanguages.js +768 -0
  9. package/dist/browserUiLanguages.js.map +1 -0
  10. package/dist/cjs/browserUiLanguages.cjs +768 -0
  11. package/dist/cjs/direction.cjs +30 -15
  12. package/dist/cjs/errorMessage.cjs +3 -2
  13. package/dist/cjs/i18SharedOptions.cjs +0 -1
  14. package/dist/cjs/i18nBackend.cjs +33 -20
  15. package/dist/cjs/i18nFrontend.cjs +23 -73
  16. package/dist/cjs/index.cjs +23 -2
  17. package/dist/cjs/languagePreference.cjs +142 -0
  18. package/dist/cjs/loadI18next.cjs +4 -4
  19. package/dist/cjs/locales/en/target.cjs +304 -0
  20. package/dist/cjs/locales/en/translation.cjs +1 -459
  21. package/dist/cjs/locales/en/widget.cjs +162 -0
  22. package/dist/cjs/requestLanguageDetector.cjs +24 -0
  23. package/dist/cjs/serverTranslationKeys.cjs +38 -0
  24. package/dist/cjs/translationKey.cjs +29 -7
  25. package/dist/cjs/translations.cjs +63 -2
  26. package/dist/cjs/translator.cjs +2 -1
  27. package/dist/direction.d.ts.map +1 -1
  28. package/dist/direction.js +30 -15
  29. package/dist/direction.js.map +1 -1
  30. package/dist/errorMessage.d.ts.map +1 -1
  31. package/dist/errorMessage.js +4 -3
  32. package/dist/errorMessage.js.map +1 -1
  33. package/dist/i18SharedOptions.d.ts +0 -1
  34. package/dist/i18SharedOptions.d.ts.map +1 -1
  35. package/dist/i18SharedOptions.js +0 -1
  36. package/dist/i18SharedOptions.js.map +1 -1
  37. package/dist/i18nBackend.d.ts +3 -1
  38. package/dist/i18nBackend.d.ts.map +1 -1
  39. package/dist/i18nBackend.js +32 -22
  40. package/dist/i18nBackend.js.map +1 -1
  41. package/dist/i18nFrontend.d.ts.map +1 -1
  42. package/dist/i18nFrontend.js +23 -73
  43. package/dist/i18nFrontend.js.map +1 -1
  44. package/dist/index.d.ts +8 -3
  45. package/dist/index.d.ts.map +1 -1
  46. package/dist/index.js +5 -2
  47. package/dist/index.js.map +1 -1
  48. package/dist/languagePreference.d.ts +17 -0
  49. package/dist/languagePreference.d.ts.map +1 -0
  50. package/dist/languagePreference.js +132 -0
  51. package/dist/languagePreference.js.map +1 -0
  52. package/dist/loadI18next.js +4 -4
  53. package/dist/locales/af/target.json +301 -0
  54. package/dist/locales/af/translation.json +71 -0
  55. package/dist/locales/af/widget.json +149 -0
  56. package/dist/locales/am/target.json +301 -0
  57. package/dist/locales/am/translation.json +71 -0
  58. package/dist/locales/am/widget.json +149 -0
  59. package/dist/locales/an/target.json +301 -0
  60. package/dist/locales/an/translation.json +71 -0
  61. package/dist/locales/an/widget.json +149 -0
  62. package/dist/locales/ar/target.json +301 -0
  63. package/dist/locales/ar/translation.json +0 -446
  64. package/dist/locales/ar/widget.json +149 -0
  65. package/dist/locales/as/target.json +301 -0
  66. package/dist/locales/as/translation.json +71 -0
  67. package/dist/locales/as/widget.json +149 -0
  68. package/dist/locales/ast/target.json +301 -0
  69. package/dist/locales/ast/translation.json +71 -0
  70. package/dist/locales/ast/widget.json +149 -0
  71. package/dist/locales/az/target.json +301 -0
  72. package/dist/locales/az/translation.json +0 -446
  73. package/dist/locales/az/widget.json +149 -0
  74. package/dist/locales/be/target.json +301 -0
  75. package/dist/locales/be/translation.json +71 -0
  76. package/dist/locales/be/widget.json +149 -0
  77. package/dist/locales/bg/target.json +301 -0
  78. package/dist/locales/bg/translation.json +71 -0
  79. package/dist/locales/bg/widget.json +149 -0
  80. package/dist/locales/bn/target.json +301 -0
  81. package/dist/locales/bn/translation.json +71 -0
  82. package/dist/locales/bn/widget.json +149 -0
  83. package/dist/locales/bs/target.json +301 -0
  84. package/dist/locales/bs/translation.json +71 -0
  85. package/dist/locales/bs/widget.json +149 -0
  86. package/dist/locales/ca/target.json +301 -0
  87. package/dist/locales/ca/translation.json +71 -0
  88. package/dist/locales/ca/widget.json +149 -0
  89. package/dist/locales/cs/target.json +301 -0
  90. package/dist/locales/cs/translation.json +0 -446
  91. package/dist/locales/cs/widget.json +149 -0
  92. package/dist/locales/cy/target.json +301 -0
  93. package/dist/locales/cy/translation.json +71 -0
  94. package/dist/locales/cy/widget.json +149 -0
  95. package/dist/locales/da/target.json +301 -0
  96. package/dist/locales/da/translation.json +71 -0
  97. package/dist/locales/da/widget.json +149 -0
  98. package/dist/locales/de/target.json +301 -0
  99. package/dist/locales/de/translation.json +0 -446
  100. package/dist/locales/de/widget.json +149 -0
  101. package/dist/locales/el/target.json +301 -0
  102. package/dist/locales/el/translation.json +0 -446
  103. package/dist/locales/el/widget.json +149 -0
  104. package/dist/locales/en/target.js +303 -0
  105. package/dist/locales/en/target.json +301 -0
  106. package/dist/locales/en/translation.js +2 -453
  107. package/dist/locales/en/translation.json +0 -446
  108. package/dist/locales/en/widget.js +156 -0
  109. package/dist/locales/en/widget.json +149 -0
  110. package/dist/locales/eo/target.json +301 -0
  111. package/dist/locales/eo/translation.json +71 -0
  112. package/dist/locales/eo/widget.json +149 -0
  113. package/dist/locales/es/target.json +301 -0
  114. package/dist/locales/es/translation.json +0 -446
  115. package/dist/locales/es/widget.json +149 -0
  116. package/dist/locales/et/target.json +301 -0
  117. package/dist/locales/et/translation.json +71 -0
  118. package/dist/locales/et/widget.json +149 -0
  119. package/dist/locales/eu/target.json +301 -0
  120. package/dist/locales/eu/translation.json +71 -0
  121. package/dist/locales/eu/widget.json +149 -0
  122. package/dist/locales/fa/target.json +301 -0
  123. package/dist/locales/fa/translation.json +71 -0
  124. package/dist/locales/fa/widget.json +149 -0
  125. package/dist/locales/fi/target.json +301 -0
  126. package/dist/locales/fi/translation.json +0 -446
  127. package/dist/locales/fi/widget.json +149 -0
  128. package/dist/locales/fil/target.json +301 -0
  129. package/dist/locales/fil/translation.json +71 -0
  130. package/dist/locales/fil/widget.json +149 -0
  131. package/dist/locales/fr/target.json +301 -0
  132. package/dist/locales/fr/translation.json +0 -446
  133. package/dist/locales/fr/widget.json +149 -0
  134. package/dist/locales/fy/target.json +301 -0
  135. package/dist/locales/fy/translation.json +71 -0
  136. package/dist/locales/fy/widget.json +149 -0
  137. package/dist/locales/ga/target.json +301 -0
  138. package/dist/locales/ga/translation.json +71 -0
  139. package/dist/locales/ga/widget.json +149 -0
  140. package/dist/locales/gd/target.json +301 -0
  141. package/dist/locales/gd/translation.json +71 -0
  142. package/dist/locales/gd/widget.json +149 -0
  143. package/dist/locales/gl/target.json +301 -0
  144. package/dist/locales/gl/translation.json +71 -0
  145. package/dist/locales/gl/widget.json +149 -0
  146. package/dist/locales/gu/target.json +301 -0
  147. package/dist/locales/gu/translation.json +71 -0
  148. package/dist/locales/gu/widget.json +149 -0
  149. package/dist/locales/he/target.json +301 -0
  150. package/dist/locales/he/translation.json +71 -0
  151. package/dist/locales/he/widget.json +149 -0
  152. package/dist/locales/hi/target.json +301 -0
  153. package/dist/locales/hi/translation.json +0 -446
  154. package/dist/locales/hi/widget.json +149 -0
  155. package/dist/locales/hr/target.json +301 -0
  156. package/dist/locales/hr/translation.json +71 -0
  157. package/dist/locales/hr/widget.json +149 -0
  158. package/dist/locales/hu/target.json +301 -0
  159. package/dist/locales/hu/translation.json +0 -446
  160. package/dist/locales/hu/widget.json +149 -0
  161. package/dist/locales/hy/target.json +301 -0
  162. package/dist/locales/hy/translation.json +71 -0
  163. package/dist/locales/hy/widget.json +149 -0
  164. package/dist/locales/ia/target.json +301 -0
  165. package/dist/locales/ia/translation.json +71 -0
  166. package/dist/locales/ia/widget.json +149 -0
  167. package/dist/locales/id/target.json +301 -0
  168. package/dist/locales/id/translation.json +10 -456
  169. package/dist/locales/id/widget.json +149 -0
  170. package/dist/locales/is/target.json +301 -0
  171. package/dist/locales/is/translation.json +71 -0
  172. package/dist/locales/is/widget.json +149 -0
  173. package/dist/locales/it/target.json +301 -0
  174. package/dist/locales/it/translation.json +0 -446
  175. package/dist/locales/it/widget.json +149 -0
  176. package/dist/locales/ja/target.json +301 -0
  177. package/dist/locales/ja/translation.json +0 -446
  178. package/dist/locales/ja/widget.json +149 -0
  179. package/dist/locales/jv/target.json +301 -0
  180. package/dist/locales/jv/translation.json +47 -493
  181. package/dist/locales/jv/widget.json +149 -0
  182. package/dist/locales/ka/target.json +301 -0
  183. package/dist/locales/ka/translation.json +71 -0
  184. package/dist/locales/ka/widget.json +149 -0
  185. package/dist/locales/kk/target.json +301 -0
  186. package/dist/locales/kk/translation.json +71 -0
  187. package/dist/locales/kk/widget.json +149 -0
  188. package/dist/locales/km/target.json +301 -0
  189. package/dist/locales/km/translation.json +71 -0
  190. package/dist/locales/km/widget.json +149 -0
  191. package/dist/locales/kn/target.json +301 -0
  192. package/dist/locales/kn/translation.json +71 -0
  193. package/dist/locales/kn/widget.json +149 -0
  194. package/dist/locales/ko/target.json +301 -0
  195. package/dist/locales/ko/translation.json +0 -446
  196. package/dist/locales/ko/widget.json +149 -0
  197. package/dist/locales/ky/target.json +301 -0
  198. package/dist/locales/ky/translation.json +71 -0
  199. package/dist/locales/ky/widget.json +149 -0
  200. package/dist/locales/lo/target.json +301 -0
  201. package/dist/locales/lo/translation.json +71 -0
  202. package/dist/locales/lo/widget.json +149 -0
  203. package/dist/locales/lt/target.json +301 -0
  204. package/dist/locales/lt/translation.json +71 -0
  205. package/dist/locales/lt/widget.json +149 -0
  206. package/dist/locales/lv/target.json +301 -0
  207. package/dist/locales/lv/translation.json +71 -0
  208. package/dist/locales/lv/widget.json +149 -0
  209. package/dist/locales/mk/target.json +301 -0
  210. package/dist/locales/mk/translation.json +71 -0
  211. package/dist/locales/mk/widget.json +149 -0
  212. package/dist/locales/ml/target.json +301 -0
  213. package/dist/locales/ml/translation.json +47 -493
  214. package/dist/locales/ml/widget.json +149 -0
  215. package/dist/locales/mn/target.json +301 -0
  216. package/dist/locales/mn/translation.json +71 -0
  217. package/dist/locales/mn/widget.json +149 -0
  218. package/dist/locales/mr/target.json +301 -0
  219. package/dist/locales/mr/translation.json +71 -0
  220. package/dist/locales/mr/widget.json +149 -0
  221. package/dist/locales/ms/target.json +301 -0
  222. package/dist/locales/ms/translation.json +47 -493
  223. package/dist/locales/ms/widget.json +149 -0
  224. package/dist/locales/my/target.json +301 -0
  225. package/dist/locales/my/translation.json +71 -0
  226. package/dist/locales/my/widget.json +149 -0
  227. package/dist/locales/ne/target.json +301 -0
  228. package/dist/locales/ne/translation.json +71 -0
  229. package/dist/locales/ne/widget.json +149 -0
  230. package/dist/locales/nl/target.json +301 -0
  231. package/dist/locales/nl/translation.json +0 -446
  232. package/dist/locales/nl/widget.json +149 -0
  233. package/dist/locales/nn/target.json +301 -0
  234. package/dist/locales/nn/translation.json +71 -0
  235. package/dist/locales/nn/widget.json +149 -0
  236. package/dist/locales/no/target.json +301 -0
  237. package/dist/locales/no/translation.json +1 -447
  238. package/dist/locales/no/widget.json +149 -0
  239. package/dist/locales/oc/target.json +301 -0
  240. package/dist/locales/oc/translation.json +71 -0
  241. package/dist/locales/oc/widget.json +149 -0
  242. package/dist/locales/or/target.json +301 -0
  243. package/dist/locales/or/translation.json +71 -0
  244. package/dist/locales/or/widget.json +149 -0
  245. package/dist/locales/pa/target.json +301 -0
  246. package/dist/locales/pa/translation.json +71 -0
  247. package/dist/locales/pa/widget.json +149 -0
  248. package/dist/locales/pl/target.json +301 -0
  249. package/dist/locales/pl/translation.json +0 -446
  250. package/dist/locales/pl/widget.json +149 -0
  251. package/dist/locales/pt/target.json +301 -0
  252. package/dist/locales/pt/translation.json +0 -446
  253. package/dist/locales/pt/widget.json +149 -0
  254. package/dist/locales/pt-BR/target.json +301 -0
  255. package/dist/locales/pt-BR/translation.json +0 -446
  256. package/dist/locales/pt-BR/widget.json +149 -0
  257. package/dist/locales/rm/target.json +301 -0
  258. package/dist/locales/rm/translation.json +71 -0
  259. package/dist/locales/rm/widget.json +149 -0
  260. package/dist/locales/ro/target.json +301 -0
  261. package/dist/locales/ro/translation.json +0 -446
  262. package/dist/locales/ro/widget.json +149 -0
  263. package/dist/locales/ru/target.json +301 -0
  264. package/dist/locales/ru/translation.json +0 -446
  265. package/dist/locales/ru/widget.json +149 -0
  266. package/dist/locales/sco/target.json +301 -0
  267. package/dist/locales/sco/translation.json +71 -0
  268. package/dist/locales/sco/widget.json +149 -0
  269. package/dist/locales/si/target.json +301 -0
  270. package/dist/locales/si/translation.json +71 -0
  271. package/dist/locales/si/widget.json +149 -0
  272. package/dist/locales/sk/target.json +301 -0
  273. package/dist/locales/sk/translation.json +71 -0
  274. package/dist/locales/sk/widget.json +149 -0
  275. package/dist/locales/sl/target.json +301 -0
  276. package/dist/locales/sl/translation.json +71 -0
  277. package/dist/locales/sl/widget.json +149 -0
  278. package/dist/locales/sq/target.json +301 -0
  279. package/dist/locales/sq/translation.json +71 -0
  280. package/dist/locales/sq/widget.json +149 -0
  281. package/dist/locales/sr/target.json +301 -0
  282. package/dist/locales/sr/translation.json +0 -446
  283. package/dist/locales/sr/widget.json +149 -0
  284. package/dist/locales/sv/target.json +301 -0
  285. package/dist/locales/sv/translation.json +0 -446
  286. package/dist/locales/sv/widget.json +149 -0
  287. package/dist/locales/sw/target.json +301 -0
  288. package/dist/locales/sw/translation.json +71 -0
  289. package/dist/locales/sw/widget.json +149 -0
  290. package/dist/locales/ta/target.json +301 -0
  291. package/dist/locales/ta/translation.json +71 -0
  292. package/dist/locales/ta/widget.json +149 -0
  293. package/dist/locales/te/target.json +301 -0
  294. package/dist/locales/te/translation.json +71 -0
  295. package/dist/locales/te/widget.json +149 -0
  296. package/dist/locales/tg/target.json +301 -0
  297. package/dist/locales/tg/translation.json +71 -0
  298. package/dist/locales/tg/widget.json +149 -0
  299. package/dist/locales/th/target.json +301 -0
  300. package/dist/locales/th/translation.json +0 -446
  301. package/dist/locales/th/widget.json +149 -0
  302. package/dist/locales/tr/target.json +301 -0
  303. package/dist/locales/tr/translation.json +6 -452
  304. package/dist/locales/tr/widget.json +149 -0
  305. package/dist/locales/uk/target.json +301 -0
  306. package/dist/locales/uk/translation.json +47 -493
  307. package/dist/locales/uk/widget.json +149 -0
  308. package/dist/locales/ur/target.json +301 -0
  309. package/dist/locales/ur/translation.json +71 -0
  310. package/dist/locales/ur/widget.json +149 -0
  311. package/dist/locales/uz/target.json +301 -0
  312. package/dist/locales/uz/translation.json +71 -0
  313. package/dist/locales/uz/widget.json +149 -0
  314. package/dist/locales/vi/target.json +301 -0
  315. package/dist/locales/vi/translation.json +0 -446
  316. package/dist/locales/vi/widget.json +149 -0
  317. package/dist/locales/xh/target.json +301 -0
  318. package/dist/locales/xh/translation.json +71 -0
  319. package/dist/locales/xh/widget.json +149 -0
  320. package/dist/locales/zh/target.json +301 -0
  321. package/dist/locales/zh/translation.json +71 -0
  322. package/dist/locales/zh/widget.json +149 -0
  323. package/dist/locales/zh-CN/target.json +301 -0
  324. package/dist/locales/zh-CN/translation.json +0 -446
  325. package/dist/locales/zh-CN/widget.json +149 -0
  326. package/dist/locales/zh-HK/target.json +301 -0
  327. package/dist/locales/zh-HK/translation.json +71 -0
  328. package/dist/locales/zh-HK/widget.json +149 -0
  329. package/dist/locales/zh-TW/target.json +301 -0
  330. package/dist/locales/zh-TW/translation.json +71 -0
  331. package/dist/locales/zh-TW/widget.json +149 -0
  332. package/dist/locales/zu/target.json +301 -0
  333. package/dist/locales/zu/translation.json +71 -0
  334. package/dist/locales/zu/widget.json +149 -0
  335. package/dist/requestLanguageDetector.d.ts +3 -0
  336. package/dist/requestLanguageDetector.d.ts.map +1 -0
  337. package/dist/requestLanguageDetector.js +24 -0
  338. package/dist/requestLanguageDetector.js.map +1 -0
  339. package/dist/serverTranslationKeys.d.ts +7 -0
  340. package/dist/serverTranslationKeys.d.ts.map +1 -0
  341. package/dist/serverTranslationKeys.js +34 -0
  342. package/dist/serverTranslationKeys.js.map +1 -0
  343. package/dist/tests/browserBundle.unit.test.d.ts +2 -0
  344. package/dist/tests/browserBundle.unit.test.d.ts.map +1 -0
  345. package/dist/tests/browserBundle.unit.test.js +52 -0
  346. package/dist/tests/browserBundle.unit.test.js.map +1 -0
  347. package/dist/tests/browserUiLanguages.unit.test.d.ts +2 -0
  348. package/dist/tests/browserUiLanguages.unit.test.d.ts.map +1 -0
  349. package/dist/tests/browserUiLanguages.unit.test.js +55 -0
  350. package/dist/tests/browserUiLanguages.unit.test.js.map +1 -0
  351. package/dist/tests/catalogues.test-d.d.ts +2 -0
  352. package/dist/tests/catalogues.test-d.d.ts.map +1 -0
  353. package/dist/tests/catalogues.test-d.js +766 -0
  354. package/dist/tests/catalogues.test-d.js.map +1 -0
  355. package/dist/tests/direction.unit.test.js +216 -5
  356. package/dist/tests/direction.unit.test.js.map +1 -1
  357. package/dist/tests/errorMessage.unit.test.js +9 -1
  358. package/dist/tests/errorMessage.unit.test.js.map +1 -1
  359. package/dist/tests/i18SharedOptions.unit.test.js +0 -4
  360. package/dist/tests/i18SharedOptions.unit.test.js.map +1 -1
  361. package/dist/tests/i18nBackend.unit.test.js +100 -21
  362. package/dist/tests/i18nBackend.unit.test.js.map +1 -1
  363. package/dist/tests/i18nBackendFiles.unit.test.d.ts +2 -0
  364. package/dist/tests/i18nBackendFiles.unit.test.d.ts.map +1 -0
  365. package/dist/tests/i18nBackendFiles.unit.test.js +22 -0
  366. package/dist/tests/i18nBackendFiles.unit.test.js.map +1 -0
  367. package/dist/tests/i18nFrontend.unit.test.js +90 -54
  368. package/dist/tests/i18nFrontend.unit.test.js.map +1 -1
  369. package/dist/tests/keptAsIs.d.ts +4 -0
  370. package/dist/tests/keptAsIs.d.ts.map +1 -0
  371. package/dist/tests/keptAsIs.js +1236 -0
  372. package/dist/tests/keptAsIs.js.map +1 -0
  373. package/dist/tests/languagePreference.unit.test.d.ts +2 -0
  374. package/dist/tests/languagePreference.unit.test.d.ts.map +1 -0
  375. package/dist/tests/languagePreference.unit.test.js +204 -0
  376. package/dist/tests/languagePreference.unit.test.js.map +1 -0
  377. package/dist/tests/locale.test-d.js +20 -1
  378. package/dist/tests/locale.test-d.js.map +1 -1
  379. package/dist/tests/localePlaceholders.unit.test.js +5 -2
  380. package/dist/tests/localePlaceholders.unit.test.js.map +1 -1
  381. package/dist/tests/locales.unit.test.js +136 -43
  382. package/dist/tests/locales.unit.test.js.map +1 -1
  383. package/dist/tests/requestLanguageDetector.unit.test.d.ts +2 -0
  384. package/dist/tests/requestLanguageDetector.unit.test.d.ts.map +1 -0
  385. package/dist/tests/requestLanguageDetector.unit.test.js +106 -0
  386. package/dist/tests/requestLanguageDetector.unit.test.js.map +1 -0
  387. package/dist/tests/thrownErrorKeys.unit.test.js +2 -10
  388. package/dist/tests/thrownErrorKeys.unit.test.js.map +1 -1
  389. package/dist/tests/translationKey.unit.test.js +110 -5
  390. package/dist/tests/translationKey.unit.test.js.map +1 -1
  391. package/dist/tests/translations.unit.test.js +9 -5
  392. package/dist/tests/translations.unit.test.js.map +1 -1
  393. package/dist/tests/translator.unit.test.js +8 -2
  394. package/dist/tests/translator.unit.test.js.map +1 -1
  395. package/dist/translationKey.d.ts +16 -4
  396. package/dist/translationKey.d.ts.map +1 -1
  397. package/dist/translationKey.js +27 -6
  398. package/dist/translationKey.js.map +1 -1
  399. package/dist/translations.d.ts +63 -2
  400. package/dist/translations.d.ts.map +1 -1
  401. package/dist/translations.js +63 -2
  402. package/dist/translations.js.map +1 -1
  403. package/dist/translator.d.ts +2 -2
  404. package/dist/translator.d.ts.map +1 -1
  405. package/dist/translator.js +2 -1
  406. package/dist/translator.js.map +1 -1
  407. package/dist/types.d.ts +2 -0
  408. package/dist/types.d.ts.map +1 -1
  409. package/package.json +11 -1
@@ -1,76 +1,4 @@
1
1
  {
2
- "ACCOUNT": {
3
- "NO_POLKADOT_EXTENSION": "Polkadot extension not found"
4
- },
5
- "WIDGET": {
6
- "SELECT_ALL": "Select all containing the following",
7
- "IF_NONE_CLICK_NEXT": "If there are none, click Next",
8
- "NEXT": "Next",
9
- "SUBMIT": "Submit",
10
- "CANCEL": "Cancel",
11
- "I_AM_HUMAN": "I am human",
12
- "NO_ACCOUNTS_FOUND": "No accounts found",
13
- "ACCOUNT_NOT_FOUND": "Account not found",
14
- "NO_EXTENSION_FOUND": "No extension found",
15
- "INSECURE_CONTEXT": "Procaptcha requires a secure (HTTPS) connection",
16
- "CHECKING": "Checking that you are human",
17
- "IMAGE_DIALOG_LABEL": "Image challenge",
18
- "CANNOT_LOAD": "Cannot load CAPTCHA",
19
- "RELOAD": "Reload",
20
- "VERIFIED_AGENT": "Verified agent",
21
- "TRUSTED_REQUEST": "Trusted request",
22
- "LOADING": "Loading",
23
- "PUZZLE": {
24
- "DIALOG_LABEL": "Puzzle challenge",
25
- "DRAG": "Drag the piece to the target",
26
- "RETRY": "Not quite — try again",
27
- "PIECE_LABEL": "Puzzle piece",
28
- "PIECE_ROLE": "draggable puzzle piece",
29
- "KEYBOARD_HINT": "Use the arrow keys to move the piece, holding shift for smaller steps. Press Enter to submit it, Home to put it back at the start, or Escape to cancel.",
30
- "POSITION": "{{x}} percent across, {{y}} percent down",
31
- "CHECKING": "Checking your answer",
32
- "RETRY_ANNOUNCEMENT": "Not quite. A new puzzle has loaded and the piece is back at the start.",
33
- "REFRESH": "Show a different puzzle",
34
- "SWITCH_TO_IMAGE": "Switch to an image challenge",
35
- "SWITCH_TO_IMAGE_ANNOUNCEMENT": "You can also switch to an image challenge."
36
- },
37
- "ICON_ORDER": {
38
- "DIALOG_LABEL": "Icon order challenge",
39
- "SELECT": "Select in this order",
40
- "RETRY": "Not quite — try again",
41
- "LEGEND_ALT": "Icons to select, in order",
42
- "RESET": "Reset",
43
- "CHECKING": "Checking…",
44
- "SUBMIT": "OK"
45
- },
46
- "AUDIO_CHALLENGE_LABEL": "Audio verification challenge",
47
- "AUDIO_INSTRUCTIONS": "Listen and type the {{count}} digits you hear.",
48
- "AUDIO_INPUT_LABEL": "Type the {{count}} digits you hear",
49
- "AUDIO_PLAY": "Play",
50
- "AUDIO_REPLAY": "Play again",
51
- "AUDIO_PLAYING": "Playing",
52
- "AUDIO_FINISHED": "Playback finished",
53
- "AUDIO_PLAYBACK_FAILED": "Audio could not be played. Check your device volume and try again.",
54
- "AUDIO_INCORRECT": "That wasn't right. Here's a new one.",
55
- "AUDIO_SUBMIT": "Verify",
56
- "AUDIO_CHECKING": "Checking",
57
- "AUDIO_ALTERNATIVE": "Use audio instead"
58
- },
59
- "GENERAL": {
60
- "JSON_LOAD_FAILED": "Failed to load JSON file",
61
- "MNEMONIC_UNDEFINED": "Mnemonic Undefined. Please set the mnemonic in environment variables",
62
- "NO_MNEMONIC_OR_SEED": "No secret provided",
63
- "CANT_FIND_KEYRINGPAIR": "Can't find the keyringpair for {{address}}",
64
- "ENVIRONMENT_NOT_READY": "Environment not ready",
65
- "INVALID_SIGNATURE": "Invalid signature",
66
- "SITE_KEY_MISSING": "SITE KEY missing",
67
- "ACCOUNT_NOT_FOUND": "Account not found",
68
- "SITE_KEY_NOT_FOUND": "Site key not found",
69
- "INVALID_TIMESTAMP": "Invalid timestamp",
70
- "MISSING_SECRET_KEY": "Missing secret key",
71
- "MISSING_AUTH_HEADER": "Missing authorization header",
72
- "INVALID_JWT": "Invalid JWT"
73
- },
74
2
  "CONTRACT": {
75
3
  "INVALID_ADDRESS": "Failed to encode invalid address",
76
4
  "CAPTCHA_SOLUTION_COMMITMENT_DOES_NOT_EXIST": "Captcha solution commitment does not exist",
@@ -122,73 +50,6 @@
122
50
  "SESSION_CHECK_REMOVE_FAILED": "Failed to check and remove session",
123
51
  "SESSION_GET_FAILED": "Failed to get session"
124
52
  },
125
- "CAPTCHA": {
126
- "PARSE_ERROR": "Error parsing captcha",
127
- "INVALID_CAPTCHA_ID": "Invalid captcha id",
128
- "INVALID_ITEM_FORMAT": "Only image and text item types allowed",
129
- "INVALID_SOLUTION_TYPE": "Invalid solution type",
130
- "INVALID_ITEM_HASH": "Invalid item hash",
131
- "DIFFERENT_DATASET_IDS": "Dataset ids do not match",
132
- "ID_MISMATCH": "captcha id mismatch",
133
- "MISSING_ITEM_HASH": "missing item hash",
134
- "INVALID_CAPTCHA_CHALLENGE": "Invalid captcha challenge",
135
- "DAPP_USER_SOLUTION_NOT_FOUND": "Dapp user solution not found",
136
- "NO_CAPTCHA": "No captcha found",
137
- "NO_SESSION_FOUND": "No session found",
138
- "IP_ADDRESS_MISMATCH": "IP address mismatch detected",
139
- "INVALID_SALT": "Invalid salt",
140
- "INVALID_TOKEN": "Invalid token",
141
- "INVALID_SOLUTION": "Invalid solution",
142
- "DECRYPTION_ERROR": "Error decrypting",
143
- "SOLUTION_NOT_FOUND": "Solution not found",
144
- "DECISION_MACHINE_DENIED": "Denied by the decision machine",
145
- "INVALID_TIMESTAMP": "Invalid timestamp"
146
- },
147
- "API": {
148
- "CAPTCHA_FAILED": "You answered one or more captchas incorrectly. Please try again",
149
- "CAPTCHA_PASSED": "You correctly answered the captchas",
150
- "BAD_REQUEST": "BadRequest",
151
- "USER_VERIFIED": "User verified",
152
- "USER_NOT_VERIFIED": "User not verified",
153
- "USER_NOT_VERIFIED_TIME_EXPIRED": "User not verified. Captcha solution has expired.",
154
- "USER_NOT_VERIFIED_NO_SOLUTION": "User not verified. No captcha solution found.",
155
- "USER_ALREADY_VERIFIED": "This solution has already been verified. User should complete a new captcha.",
156
- "UNKNOWN": "Unknown API error",
157
- "SITE_KEY_NOT_REGISTERED": "Site key not registered",
158
- "INCORRECT_CAPTCHA_TYPE": "Incorrect CAPTCHA type",
159
- "INSUFFICIENT_PERMISSIONS": "Insufficient permissions to perform this action",
160
- "INVALID_SITE_KEY": "Invalid site key",
161
- "UNAUTHORIZED_ORIGIN_URL": "Unauthorized origin URL",
162
- "UNAUTHORIZED": "Unauthorized",
163
- "INVALID_IP": "Invalid IP",
164
- "INVALID_URL": "Invalid URL",
165
- "INVALID_BODY": "Invalid body",
166
- "MISSING_BODY": "Missing body",
167
- "MISSING_QUERY_PARAMETERS": "Missing query parameters",
168
- "MISSING_AUTHORIZATION_HEADER": "Missing authorization header",
169
- "PARSE_ERROR": "Error parsing request",
170
- "NO_CONTENT_TYPE_HEADER": "No content-type header. Assumed JSON encoded body but failed to parse.",
171
- "TIMESTAMP_TOO_OLD": "Timestamp too old",
172
- "FAILED_IP_VALIDATION": "IP validation failed",
173
- "ACCESS_POLICY_BLOCK": "Access blocked by policy",
174
- "CLIENT_SESSION_MISMATCH": "Session mismatch. The captcha was not completed in this session.",
175
- "FORBIDDEN": "Forbidden",
176
- "PROVIDER_VERIFY_FAILED": "Provider verification failed",
177
- "SPAM_EMAIL_DOMAIN": "Email domain not allowed",
178
- "SPAM_EMAIL_RULE": "Email address blocked by spam filter rules",
179
- "SPAM_EMAIL_COUNT_EXCEEDED": "Too many submissions from this email address",
180
- "VPN_BLOCKED": "Requests from VPN connections are not allowed for this site",
181
- "PROXY_BLOCKED": "Requests from proxy servers are not allowed for this site",
182
- "TOO_MANY_LOCALHOST": "Too many CAPTCHA requests from localhost for this site key",
183
- "TOR_BLOCKED": "Requests from Tor exit nodes are not allowed for this site",
184
- "ABUSER_BLOCKED": "Requests from networks flagged for abuse are not allowed for this site",
185
- "DATACENTER_BLOCKED": "Requests from datacenter IP addresses are not allowed for this site",
186
- "MOBILE_BLOCKED": "Requests from mobile network connections are not allowed for this site",
187
- "SATELLITE_BLOCKED": "Requests from satellite connections are not allowed for this site",
188
- "CRAWLER_BLOCKED": "Requests from known crawlers are not allowed for this site",
189
- "DISALLOWED_WEBVIEW": "Requests from in-app browsers (WebViews) are not allowed for this site",
190
- "INTERNAL_SERVER_ERROR": "Internal server error"
191
- },
192
53
  "PORTAL": {
193
54
  "CANNOT_MODIFY_OWNER_USER": "Cannot modify owner user",
194
55
  "CANNOT_DELETE_OWN_USER": "Cannot delete your own account",
@@ -202,316 +63,9 @@
202
63
  "CLI": {
203
64
  "PARAMETER_ERROR": "Invalid parameter"
204
65
  },
205
- "DEVELOPER": {
206
- "PROSOPO_SITE_KEY_MISSING": "PROSOPO_SITE_KEY is not set in .env file.",
207
- "PROVIDER_NO_CAPTCHA": "No captchas returned from provider",
208
- "MISSING_PROVIDER_PAIR": "Missing provider pair",
209
- "MISSING_ENV_VARIABLE": "Missing environment variable",
210
- "GENERAL": "General Dev Error, see context",
211
- "METHOD_NOT_IMPLEMENTED": "Method not implemented"
212
- },
213
66
  "FS": {
214
67
  "FILE_NOT_FOUND": "File not found",
215
68
  "FILE_ALREADY_EXISTS": "File already exists",
216
69
  "INVALID_DIR_FORMAT": "Invalid directory format"
217
- },
218
- "TARGET": {
219
- "bird": "bird",
220
- "bus": "bus",
221
- "car": "car",
222
- "cat": "cat",
223
- "deer": "deer",
224
- "dog": "dog",
225
- "horse": "horse",
226
- "plane": "plane",
227
- "train": "train",
228
- "animals": "animals",
229
- "antelope": "antelope",
230
- "backpack": "backpack",
231
- "badger": "badger",
232
- "baseball-bat": "baseball bat",
233
- "baseball-glove": "baseball glove",
234
- "basketball-hoop": "basketball hoop",
235
- "bat": "bat",
236
- "bathtub": "bathtub",
237
- "bear": "bear",
238
- "bee": "bee",
239
- "beer-mug": "beer mug",
240
- "beetle": "beetle",
241
- "billiards": "billiards",
242
- "binoculars": "binoculars",
243
- "birdbath": "birdbath",
244
- "bison": "bison",
245
- "blimp": "blimp",
246
- "boar": "boar",
247
- "bonsai-tree": "bonsai tree",
248
- "boom-box": "boom box",
249
- "bowling-ball": "bowling ball",
250
- "bowling-pin": "bowling pin",
251
- "boxing-glove": "boxing glove",
252
- "breadmaker": "breadmaker",
253
- "bulldozer": "bulldozer",
254
- "butterfly": "butterfly",
255
- "cactus": "cactus",
256
- "cake": "cake",
257
- "calculator": "calculator",
258
- "camel": "camel",
259
- "canoe": "canoe",
260
- "car-tire": "car tire",
261
- "caterpillar": "caterpillar",
262
- "cd": "CD",
263
- "cereal-box": "cereal box",
264
- "chandelier": "chandelier",
265
- "chess-board": "chess board",
266
- "chimpanzee": "chimpanzee",
267
- "chopsticks": "chopsticks",
268
- "cockroach": "cockroach",
269
- "coffin": "coffin",
270
- "coin": "coin",
271
- "comet": "comet",
272
- "computer-keyboard": "computer keyboard",
273
- "computer-monitor": "computer monitor",
274
- "computer-mouse": "computer mouse",
275
- "conch": "conch",
276
- "cormorant": "cormorant",
277
- "covered-wagon": "covered wagon",
278
- "cow": "cow",
279
- "cowboy-hat": "cowboy hat",
280
- "coyote": "coyote",
281
- "crab": "crab",
282
- "crow": "crow",
283
- "desk-globe": "desk globe",
284
- "diamond-ring": "diamond ring",
285
- "dice": "dice",
286
- "dolphin": "dolphin",
287
- "donkey": "donkey",
288
- "doorknob": "doorknob",
289
- "dragonfly": "dragonfly",
290
- "drinking-straw": "drinking straw",
291
- "duck": "duck",
292
- "dumb-bell": "dumbbell",
293
- "eagle": "eagle",
294
- "eiffel-tower": "Eiffel Tower",
295
- "electric-guitar": "electric guitar",
296
- "elephant": "elephant",
297
- "elk": "elk",
298
- "eyeglasses": "eyeglasses",
299
- "fern": "fern",
300
- "fire-extinguisher": "fire extinguisher",
301
- "fire-hydrant": "fire hydrant",
302
- "fire-truck": "fire truck",
303
- "fireworks": "fireworks",
304
- "flamingo": "flamingo",
305
- "fly": "fly",
306
- "fox": "fox",
307
- "french-horn": "French horn",
308
- "fried-egg": "fried egg",
309
- "frisbee": "frisbee",
310
- "frog": "frog",
311
- "frying-pan": "frying pan",
312
- "galaxy": "galaxy",
313
- "gas-pump": "gas pump",
314
- "giraffe": "giraffe",
315
- "goat": "goat",
316
- "golden-gate-bridge": "Golden Gate Bridge",
317
- "goldfish": "goldfish",
318
- "golf-ball": "golf ball",
319
- "goose": "goose",
320
- "gorilla": "gorilla",
321
- "grapes": "grapes",
322
- "grasshopper": "grasshopper",
323
- "greyhound": "greyhound",
324
- "guitar-pick": "guitar pick",
325
- "hamburger": "hamburger",
326
- "hammock": "hammock",
327
- "hamster": "hamster",
328
- "hare": "hare",
329
- "harmonica": "harmonica",
330
- "harp": "harp",
331
- "harpsichord": "harpsichord",
332
- "head-phones": "headphones",
333
- "hedgehog": "hedgehog",
334
- "helicopter": "helicopter",
335
- "hibiscus": "hibiscus",
336
- "hippopotamus": "hippopotamus",
337
- "homer-simpson": "Homer Simpson",
338
- "hornbill": "hornbill",
339
- "horseshoe-crab": "horseshoe crab",
340
- "hot-air-balloon": "hot air balloon",
341
- "hot-dog": "hot dog",
342
- "hot-tub": "hot tub",
343
- "hourglass": "hourglass",
344
- "house-fly": "house fly",
345
- "hummingbird": "hummingbird",
346
- "hyena": "hyena",
347
- "ice-cream-cone": "ice cream cone",
348
- "iguana": "iguana",
349
- "ipod": "iPod",
350
- "jellyfish": "jellyfish",
351
- "joy-stick": "joystick",
352
- "kangaroo": "kangaroo",
353
- "kayak": "kayak",
354
- "killer-whale": "killer whale",
355
- "koala": "koala",
356
- "ladder": "ladder",
357
- "ladybugs": "ladybugs",
358
- "laptop": "laptop",
359
- "leopard": "leopard",
360
- "license-plate": "license plate",
361
- "light-house": "lighthouse",
362
- "lightbulb": "lightbulb",
363
- "lightning": "lightning",
364
- "lion": "lion",
365
- "lizard": "lizard",
366
- "llama": "llama",
367
- "lobster": "lobster",
368
- "mailbox": "mailbox",
369
- "mandolin": "mandolin",
370
- "mars": "Mars",
371
- "mattress": "mattress",
372
- "megaphone": "megaphone",
373
- "microscope": "microscope",
374
- "microwave": "microwave",
375
- "minaret": "minaret",
376
- "minotaur": "minotaur",
377
- "mosquito": "mosquito",
378
- "moth": "moth",
379
- "motorbikes": "motorbikes",
380
- "mountain-bike": "mountain bike",
381
- "mouse": "mouse",
382
- "mushroom": "mushroom",
383
- "mussels": "mussels",
384
- "necktie": "necktie",
385
- "octopus": "octopus",
386
- "okapi": "okapi",
387
- "orangutan": "orangutan",
388
- "ostrich": "ostrich",
389
- "otter": "otter",
390
- "owl": "owl",
391
- "ox": "ox",
392
- "oyster": "oyster",
393
- "palm-pilot": "Palm Pilot",
394
- "palm-tree": "palm tree",
395
- "panda": "panda",
396
- "paper-shredder": "paper shredder",
397
- "paperclip": "paperclip",
398
- "parrot": "parrot",
399
- "pci-card": "PCI card",
400
- "pelecaniformes": "pelecaniformes",
401
- "penguin": "penguin",
402
- "photocopier": "photocopier",
403
- "piano": "piano",
404
- "picnic-table": "picnic table",
405
- "pig": "pig",
406
- "pigeon": "pigeon",
407
- "playing-card": "playing card",
408
- "porcupine": "porcupine",
409
- "possum": "possum",
410
- "pram": "pram",
411
- "pyramid": "pyramid",
412
- "raccoon": "raccoon",
413
- "radio-telescope": "radio telescope",
414
- "rainbow": "rainbow",
415
- "rat": "rat",
416
- "refrigerator": "refrigerator",
417
- "reindeer": "reindeer",
418
- "rhinoceros": "rhinoceros",
419
- "rotary-phone": "rotary phone",
420
- "roulette-wheel": "roulette wheel",
421
- "saddle": "saddle",
422
- "sandpiper": "sandpiper",
423
- "saturn": "Saturn",
424
- "school-bus": "school bus",
425
- "screwdriver": "screwdriver",
426
- "seahorse": "seahorse",
427
- "seal": "seal",
428
- "segway": "Segway",
429
- "self-propelled-lawn-mower": "self propelled lawn mower",
430
- "shark": "shark",
431
- "sheep": "sheep",
432
- "sheet-music": "sheet music",
433
- "skateboard": "skateboard",
434
- "skunk": "skunk",
435
- "skyscraper": "skyscraper",
436
- "smokestack": "smokestack",
437
- "snail": "snail",
438
- "snake": "snake",
439
- "sneaker": "sneaker",
440
- "snowmobile": "snowmobile",
441
- "soccer-ball": "soccer ball",
442
- "socks": "socks",
443
- "soda-can": "soda can",
444
- "spaghetti": "spaghetti",
445
- "sparrow": "sparrow",
446
- "speed-boat": "speedboat",
447
- "spoon": "spoon",
448
- "squid": "squid",
449
- "squirrel": "squirrel",
450
- "stained-glass": "stained glass",
451
- "starfish": "starfish",
452
- "steering-wheel": "steering wheel",
453
- "stirrups": "stirrups",
454
- "sunflower": "sunflower",
455
- "superman": "Superman",
456
- "sushi": "sushi",
457
- "swan": "swan",
458
- "t-shirt": "T-shirt",
459
- "teapot": "teapot",
460
- "teddy-bear": "teddy bear",
461
- "telephone-box": "telephone box",
462
- "tennis-ball": "tennis ball",
463
- "tennis-court": "tennis court",
464
- "tennis-racket": "tennis racket",
465
- "tiger": "tiger",
466
- "toad": "toad",
467
- "toaster": "toaster",
468
- "tomato": "tomato",
469
- "tombstone": "tombstone",
470
- "top-hat": "top hat",
471
- "touring-bike": "touring bike",
472
- "tower-pisa": "Tower of Pisa",
473
- "traffic-light": "traffic light",
474
- "treadmill": "treadmill",
475
- "triceratops": "triceratops",
476
- "tricycle": "tricycle",
477
- "tripod": "tripod",
478
- "tuning-fork": "tuning fork",
479
- "turkey": "turkey",
480
- "turtle": "turtle",
481
- "tweezer": "tweezers",
482
- "umbrella": "umbrella",
483
- "unicorn": "unicorn",
484
- "video-projector": "video projector",
485
- "washing-machine": "washing machine",
486
- "watch": "watch",
487
- "waterfall": "waterfall",
488
- "watermelon": "watermelon",
489
- "welding-mask": "welding mask",
490
- "whale": "whale",
491
- "wheelbarrow": "wheelbarrow",
492
- "windmill": "windmill",
493
- "wine-bottle": "wine bottle",
494
- "wolf": "wolf",
495
- "wombat": "wombat",
496
- "woodpecker": "woodpecker",
497
- "xylophone": "xylophone",
498
- "yo-yo": "yo-yo",
499
- "zebra": "zebra",
500
- "airplanes": "airplanes",
501
- "american-flag": "American flag",
502
- "bonsai": "bonsai",
503
- "buddha": "Buddha",
504
- "cannon": "cannon",
505
- "coffee-mug": "coffee mug",
506
- "flashlight": "flashlight",
507
- "floppy-disk": "floppy disk",
508
- "football-helmet": "football helmet",
509
- "grand-piano": "grand piano",
510
- "jesus-christ": "Jesus Christ",
511
- "knife": "knife",
512
- "leopards": "leopards",
513
- "sword": "sword",
514
- "syringe": "syringe",
515
- "tambourine": "tambourine"
516
70
  }
517
71
  }
@@ -0,0 +1,156 @@
1
+ //#region src/locales/en/widget.json
2
+ var ACCOUNT = { "NO_POLKADOT_EXTENSION": "Polkadot extension not found" };
3
+ var WIDGET = {
4
+ "SELECT_ALL": "Select all containing the following:",
5
+ "IF_NONE_CLICK_NEXT": "If there are none, click Next",
6
+ "NEXT": "Next",
7
+ "SUBMIT": "Submit",
8
+ "CANCEL": "Cancel",
9
+ "I_AM_HUMAN": "I am human",
10
+ "NO_ACCOUNTS_FOUND": "No accounts found",
11
+ "ACCOUNT_NOT_FOUND": "Account not found",
12
+ "NO_EXTENSION_FOUND": "No extension found",
13
+ "INSECURE_CONTEXT": "Procaptcha requires a secure (HTTPS) connection",
14
+ "CHECKING": "Checking that you are human",
15
+ "IMAGE_DIALOG_LABEL": "Image challenge",
16
+ "CANNOT_LOAD": "Cannot load CAPTCHA",
17
+ "RELOAD": "Reload",
18
+ "VERIFIED_AGENT": "Verified agent",
19
+ "TRUSTED_REQUEST": "Trusted request",
20
+ "LOADING": "Loading",
21
+ "PUZZLE": {
22
+ "DIALOG_LABEL": "Puzzle challenge",
23
+ "DRAG": "Drag the piece to the target",
24
+ "RETRY": "Not quite — try again",
25
+ "PIECE_LABEL": "Puzzle piece",
26
+ "PIECE_ROLE": "draggable puzzle piece",
27
+ "KEYBOARD_HINT": "Use the arrow keys to move the piece, holding shift for smaller steps. Press Enter to submit it, Home to put it back at the start, or Escape to cancel.",
28
+ "POSITION": "{{x}} percent across, {{y}} percent down",
29
+ "CHECKING": "Checking your answer",
30
+ "RETRY_ANNOUNCEMENT": "Not quite. A new puzzle has loaded and the piece is back at the start.",
31
+ "REFRESH": "Show a different puzzle",
32
+ "SWITCH_TO_IMAGE": "Switch to an image challenge",
33
+ "SWITCH_TO_IMAGE_ANNOUNCEMENT": "You can also switch to an image challenge."
34
+ },
35
+ "ICON_ORDER": {
36
+ "DIALOG_LABEL": "Icon order challenge",
37
+ "SELECT": "Select in this order",
38
+ "RETRY": "Not quite — try again",
39
+ "LEGEND_ALT": "Icons to select, in order",
40
+ "RESET": "Reset",
41
+ "CHECKING": "Checking…",
42
+ "SUBMIT": "OK"
43
+ },
44
+ "AUDIO_CHALLENGE_LABEL": "Audio verification challenge",
45
+ "AUDIO_INSTRUCTIONS": "Listen and type the {{count}} digits you hear.",
46
+ "AUDIO_INPUT_LABEL": "Type the {{count}} digits you hear",
47
+ "AUDIO_PLAY": "Play",
48
+ "AUDIO_REPLAY": "Play again",
49
+ "AUDIO_PLAYING": "Playing",
50
+ "AUDIO_FINISHED": "Playback finished",
51
+ "AUDIO_PLAYBACK_FAILED": "Audio could not be played. Check your device volume and try again.",
52
+ "AUDIO_INCORRECT": "That wasn't right. Here's a new one.",
53
+ "AUDIO_SUBMIT": "Verify",
54
+ "AUDIO_CHECKING": "Checking",
55
+ "AUDIO_ALTERNATIVE": "Use audio instead"
56
+ };
57
+ var GENERAL = {
58
+ "JSON_LOAD_FAILED": "Failed to load JSON file",
59
+ "MNEMONIC_UNDEFINED": "Mnemonic Undefined. Please set the mnemonic in environment variables",
60
+ "NO_MNEMONIC_OR_SEED": "No secret provided",
61
+ "CANT_FIND_KEYRINGPAIR": "Can't find the keyringpair for {{address}}",
62
+ "ENVIRONMENT_NOT_READY": "Environment not ready",
63
+ "INVALID_SIGNATURE": "Invalid signature",
64
+ "SITE_KEY_MISSING": "SITE KEY missing",
65
+ "ACCOUNT_NOT_FOUND": "Account not found",
66
+ "SITE_KEY_NOT_FOUND": "Site key not found",
67
+ "INVALID_TIMESTAMP": "Invalid timestamp",
68
+ "MISSING_SECRET_KEY": "Missing secret key",
69
+ "MISSING_AUTH_HEADER": "Missing authorization header",
70
+ "INVALID_JWT": "Invalid JWT"
71
+ };
72
+ var CAPTCHA = {
73
+ "PARSE_ERROR": "Error parsing captcha",
74
+ "INVALID_CAPTCHA_ID": "Invalid captcha id",
75
+ "INVALID_ITEM_FORMAT": "Only image and text item types allowed",
76
+ "INVALID_SOLUTION_TYPE": "Invalid solution type",
77
+ "INVALID_ITEM_HASH": "Invalid item hash",
78
+ "DIFFERENT_DATASET_IDS": "Dataset ids do not match",
79
+ "ID_MISMATCH": "captcha id mismatch",
80
+ "MISSING_ITEM_HASH": "missing item hash",
81
+ "INVALID_CAPTCHA_CHALLENGE": "Invalid captcha challenge",
82
+ "DAPP_USER_SOLUTION_NOT_FOUND": "Dapp user solution not found",
83
+ "NO_CAPTCHA": "No captcha found",
84
+ "NO_SESSION_FOUND": "No session found",
85
+ "IP_ADDRESS_MISMATCH": "IP address mismatch detected",
86
+ "INVALID_SALT": "Invalid salt",
87
+ "INVALID_TOKEN": "Invalid token",
88
+ "INVALID_SOLUTION": "Invalid solution",
89
+ "DECRYPTION_ERROR": "Error decrypting",
90
+ "SOLUTION_NOT_FOUND": "Solution not found",
91
+ "DECISION_MACHINE_DENIED": "Denied by the decision machine",
92
+ "INVALID_TIMESTAMP": "Invalid timestamp"
93
+ };
94
+ var API = {
95
+ "CAPTCHA_FAILED": "You answered one or more captchas incorrectly. Please try again",
96
+ "CAPTCHA_PASSED": "You correctly answered the captchas",
97
+ "BAD_REQUEST": "BadRequest",
98
+ "USER_VERIFIED": "User verified",
99
+ "USER_NOT_VERIFIED": "User not verified",
100
+ "USER_NOT_VERIFIED_TIME_EXPIRED": "User not verified. Captcha solution has expired.",
101
+ "USER_NOT_VERIFIED_NO_SOLUTION": "User not verified. No captcha solution found.",
102
+ "USER_ALREADY_VERIFIED": "This solution has already been verified. User should complete a new captcha.",
103
+ "UNKNOWN": "Unknown API error",
104
+ "SITE_KEY_NOT_REGISTERED": "Site key not registered",
105
+ "INCORRECT_CAPTCHA_TYPE": "Incorrect CAPTCHA type",
106
+ "INSUFFICIENT_PERMISSIONS": "Insufficient permissions to perform this action",
107
+ "INVALID_SITE_KEY": "Invalid site key",
108
+ "UNAUTHORIZED_ORIGIN_URL": "Unauthorized origin URL",
109
+ "UNAUTHORIZED": "Unauthorized",
110
+ "INVALID_IP": "Invalid IP",
111
+ "INVALID_URL": "Invalid URL",
112
+ "INVALID_BODY": "Invalid body",
113
+ "MISSING_BODY": "Missing body",
114
+ "MISSING_QUERY_PARAMETERS": "Missing query parameters",
115
+ "MISSING_AUTHORIZATION_HEADER": "Missing authorization header",
116
+ "PARSE_ERROR": "Error parsing request",
117
+ "NO_CONTENT_TYPE_HEADER": "No content-type header. Assumed JSON encoded body but failed to parse.",
118
+ "TIMESTAMP_TOO_OLD": "Timestamp too old",
119
+ "FAILED_IP_VALIDATION": "IP validation failed",
120
+ "ACCESS_POLICY_BLOCK": "Access blocked by policy",
121
+ "CLIENT_SESSION_MISMATCH": "Session mismatch. The captcha was not completed in this session.",
122
+ "FORBIDDEN": "Forbidden",
123
+ "PROVIDER_VERIFY_FAILED": "Provider verification failed",
124
+ "SPAM_EMAIL_DOMAIN": "Email domain not allowed",
125
+ "SPAM_EMAIL_RULE": "Email address blocked by spam filter rules",
126
+ "SPAM_EMAIL_COUNT_EXCEEDED": "Too many submissions from this email address",
127
+ "VPN_BLOCKED": "Requests from VPN connections are not allowed for this site",
128
+ "PROXY_BLOCKED": "Requests from proxy servers are not allowed for this site",
129
+ "TOO_MANY_LOCALHOST": "Too many CAPTCHA requests from localhost for this site key",
130
+ "TOR_BLOCKED": "Requests from Tor exit nodes are not allowed for this site",
131
+ "ABUSER_BLOCKED": "Requests from networks flagged for abuse are not allowed for this site",
132
+ "DATACENTER_BLOCKED": "Requests from datacenter IP addresses are not allowed for this site",
133
+ "MOBILE_BLOCKED": "Requests from mobile network connections are not allowed for this site",
134
+ "SATELLITE_BLOCKED": "Requests from satellite connections are not allowed for this site",
135
+ "CRAWLER_BLOCKED": "Requests from known crawlers are not allowed for this site",
136
+ "DISALLOWED_WEBVIEW": "Requests from in-app browsers (WebViews) are not allowed for this site",
137
+ "INTERNAL_SERVER_ERROR": "Internal server error"
138
+ };
139
+ var DEVELOPER = {
140
+ "PROSOPO_SITE_KEY_MISSING": "PROSOPO_SITE_KEY is not set in .env file.",
141
+ "PROVIDER_NO_CAPTCHA": "No captchas returned from provider",
142
+ "MISSING_PROVIDER_PAIR": "Missing provider pair",
143
+ "MISSING_ENV_VARIABLE": "Missing environment variable",
144
+ "GENERAL": "General Dev Error, see context",
145
+ "METHOD_NOT_IMPLEMENTED": "Method not implemented"
146
+ };
147
+ var widget_default = {
148
+ ACCOUNT,
149
+ WIDGET,
150
+ GENERAL,
151
+ CAPTCHA,
152
+ API,
153
+ DEVELOPER
154
+ };
155
+ //#endregion
156
+ export { ACCOUNT, API, CAPTCHA, DEVELOPER, GENERAL, WIDGET, widget_default as default };