@lokascript/i18n 2.1.0 → 2.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.
- package/dist/browser.cjs +45 -28
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +45 -28
- package/dist/browser.js.map +1 -1
- package/dist/dictionaries/index.cjs +45 -28
- package/dist/dictionaries/index.cjs.map +1 -1
- package/dist/dictionaries/index.js +45 -28
- package/dist/dictionaries/index.js.map +1 -1
- package/dist/index.cjs +45 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +35 -35
- package/dist/index.d.ts +35 -35
- package/dist/index.js +45 -28
- package/dist/index.js.map +1 -1
- package/dist/lokascript-i18n.min.js +1 -1
- package/dist/lokascript-i18n.min.js.map +1 -1
- package/dist/lokascript-i18n.mjs +49 -33
- package/dist/lokascript-i18n.mjs.map +1 -1
- package/dist/plugins/vite.cjs +45 -28
- package/dist/plugins/vite.cjs.map +1 -1
- package/dist/plugins/vite.js +45 -28
- package/dist/plugins/vite.js.map +1 -1
- package/dist/plugins/webpack.cjs +45 -28
- package/dist/plugins/webpack.cjs.map +1 -1
- package/dist/plugins/webpack.js +45 -28
- package/dist/plugins/webpack.js.map +1 -1
- package/dist/{transformer-B6NgN3JQ.d.ts → transformer-B0zy-kti.d.ts} +0 -12
- package/dist/{transformer-DQqxl6hb.d.cts → transformer-CzY_vHU0.d.cts} +0 -12
- package/package.json +2 -2
- package/src/dictionaries/bn.ts +23 -8
- package/src/dictionaries/he.ts +101 -0
- package/src/dictionaries/th.ts +23 -8
- package/src/dictionaries/vi.ts +17 -30
package/dist/lokascript-i18n.mjs
CHANGED
|
@@ -3557,15 +3557,14 @@ const itKeywords = createKeywordProvider(it$1, 'it', {
|
|
|
3557
3557
|
allowEnglishFallback: true,
|
|
3558
3558
|
});
|
|
3559
3559
|
|
|
3560
|
-
//
|
|
3560
|
+
// Generated/merged from semantic profiles — hand-written entries are preserved
|
|
3561
|
+
// To add derived entries, update the semantic profile and run: npm run generate:language-assets
|
|
3561
3562
|
const vi$1 = {
|
|
3562
3563
|
commands: {
|
|
3563
|
-
// Event handling
|
|
3564
3564
|
on: 'khi',
|
|
3565
3565
|
tell: 'nói với',
|
|
3566
3566
|
trigger: 'kích hoạt',
|
|
3567
3567
|
send: 'gửi',
|
|
3568
|
-
// DOM manipulation
|
|
3569
3568
|
take: 'lấy',
|
|
3570
3569
|
put: 'đặt',
|
|
3571
3570
|
set: 'gán',
|
|
@@ -3575,7 +3574,6 @@ const vi$1 = {
|
|
|
3575
3574
|
toggle: 'chuyển đổi',
|
|
3576
3575
|
hide: 'ẩn',
|
|
3577
3576
|
show: 'hiển thị',
|
|
3578
|
-
// Control flow
|
|
3579
3577
|
if: 'nếu',
|
|
3580
3578
|
unless: 'trừ khi',
|
|
3581
3579
|
repeat: 'lặp lại',
|
|
@@ -3585,46 +3583,35 @@ const vi$1 = {
|
|
|
3585
3583
|
continue: 'tiếp tục',
|
|
3586
3584
|
break: 'dừng',
|
|
3587
3585
|
halt: 'dừng lại',
|
|
3588
|
-
// Async
|
|
3589
3586
|
wait: 'chờ',
|
|
3590
3587
|
fetch: 'tải',
|
|
3591
3588
|
call: 'gọi',
|
|
3592
3589
|
return: 'trả về',
|
|
3593
|
-
// Other commands
|
|
3594
3590
|
make: 'tạo',
|
|
3595
3591
|
log: 'in ra',
|
|
3596
3592
|
throw: 'ném',
|
|
3597
3593
|
catch: 'bắt',
|
|
3598
3594
|
measure: 'đo lường',
|
|
3599
3595
|
transition: 'chuyển tiếp',
|
|
3600
|
-
// Data Commands
|
|
3601
3596
|
increment: 'tăng',
|
|
3602
3597
|
decrement: 'giảm',
|
|
3603
3598
|
default: 'mặc định',
|
|
3604
|
-
// Navigation Commands
|
|
3605
3599
|
go: 'đi đến',
|
|
3606
3600
|
pushUrl: 'pushUrl',
|
|
3607
3601
|
replaceUrl: 'thayThếUrl',
|
|
3608
|
-
// Utility Commands
|
|
3609
3602
|
copy: 'sao chép',
|
|
3610
3603
|
pick: 'chọn',
|
|
3611
3604
|
beep: 'beep',
|
|
3612
|
-
// Advanced Commands
|
|
3613
3605
|
js: 'js',
|
|
3614
3606
|
async: 'bất đồng bộ',
|
|
3615
3607
|
render: 'hiển thị',
|
|
3616
|
-
// Animation Commands
|
|
3617
3608
|
swap: 'hoán đổi',
|
|
3618
3609
|
morph: 'biến đổi',
|
|
3619
3610
|
settle: 'ổn định',
|
|
3620
|
-
// Content Commands
|
|
3621
3611
|
append: 'nối',
|
|
3622
|
-
// Control Flow
|
|
3623
3612
|
exit: 'thoát',
|
|
3624
|
-
// Focus
|
|
3625
3613
|
focus: 'tập trung',
|
|
3626
3614
|
blur: 'mất tập trung',
|
|
3627
|
-
// Additional
|
|
3628
3615
|
init: 'khởi tạo',
|
|
3629
3616
|
behavior: 'hành vi',
|
|
3630
3617
|
install: 'cài đặt',
|
|
@@ -3680,12 +3667,15 @@ const vi$1 = {
|
|
|
3680
3667
|
contains: 'chứa',
|
|
3681
3668
|
matches: 'khớp',
|
|
3682
3669
|
exists: 'tồn tại',
|
|
3683
|
-
has: 'có',
|
|
3684
|
-
have: 'có',
|
|
3670
|
+
has: 'có',
|
|
3671
|
+
have: 'có',
|
|
3685
3672
|
empty: 'trống',
|
|
3686
3673
|
true: 'đúng',
|
|
3687
3674
|
false: 'sai',
|
|
3688
3675
|
null: 'rỗng',
|
|
3676
|
+
else: 'không thì',
|
|
3677
|
+
end: 'kết thúc',
|
|
3678
|
+
then: 'rồi',
|
|
3689
3679
|
},
|
|
3690
3680
|
temporal: {
|
|
3691
3681
|
now: 'bây giờ',
|
|
@@ -3710,6 +3700,16 @@ const vi$1 = {
|
|
|
3710
3700
|
some: 'một số',
|
|
3711
3701
|
each: 'mỗi',
|
|
3712
3702
|
every: 'tất cả',
|
|
3703
|
+
body: 'body',
|
|
3704
|
+
event: 'sự kiện',
|
|
3705
|
+
it: 'nó',
|
|
3706
|
+
its: 'của nó',
|
|
3707
|
+
me: 'tôi',
|
|
3708
|
+
my: 'của tôi',
|
|
3709
|
+
result: 'kết quả',
|
|
3710
|
+
target: 'mục tiêu',
|
|
3711
|
+
you: 'bạn',
|
|
3712
|
+
your: 'của bạn',
|
|
3713
3713
|
},
|
|
3714
3714
|
attributes: {
|
|
3715
3715
|
id: 'id',
|
|
@@ -4686,11 +4686,8 @@ const hiKeywords = createKeywordProvider(hindiDictionary, 'hi', {
|
|
|
4686
4686
|
allowEnglishFallback: true,
|
|
4687
4687
|
});
|
|
4688
4688
|
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
*
|
|
4692
|
-
* Bengali translations for hyperscript keywords.
|
|
4693
|
-
*/
|
|
4689
|
+
// Generated/merged from semantic profiles — hand-written entries are preserved
|
|
4690
|
+
// To add derived entries, update the semantic profile and run: npm run generate:language-assets
|
|
4694
4691
|
const bengaliDictionary = {
|
|
4695
4692
|
commands: {
|
|
4696
4693
|
on: 'তে',
|
|
@@ -4738,6 +4735,14 @@ const bengaliDictionary = {
|
|
|
4738
4735
|
clone: 'কপি',
|
|
4739
4736
|
swap: 'বদল',
|
|
4740
4737
|
morph: 'রূপান্তর',
|
|
4738
|
+
beep: 'বীপ',
|
|
4739
|
+
break: 'ভাঙুন',
|
|
4740
|
+
copy: 'কপি',
|
|
4741
|
+
exit: 'বের',
|
|
4742
|
+
js: 'জেএস',
|
|
4743
|
+
pick: 'বাছুন',
|
|
4744
|
+
render: 'রেন্ডার',
|
|
4745
|
+
until: 'পর্যন্ত',
|
|
4741
4746
|
},
|
|
4742
4747
|
modifiers: {
|
|
4743
4748
|
to: 'কে',
|
|
@@ -4784,13 +4789,15 @@ const bengaliDictionary = {
|
|
|
4784
4789
|
or: 'অথবা',
|
|
4785
4790
|
is: 'হয়',
|
|
4786
4791
|
exists: 'আছে',
|
|
4787
|
-
has: 'আছে',
|
|
4788
|
-
have: 'আছি',
|
|
4792
|
+
has: 'আছে',
|
|
4793
|
+
have: 'আছি',
|
|
4789
4794
|
empty: 'খালি',
|
|
4790
4795
|
true: 'সত্য',
|
|
4791
4796
|
false: 'মিথ্যা',
|
|
4792
4797
|
null: 'শূন্য',
|
|
4793
4798
|
undefined: 'অনির্ধারিত',
|
|
4799
|
+
end: 'শেষ',
|
|
4800
|
+
then: 'তারপর',
|
|
4794
4801
|
},
|
|
4795
4802
|
temporal: {
|
|
4796
4803
|
now: 'এখন',
|
|
@@ -4812,6 +4819,8 @@ const bengaliDictionary = {
|
|
|
4812
4819
|
event: 'ঘটনা',
|
|
4813
4820
|
target: 'লক্ষ্য',
|
|
4814
4821
|
body: 'বডি',
|
|
4822
|
+
you: 'আপনি',
|
|
4823
|
+
your: 'তোমার',
|
|
4815
4824
|
},
|
|
4816
4825
|
attributes: {
|
|
4817
4826
|
class: 'শ্রেণি',
|
|
@@ -4836,18 +4845,14 @@ const bengaliDictionary = {
|
|
|
4836
4845
|
index: 'সূচক',
|
|
4837
4846
|
},
|
|
4838
4847
|
};
|
|
4839
|
-
// Default export alias
|
|
4840
4848
|
const bn$1 = bengaliDictionary;
|
|
4841
4849
|
|
|
4842
4850
|
const bnKeywords = createKeywordProvider(bn$1, 'bn', {
|
|
4843
4851
|
allowEnglishFallback: true,
|
|
4844
4852
|
});
|
|
4845
4853
|
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
*
|
|
4849
|
-
* Thai translations for hyperscript keywords.
|
|
4850
|
-
*/
|
|
4854
|
+
// Generated/merged from semantic profiles — hand-written entries are preserved
|
|
4855
|
+
// To add derived entries, update the semantic profile and run: npm run generate:language-assets
|
|
4851
4856
|
const thaiDictionary = {
|
|
4852
4857
|
commands: {
|
|
4853
4858
|
on: 'เมื่อ',
|
|
@@ -4895,6 +4900,14 @@ const thaiDictionary = {
|
|
|
4895
4900
|
clone: 'คัดลอก',
|
|
4896
4901
|
swap: 'สลับที่',
|
|
4897
4902
|
morph: 'แปลงร่าง',
|
|
4903
|
+
beep: 'บี๊บ',
|
|
4904
|
+
break: 'ขัดจังหวะ',
|
|
4905
|
+
copy: 'คัดลอก',
|
|
4906
|
+
exit: 'ออก',
|
|
4907
|
+
js: 'เจเอส',
|
|
4908
|
+
pick: 'เลือก',
|
|
4909
|
+
render: 'แสดงผล',
|
|
4910
|
+
until: 'จนถึง',
|
|
4898
4911
|
},
|
|
4899
4912
|
modifiers: {
|
|
4900
4913
|
to: 'ไปยัง',
|
|
@@ -4941,13 +4954,15 @@ const thaiDictionary = {
|
|
|
4941
4954
|
or: 'หรือ',
|
|
4942
4955
|
is: 'เป็น',
|
|
4943
4956
|
exists: 'มีอยู่',
|
|
4944
|
-
has: 'มี',
|
|
4945
|
-
have: 'มี',
|
|
4957
|
+
has: 'มี',
|
|
4958
|
+
have: 'มี',
|
|
4946
4959
|
empty: 'ว่าง',
|
|
4947
4960
|
true: 'จริง',
|
|
4948
4961
|
false: 'เท็จ',
|
|
4949
4962
|
null: 'ว่าง',
|
|
4950
4963
|
undefined: 'ไม่กำหนด',
|
|
4964
|
+
end: 'จบ',
|
|
4965
|
+
then: 'แล้ว',
|
|
4951
4966
|
},
|
|
4952
4967
|
temporal: {
|
|
4953
4968
|
now: 'ตอนนี้',
|
|
@@ -4969,6 +4984,8 @@ const thaiDictionary = {
|
|
|
4969
4984
|
event: 'เหตุการณ์',
|
|
4970
4985
|
target: 'เป้าหมาย',
|
|
4971
4986
|
body: 'บอดี้',
|
|
4987
|
+
you: 'คุณ',
|
|
4988
|
+
your: 'ของคุณ',
|
|
4972
4989
|
},
|
|
4973
4990
|
attributes: {
|
|
4974
4991
|
class: 'คลาส',
|
|
@@ -4993,7 +5010,6 @@ const thaiDictionary = {
|
|
|
4993
5010
|
index: 'ดัชนี',
|
|
4994
5011
|
},
|
|
4995
5012
|
};
|
|
4996
|
-
// Default export alias
|
|
4997
5013
|
const th$1 = thaiDictionary;
|
|
4998
5014
|
|
|
4999
5015
|
const thKeywords = createKeywordProvider(th$1, 'th', {
|