@lokascript/i18n 3.1.0 → 3.2.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 (49) hide show
  1. package/README.md +35 -45
  2. package/dist/browser.cjs +52 -29
  3. package/dist/browser.cjs.map +1 -1
  4. package/dist/browser.js +52 -29
  5. package/dist/browser.js.map +1 -1
  6. package/dist/dictionaries/index.cjs +52 -29
  7. package/dist/dictionaries/index.cjs.map +1 -1
  8. package/dist/dictionaries/index.js +52 -29
  9. package/dist/dictionaries/index.js.map +1 -1
  10. package/dist/index.cjs +52 -29
  11. package/dist/index.cjs.map +1 -1
  12. package/dist/index.d.cts +30 -30
  13. package/dist/index.d.ts +30 -30
  14. package/dist/index.js +52 -29
  15. package/dist/index.js.map +1 -1
  16. package/dist/lokascript-i18n.min.js +1 -1
  17. package/dist/lokascript-i18n.min.js.map +1 -1
  18. package/dist/lokascript-i18n.mjs +35 -12
  19. package/dist/lokascript-i18n.mjs.map +1 -1
  20. package/dist/plugins/vite.cjs +52 -29
  21. package/dist/plugins/vite.cjs.map +1 -1
  22. package/dist/plugins/vite.js +52 -29
  23. package/dist/plugins/vite.js.map +1 -1
  24. package/dist/plugins/webpack.cjs +52 -29
  25. package/dist/plugins/webpack.cjs.map +1 -1
  26. package/dist/plugins/webpack.js +52 -29
  27. package/dist/plugins/webpack.js.map +1 -1
  28. package/package.json +10 -10
  29. package/src/dictionaries/ar.ts +2 -1
  30. package/src/dictionaries/de.ts +1 -0
  31. package/src/dictionaries/es.ts +1 -0
  32. package/src/dictionaries/fr.ts +1 -0
  33. package/src/dictionaries/he.ts +3 -1
  34. package/src/dictionaries/hi.ts +3 -2
  35. package/src/dictionaries/id.ts +2 -1
  36. package/src/dictionaries/it.ts +1 -0
  37. package/src/dictionaries/ja.ts +1 -0
  38. package/src/dictionaries/ko.ts +1 -0
  39. package/src/dictionaries/pl.ts +1 -0
  40. package/src/dictionaries/pt.ts +1 -0
  41. package/src/dictionaries/qu.ts +3 -2
  42. package/src/dictionaries/ru.ts +1 -0
  43. package/src/dictionaries/sw.ts +2 -1
  44. package/src/dictionaries/th.ts +1 -1
  45. package/src/dictionaries/tl.ts +3 -1
  46. package/src/dictionaries/tr.ts +5 -2
  47. package/src/dictionaries/uk.ts +1 -0
  48. package/src/dictionaries/zh.ts +1 -0
  49. package/src/new-languages.test.ts +1 -1
@@ -638,6 +638,7 @@ const es = {
638
638
  s: 's',
639
639
  min: 'min',
640
640
  h: 'h',
641
+ times: 'veces',
641
642
  },
