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