@prosopo/locale 3.1.21 → 3.1.25

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 (76) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/i18SharedOptions.js +10 -8
  3. package/dist/i18nBackend.js +26 -24
  4. package/dist/i18nFrontend.js +47 -43
  5. package/dist/i18nMiddleware.js +5 -4
  6. package/dist/index.js +15 -7
  7. package/dist/loadI18next.js +26 -29
  8. package/dist/locales/ar/translation.json +441 -441
  9. package/dist/locales/az/translation.json +441 -441
  10. package/dist/locales/cs/translation.json +441 -441
  11. package/dist/locales/de/translation.json +441 -441
  12. package/dist/locales/el/translation.json +441 -441
  13. package/dist/locales/en/translation.json +441 -441
  14. package/dist/locales/es/translation.json +441 -441
  15. package/dist/locales/fi/translation.json +441 -441
  16. package/dist/locales/fr/translation.json +441 -441
  17. package/dist/locales/hi/translation.json +441 -441
  18. package/dist/locales/hu/translation.json +441 -441
  19. package/dist/locales/id/translation.json +441 -441
  20. package/dist/locales/it/translation.json +441 -441
  21. package/dist/locales/ja/translation.json +441 -441
  22. package/dist/locales/jv/translation.json +441 -441
  23. package/dist/locales/ko/translation.json +441 -441
  24. package/dist/locales/ml/translation.json +441 -441
  25. package/dist/locales/ms/translation.json +441 -441
  26. package/dist/locales/nl/translation.json +441 -441
  27. package/dist/locales/no/translation.json +441 -441
  28. package/dist/locales/pl/translation.json +441 -441
  29. package/dist/locales/pt/translation.json +441 -441
  30. package/dist/locales/pt-BR/translation.json +441 -441
  31. package/dist/locales/ro/translation.json +441 -441
  32. package/dist/locales/ru/translation.json +441 -441
  33. package/dist/locales/sr/translation.json +441 -441
  34. package/dist/locales/sv/translation.json +441 -441
  35. package/dist/locales/th/translation.json +441 -441
  36. package/dist/locales/tr/translation.json +441 -441
  37. package/dist/locales/uk/translation.json +441 -441
  38. package/dist/locales/vi/translation.json +441 -441
  39. package/dist/locales/zh-CN/translation.json +441 -441
  40. package/dist/translationKey.js +21 -15
  41. package/dist/translations.js +40 -35
  42. package/dist/useTranslation.js +7 -6
  43. package/dist/util.js +8 -7
  44. package/package.json +4 -4
  45. package/coverage/base.css +0 -224
  46. package/coverage/block-navigation.js +0 -87
  47. package/coverage/clover.xml +0 -260
  48. package/coverage/coverage-final.json +0 -11
  49. package/coverage/favicon.png +0 -0
  50. package/coverage/i18SharedOptions.ts.html +0 -151
  51. package/coverage/i18nBackend.ts.html +0 -244
  52. package/coverage/i18nFrontend.ts.html +0 -328
  53. package/coverage/i18nMiddleware.ts.html +0 -160
  54. package/coverage/index.html +0 -251
  55. package/coverage/index.ts.html +0 -151
  56. package/coverage/loadI18next.ts.html +0 -232
  57. package/coverage/prettify.css +0 -1
  58. package/coverage/prettify.js +0 -2
  59. package/coverage/sort-arrow-sprite.png +0 -0
  60. package/coverage/sorter.js +0 -210
  61. package/coverage/translationKey.ts.html +0 -229
  62. package/coverage/translations.ts.html +0 -247
  63. package/coverage/useTranslation.ts.html +0 -181
  64. package/coverage/util.ts.html +0 -160
  65. package/dist/i18SharedOptions.js.map +0 -1
  66. package/dist/i18nBackend.js.map +0 -1
  67. package/dist/i18nFrontend.js.map +0 -1
  68. package/dist/i18nMiddleware.js.map +0 -1
  69. package/dist/index.js.map +0 -1
  70. package/dist/loadI18next.js.map +0 -1
  71. package/dist/tests/locales.unit.test.js +0 -49
  72. package/dist/tests/locales.unit.test.js.map +0 -1
  73. package/dist/translationKey.js.map +0 -1
  74. package/dist/translations.js.map +0 -1
  75. package/dist/useTranslation.js.map +0 -1
  76. package/dist/util.js.map +0 -1
