@kolanut/language-packs 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/CONTRIBUTING.md +119 -0
  2. package/LICENSE +17 -0
  3. package/README.md +237 -0
  4. package/badges/coverage.json +6 -0
  5. package/badges/packs.json +6 -0
  6. package/badges/targets.json +6 -0
  7. package/badges/tokens.json +6 -0
  8. package/dist/index.d.ts +2 -0
  9. package/dist/index.js +1 -0
  10. package/dist/load-pack.d.ts +6 -0
  11. package/dist/load-pack.js +31 -0
  12. package/dist/types.d.ts +33 -0
  13. package/dist/types.js +1 -0
  14. package/pack.schema.json +86 -0
  15. package/package.json +61 -0
  16. package/packs/PACK_SCOPE.md +68 -0
  17. package/packs/afrikaans/keywords.json +329 -0
  18. package/packs/afrikaans/pack.json +361 -0
  19. package/packs/amharic/keywords.json +329 -0
  20. package/packs/amharic/pack.json +359 -0
  21. package/packs/arabic/keywords.json +329 -0
  22. package/packs/arabic/pack.json +369 -0
  23. package/packs/bambara/keywords.json +299 -0
  24. package/packs/bambara/pack.json +332 -0
  25. package/packs/by-country.json +183 -0
  26. package/packs/by-region.json +49 -0
  27. package/packs/coverage-summary.json +424 -0
  28. package/packs/french/keywords.json +329 -0
  29. package/packs/french/pack.json +381 -0
  30. package/packs/fulfulde/keywords.json +299 -0
  31. package/packs/fulfulde/pack.json +336 -0
  32. package/packs/hausa/keywords.json +329 -0
  33. package/packs/hausa/pack.json +363 -0
  34. package/packs/igbo/keywords.json +329 -0
  35. package/packs/igbo/pack.json +360 -0
  36. package/packs/index.json +397 -0
  37. package/packs/kinyarwanda/keywords.json +329 -0
  38. package/packs/kinyarwanda/pack.json +359 -0
  39. package/packs/languages-roadmap.json +28 -0
  40. package/packs/lingala/keywords.json +329 -0
  41. package/packs/lingala/pack.json +360 -0
  42. package/packs/logical-tokens.json +120 -0
  43. package/packs/luganda/keywords.json +329 -0
  44. package/packs/luganda/pack.json +359 -0
  45. package/packs/nigerian-pidgin/keywords.json +332 -0
  46. package/packs/nigerian-pidgin/pack.json +362 -0
  47. package/packs/official-target-keywords.json +166 -0
  48. package/packs/oromo/keywords.json +329 -0
  49. package/packs/oromo/pack.json +360 -0
  50. package/packs/portuguese-africa/keywords.json +299 -0
  51. package/packs/portuguese-africa/pack.json +334 -0
  52. package/packs/sesotho/keywords.json +299 -0
  53. package/packs/sesotho/pack.json +330 -0
  54. package/packs/setswana/keywords.json +299 -0
  55. package/packs/setswana/pack.json +331 -0
  56. package/packs/shona/keywords.json +329 -0
  57. package/packs/shona/pack.json +359 -0
  58. package/packs/somali/keywords.json +329 -0
  59. package/packs/somali/pack.json +362 -0
  60. package/packs/swahili/keywords.json +329 -0
  61. package/packs/swahili/pack.json +365 -0
  62. package/packs/target-coverage.json +1083 -0
  63. package/packs/tigrinya/keywords.json +329 -0
  64. package/packs/tigrinya/pack.json +360 -0
  65. package/packs/twi/keywords.json +329 -0
  66. package/packs/twi/pack.json +360 -0
  67. package/packs/wolof/keywords.json +329 -0
  68. package/packs/wolof/pack.json +361 -0
  69. package/packs/xhosa/keywords.json +329 -0
  70. package/packs/xhosa/pack.json +360 -0
  71. package/packs/yoruba/keywords.json +329 -0
  72. package/packs/yoruba/pack.json +363 -0
  73. package/packs/zulu/keywords.json +329 -0
  74. package/packs/zulu/pack.json +360 -0
