@prosopo/locale 3.1.2 → 3.1.21

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