642
643
  values: {
643
644
  true: 'verdadero',
@@ -877,6 +878,7 @@ const ja = {
877
878
  s: '\u79d2',
878
879
  min: '\u5206',
879
880
  h: '\u6642',
881
+ times: '\u56de',
880
882
  },
881
883
  values: {
882
884
  true: '\u771f',
@@ -1120,6 +1122,7 @@ const fr = {
1120
1122
  s: 's',
1121
1123
  min: 'min',
1122
1124
  h: 'h',
1125
+ times: 'fois',
1123
1126
  },
1124
1127
  values: {
1125
1128
  true: 'vrai',
@@ -1368,6 +1371,7 @@ const de = {
1368
1371
  s: 's',
1369
1372
  min: 'min',
1370
1373
  h: 'std',
1374
+ times: 'mal',
1371
1375
  },
1372
1376
  values: {
1373
1377
  true: 'wahr',
@@ -1614,11 +1618,12 @@ const ar = {
1614
1618
  s: '\u062b',
1615
1619
  min: '\u062f',
1616
1620
  h: '\u0633',
1621
+ times: '\u0645\u0631\u0627\u062a',
1617
1622
  },
1618
1623
  values: {
1619
1624
  true: '\u0635\u062d\u064a\u062d',
1620
1625
  false: '\u062e\u0637\u0623',
1621
- null: '\u0641\u0627\u0631\u063a',
1626
+ null: 'null',
1622
1627
  undefined: '\u063a\u064a\u0631 \u0645\u0639\u0631\u0641',
1623
1628
  it: '\u0647\u0648',
1624
1629
  its: '\u0644\u0647',
@@ -1858,6 +1863,7 @@ const ko = {
1858
1863
  s: '\ucd08',
1859
1864
  min: '\ubd84',
1860
1865
  h: '\uc2dc',
1866
+ times: '\ubc88',
1861
1867
  },
1862
1868
  values: {
1863
1869
  true: '\ucc38',
@@ -2112,6 +2118,7 @@ const zh = {
2112
2118
  s: '\u79d2',
2113
2119
  min: '\u5206',
2114
2120
  h: '\u65f6',
2121
+ times: '\u6b21',
2115
2122
  },
2116
2123
  values: {
2117
2124
  true: '\u771f',
@@ -2336,7 +2343,9 @@ const tr = {
2336
2343
  exists: 'var',
2337
2344
  matches: 'e\u015fle\u015fir',
2338
2345
  contains: 'i\u00e7erir',
2339
- includes: 'dahil',
2346
+ // `includes` takes `contains`' word: both engines read them as one operator,
2347
+ // and `dahil` is `inclusive` (pick's range word), which the reader takes it for.
2348
+ includes: 'i\u00e7erir',
2340
2349
  equals: 'e\u015fittir',
2341
2350
  has: 'var',
2342
2351
  have: 'var',
@@ -2360,11 +2369,12 @@ const tr = {
2360
2369
  s: 's',
2361
2370
  min: 'dk',
2362
2371
  h: 'sa',
2372
+ times: 'kez',
2363
2373
  },
2364
2374
  values: {
2365
2375
  true: 'do\u011fru',
2366
2376
  false: 'yanl\u0131\u015f',
2367
- null: 'bo\u015f',
2377
+ null: 'null',
2368
2378
  undefined: 'tan\u0131ms\u0131z',
2369
2379
  it: 'o',
2370
2380
  its: 'onun',
@@ -2619,11 +2629,12 @@ const id = {
2619
2629
  s: 'd',
2620
2630
  min: 'mnt',
2621
2631
  h: 'j',
2632
+ times: 'kali',
2622
2633
  },
2623
2634
  values: {
2624
2635
  true: 'benar',
2625
2636
  false: 'salah',
2626
- null: 'kosong',
2637
+ null: 'null',
2627
2638
  undefined: 'tidak_terdefinisi',
2628
2639
  it: 'itu',
2629
2640
  its: 'miliknya',
@@ -2845,7 +2856,7 @@ const qu = {
2845
2856
  logical: {
2846
2857
  when: 'maykama',
2847
2858
  where: 'maypi',
2848
- and: 'chaymanta',
2859
+ and: 'hinallataq',
2849
2860
  or: 'utaq',
2850
2861
  not: 'mana',
2851
2862
  is: 'kanqa',
@@ -2880,11 +2891,12 @@ const qu = {
2880
2891
  s: 's',
2881
2892
  min: 'm',
2882
2893
  h: 'h',
2894
+ times: 'kuti',
2883
2895
  },
2884
2896
  values: {
2885
2897
  true: 'cheqaq',
2886
2898
  false: 'llulla',
2887
- null: 'chusaq',
2899
+ null: 'null',
2888
2900
  undefined: 'mana_riqsisqa',
2889
2901
  it: 'chay',
2890
2902
  its: 'chaypaq',
@@ -3145,11 +3157,12 @@ const sw = {
3145
3157
  s: 's',
3146
3158
  min: 'dk',
3147
3159
  h: 'sa',
3160
+ times: 'mara',
3148
3161
  },
3149
3162
  values: {
3150
3163
  true: 'kweli',
3151
3164
  false: 'uongo',
3152
- null: 'tupu',
3165
+ null: 'null',
3153
3166
  undefined: 'haijafafanuliwa',
3154
3167
  it: 'hiyo',
3155
3168
  its: 'yake',
@@ -3400,6 +3413,7 @@ const pt = {
3400
3413
  s: 's',
3401
3414
  min: 'min',
3402
3415
  h: 'h',
3416
+ times: 'vezes',
3403
3417
  },
3404
3418
  values: {
3405
3419
  true: 'verdadeiro',
@@ -3641,6 +3655,7 @@ const it = {
3641
3655
  s: 's',
3642
3656
  min: 'min',
3643
3657
  h: 'h',
3658
+ times: 'volte',
3644
3659
  },
3645
3660
  values: {
3646
3661
  true: 'vero',
@@ -4075,6 +4090,7 @@ const pl = {
4075
4090
  s: 's',
4076
4091
  min: 'min',
4077
4092
  h: 'godz',
4093
+ times: 'razy',
4078
4094
  },
4079
4095
  values: {
4080
4096
  true: 'prawda',
@@ -4302,6 +4318,7 @@ const russianDictionary = {
4302
4318
  once: '\u043e\u0434\u043d\u0430\u0436\u0434\u044b',
4303
4319
  every: '\u043a\u0430\u0436\u0434\u044b\u0439',
4304
4320
  until: '\u0434\u043e',
4321
+ times: '\u0440\u0430\u0437',
4305
4322
  },
4306
4323
  values: {
4307
4324
  true: '\u0438\u0441\u0442\u0438\u043d\u0430',
@@ -4542,6 +4559,7 @@ const ukrainianDictionary = {
4542
4559
  once: '\u043e\u0434\u0438\u043d_\u0440\u0430\u0437',
4543
4560
  every: '\u043a\u043e\u0436\u043d\u0438\u0439',
4544
4561
  until: '\u0434\u043e',
4562
+ times: '\u0440\u0430\u0437\u0456\u0432',
4545
4563
  },
4546
4564
  values: {
4547
4565
  true: '\u0456\u0441\u0442\u0438\u043d\u0430',
@@ -4783,11 +4801,12 @@ const hindiDictionary = {
4783
4801
  once: '\u090f\u0915_\u092c\u093e\u0930',
4784
4802
  every: '\u0939\u0930',
4785
4803
  until: '\u0924\u0915',
4804
+ times: '\u092c\u093e\u0930',
4786
4805
  },
4787
4806
  values: {
4788
4807
  true: '\u0938\u091a',
4789
4808
  false: '\u091d\u0942\u0920',
4790
- null: '\u0916\u093e\u0932\u0940',
4809
+ null: 'null',
4791
4810
  undefined: '\u0905\u092a\u0930\u093f\u092d\u093e\u0937\u093f\u0924',
4792
4811
  it: '\u092f\u0939',
4793
4812
  its: '\u0907\u0938\u0915\u093e',
@@ -4844,7 +4863,7 @@ const hindiDictionary = {
4844
4863
  parent: '\u092e\u0942\u0932',
4845
4864
  children: '\u092c\u091a\u094d\u091a\u0947',
4846
4865
  within: '\u0915\u0947_\u0905\u0902\u0926\u0930',
4847
- no: '\u0928\u0939\u0940\u0902',
4866
+ no: '\u0915\u094b\u0908 \u0928\u0939\u0940\u0902',
4848
4867
  empty: '\u0916\u093e\u0932\u0940',
4849
4868
  some: '\u0915\u0941\u091b',
4850
4869
  'starts with': '\u0938\u0947_\u0936\u0941\u0930\u0942',
@@ -5171,7 +5190,7 @@ const thaiDictionary = {
5171
5190
  empty: '\u0e27\u0e48\u0e32\u0e07',
5172
5191
  true: '\u0e08\u0e23\u0e34\u0e07',
5173
5192
  false: '\u0e40\u0e17\u0e47\u0e08',
5174
- null: '\u0e27\u0e48\u0e32\u0e07',
5193
+ null: 'null',
5175
5194
  undefined: '\u0e44\u0e21\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14',
5176
5195
  end: '\u0e08\u0e1a',
5177
5196
  then: '\u0e41\u0e25\u0e49\u0e27',
@@ -5615,7 +5634,9 @@ const tagalogDictionary = {
5615
5634
  exists: 'may',
5616
5635
  matches: 'tumutugma',
5617
5636
  contains: 'naglalaman',
5618
- includes: 'kasama',
5637
+ // `includes` takes `contains`' word: both engines read them as one operator,
5638
+ // and `kasama` is `inclusive` (pick's range word), which the reader takes it for.
5639
+ includes: 'naglalaman',
5619
5640
  equals: 'katumbas',
5620
5641
  has: 'may',
5621
5642
  have: 'may',
@@ -5804,7 +5825,9 @@ const he = {
5804
5825
  when: '\u05db\u05d0\u05e9\u05e8',
5805
5826
  where: '\u05d0\u05d9\u05e4\u05d4',
5806
5827
  },
5807
- temporal: {},
5828
+ temporal: {
5829
+ times: '\u05e4\u05e2\u05de\u05d9\u05dd',
5830
+ },
5808
5831
  values: {
5809
5832
  body: '\u05d2\u05d5\u05e3',
5810
5833
  event: '\u05d0\u05d9\u05e8\u05d5\u05e2',