@@ -0,0 +1,329 @@
1
+ {
2
+ "IF": [
3
+ "si",
4
+ "if"
5
+ ],
6
+ "ELSE": [
7
+ "sinon",
8
+ "else"
9
+ ],
10
+ "FOR": [
11
+ "pour",
12
+ "for"
13
+ ],
14
+ "WHILE": [
15
+ "tant que",
16
+ "while"
17
+ ],
18
+ "BREAK": [
19
+ "casser",
20
+ "break"
21
+ ],
22
+ "CONTINUE": [
23
+ "continuer",
24
+ "continue"
25
+ ],
26
+ "SWITCH": [
27
+ "choisir",
28
+ "switch"
29
+ ],
30
+ "CASE": [
31
+ "cas",
32
+ "case"
33
+ ],
34
+ "DEFAULT": [
35
+ "par défaut",
36
+ "default"
37
+ ],
38
+ "FUNCTION": [
39
+ "fonction",
40
+ "function"
41
+ ],
42
+ "RETURN": [
43
+ "retourner",
44
+ "return"
45
+ ],
46
+ "ASYNC": [
47
+ "asynchrone",
48
+ "async"
49
+ ],
50
+ "AWAIT": [
51
+ "attendre",
52
+ "await"
53
+ ],
54
+ "TRY": [
55
+ "essayer",
56
+ "try"
57
+ ],
58
+ "CATCH": [
59
+ "attraper",
60
+ "catch"
61
+ ],
62
+ "FINALLY": [
63
+ "enfin",
64
+ "finally"
65
+ ],
66
+ "THROW": [
67
+ "lancer",
68
+ "throw"
69
+ ],
70
+ "LET": [
71
+ "soit",
72
+ "let"
73
+ ],
74
+ "CONST": [
75
+ "constante",
76
+ "const"
77
+ ],
78
+ "CLASS": [
79
+ "classe",
80
+ "class"
81
+ ],
82
+ "EXTENDS": [
83
+ "étend",
84
+ "extends"
85
+ ],
86
+ "NEW": [
87
+ "nouveau",
88
+ "new"
89
+ ],
90
+ "THIS": [
91
+ "ceci",
92
+ "this"
93
+ ],
94
+ "IMPORT": [
95
+ "importer",
96
+ "import"
97
+ ],
98
+ "EXPORT": [
99
+ "exporter",
100
+ "export"
101
+ ],
102
+ "PRINT": [
103
+ "afficher",
104
+ "print"
105
+ ],
106
+ "TRUE": [
107
+ "vrai",
108
+ "true"
109
+ ],
110
+ "FALSE": [
111
+ "faux",
112
+ "false"
113
+ ],
114
+ "NULL": [
115
+ "nul",
116
+ "null"
117
+ ],
118
+ "UNDEFINED": [
119
+ "indéfini",
120
+ "undefined"
121
+ ],
122
+ "ELIF": [
123
+ "else"
124
+ ],
125
+ "LOOP": [
126
+ "loop"
127
+ ],
128
+ "MATCH": [
129
+ "match"
130
+ ],
131
+ "GOTO": [
132
+ "goto"
133
+ ],
134
+ "FALLTHROUGH": [
135
+ "fallthrough"
136
+ ],
137
+ "SELECT": [
138
+ "select"
139
+ ],
140
+ "RANGE": [
141
+ "range"
142
+ ],
143
+ "YIELD": [
144
+ "yield"
145
+ ],
146
+ "LAMBDA": [
147
+ "lambda"
148
+ ],
149
+ "DEFER": [
150
+ "defer"
151
+ ],
152
+ "GO": [
153
+ "go"
154
+ ],
155
+ "VAR": [
156
+ "var"
157
+ ],
158
+ "MUT": [
159
+ "mut"
160
+ ],
161
+ "GLOBAL": [
162
+ "global"
163
+ ],
164
+ "NONLOCAL": [
165
+ "nonlocal"
166
+ ],
167
+ "STRUCT": [
168
+ "struct"
169
+ ],
170
+ "TRAIT": [
171
+ "trait"
172
+ ],
173
+ "IMPL": [
174
+ "impl"
175
+ ],
176
+ "INTERFACE": [
177
+ "interface"
178
+ ],
179
+ "ENUM": [
180
+ "enum"
181
+ ],
182
+ "TYPE": [
183
+ "type"
184
+ ],
185
+ "IMPLEMENTS": [
186
+ "implements"
187
+ ],
188
+ "SELF": [
189
+ "self"
190
+ ],
191
+ "SUPER": [
192
+ "super"
193
+ ],
194
+ "STATIC": [
195
+ "static"
196
+ ],
197
+ "FROM": [
198
+ "from"
199
+ ],
200
+ "AS": [
201
+ "as"
202
+ ],
203
+ "MODULE": [
204
+ "module"
205
+ ],
206
+ "NAMESPACE": [
207
+ "namespace"
208
+ ],
209
+ "PACKAGE": [
210
+ "package"
211
+ ],
212
+ "USE": [
213
+ "use"
214
+ ],
215
+ "PUB": [
216
+ "public"
217
+ ],
218
+ "CRATE": [
219
+ "crate"
220
+ ],
221
+ "WITH": [
222
+ "with"
223
+ ],
224
+ "PASS": [
225
+ "pass"
226
+ ],
227
+ "ASSERT": [
228
+ "assert"
229
+ ],
230
+ "ASSERTS": [
231
+ "asserts"
232
+ ],
233
+ "NIL": [
234
+ "null"
235
+ ],
236
+ "UNSAFE": [
237
+ "unsafe"
238
+ ],
239
+ "EXTERN": [
240
+ "declare"
241
+ ],
242
+ "CHAN": [
243
+ "chan"
244
+ ],
245
+ "MAP": [
246
+ "map"
247
+ ],
248
+ "AND": [
249
+ "and"
250
+ ],
251
+ "OR": [
252
+ "or"
253
+ ],
254
+ "NOT": [
255
+ "not"
256
+ ],
257
+ "IN": [
258
+ "in"
259
+ ],
260
+ "IS": [
261
+ "is"
262
+ ],
263
+ "DEL": [
264
+ "del"
265
+ ],
266
+ "DO": [
267
+ "do"
268
+ ],
269
+ "DEBUGGER": [
270
+ "debugger"
271
+ ],
272
+ "TYPEOF": [
273
+ "typeof"
274
+ ],
275
+ "VOID": [
276
+ "void"
277
+ ],
278
+ "INSTANCEOF": [
279
+ "instanceof"
280
+ ],
281
+ "PRIVATE": [
282
+ "private"
283
+ ],
284
+ "PROTECTED": [
285
+ "protected"
286
+ ],
287
+ "PUBLIC": [
288
+ "public"
289
+ ],
290
+ "READONLY": [
291
+ "readonly"
292
+ ],
293
+ "ABSTRACT": [
294
+ "abstract"
295
+ ],
296
+ "DECLARE": [
297
+ "declare"
298
+ ],
299
+ "GET": [
300
+ "get"
301
+ ],
302
+ "SET": [
303
+ "set"
304
+ ],
305
+ "INFER": [
306
+ "infer"
307
+ ],
308
+ "KEYOF": [
309
+ "keyof"
310
+ ],
311
+ "UNIQUE": [
312
+ "unique"
313
+ ],
314
+ "SATISFIES": [
315
+ "satisfies"
316
+ ],
317
+ "DYN": [
318
+ "dyn"
319
+ ],
320
+ "MOVE": [
321
+ "move"
322
+ ],
323
+ "REF": [
324
+ "ref"
325
+ ],
326
+ "WHERE": [
327
+ "where"
328
+ ]
329
+ }
@@ -0,0 +1,381 @@
1
+ {
2
+ "name": "french",
3
+ "languageCode": "fr",
4
+ "locale": "fr-SN",
5
+ "countries": [
6
+ "SN",
7
+ "CI",
8
+ "ML",
9
+ "BF",
10
+ "NE",
11
+ "TG",
12
+ "BJ",
13
+ "CM",
14
+ "GA",
15
+ "CG",
16
+ "CD",
17
+ "MG",
18
+ "RW",
19
+ "BI",
20
+ "TD",
21
+ "CF",
22
+ "GN",
23
+ "MR",
24
+ "DJ",
25
+ "KM"
26
+ ],
27
+ "regions": [
28
+ "West Africa",
29
+ "Central Africa",
30
+ "East Africa",
31
+ "Indian Ocean"
32
+ ],
33
+ "version": "0.1.0",
34
+ "displayName": "French",
35
+ "description": "French keyword map for Francophone Africa — starter pack",
36
+ "reviewStatus": "starter",
37
+ "contributors": [
38
+ "kolanutTechnologies"
39
+ ],
40
+ "targets": [
41
+ "javascript",
42
+ "python",
43
+ "typescript",
44
+ "go",
45
+ "rust"
46
+ ],
47
+ "keywords": {
48
+ "IF": [
49
+ "si",
50
+ "if"
51
+ ],
52
+ "ELSE": [
53
+ "sinon",
54
+ "else"
55
+ ],
56
+ "FOR": [
57
+ "pour",
58
+ "for"
59
+ ],
60
+ "WHILE": [
61
+ "tant que",
62
+ "while"
63
+ ],
64
+ "BREAK": [
65
+ "casser",
66
+ "break"
67
+ ],
68
+ "CONTINUE": [
69
+ "continuer",
70
+ "continue"
71
+ ],
72
+ "SWITCH": [
73
+ "choisir",
74
+ "switch"
75
+ ],
76
+ "CASE": [
77
+ "cas",
78
+ "case"
79
+ ],
80
+ "DEFAULT": [
81
+ "par défaut",
82
+ "default"
83
+ ],
84
+ "FUNCTION": [
85
+ "fonction",
86
+ "function"
87
+ ],
88
+ "RETURN": [
89
+ "retourner",
90
+ "return"
91
+ ],
92
+ "ASYNC": [
93
+ "asynchrone",
94
+ "async"
95
+ ],
96
+ "AWAIT": [
97
+ "attendre",
98
+ "await"
99
+ ],
100
+ "TRY": [
101
+ "essayer",
102
+ "try"
103
+ ],
104
+ "CATCH": [
105
+ "attraper",
106
+ "catch"
107
+ ],
108
+ "FINALLY": [
109
+ "enfin",
110
+ "finally"
111
+ ],
112
+ "THROW": [
113
+ "lancer",
114
+ "throw"
115
+ ],
116
+ "LET": [
117
+ "soit",
118
+ "let"
119
+ ],
120
+ "CONST": [
121
+ "constante",
122
+ "const"
123
+ ],
124
+ "CLASS": [
125
+ "classe",
126
+ "class"
127
+ ],
128
+ "EXTENDS": [
129
+ "étend",
130
+ "extends"
131
+ ],
132
+ "NEW": [
133
+ "nouveau",
134
+ "new"
135
+ ],
136
+ "THIS": [
137
+ "ceci",
138
+ "this"
139
+ ],
140
+ "IMPORT": [
141
+ "importer",
142
+ "import"
143
+ ],
144
+ "EXPORT": [
145
+ "exporter",
146
+ "export"
147
+ ],
148
+ "PRINT": [
149
+ "afficher",
150
+ "print"
151
+ ],
152
+ "TRUE": [
153
+ "vrai",
154
+ "true"
155
+ ],
156
+ "FALSE": [
157
+ "faux",
158
+ "false"
159
+ ],
160
+ "NULL": [
161
+ "nul",
162
+ "null"
163
+ ],
164
+ "UNDEFINED": [
165
+ "indéfini",
166
+ "undefined"
167
+ ],
168
+ "ELIF": [
169
+ "else"
170
+ ],
171
+ "LOOP": [
172
+ "loop"
173
+ ],
174
+ "MATCH": [
175
+ "match"
176
+ ],
177
+ "GOTO": [
178
+ "goto"
179
+ ],
180
+ "FALLTHROUGH": [
181
+ "fallthrough"
182
+ ],
183
+ "SELECT": [
184
+ "select"
185
+ ],
186
+ "RANGE": [
187
+ "range"
188
+ ],
189
+ "YIELD": [
190
+ "yield"
191
+ ],
192
+ "LAMBDA": [
193
+ "lambda"
194
+ ],
195
+ "DEFER": [
196
+ "defer"
197
+ ],
198
+ "GO": [
199
+ "go"
200
+ ],
201
+ "VAR": [
202
+ "var"
203
+ ],
204
+ "MUT": [
205
+ "mut"
206
+ ],
207
+ "GLOBAL": [
208
+ "global"
209
+ ],
210
+ "NONLOCAL": [
211
+ "nonlocal"
212
+ ],
213
+ "STRUCT": [
214
+ "struct"
215
+ ],
216
+ "TRAIT": [
217
+ "trait"
218
+ ],
219
+ "IMPL": [
220
+ "impl"
221
+ ],
222
+ "INTERFACE": [
223
+ "interface"
224
+ ],
225
+ "ENUM": [
226
+ "enum"
227
+ ],
228
+ "TYPE": [
229
+ "type"
230
+ ],
231
+ "IMPLEMENTS": [
232
+ "implements"
233
+ ],
234
+ "SELF": [
235
+ "self"
236
+ ],
237
+ "SUPER": [
238
+ "super"
239
+ ],
240
+ "STATIC": [
241
+ "static"
242
+ ],
243
+ "FROM": [
244
+ "from"
245
+ ],
246
+ "AS": [
247
+ "as"
248
+ ],
249
+ "MODULE": [
250
+ "module"
251
+ ],
252
+ "NAMESPACE": [
253
+ "namespace"
254
+ ],
255
+ "PACKAGE": [
256
+ "package"
257
+ ],
258
+ "USE": [
259
+ "use"
260
+ ],
261
+ "PUB": [
262
+ "public"
263
+ ],
264
+ "CRATE": [
265
+ "crate"
266
+ ],
267
+ "WITH": [
268
+ "with"
269
+ ],
270
+ "PASS": [
271
+ "pass"
272
+ ],
273
+ "ASSERT": [
274
+ "assert"
275
+ ],
276
+ "ASSERTS": [
277
+ "asserts"
278
+ ],
279
+ "NIL": [
280
+ "null"
281
+ ],
282
+ "UNSAFE": [
283
+ "unsafe"
284
+ ],
285
+ "EXTERN": [
286
+ "declare"
287
+ ],
288
+ "CHAN": [
289
+ "chan"
290
+ ],
291
+ "MAP": [
292
+ "map"
293
+ ],
294
+ "AND": [
295
+ "and"
296
+ ],
297
+ "OR": [
298
+ "or"
299
+ ],
300
+ "NOT": [
301
+ "not"
302
+ ],
303
+ "IN": [
304
+ "in"
305
+ ],
306
+ "IS": [
307
+ "is"
308
+ ],
309
+ "DEL": [
310
+ "del"
311
+ ],
312
+ "DO": [
313
+ "do"
314
+ ],
315
+ "DEBUGGER": [
316
+ "debugger"
317
+ ],
318
+ "TYPEOF": [
319
+ "typeof"
320
+ ],
321
+ "VOID": [
322
+ "void"
323
+ ],
324
+ "INSTANCEOF": [
325
+ "instanceof"
326
+ ],
327
+ "PRIVATE": [
328
+ "private"
329
+ ],
330
+ "PROTECTED": [
331
+ "protected"
332
+ ],
333
+ "PUBLIC": [
334
+ "public"
335
+ ],
336
+ "READONLY": [
337
+ "readonly"
338
+ ],
339
+ "ABSTRACT": [
340
+ "abstract"
341
+ ],
342
+ "DECLARE": [
343
+ "declare"
344
+ ],
345
+ "GET": [
346
+ "get"
347
+ ],
348
+ "SET": [
349
+ "set"
350
+ ],
351
+ "INFER": [
352
+ "infer"
353
+ ],
354
+ "KEYOF": [
355
+ "keyof"
356
+ ],
357
+ "UNIQUE": [
358
+ "unique"
359
+ ],
360
+ "SATISFIES": [
361
+ "satisfies"
362
+ ],
363
+ "DYN": [
364
+ "dyn"
365
+ ],
366
+ "MOVE": [
367
+ "move"
368
+ ],
369
+ "REF": [
370
+ "ref"
371
+ ],
372
+ "WHERE": [
373
+ "where"
374
+ ]
375
+ },
376
+ "scopeNote": "International French baseline for Francophone Africa. Vocabulary varies by country — prefer aliases over one national form.",
377
+ "recommendedPartners": [
378
+ "OIF",
379
+ "ACALAN"
380
+ ]
381
+ }