@@ -1,443 +1,443 @@
1
1
  {
2
- "GENERAL": {
3
- "MISSING_SECRET_KEY": "Missing secret key",
4
- "SITE_KEY_NOT_FOUND": "Site key not found",
5
- "JSON_LOAD_FAILED": "Failed to load JSON file",
6
- "MNEMONIC_UNDEFINED": "Mnemonic Undefined. Please set the mnemonic in environment variables",
7
- "NO_MNEMONIC_OR_SEED": "No mnemonic or seed provided",
8
- "CANT_FIND_KEYRINGPAIR": "Can't find the keyringpair for {{address}}",
9
- "ENVIRONMENT_NOT_READY": "Environment not ready",
10
- "INVALID_SIGNATURE": "Invalid signature",
11
- "SITE_KEY_MISSING": "SITE KEY missing",
12
- "ACCOUNT_NOT_FOUND": "Account not found",
13
- "INVALID_TIMESTAMP": "Invalid timestamp"
14
- },
15
- "API": {
16
- "INSUFFICIENT_PERMISSIONS": "Insufficient permissions to perform this action",
17
- "MISSING_QUERY_PARAMETERS": "Missing query parameters",
18
- "MISSING_AUTHORIZATION_HEADER": "Missing authorization header",
19
- "TIMESTAMP_TOO_OLD": "Timestamp too old",
20
- "FORBIDDEN": "Forbidden",
21
- "PROVIDER_VERIFY_FAILED": "Provider verification failed",
22
- "UNAUTHORIZED": "Unauthorised",
23
- "MISSING_BODY": "Missing body",
24
- "NO_CONTENT_TYPE_HEADER": "No content-type header. Assumed JSON encoded body but failed to parse.",
25
- "CAPTCHA_FAILED": "You answered one or more captchas incorrectly. Please try again",
26
- "CAPTCHA_PASSED": "You correctly answered the captchas",
27
- "BAD_REQUEST": "BadRequest",
28
- "USER_VERIFIED": "User verified",
29
- "USER_NOT_VERIFIED": "User not verified",
30
- "USER_NOT_VERIFIED_TIME_EXPIRED": "User not verified. Captcha solution has expired.",
31
- "USER_NOT_VERIFIED_NO_SOLUTION": "User not verified. No captcha solution found.",
32
- "USER_ALREADY_VERIFIED": "This solution has already been verified. User should complete a new captcha.",
33
- "UNKNOWN": "Unknown API error",
34
- "SITE_KEY_NOT_REGISTERED": "Site key not registered",
35
- "INCORRECT_CAPTCHA_TYPE": "Incorrect CAPTCHA type",
36
- "INVALID_SITE_KEY": "Invalid site key",
37
- "UNAUTHORIZED_ORIGIN_URL": "Unauthorized origin URL",
38
- "INVALID_IP": "Invalid IP",
39
- "INVALID_URL": "Invalid URL",
40
- "INVALID_BODY": "Invalid body",
41
- "PARSE_ERROR": "Error parsing request"
42
- },
43
- "PORTAL": {
44
- "CANNOT_MODIFY_OWNER_USER": "Cannot modify owner user",
45
- "CANNOT_DELETE_OWN_USER": "Cannot delete your own account",
46
- "CANNOT_DELETE_LAST_USER": "Cannot delete last user",
47
- "USER_ALREADY_EXISTS": "User already exists",
48
- "NO_SUGGESTIONS_FOUND": "No suggestions found",
49
- "CANNOT_DEACTIVATE_LAST_SITE": "Cannot deactivate the last active site"
50
- },
51
- "TARGET": {
52
- "airplanes": "aeroplanes",
53
- "american-flag": "American flag",
54
- "bonsai": "bonzai",
55
- "buddha": "Buddha",
56
- "cannon": "cannon",
57
- "coffee-mug": "coffee mug",
58
- "flashlight": "torch",
59
- "floppy-disk": "floppy disk",
60
- "football-helmet": "American football helmet",
61
- "grand-piano": "grand piano",
62
- "jesus-christ": "Jesus Christ",
63
- "knife": "knife",
64
- "leopards": "leopards",
65
- "sword": "sword",
66
- "syringe": "syringe",
67
- "tambourine": "tambourine",
68
- "bird": "bird",
69
- "bus": "bus",
70
- "car": "car",
71
- "cat": "cat",
72
- "deer": "deer",
73
- "dog": "dog",
74
- "horse": "horse",
75
- "plane": "plane",
76
- "train": "train",
77
- "animals": "animals",
78
- "antelope": "antelope",
79
- "backpack": "backpack",
80
- "badger": "badger",
81
- "baseball-bat": "baseball-bat",
82
- "baseball-glove": "baseball-glove",
83
- "basketball-hoop": "basketball-hoop",
84
- "bat": "bat",
85
- "bathtub": "bathtub",
86
- "bear": "bear",
87
- "bee": "bee",
88
- "beer-mug": "beer-mug",
89
- "beetle": "beetle",
90
- "billiards": "billiards",
91
- "binoculars": "binoculars",
92
- "birdbath": "birdbath",
93
- "bison": "bison",
94
- "blimp": "blimp",
95
- "boar": "boar",
96
- "bonsai-tree": "bonsai-tree",
97
- "boom-box": "boom-box",
98
- "bowling-ball": "bowling-ball",
99
- "bowling-pin": "bowling-pin",
100
- "boxing-glove": "boxing-glove",
101
- "breadmaker": "breadmaker",
102
- "bulldozer": "bulldozer",
103
- "butterfly": "butterfly",
104
- "cactus": "cactus",
105
- "cake": "cake",
106
- "calculator": "calculator",
107
- "camel": "camel",
108
- "canoe": "canoe",
109
- "car-tire": "car-tire",
110
- "caterpillar": "caterpillar",
111
- "cd": "cd",
112
- "cereal-box": "cereal-box",
113
- "chandelier": "chandelier",
114
- "chess-board": "chess-board",
115
- "chimpanzee": "chimpanzee",
116
- "chopsticks": "chopsticks",
117
- "cockroach": "cockroach",
118
- "coffin": "coffin",
119
- "coin": "coin",
120
- "comet": "comet",
121
- "computer-keyboard": "computer-keyboard",
122
- "computer-monitor": "computer-monitor",
123
- "computer-mouse": "computer-mouse",
124
- "conch": "conch",
125
- "cormorant": "cormorant",
126
- "covered-wagon": "covered-wagon",
127
- "cow": "cow",
128
- "cowboy-hat": "cowboy-hat",
129
- "coyote": "coyote",
130
- "crab": "crab",
131
- "crow": "crow",
132
- "desk-globe": "desk-globe",
133
- "diamond-ring": "diamond-ring",
134
- "dice": "dice",
135
- "dolphin": "dolphin",
136
- "donkey": "donkey",
137
- "doorknob": "doorknob",
138
- "dragonfly": "dragonfly",
139
- "drinking-straw": "drinking-straw",
140
- "duck": "duck",
141
- "dumb-bell": "dumb-bell",
142
- "eagle": "eagle",
143
- "eiffel-tower": "eiffel-tower",
144
- "electric-guitar": "electric-guitar",
145
- "elephant": "elephant",
146
- "elk": "elk",
147
- "eyeglasses": "eyeglasses",
148
- "fern": "fern",
149
- "fire-extinguisher": "fire-extinguisher",
150
- "fire-hydrant": "fire-hydrant",
151
- "fire-truck": "fire-truck",
152
- "fireworks": "fireworks",
153
- "flamingo": "flamingo",
154
- "fly": "fly",
155
- "fox": "fox",
156
- "french-horn": "french-horn",
157
- "fried-egg": "fried-egg",
158
- "frisbee": "frisbee",
159
- "frog": "frog",
160
- "frying-pan": "frying-pan",
161
- "galaxy": "galaxy",
162
- "gas-pump": "gas-pump",
163
- "giraffe": "giraffe",
164
- "goat": "goat",
165
- "golden-gate-bridge": "golden-gate-bridge",
166
- "goldfish": "goldfish",
167
- "golf-ball": "golf-ball",
168
- "goose": "goose",
169
- "gorilla": "gorilla",
170
- "grapes": "grapes",
171
- "grasshopper": "grasshopper",
172
- "greyhound": "greyhound",
173
- "guitar-pick": "guitar-pick",
174
- "hamburger": "hamburger",
175
- "hammock": "hammock",
176
- "hamster": "hamster",
177
- "hare": "hare",
178
- "harmonica": "harmonica",
179
- "harp": "harp",
180
- "harpsichord": "harpsichord",
181
- "head-phones": "head-phones",
182
- "hedgehog": "hedgehog",
183
- "helicopter": "helicopter",
184
- "hibiscus": "hibiscus",
185
- "hippopotamus": "hippopotamus",
186
- "homer-simpson": "homer-simpson",
187
- "hornbill": "hornbill",
188
- "horseshoe-crab": "horseshoe-crab",
189
- "hot-air-balloon": "hot-air-balloon",
190
- "hot-dog": "hot-dog",
191
- "hot-tub": "hot-tub",
192
- "hourglass": "hourglass",
193
- "house-fly": "house-fly",
194
- "hummingbird": "hummingbird",
195
- "hyena": "hyena",
196
- "ice-cream-cone": "ice-cream-cone",
197
- "iguana": "iguana",
198
- "ipod": "ipod",
199
- "jellyfish": "jellyfish",
200
- "joy-stick": "joy-stick",
201
- "kangaroo": "kangaroo",
202
- "kayak": "kayak",
203
- "killer-whale": "killer-whale",
204
- "koala": "koala",
205
- "ladder": "ladder",
206
- "ladybugs": "ladybugs",
207
- "laptop": "laptop",
208
- "leopard": "leopard",
209
- "license-plate": "license-plate",
210
- "light-house": "light-house",
211
- "lightbulb": "lightbulb",
212
- "lightning": "lightning",
213
- "lion": "lion",
214
- "lizard": "lizard",
215
- "llama": "llama",
216
- "lobster": "lobster",
217
- "mailbox": "mailbox",
218
- "mandolin": "mandolin",
219
- "mars": "mars",
220
- "mattress": "mattress",
221
- "megaphone": "megaphone",
222
- "microscope": "microscope",
223
- "microwave": "microwave",
224
- "minaret": "minaret",
225
- "minotaur": "minotaur",
226
- "mosquito": "mosquito",
227
- "moth": "moth",
228
- "motorbikes": "motorbikes",
229
- "mountain-bike": "mountain-bike",
230
- "mouse": "mouse",
231
- "mushroom": "mushroom",
232
- "mussels": "mussels",
233
- "necktie": "necktie",
234
- "octopus": "octopus",
235
- "okapi": "okapi",
236
- "orangutan": "orangutan",
237
- "ostrich": "ostrich",
238
- "otter": "otter",
239
- "owl": "owl",
240
- "ox": "ox",
241
- "oyster": "oyster",
242
- "palm-pilot": "palm-pilot",
243
- "palm-tree": "palm-tree",
244
- "panda": "panda",
245
- "paper-shredder": "paper-shredder",
246
- "paperclip": "paperclip",
247
- "parrot": "parrot",
248
- "pci-card": "pci-card",
249
- "pelecaniformes": "pelecaniformes",
250
- "penguin": "penguin",
251
- "photocopier": "photocopier",
252
- "piano": "piano",
253
- "picnic-table": "picnic-table",
254
- "pig": "pig",
255
- "pigeon": "pigeon",
256
- "playing-card": "playing-card",
257
- "porcupine": "porcupine",
258
- "possum": "possum",
259
- "pram": "pram",
260
- "pyramid": "pyramid",
261
- "raccoon": "raccoon",
262
- "radio-telescope": "radio-telescope",
263
- "rainbow": "rainbow",
264
- "rat": "rat",
265
- "refrigerator": "refrigerator",
266
- "reindeer": "reindeer",
267
- "rhinoceros": "rhinoceros",
268
- "rotary-phone": "rotary-phone",
269
- "roulette-wheel": "roulette-wheel",
270
- "saddle": "saddle",
271
- "sandpiper": "sandpiper",
272
- "saturn": "saturn",
273
- "school-bus": "school-bus",
274
- "screwdriver": "screwdriver",
275
- "seahorse": "seahorse",
276
- "seal": "seal",
277
- "segway": "segway",
278
- "self-propelled-lawn-mower": "self-propelled-lawn-mower",
279
- "shark": "shark",
280
- "sheep": "sheep",
281
- "sheet-music": "sheet-music",
282
- "skateboard": "skateboard",
283
- "skunk": "skunk",
284
- "skyscraper": "skyscraper",
285
- "smokestack": "smokestack",
286
- "snail": "snail",
287
- "snake": "snake",
288
- "sneaker": "sneaker",
289
- "snowmobile": "snowmobile",
290
- "soccer-ball": "soccer-ball",
291
- "socks": "socks",
292
- "soda-can": "soda-can",
293
- "spaghetti": "spaghetti",
294
- "sparrow": "sparrow",
295
- "speed-boat": "speed-boat",
296
- "spoon": "spoon",
297
- "squid": "squid",
298
- "squirrel": "squirrel",
299
- "stained-glass": "stained-glass",
300
- "starfish": "starfish",
301
- "steering-wheel": "steering-wheel",
302
- "stirrups": "stirrups",
303
- "sunflower": "sunflower",
304
- "superman": "superman",
305
- "sushi": "sushi",
306
- "swan": "swan",
307
- "t-shirt": "t-shirt",
308
- "teapot": "teapot",
309
- "teddy-bear": "teddy-bear",
310
- "telephone-box": "telephone-box",
311
- "tennis-ball": "tennis-ball",
312
- "tennis-court": "tennis-court",
313
- "tennis-racket": "tennis-racket",
314
- "tiger": "tiger",
315
- "toad": "toad",
316
- "toaster": "toaster",
317
- "tomato": "tomato",
318
- "tombstone": "tombstone",
319
- "top-hat": "top-hat",
320
- "touring-bike": "touring-bike",
321
- "tower-pisa": "tower-pisa",
322
- "traffic-light": "traffic-light",
323
- "treadmill": "treadmill",
324
- "triceratops": "triceratops",
325
- "tricycle": "tricycle",
326
- "tripod": "tripod",
327
- "tuning-fork": "tuning-fork",
328
- "turkey": "turkey",
329
- "turtle": "turtle",
330
- "tweezer": "tweezer",
331
- "umbrella": "umbrella",
332
- "unicorn": "unicorn",
333
- "video-projector": "video-projector",
334
- "washing-machine": "washing-machine",
335
- "watch": "watch",
336
- "waterfall": "waterfall",
337
- "watermelon": "watermelon",
338
- "welding-mask": "welding-mask",
339
- "whale": "whale",
340
- "wheelbarrow": "wheelbarrow",
341
- "windmill": "windmill",
342
- "wine-bottle": "wine-bottle",
343
- "wolf": "wolf",
344
- "wombat": "wombat",
345
- "woodpecker": "woodpecker",
346
- "xylophone": "xylophone",
347
- "yo-yo": "yo-yo",
348
- "zebra": "zebra"
349
- },
350
- "ACCOUNT": {
351
- "NO_POLKADOT_EXTENSION": "Polkadot extension not found"
352
- },
353
- "WIDGET": {
354
- "SELECT_ALL": "Select all containing the following",
355
- "IF_NONE_CLICK_NEXT": "If there are none, click Next",
356
- "NEXT": "Next",
357
- "SUBMIT": "Submit",
358
- "CANCEL": "Cancel",
359
- "I_AM_HUMAN": "I am human",
360
- "NO_ACCOUNTS_FOUND": "No accounts found",
361
- "ACCOUNT_NOT_FOUND": "Account not found",
362
- "NO_EXTENSION_FOUND": "No extension found"
363
- },
364
- "CONTRACT": {
365
- "INVALID_ADDRESS": "Failed to encode invalid address",
366
- "CAPTCHA_SOLUTION_COMMITMENT_DOES_NOT_EXIST": "Captcha solution commitment does not exist",
367
- "SIGNER_UNDEFINED": "Signer undefined",
368
- "CANNOT_FIND_KEYPAIR": "Cannot find keypair",
369
- "INVALID_DATA_FORMAT": "Invalid data format"
370
- },
371
- "CONFIG": {
372
- "UNKNOWN_ENVIRONMENT": "Unknown environment requested",
373
- "INVALID_CAPTCHA_NUMBER": "Please configure captchas configurations correctly",
374
- "INVALID_LOG_LEVEL": "Invalid log level",
375
- "INVALID_PACKAGE_DIR": "Invalid package directory"
376
- },
377
- "DATASET": {
378
- "DATASET_PARSE_ERROR": "Error parsing dataset",
379
- "SOLUTION_PARSE_ERROR": "Error parsing dataset",
380
- "HASH_ERROR": "Error hashing dataset",
381
- "DATASET_ID_UNDEFINED": "Dataset id undefined",
382
- "NOT_ENOUGH_LABELS": "Not enough labels",
383
- "NOT_ENOUGH_IMAGES": "Not enough images",
384
- "CAPTCHAS_COUNT_LESS_THAN_CONFIGURED": "Number of captchas in dataset is less than configured number of captchas",
385
- "SOLUTIONS_COUNT_LESS_THAN_CONFIGURED": "Number of solutions in dataset is less than configured number of solutions",
386
- "DUPLICATE_IMAGE": "duplicate image detected",
387
- "MERKLE_ERROR": "Error creating merkle tree"
388
- },
389
- "DATABASE": {
390
- "DATABASE_IMPORT_FAILED": "Failed to import database engine",
391
- "DATABASE_UNDEFINED": "Database client is not connected",
392
- "DATABASE_HOST_UNDEFINED": "Database host address is not defined",
393
- "DATASET_LOAD_FAILED": "Data set load failed",
394
- "DATASET_GET_FAILED": "Failed to get dataset",
395
- "CAPTCHA_GET_FAILED": "Failed to get captcha",
396
- "CAPTCHA_UPDATE_FAILED": "Failed to update captcha",
397
- "IMAGE_GET_FAILED": "Failed to get image",
398
- "PENDING_RECORD_NOT_FOUND": "No pending record found",
399
- "INVALID_HASH": "Invalid hash",
400
- "SOLUTION_GET_FAILED": "Failed to get solution",
401
- "DATASET_WITH_SOLUTIONS_GET_FAILED": "No datasets found with required number of solutions",
402
- "SOLUTION_APPROVE_FAILED": "Failed to approve solution",
403
- "SOLUTION_FLAG_FAILED": "Failed to flag solution as processed",
404
- "TABLES_UNDEFINED": "Tables undefined",
405
- "CONNECTION_UNDEFINED": "Connection undefined",
406
- "COMMITMENT_FLAG_FAILED": "Failed to flag commitment as processed",
407
- "UNKNOWN": "Unknown database error"
408
- },
409
- "CAPTCHA": {
410
- "PARSE_ERROR": "Error parsing captcha",
411
- "INVALID_CAPTCHA_ID": "Invalid captcha id",
412
- "INVALID_ITEM_FORMAT": "Only image and text item types allowed",
413
- "INVALID_SOLUTION_TYPE": "Invalid solution type",
414
- "INVALID_ITEM_HASH": "Invalid item hash",
415
- "DIFFERENT_DATASET_IDS": "Dataset ids do not match",
416
- "ID_MISMATCH": "captcha id mismatch",
417
- "MISSING_ITEM_HASH": "missing item hash",
418
- "INVALID_CAPTCHA_CHALLENGE": "Invalid captcha challenge",
419
- "DAPP_USER_SOLUTION_NOT_FOUND": "Dapp user solution not found",
420
- "NO_CAPTCHA": "No captcha found",
421
- "NO_SESSION_FOUND": "No session found",
422
- "IP_ADDRESS_MISMATCH": "IP address mismatch detected",
423
- "INVALID_TOKEN": "Invalid token",
424
- "INVALID_SOLUTION": "Invalid solution",
425
- "DECRYPTION_ERROR": "Error decrypting"
426
- },
427
- "CLI": {
428
- "PARAMETER_ERROR": "Invalid parameter"
429
- },
430
- "DEVELOPER": {
431
- "PROSOPO_SITE_KEY_MISSING": "PROSOPO_SITE_KEY is not set in .env file.",
432
- "PROVIDER_NO_CAPTCHA": "No captchas returned from provider",
433
- "MISSING_PROVIDER_PAIR": "Missing provider pair",
434
- "MISSING_ENV_VARIABLE": "Missing environment variable",
435
- "GENERAL": "General Dev Error, see context",
436
- "METHOD_NOT_IMPLEMENTED": "Method not implemented"
437
- },
438
- "FS": {
439
- "FILE_NOT_FOUND": "File not found",
440
- "FILE_ALREADY_EXISTS": "File already exists",
441
- "INVALID_DIR_FORMAT": "Invalid directory format"
442
- }
2
+ "GENERAL": {
3
+ "MISSING_SECRET_KEY": "Missing secret key",
4
+ "SITE_KEY_NOT_FOUND": "Site key not found",
5
+ "JSON_LOAD_FAILED": "Failed to load JSON file",
6
+ "MNEMONIC_UNDEFINED": "Mnemonic Undefined. Please set the mnemonic in environment variables",
7
+ "NO_MNEMONIC_OR_SEED": "No mnemonic or seed provided",
8
+ "CANT_FIND_KEYRINGPAIR": "Can't find the keyringpair for {{address}}",
9
+ "ENVIRONMENT_NOT_READY": "Environment not ready",
10
+ "INVALID_SIGNATURE": "Invalid signature",
11
+ "SITE_KEY_MISSING": "SITE KEY missing",
12
+ "ACCOUNT_NOT_FOUND": "Account not found",
13
+ "INVALID_TIMESTAMP": "Invalid timestamp"
14
+ },
15
+ "API": {
16
+ "INSUFFICIENT_PERMISSIONS": "Insufficient permissions to perform this action",
17
+ "MISSING_QUERY_PARAMETERS": "Missing query parameters",
18
+ "MISSING_AUTHORIZATION_HEADER": "Missing authorization header",
19
+ "TIMESTAMP_TOO_OLD": "Timestamp too old",
20
+ "FORBIDDEN": "Forbidden",
21
+ "PROVIDER_VERIFY_FAILED": "Provider verification failed",
22
+ "UNAUTHORIZED": "Unauthorised",
23
+ "MISSING_BODY": "Missing body",
24
+ "NO_CONTENT_TYPE_HEADER": "No content-type header. Assumed JSON encoded body but failed to parse.",
25
+ "CAPTCHA_FAILED": "You answered one or more captchas incorrectly. Please try again",
26
+ "CAPTCHA_PASSED": "You correctly answered the captchas",
27
+ "BAD_REQUEST": "BadRequest",
28
+ "USER_VERIFIED": "User verified",
29
+ "USER_NOT_VERIFIED": "User not verified",
30
+ "USER_NOT_VERIFIED_TIME_EXPIRED": "User not verified. Captcha solution has expired.",
31
+ "USER_NOT_VERIFIED_NO_SOLUTION": "User not verified. No captcha solution found.",
32
+ "USER_ALREADY_VERIFIED": "This solution has already been verified. User should complete a new captcha.",
33
+ "UNKNOWN": "Unknown API error",
34
+ "SITE_KEY_NOT_REGISTERED": "Site key not registered",
35
+ "INCORRECT_CAPTCHA_TYPE": "Incorrect CAPTCHA type",
36
+ "INVALID_SITE_KEY": "Invalid site key",
37
+ "UNAUTHORIZED_ORIGIN_URL": "Unauthorized origin URL",
38
+ "INVALID_IP": "Invalid IP",
39
+ "INVALID_URL": "Invalid URL",
40
+ "INVALID_BODY": "Invalid body",
41
+ "PARSE_ERROR": "Error parsing request"
42
+ },
43
+ "PORTAL": {
44
+ "CANNOT_MODIFY_OWNER_USER": "Cannot modify owner user",
45
+ "CANNOT_DELETE_OWN_USER": "Cannot delete your own account",
46
+ "CANNOT_DELETE_LAST_USER": "Cannot delete last user",
47
+ "USER_ALREADY_EXISTS": "User already exists",
48
+ "NO_SUGGESTIONS_FOUND": "No suggestions found",
49
+ "CANNOT_DEACTIVATE_LAST_SITE": "Cannot deactivate the last active site"
50
+ },
51
+ "TARGET": {
52
+ "airplanes": "aeroplanes",
53
+ "american-flag": "American flag",
54
+ "bonsai": "bonzai",
55
+ "buddha": "Buddha",
56
+ "cannon": "cannon",
57
+ "coffee-mug": "coffee mug",
58
+ "flashlight": "torch",
59
+ "floppy-disk": "floppy disk",
60
+ "football-helmet": "American football helmet",
61
+ "grand-piano": "grand piano",
62
+ "jesus-christ": "Jesus Christ",
63
+ "knife": "knife",
64
+ "leopards": "leopards",
65
+ "sword": "sword",
66
+ "syringe": "syringe",
67
+ "tambourine": "tambourine",
68
+ "bird": "bird",
69
+ "bus": "bus",
70
+ "car": "car",
71
+ "cat": "cat",
72
+ "deer": "deer",
73
+ "dog": "dog",
74
+ "horse": "horse",
75
+ "plane": "plane",
76
+ "train": "train",
77
+ "animals": "animals",
78
+ "antelope": "antelope",
79
+ "backpack": "backpack",
80
+ "badger": "badger",
81
+ "baseball-bat": "baseball-bat",
82
+ "baseball-glove": "baseball-glove",
83
+ "basketball-hoop": "basketball-hoop",
84
+ "bat": "bat",
85
+ "bathtub": "bathtub",
86
+ "bear": "bear",
87
+ "bee": "bee",
88
+ "beer-mug": "beer-mug",
89
+ "beetle": "beetle",
90
+ "billiards": "billiards",
91
+ "binoculars": "binoculars",
92
+ "birdbath": "birdbath",
93
+ "bison": "bison",
94
+ "blimp": "blimp",
95
+ "boar": "boar",
96
+ "bonsai-tree": "bonsai-tree",
97
+ "boom-box": "boom-box",
98
+ "bowling-ball": "bowling-ball",
99
+ "bowling-pin": "bowling-pin",
100
+ "boxing-glove": "boxing-glove",
101
+ "breadmaker": "breadmaker",
102
+ "bulldozer": "bulldozer",
103
+ "butterfly": "butterfly",
104
+ "cactus": "cactus",
105
+ "cake": "cake",
106
+ "calculator": "calculator",
107
+ "camel": "camel",
108
+ "canoe": "canoe",
109
+ "car-tire": "car-tire",
110
+ "caterpillar": "caterpillar",
111
+ "cd": "cd",
112
+ "cereal-box": "cereal-box",
113
+ "chandelier": "chandelier",
114
+ "chess-board": "chess-board",
115
+ "chimpanzee": "chimpanzee",
116
+ "chopsticks": "chopsticks",
117
+ "cockroach": "cockroach",
118
+ "coffin": "coffin",
119
+ "coin": "coin",
120
+ "comet": "comet",
121
+ "computer-keyboard": "computer-keyboard",
122
+ "computer-monitor": "computer-monitor",
123
+ "computer-mouse": "computer-mouse",
124
+ "conch": "conch",
125
+ "cormorant": "cormorant",
126
+ "covered-wagon": "covered-wagon",
127
+ "cow": "cow",
128
+ "cowboy-hat": "cowboy-hat",
129
+ "coyote": "coyote",
130
+ "crab": "crab",
131
+ "crow": "crow",
132
+ "desk-globe": "desk-globe",
133
+ "diamond-ring": "diamond-ring",
134
+ "dice": "dice",
135
+ "dolphin": "dolphin",
136
+ "donkey": "donkey",
137
+ "doorknob": "doorknob",
138
+ "dragonfly": "dragonfly",
139
+ "drinking-straw": "drinking-straw",
140
+ "duck": "duck",
141
+ "dumb-bell": "dumb-bell",
142
+ "eagle": "eagle",
143
+ "eiffel-tower": "eiffel-tower",
144
+ "electric-guitar": "electric-guitar",
145
+ "elephant": "elephant",
146
+ "elk": "elk",
147
+ "eyeglasses": "eyeglasses",
148
+ "fern": "fern",
149
+ "fire-extinguisher": "fire-extinguisher",
150
+ "fire-hydrant": "fire-hydrant",
151
+ "fire-truck": "fire-truck",
152
+ "fireworks": "fireworks",
153
+ "flamingo": "flamingo",
154
+ "fly": "fly",
155
+ "fox": "fox",
156
+ "french-horn": "french-horn",
157
+ "fried-egg": "fried-egg",
158
+ "frisbee": "frisbee",
159
+ "frog": "frog",
160
+ "frying-pan": "frying-pan",
161
+ "galaxy": "galaxy",
162
+ "gas-pump": "gas-pump",
163
+ "giraffe": "giraffe",
164
+ "goat": "goat",
165
+ "golden-gate-bridge": "golden-gate-bridge",
166
+ "goldfish": "goldfish",
167
+ "golf-ball": "golf-ball",
168
+ "goose": "goose",
169
+ "gorilla": "gorilla",
170
+ "grapes": "grapes",
171
+ "grasshopper": "grasshopper",
172
+ "greyhound": "greyhound",
173
+ "guitar-pick": "guitar-pick",
174
+ "hamburger": "hamburger",
175
+ "hammock": "hammock",
176
+ "hamster": "hamster",
177
+ "hare": "hare",
178
+ "harmonica": "harmonica",
179
+ "harp": "harp",
180
+ "harpsichord": "harpsichord",
181
+ "head-phones": "head-phones",
182
+ "hedgehog": "hedgehog",
183
+ "helicopter": "helicopter",
184
+ "hibiscus": "hibiscus",
185
+ "hippopotamus": "hippopotamus",
186
+ "homer-simpson": "homer-simpson",
187
+ "hornbill": "hornbill",
188
+ "horseshoe-crab": "horseshoe-crab",
189
+ "hot-air-balloon": "hot-air-balloon",
190
+ "hot-dog": "hot-dog",
191
+ "hot-tub": "hot-tub",
192
+ "hourglass": "hourglass",
193
+ "house-fly": "house-fly",
194
+ "hummingbird": "hummingbird",
195
+ "hyena": "hyena",
196
+ "ice-cream-cone": "ice-cream-cone",
197
+ "iguana": "iguana",
198
+ "ipod": "ipod",
199
+ "jellyfish": "jellyfish",
200
+ "joy-stick": "joy-stick",
201
+ "kangaroo": "kangaroo",
202
+ "kayak": "kayak",
203
+ "killer-whale": "killer-whale",
204
+ "koala": "koala",
205
+ "ladder": "ladder",
206
+ "ladybugs": "ladybugs",
207
+ "laptop": "laptop",
208
+ "leopard": "leopard",
209
+ "license-plate": "license-plate",
210
+ "light-house": "light-house",
211
+ "lightbulb": "lightbulb",
212
+ "lightning": "lightning",
213
+ "lion": "lion",
214
+ "lizard": "lizard",
215
+ "llama": "llama",
216
+ "lobster": "lobster",
217
+ "mailbox": "mailbox",
218
+ "mandolin": "mandolin",
219
+ "mars": "mars",
220
+ "mattress": "mattress",
221
+ "megaphone": "megaphone",
222
+ "microscope": "microscope",
223
+ "microwave": "microwave",
224
+ "minaret": "minaret",
225
+ "minotaur": "minotaur",
226
+ "mosquito": "mosquito",
227
+ "moth": "moth",
228
+ "motorbikes": "motorbikes",
229
+ "mountain-bike": "mountain-bike",
230
+ "mouse": "mouse",
231
+ "mushroom": "mushroom",
232
+ "mussels": "mussels",
233
+ "necktie": "necktie",
234
+ "octopus": "octopus",
235
+ "okapi": "okapi",
236
+ "orangutan": "orangutan",
237
+ "ostrich": "ostrich",
238
+ "otter": "otter",
239
+ "owl": "owl",
240
+ "ox": "ox",
241
+ "oyster": "oyster",
242
+ "palm-pilot": "palm-pilot",
243
+ "palm-tree": "palm-tree",
244
+ "panda": "panda",
245
+ "paper-shredder": "paper-shredder",
246
+ "paperclip": "paperclip",
247
+ "parrot": "parrot",
248
+ "pci-card": "pci-card",
249
+ "pelecaniformes": "pelecaniformes",
250
+ "penguin": "penguin",
251
+ "photocopier": "photocopier",
252
+ "piano": "piano",
253
+ "picnic-table": "picnic-table",
254
+ "pig": "pig",
255
+ "pigeon": "pigeon",
256
+ "playing-card": "playing-card",
257
+ "porcupine": "porcupine",
258
+ "possum": "possum",
259
+ "pram": "pram",
260
+ "pyramid": "pyramid",
261
+ "raccoon": "raccoon",
262
+ "radio-telescope": "radio-telescope",
263
+ "rainbow": "rainbow",
264
+ "rat": "rat",
265
+ "refrigerator": "refrigerator",
266
+ "reindeer": "reindeer",
267
+ "rhinoceros": "rhinoceros",
268
+ "rotary-phone": "rotary-phone",
269
+ "roulette-wheel": "roulette-wheel",
270
+ "saddle": "saddle",
271
+ "sandpiper": "sandpiper",
272
+ "saturn": "saturn",
273
+ "school-bus": "school-bus",
274
+ "screwdriver": "screwdriver",
275
+ "seahorse": "seahorse",
276
+ "seal": "seal",
277
+ "segway": "segway",
278
+ "self-propelled-lawn-mower": "self-propelled-lawn-mower",
279
+ "shark": "shark",
280
+ "sheep": "sheep",
281
+ "sheet-music": "sheet-music",
282
+ "skateboard": "skateboard",
283
+ "skunk": "skunk",
284
+ "skyscraper": "skyscraper",
285
+ "smokestack": "smokestack",
286
+ "snail": "snail",
287
+ "snake": "snake",
288
+ "sneaker": "sneaker",
289
+ "snowmobile": "snowmobile",
290
+ "soccer-ball": "soccer-ball",
291
+ "socks": "socks",
292
+ "soda-can": "soda-can",
293
+ "spaghetti": "spaghetti",
294
+ "sparrow": "sparrow",
295
+ "speed-boat": "speed-boat",
296
+ "spoon": "spoon",
297
+ "squid": "squid",
298
+ "squirrel": "squirrel",
299
+ "stained-glass": "stained-glass",
300
+ "starfish": "starfish",
301
+ "steering-wheel": "steering-wheel",
302
+ "stirrups": "stirrups",
303
+ "sunflower": "sunflower",
304
+ "superman": "superman",
305
+ "sushi": "sushi",
306
+ "swan": "swan",
307
+ "t-shirt": "t-shirt",
308
+ "teapot": "teapot",
309
+ "teddy-bear": "teddy-bear",
310
+ "telephone-box": "telephone-box",
311
+ "tennis-ball": "tennis-ball",
312
+ "tennis-court": "tennis-court",
313
+ "tennis-racket": "tennis-racket",
314
+ "tiger": "tiger",
315
+ "toad": "toad",
316
+ "toaster": "toaster",
317
+ "tomato": "tomato",
318
+ "tombstone": "tombstone",
319
+ "top-hat": "top-hat",
320
+ "touring-bike": "touring-bike",
321
+ "tower-pisa": "tower-pisa",
322
+ "traffic-light": "traffic-light",
323
+ "treadmill": "treadmill",
324
+ "triceratops": "triceratops",
325
+ "tricycle": "tricycle",
326
+ "tripod": "tripod",
327
+ "tuning-fork": "tuning-fork",
328
+ "turkey": "turkey",
329
+ "turtle": "turtle",
330
+ "tweezer": "tweezer",
331
+ "umbrella": "umbrella",
332
+ "unicorn": "unicorn",
333
+ "video-projector": "video-projector",
334
+ "washing-machine": "washing-machine",
335
+ "watch": "watch",
336
+ "waterfall": "waterfall",
337
+ "watermelon": "watermelon",
338
+ "welding-mask": "welding-mask",
339
+ "whale": "whale",
340
+ "wheelbarrow": "wheelbarrow",
341
+ "windmill": "windmill",
342
+ "wine-bottle": "wine-bottle",
343
+ "wolf": "wolf",
344
+ "wombat": "wombat",
345
+ "woodpecker": "woodpecker",
346
+ "xylophone": "xylophone",
347
+ "yo-yo": "yo-yo",
348
+ "zebra": "zebra"
349
+ },
350
+ "ACCOUNT": {
351
+ "NO_POLKADOT_EXTENSION": "Polkadot extension not found"
352
+ },
353
+ "WIDGET": {
354
+ "SELECT_ALL": "Select all containing the following",
355
+ "IF_NONE_CLICK_NEXT": "If there are none, click Next",
356
+ "NEXT": "Next",
357
+ "SUBMIT": "Submit",
358
+ "CANCEL": "Cancel",
359
+ "I_AM_HUMAN": "I am human",
360
+ "NO_ACCOUNTS_FOUND": "No accounts found",
361
+ "ACCOUNT_NOT_FOUND": "Account not found",
362
+ "NO_EXTENSION_FOUND": "No extension found"
363
+ },
364
+ "CONTRACT": {
365
+ "INVALID_ADDRESS": "Failed to encode invalid address",
366
+ "CAPTCHA_SOLUTION_COMMITMENT_DOES_NOT_EXIST": "Captcha solution commitment does not exist",
367
+ "SIGNER_UNDEFINED": "Signer undefined",
368
+ "CANNOT_FIND_KEYPAIR": "Cannot find keypair",
369
+ "INVALID_DATA_FORMAT": "Invalid data format"
370
+ },
371
+ "CONFIG": {
372
+ "UNKNOWN_ENVIRONMENT": "Unknown environment requested",
373
+ "INVALID_CAPTCHA_NUMBER": "Please configure captchas configurations correctly",
374
+ "INVALID_LOG_LEVEL": "Invalid log level",
375
+ "INVALID_PACKAGE_DIR": "Invalid package directory"
376
+ },
377
+ "DATASET": {
378
+ "DATASET_PARSE_ERROR": "Error parsing dataset",
379
+ "SOLUTION_PARSE_ERROR": "Error parsing dataset",
380
+ "HASH_ERROR": "Error hashing dataset",
381
+ "DATASET_ID_UNDEFINED": "Dataset id undefined",
382
+ "NOT_ENOUGH_LABELS": "Not enough labels",
383
+ "NOT_ENOUGH_IMAGES": "Not enough images",
384
+ "CAPTCHAS_COUNT_LESS_THAN_CONFIGURED": "Number of captchas in dataset is less than configured number of captchas",
385
+ "SOLUTIONS_COUNT_LESS_THAN_CONFIGURED": "Number of solutions in dataset is less than configured number of solutions",
386
+ "DUPLICATE_IMAGE": "duplicate image detected",
387
+ "MERKLE_ERROR": "Error creating merkle tree"
388
+ },
389
+ "DATABASE": {
390
+ "DATABASE_IMPORT_FAILED": "Failed to import database engine",
391
+ "DATABASE_UNDEFINED": "Database client is not connected",
392
+ "DATABASE_HOST_UNDEFINED": "Database host address is not defined",
393
+ "DATASET_LOAD_FAILED": "Data set load failed",
394
+ "DATASET_GET_FAILED": "Failed to get dataset",
395
+ "CAPTCHA_GET_FAILED": "Failed to get captcha",
396
+ "CAPTCHA_UPDATE_FAILED": "Failed to update captcha",
397
+ "IMAGE_GET_FAILED": "Failed to get image",
398
+ "PENDING_RECORD_NOT_FOUND": "No pending record found",
399
+ "INVALID_HASH": "Invalid hash",
400
+ "SOLUTION_GET_FAILED": "Failed to get solution",
401
+ "DATASET_WITH_SOLUTIONS_GET_FAILED": "No datasets found with required number of solutions",
402
+ "SOLUTION_APPROVE_FAILED": "Failed to approve solution",
403
+ "SOLUTION_FLAG_FAILED": "Failed to flag solution as processed",
404
+ "TABLES_UNDEFINED": "Tables undefined",
405
+ "CONNECTION_UNDEFINED": "Connection undefined",
406
+ "COMMITMENT_FLAG_FAILED": "Failed to flag commitment as processed",
407
+ "UNKNOWN": "Unknown database error"
408
+ },
409
+ "CAPTCHA": {
410
+ "PARSE_ERROR": "Error parsing captcha",
411
+ "INVALID_CAPTCHA_ID": "Invalid captcha id",
412
+ "INVALID_ITEM_FORMAT": "Only image and text item types allowed",
413
+ "INVALID_SOLUTION_TYPE": "Invalid solution type",
414
+ "INVALID_ITEM_HASH": "Invalid item hash",
415
+ "DIFFERENT_DATASET_IDS": "Dataset ids do not match",
416
+ "ID_MISMATCH": "captcha id mismatch",
417
+ "MISSING_ITEM_HASH": "missing item hash",
418
+ "INVALID_CAPTCHA_CHALLENGE": "Invalid captcha challenge",
419
+ "DAPP_USER_SOLUTION_NOT_FOUND": "Dapp user solution not found",
420
+ "NO_CAPTCHA": "No captcha found",
421
+ "NO_SESSION_FOUND": "No session found",
422
+ "IP_ADDRESS_MISMATCH": "IP address mismatch detected",
423
+ "INVALID_TOKEN": "Invalid token",
424
+ "INVALID_SOLUTION": "Invalid solution",
425
+ "DECRYPTION_ERROR": "Error decrypting"
426
+ },
427
+ "CLI": {
428
+ "PARAMETER_ERROR": "Invalid parameter"
429
+ },
430
+ "DEVELOPER": {
431
+ "PROSOPO_SITE_KEY_MISSING": "PROSOPO_SITE_KEY is not set in .env file.",
432
+ "PROVIDER_NO_CAPTCHA": "No captchas returned from provider",
433
+ "MISSING_PROVIDER_PAIR": "Missing provider pair",
434
+ "MISSING_ENV_VARIABLE": "Missing environment variable",
435
+ "GENERAL": "General Dev Error, see context",
436
+ "METHOD_NOT_IMPLEMENTED": "Method not implemented"
437
+ },
438
+ "FS": {
439
+ "FILE_NOT_FOUND": "File not found",
440
+ "FILE_ALREADY_EXISTS": "File already exists",
441
+ "INVALID_DIR_FORMAT": "Invalid directory format"
442
+ }
443
443
  }