@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,331 @@
1
+ {
2
+ "name": "setswana",
3
+ "languageCode": "tn",
4
+ "locale": "tn-BW",
5
+ "countries": [
6
+ "BW",
7
+ "ZA",
8
+ "NA"
9
+ ],
10
+ "regions": [
11
+ "Southern Africa"
12
+ ],
13
+ "version": "0.1.0",
14
+ "displayName": "Setswana",
15
+ "description": "Setswana keyword map — starter pack (community contributions welcome)",
16
+ "reviewStatus": "starter",
17
+ "contributors": [
18
+ "kolanutTechnologies"
19
+ ],
20
+ "targets": [
21
+ "javascript",
22
+ "python",
23
+ "typescript",
24
+ "go",
25
+ "rust"
26
+ ],
27
+ "keywords": {
28
+ "IF": [
29
+ "if"
30
+ ],
31
+ "ELSE": [
32
+ "else"
33
+ ],
34
+ "ELIF": [
35
+ "else"
36
+ ],
37
+ "FOR": [
38
+ "for"
39
+ ],
40
+ "WHILE": [
41
+ "while"
42
+ ],
43
+ "LOOP": [
44
+ "loop"
45
+ ],
46
+ "BREAK": [
47
+ "break"
48
+ ],
49
+ "CONTINUE": [
50
+ "continue"
51
+ ],
52
+ "SWITCH": [
53
+ "switch"
54
+ ],
55
+ "MATCH": [
56
+ "match"
57
+ ],
58
+ "CASE": [
59
+ "case"
60
+ ],
61
+ "DEFAULT": [
62
+ "default"
63
+ ],
64
+ "GOTO": [
65
+ "goto"
66
+ ],
67
+ "FALLTHROUGH": [
68
+ "fallthrough"
69
+ ],
70
+ "SELECT": [
71
+ "select"
72
+ ],
73
+ "RANGE": [
74
+ "range"
75
+ ],
76
+ "FUNCTION": [
77
+ "function"
78
+ ],
79
+ "RETURN": [
80
+ "return"
81
+ ],
82
+ "ASYNC": [
83
+ "async"
84
+ ],
85
+ "AWAIT": [
86
+ "await"
87
+ ],
88
+ "YIELD": [
89
+ "yield"
90
+ ],
91
+ "LAMBDA": [
92
+ "lambda"
93
+ ],
94
+ "DEFER": [
95
+ "defer"
96
+ ],
97
+ "GO": [
98
+ "go"
99
+ ],
100
+ "TRY": [
101
+ "try"
102
+ ],
103
+ "CATCH": [
104
+ "catch"
105
+ ],
106
+ "FINALLY": [
107
+ "finally"
108
+ ],
109
+ "THROW": [
110
+ "throw"
111
+ ],
112
+ "LET": [
113
+ "let"
114
+ ],
115
+ "CONST": [
116
+ "const"
117
+ ],
118
+ "VAR": [
119
+ "var"
120
+ ],
121
+ "MUT": [
122
+ "mut"
123
+ ],
124
+ "GLOBAL": [
125
+ "global"
126
+ ],
127
+ "NONLOCAL": [
128
+ "nonlocal"
129
+ ],
130
+ "CLASS": [
131
+ "class"
132
+ ],
133
+ "STRUCT": [
134
+ "struct"
135
+ ],
136
+ "TRAIT": [
137
+ "trait"
138
+ ],
139
+ "IMPL": [
140
+ "impl"
141
+ ],
142
+ "INTERFACE": [
143
+ "interface"
144
+ ],
145
+ "ENUM": [
146
+ "enum"
147
+ ],
148
+ "TYPE": [
149
+ "type"
150
+ ],
151
+ "EXTENDS": [
152
+ "extends"
153
+ ],
154
+ "IMPLEMENTS": [
155
+ "implements"
156
+ ],
157
+ "NEW": [
158
+ "new"
159
+ ],
160
+ "THIS": [
161
+ "this"
162
+ ],
163
+ "SELF": [
164
+ "self"
165
+ ],
166
+ "SUPER": [
167
+ "super"
168
+ ],
169
+ "STATIC": [
170
+ "static"
171
+ ],
172
+ "IMPORT": [
173
+ "import"
174
+ ],
175
+ "EXPORT": [
176
+ "export"
177
+ ],
178
+ "FROM": [
179
+ "from"
180
+ ],
181
+ "AS": [
182
+ "as"
183
+ ],
184
+ "MODULE": [
185
+ "module"
186
+ ],
187
+ "NAMESPACE": [
188
+ "namespace"
189
+ ],
190
+ "PACKAGE": [
191
+ "package"
192
+ ],
193
+ "USE": [
194
+ "use"
195
+ ],
196
+ "PUB": [
197
+ "public"
198
+ ],
199
+ "CRATE": [
200
+ "crate"
201
+ ],
202
+ "WITH": [
203
+ "with"
204
+ ],
205
+ "PASS": [
206
+ "pass"
207
+ ],
208
+ "ASSERT": [
209
+ "assert"
210
+ ],
211
+ "ASSERTS": [
212
+ "asserts"
213
+ ],
214
+ "PRINT": [
215
+ "print"
216
+ ],
217
+ "TRUE": [
218
+ "true"
219
+ ],
220
+ "FALSE": [
221
+ "false"
222
+ ],
223
+ "NULL": [
224
+ "null"
225
+ ],
226
+ "NIL": [
227
+ "null"
228
+ ],
229
+ "UNDEFINED": [
230
+ "undefined"
231
+ ],
232
+ "UNSAFE": [
233
+ "unsafe"
234
+ ],
235
+ "EXTERN": [
236
+ "declare"
237
+ ],
238
+ "CHAN": [
239
+ "chan"
240
+ ],
241
+ "MAP": [
242
+ "map"
243
+ ],
244
+ "AND": [
245
+ "and"
246
+ ],
247
+ "OR": [
248
+ "or"
249
+ ],
250
+ "NOT": [
251
+ "not"
252
+ ],
253
+ "IN": [
254
+ "in"
255
+ ],
256
+ "IS": [
257
+ "is"
258
+ ],
259
+ "DEL": [
260
+ "del"
261
+ ],
262
+ "DO": [
263
+ "do"
264
+ ],
265
+ "DEBUGGER": [
266
+ "debugger"
267
+ ],
268
+ "TYPEOF": [
269
+ "typeof"
270
+ ],
271
+ "VOID": [
272
+ "void"
273
+ ],
274
+ "INSTANCEOF": [
275
+ "instanceof"
276
+ ],
277
+ "PRIVATE": [
278
+ "private"
279
+ ],
280
+ "PROTECTED": [
281
+ "protected"
282
+ ],
283
+ "PUBLIC": [
284
+ "public"
285
+ ],
286
+ "READONLY": [
287
+ "readonly"
288
+ ],
289
+ "ABSTRACT": [
290
+ "abstract"
291
+ ],
292
+ "DECLARE": [
293
+ "declare"
294
+ ],
295
+ "GET": [
296
+ "get"
297
+ ],
298
+ "SET": [
299
+ "set"
300
+ ],
301
+ "INFER": [
302
+ "infer"
303
+ ],
304
+ "KEYOF": [
305
+ "keyof"
306
+ ],
307
+ "UNIQUE": [
308
+ "unique"
309
+ ],
310
+ "SATISFIES": [
311
+ "satisfies"
312
+ ],
313
+ "DYN": [
314
+ "dyn"
315
+ ],
316
+ "MOVE": [
317
+ "move"
318
+ ],
319
+ "REF": [
320
+ "ref"
321
+ ],
322
+ "WHERE": [
323
+ "where"
324
+ ]
325
+ },
326
+ "scopeNote": "Setswana / Tswana of Botswana and South Africa.",
327
+ "recommendedPartners": [
328
+ "PanSALB",
329
+ "Translate.org.za"
330
+ ]
331
+ }
@@ -0,0 +1,329 @@
1
+ {
2
+ "IF": [
3
+ "kana",
4
+ "if"
5
+ ],
6
+ "ELSE": [
7
+ "kana zvisina kudaro",
8
+ "else"
9
+ ],
10
+ "FOR": [
11
+ "kuti",
12
+ "for"
13
+ ],
14
+ "WHILE": [
15
+ "panguva",
16
+ "while"
17
+ ],
18
+ "BREAK": [
19
+ "pambura",
20
+ "break"
21
+ ],
22
+ "CONTINUE": [
23
+ "ramba",
24
+ "continue"
25
+ ],
26
+ "SWITCH": [
27
+ "sarudza",
28
+ "switch"
29
+ ],
30
+ "CASE": [
31
+ "mamiriro",
32
+ "case"
33
+ ],
34
+ "DEFAULT": [
35
+ "chikamu",
36
+ "default"
37
+ ],
38
+ "FUNCTION": [
39
+ "basa",
40
+ "function"
41
+ ],
42
+ "RETURN": [
43
+ "dzosa",
44
+ "return"
45
+ ],
46
+ "ASYNC": [
47
+ "async",
48
+ "async"
49
+ ],
50
+ "AWAIT": [
51
+ "mirira",
52
+ "await"
53
+ ],
54
+ "TRY": [
55
+ "edza",
56
+ "try"
57
+ ],
58
+ "CATCH": [
59
+ "bata",
60
+ "catch"
61
+ ],
62
+ "FINALLY": [
63
+ "pakupedzisira",
64
+ "finally"
65
+ ],
66
+ "THROW": [
67
+ "tonga",
68
+ "throw"
69
+ ],
70
+ "LET": [
71
+ "regai",
72
+ "let"
73
+ ],
74
+ "CONST": [
75
+ "chakavakwa",
76
+ "const"
77
+ ],
78
+ "CLASS": [
79
+ "chikamu",
80
+ "class"
81
+ ],
82
+ "EXTENDS": [
83
+ "wedzera",
84
+ "extends"
85
+ ],
86
+ "NEW": [
87
+ "itsva",
88
+ "new"
89
+ ],
90
+ "THIS": [
91
+ "ichi",
92
+ "this"
93
+ ],
94
+ "IMPORT": [
95
+ "isa",
96
+ "import"
97
+ ],
98
+ "EXPORT": [
99
+ "buda",
100
+ "export"
101
+ ],
102
+ "PRINT": [
103
+ "printa",
104
+ "print"
105
+ ],
106
+ "TRUE": [
107
+ "chokwadi",
108
+ "true"
109
+ ],
110
+ "FALSE": [
111
+ "nhema",
112
+ "false"
113
+ ],
114
+ "NULL": [
115
+ "hapana",
116
+ "null"
117
+ ],
118
+ "UNDEFINED": [
119
+ "hazvisi",
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
+ }