@lokascript/i18n 2.3.0 → 2.4.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 +626 -473
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +25 -3
- package/dist/browser.d.ts +25 -3
- package/dist/browser.js +623 -474
- package/dist/browser.js.map +1 -1
- package/dist/dictionaries/index.cjs +489 -472
- package/dist/dictionaries/index.cjs.map +1 -1
- package/dist/dictionaries/index.d.cts +5 -3
- package/dist/dictionaries/index.d.ts +5 -3
- package/dist/dictionaries/index.js +489 -473
- package/dist/dictionaries/index.js.map +1 -1
- package/dist/index.cjs +617 -473
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +37 -37
- package/dist/index.d.ts +37 -37
- package/dist/index.js +617 -473
- 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 +730 -478
- package/dist/lokascript-i18n.mjs.map +1 -1
- package/dist/plugins/vite.cjs +488 -472
- package/dist/plugins/vite.cjs.map +1 -1
- package/dist/plugins/vite.js +488 -472
- package/dist/plugins/vite.js.map +1 -1
- package/dist/plugins/webpack.cjs +488 -472
- package/dist/plugins/webpack.cjs.map +1 -1
- package/dist/plugins/webpack.js +488 -472
- package/dist/plugins/webpack.js.map +1 -1
- package/dist/{transformer-B0zy-kti.d.ts → transformer-BLv389qz.d.ts} +12 -47
- package/dist/{transformer-CzY_vHU0.d.cts → transformer-PFsYELrc.d.cts} +12 -47
- package/dist/{types-BYtpqGq3.d.cts → types-BcALAO6h.d.cts} +1 -1
- package/dist/{types-BYtpqGq3.d.ts → types-BcALAO6h.d.ts} +1 -1
- package/package.json +5 -5
- package/src/browser.ts +3 -0
- package/src/constants.ts +9 -0
- package/src/dictionaries/ar.ts +22 -43
- package/src/dictionaries/bn.ts +17 -0
- package/src/dictionaries/de.ts +19 -40
- package/src/dictionaries/en.ts +26 -0
- package/src/dictionaries/es.ts +19 -40
- package/src/dictionaries/fr.ts +19 -40
- package/src/dictionaries/he.ts +2 -0
- package/src/dictionaries/hi.ts +18 -48
- package/src/dictionaries/id.ts +22 -43
- package/src/dictionaries/index.ts +5 -1
- package/src/dictionaries/it.ts +18 -39
- package/src/dictionaries/ja.ts +18 -39
- package/src/dictionaries/ko.ts +22 -43
- package/src/dictionaries/ms.ts +16 -50
- package/src/dictionaries/pl.ts +18 -45
- package/src/dictionaries/pt.ts +23 -48
- package/src/dictionaries/qu.ts +22 -43
- package/src/dictionaries/ru.ts +18 -48
- package/src/dictionaries/sw.ts +22 -43
- package/src/dictionaries/th.ts +17 -0
- package/src/dictionaries/tl.ts +16 -50
- package/src/dictionaries/tr.ts +24 -45
- package/src/dictionaries/uk.ts +18 -48
- package/src/dictionaries/vi.ts +17 -0
- package/src/dictionaries/zh.ts +22 -43
- package/src/grammar/grammar.test.ts +143 -24
- package/src/grammar/index.ts +1 -0
- package/src/grammar/profiles/index.ts +31 -0
- package/src/grammar/transformer.ts +161 -0
- package/src/parser/he.ts +29 -0
- package/src/parser/index.ts +1 -0
- package/src/schema-alignment.test.ts +154 -0
- package/src/test-utils/complete-languages.ts +40 -0
- package/src/translation-validation.test.ts +1 -26
package/src/dictionaries/sw.ts
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Generated/merged from semantic profiles — hand-written entries are preserved
|
|
2
|
+
// To add derived entries, update the semantic profile and run: npm run generate:language-assets
|
|
2
3
|
|
|
3
4
|
import { Dictionary } from '../types';
|
|
4
5
|
|
|
5
6
|
export const sw: Dictionary = {
|
|
6
7
|
commands: {
|
|
7
|
-
// Event handling
|
|
8
8
|
on: 'kwenye',
|
|
9
9
|
tell: 'ambia',
|
|
10
10
|
trigger: 'chochea',
|
|
11
11
|
send: 'tuma',
|
|
12
|
-
|
|
13
|
-
// DOM manipulation
|
|
14
12
|
take: 'chukua',
|
|
15
13
|
put: 'weka',
|
|
16
14
|
set: 'weka',
|
|
@@ -20,8 +18,6 @@ export const sw: Dictionary = {
|
|
|
20
18
|
toggle: 'badilisha',
|
|
21
19
|
hide: 'ficha',
|
|
22
20
|
show: 'onyesha',
|
|
23
|
-
|
|
24
|
-
// Control flow
|
|
25
21
|
if: 'kama',
|
|
26
22
|
unless: 'isipokuwa',
|
|
27
23
|
repeat: 'rudia',
|
|
@@ -31,54 +27,41 @@ export const sw: Dictionary = {
|
|
|
31
27
|
continue: 'endelea',
|
|
32
28
|
break: 'vunja',
|
|
33
29
|
halt: 'simama',
|
|
34
|
-
|
|
35
|
-
// Async
|
|
36
30
|
wait: 'ngoja',
|
|
37
31
|
fetch: 'leta',
|
|
38
32
|
call: 'ita',
|
|
39
33
|
return: 'rudi',
|
|
40
|
-
|
|
41
|
-
// Other commands
|
|
42
34
|
make: 'fanya',
|
|
43
35
|
log: 'andika',
|
|
44
36
|
throw: 'tupa',
|
|
45
37
|
catch: 'shika',
|
|
46
38
|
measure: 'pima',
|
|
47
39
|
transition: 'mpito',
|
|
48
|
-
|
|
49
|
-
// Data Commands
|
|
50
40
|
increment: 'ongeza',
|
|
51
41
|
decrement: 'punguza',
|
|
52
42
|
default: 'msingi',
|
|
53
|
-
|
|
54
|
-
// Navigation Commands
|
|
55
43
|
go: 'nenda',
|
|
56
44
|
pushUrl: 'sukumaUrl',
|
|
57
45
|
replaceUrl: 'badilishaUrl',
|
|
58
|
-
|
|
59
|
-
// Utility Commands
|
|
60
46
|
copy: 'nakili',
|
|
61
47
|
pick: 'chagua',
|
|
62
48
|
beep: 'lia',
|
|
63
|
-
|
|
64
|
-
// Advanced Commands
|
|
65
49
|
js: 'js',
|
|
66
50
|
async: 'sainkroni',
|
|
67
51
|
render: 'chora',
|
|
68
|
-
|
|
69
|
-
// Animation Commands
|
|
70
52
|
swap: 'badilishana',
|
|
71
53
|
morph: 'badilishaUmbo',
|
|
72
54
|
settle: 'tulia',
|
|
73
|
-
|
|
74
|
-
// Content Commands
|
|
75
55
|
append: 'ongezaMwisho',
|
|
76
|
-
|
|
77
|
-
// Control Flow
|
|
78
56
|
exit: 'toka',
|
|
79
|
-
|
|
80
|
-
// Behaviors
|
|
81
57
|
install: 'sakinisha',
|
|
58
|
+
breakpoint: 'nukta-simama',
|
|
59
|
+
clear: 'futa',
|
|
60
|
+
close: 'funga',
|
|
61
|
+
open: 'fungua',
|
|
62
|
+
select: 'chagua',
|
|
63
|
+
clone: 'nakili',
|
|
64
|
+
prepend: 'tanguliza',
|
|
82
65
|
},
|
|
83
66
|
|
|
84
67
|
modifiers: {
|
|
@@ -110,23 +93,19 @@ export const sw: Dictionary = {
|
|
|
110
93
|
mouseover: 'panya_juu',
|
|
111
94
|
mouseout: 'panya_nje',
|
|
112
95
|
mousemove: 'panya_sogea',
|
|
113
|
-
|
|
114
96
|
keydown: 'kitufe_shuka',
|
|
115
97
|
keyup: 'kitufe_juu',
|
|
116
98
|
keypress: 'kitufe_bonyeza',
|
|
117
|
-
|
|
118
99
|
focus: 'zingatia',
|
|
119
100
|
blur: 'poteza_macho',
|
|
120
101
|
change: 'badilisha',
|
|
121
102
|
input: 'ingizo',
|
|
122
103
|
submit: 'wasilisha',
|
|
123
104
|
reset: 'weka_upya',
|
|
124
|
-
|
|
125
105
|
load: 'pakia',
|
|
126
106
|
unload: 'shuka',
|
|
127
107
|
resize: 'badilisha_ukubwa',
|
|
128
108
|
scroll: 'sogeza',
|
|
129
|
-
|
|
130
109
|
touchstart: 'gusa_anza',
|
|
131
110
|
touchend: 'gusa_mwisho',
|
|
132
111
|
touchmove: 'gusa_sogea',
|
|
@@ -145,12 +124,14 @@ export const sw: Dictionary = {
|
|
|
145
124
|
contains: 'ina',
|
|
146
125
|
includes: 'pamoja',
|
|
147
126
|
equals: 'sawa',
|
|
148
|
-
has: 'ana',
|
|
149
|
-
have: 'nina',
|
|
127
|
+
has: 'ana',
|
|
128
|
+
have: 'nina',
|
|
150
129
|
then: 'kisha',
|
|
151
130
|
else: 'sivyo',
|
|
152
131
|
otherwise: 'vinginevyo',
|
|
153
132
|
end: 'mwisho',
|
|
133
|
+
live: 'moja_kwa_moja',
|
|
134
|
+
changes: 'inabadilika',
|
|
154
135
|
},
|
|
155
136
|
|
|
156
137
|
temporal: {
|
|
@@ -174,13 +155,13 @@ export const sw: Dictionary = {
|
|
|
174
155
|
null: 'tupu',
|
|
175
156
|
undefined: 'haijafafanuliwa',
|
|
176
157
|
it: 'hiyo',
|
|
177
|
-
its: 'yake',
|
|
158
|
+
its: 'yake',
|
|
178
159
|
me: 'mimi',
|
|
179
160
|
my: 'yangu',
|
|
180
161
|
myself: 'mimi mwenyewe',
|
|
181
|
-
you: 'wewe',
|
|
182
|
-
your: 'yako',
|
|
183
|
-
yourself: 'wewe mwenyewe',
|
|
162
|
+
you: 'wewe',
|
|
163
|
+
your: 'yako',
|
|
164
|
+
yourself: 'wewe mwenyewe',
|
|
184
165
|
element: 'kipengele',
|
|
185
166
|
target: 'lengo',
|
|
186
167
|
detail: 'maelezo',
|
|
@@ -204,7 +185,6 @@ export const sw: Dictionary = {
|
|
|
204
185
|
},
|
|
205
186
|
|
|
206
187
|
expressions: {
|
|
207
|
-
// Positional
|
|
208
188
|
first: 'kwanza',
|
|
209
189
|
last: 'mwisho',
|
|
210
190
|
next: 'ijayo',
|
|
@@ -212,20 +192,19 @@ export const sw: Dictionary = {
|
|
|
212
192
|
prev: 'awali',
|
|
213
193
|
at: 'katika',
|
|
214
194
|
random: 'nasibu',
|
|
215
|
-
|
|
216
|
-
// DOM Traversal
|
|
217
195
|
closest: 'karibu_zaidi',
|
|
218
196
|
parent: 'mzazi',
|
|
219
197
|
children: 'watoto',
|
|
220
198
|
within: 'ndani_ya',
|
|
221
|
-
|
|
222
|
-
// Emptiness/Existence
|
|
223
199
|
no: 'hakuna',
|
|
224
200
|
empty: 'tupu',
|
|
225
201
|
some: 'baadhi',
|
|
226
|
-
|
|
227
|
-
// String operations
|
|
228
202
|
'starts with': 'huanza na',
|
|
229
203
|
'ends with': 'huisha na',
|
|
204
|
+
'ignoring case': 'puuza herufi kubwa ndogo',
|
|
205
|
+
'sorted by': 'kupangwa kwa',
|
|
206
|
+
'mapped to': 'kubadilishwa kuwa',
|
|
207
|
+
'split by': 'kugawanywa kwa',
|
|
208
|
+
'joined by': 'kuunganishwa kwa',
|
|
230
209
|
},
|
|
231
210
|
};
|
package/src/dictionaries/th.ts
CHANGED
|
@@ -58,6 +58,11 @@ export const thaiDictionary: Dictionary = {
|
|
|
58
58
|
pick: 'เลือก',
|
|
59
59
|
render: 'แสดงผล',
|
|
60
60
|
until: 'จนถึง',
|
|
61
|
+
breakpoint: 'จุดพัก',
|
|
62
|
+
clear: 'เคลียร์',
|
|
63
|
+
close: 'ปิด',
|
|
64
|
+
open: 'เปิด',
|
|
65
|
+
select: 'เลือก',
|
|
61
66
|
},
|
|
62
67
|
|
|
63
68
|
modifiers: {
|
|
@@ -73,6 +78,7 @@ export const thaiDictionary: Dictionary = {
|
|
|
73
78
|
at: 'ที่',
|
|
74
79
|
in: 'ใน',
|
|
75
80
|
over: 'เหนือ',
|
|
81
|
+
between: 'ระหว่าง',
|
|
76
82
|
then: 'แล้ว',
|
|
77
83
|
and: 'และ',
|
|
78
84
|
end: 'จบ',
|
|
@@ -88,6 +94,7 @@ export const thaiDictionary: Dictionary = {
|
|
|
88
94
|
load: 'โหลด',
|
|
89
95
|
focus: 'โฟกัส',
|
|
90
96
|
blur: 'เบลอ',
|
|
97
|
+
reset: 'รีเซ็ต',
|
|
91
98
|
keydown: 'กดคีย์',
|
|
92
99
|
keyup: 'ปล่อยคีย์',
|
|
93
100
|
mouseover: 'เมาส์เข้า',
|
|
@@ -116,6 +123,8 @@ export const thaiDictionary: Dictionary = {
|
|
|
116
123
|
undefined: 'ไม่กำหนด',
|
|
117
124
|
end: 'จบ',
|
|
118
125
|
then: 'แล้ว',
|
|
126
|
+
live: 'สด',
|
|
127
|
+
changes: 'เปลี่ยน',
|
|
119
128
|
},
|
|
120
129
|
|
|
121
130
|
temporal: {
|
|
@@ -165,6 +174,14 @@ export const thaiDictionary: Dictionary = {
|
|
|
165
174
|
random: 'สุ่ม',
|
|
166
175
|
length: 'ความยาว',
|
|
167
176
|
index: 'ดัชนี',
|
|
177
|
+
empty: 'ล้าง',
|
|
178
|
+
'starts with': 'ขึ้นต้นด้วย',
|
|
179
|
+
'ends with': 'ลงท้ายด้วย',
|
|
180
|
+
'ignoring case': 'ไม่สนตัวพิมพ์',
|
|
181
|
+
'sorted by': 'เรียงตาม',
|
|
182
|
+
'mapped to': 'แปลงเป็น',
|
|
183
|
+
'split by': 'แยกด้วย',
|
|
184
|
+
'joined by': 'รวมด้วย',
|
|
168
185
|
},
|
|
169
186
|
};
|
|
170
187
|
|
package/src/dictionaries/tl.ts
CHANGED
|
@@ -1,21 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Tagalog translations for hyperscript keywords.
|
|
5
|
-
* Tagalog is a VSO (Verb-Subject-Object) language with rich verbal morphology.
|
|
6
|
-
*/
|
|
1
|
+
// Generated/merged from semantic profiles — hand-written entries are preserved
|
|
2
|
+
// To add derived entries, update the semantic profile and run: npm run generate:language-assets
|
|
7
3
|
|
|
8
4
|
import { Dictionary } from '../types';
|
|
9
5
|
|
|
10
6
|
export const tagalogDictionary: Dictionary = {
|
|
11
7
|
commands: {
|
|
12
|
-
// Event handling
|
|
13
8
|
on: 'kapag',
|
|
14
9
|
tell: 'sabihin',
|
|
15
10
|
trigger: 'palitawin',
|
|
16
11
|
send: 'ipadala',
|
|
17
|
-
|
|
18
|
-
// DOM manipulation
|
|
19
12
|
take: 'kunin',
|
|
20
13
|
put: 'ilagay',
|
|
21
14
|
set: 'itakda',
|
|
@@ -25,8 +18,6 @@ export const tagalogDictionary: Dictionary = {
|
|
|
25
18
|
toggle: 'palitan',
|
|
26
19
|
hide: 'itago',
|
|
27
20
|
show: 'ipakita',
|
|
28
|
-
|
|
29
|
-
// Control flow
|
|
30
21
|
if: 'kung',
|
|
31
22
|
unless: 'maliban_kung',
|
|
32
23
|
repeat: 'ulitin',
|
|
@@ -36,63 +27,46 @@ export const tagalogDictionary: Dictionary = {
|
|
|
36
27
|
continue: 'magpatuloy',
|
|
37
28
|
break: 'itigil',
|
|
38
29
|
halt: 'huminto',
|
|
39
|
-
|
|
40
|
-
// Async
|
|
41
30
|
wait: 'maghintay',
|
|
42
31
|
fetch: 'kuhanin_mula',
|
|
43
32
|
call: 'tawagin',
|
|
44
33
|
return: 'ibalik',
|
|
45
|
-
|
|
46
|
-
// Other commands
|
|
47
34
|
make: 'gumawa',
|
|
48
35
|
log: 'itala',
|
|
49
36
|
throw: 'ihagis',
|
|
50
37
|
catch: 'hulihin',
|
|
51
38
|
measure: 'sukatin',
|
|
52
39
|
transition: 'baguhin',
|
|
53
|
-
|
|
54
|
-
// Data Commands
|
|
55
40
|
increment: 'dagdagan',
|
|
56
41
|
decrement: 'bawasan',
|
|
57
42
|
default: 'pamantayan',
|
|
58
|
-
|
|
59
|
-
// Navigation Commands
|
|
60
43
|
go: 'pumunta',
|
|
61
44
|
pushUrl: 'itulak_url',
|
|
62
45
|
replaceUrl: 'palitan_url',
|
|
63
|
-
|
|
64
|
-
// Utility Commands
|
|
65
46
|
copy: 'kopyahin',
|
|
66
47
|
pick: 'pumili',
|
|
67
48
|
beep: 'tunog',
|
|
68
|
-
|
|
69
|
-
// Advanced Commands
|
|
70
49
|
js: 'js',
|
|
71
50
|
async: 'sabay',
|
|
72
51
|
render: 'ipakita',
|
|
73
|
-
|
|
74
|
-
// Animation Commands
|
|
75
52
|
swap: 'palitan_pwesto',
|
|
76
53
|
morph: 'baguhin_hugis',
|
|
77
54
|
settle: 'ayusin',
|
|
78
|
-
|
|
79
|
-
// Content Commands
|
|
80
55
|
append: 'idagdag_sa_dulo',
|
|
81
56
|
prepend: 'idagdag_sa_simula',
|
|
82
|
-
|
|
83
|
-
// Control Flow
|
|
84
57
|
exit: 'lumabas',
|
|
85
58
|
else: 'kung_hindi',
|
|
86
|
-
|
|
87
|
-
// Focus Commands
|
|
88
59
|
focus: 'ituon',
|
|
89
60
|
blur: 'alisin_tuon',
|
|
90
|
-
|
|
91
|
-
// Behaviors
|
|
92
61
|
install: 'ikabit',
|
|
93
62
|
behavior: 'ugali',
|
|
94
63
|
init: 'simulan',
|
|
95
64
|
clone: 'kopyahin',
|
|
65
|
+
breakpoint: 'breakpoint',
|
|
66
|
+
clear: 'burahin',
|
|
67
|
+
close: 'isara',
|
|
68
|
+
open: 'buksan',
|
|
69
|
+
select: 'piliin',
|
|
96
70
|
},
|
|
97
71
|
|
|
98
72
|
modifiers: {
|
|
@@ -129,28 +103,23 @@ export const tagalogDictionary: Dictionary = {
|
|
|
129
103
|
mouseover: 'mouseover',
|
|
130
104
|
mouseout: 'mouseout',
|
|
131
105
|
mousemove: 'mousemove',
|
|
132
|
-
|
|
133
106
|
keydown: 'keydown',
|
|
134
107
|
keyup: 'keyup',
|
|
135
108
|
keypress: 'keypress',
|
|
136
|
-
|
|
137
109
|
focus: 'focus',
|
|
138
110
|
blur: 'blur',
|
|
139
111
|
change: 'change',
|
|
140
112
|
input: 'input',
|
|
141
113
|
submit: 'submit',
|
|
142
114
|
reset: 'reset',
|
|
143
|
-
|
|
144
115
|
load: 'load',
|
|
145
116
|
unload: 'unload',
|
|
146
117
|
resize: 'resize',
|
|
147
118
|
scroll: 'scroll',
|
|
148
|
-
|
|
149
119
|
touchstart: 'touchstart',
|
|
150
120
|
touchend: 'touchend',
|
|
151
121
|
touchmove: 'touchmove',
|
|
152
122
|
touchcancel: 'touchcancel',
|
|
153
|
-
|
|
154
123
|
every: 'bawat',
|
|
155
124
|
},
|
|
156
125
|
|
|
@@ -166,12 +135,14 @@ export const tagalogDictionary: Dictionary = {
|
|
|
166
135
|
contains: 'naglalaman',
|
|
167
136
|
includes: 'kasama',
|
|
168
137
|
equals: 'katumbas',
|
|
169
|
-
has: 'may',
|
|
170
|
-
have: 'may',
|
|
138
|
+
has: 'may',
|
|
139
|
+
have: 'may',
|
|
171
140
|
then: 'pagkatapos',
|
|
172
141
|
else: 'kung_hindi',
|
|
173
142
|
otherwise: 'kung_hindi_man',
|
|
174
143
|
end: 'wakas',
|
|
144
|
+
live: 'live',
|
|
145
|
+
changes: 'nagbabago',
|
|
175
146
|
if: 'kung',
|
|
176
147
|
empty: 'walang_laman',
|
|
177
148
|
true: 'totoo',
|
|
@@ -240,7 +211,6 @@ export const tagalogDictionary: Dictionary = {
|
|
|
240
211
|
},
|
|
241
212
|
|
|
242
213
|
expressions: {
|
|
243
|
-
// Positional
|
|
244
214
|
first: 'una',
|
|
245
215
|
last: 'huli',
|
|
246
216
|
next: 'susunod',
|
|
@@ -248,27 +218,23 @@ export const tagalogDictionary: Dictionary = {
|
|
|
248
218
|
prev: 'nakaraan',
|
|
249
219
|
at: 'sa',
|
|
250
220
|
random: 'random',
|
|
251
|
-
|
|
252
|
-
// DOM Traversal
|
|
253
221
|
closest: 'pinakamalapit',
|
|
254
222
|
parent: 'magulang',
|
|
255
223
|
children: 'mga_anak',
|
|
256
224
|
within: 'sa_loob_ng',
|
|
257
|
-
|
|
258
|
-
// Emptiness/Existence
|
|
259
225
|
no: 'walang',
|
|
260
226
|
empty: 'walang_laman',
|
|
261
227
|
some: 'ilan',
|
|
262
|
-
|
|
263
|
-
// String operations
|
|
264
228
|
'starts with': 'nagsisimula_sa',
|
|
265
229
|
'ends with': 'nagtatapos_sa',
|
|
266
|
-
|
|
267
|
-
|
|
230
|
+
'ignoring case': 'huwag_pansinin_ang_case',
|
|
231
|
+
'sorted by': 'nakaayos_ayon_sa',
|
|
232
|
+
'mapped to': 'binago_sa',
|
|
233
|
+
'split by': 'hinati_sa',
|
|
234
|
+
'joined by': 'pinagsama_sa',
|
|
268
235
|
length: 'haba',
|
|
269
236
|
index: 'indeks',
|
|
270
237
|
},
|
|
271
238
|
};
|
|
272
239
|
|
|
273
|
-
// Default export alias
|
|
274
240
|
export const tl = tagalogDictionary;
|
package/src/dictionaries/tr.ts
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Generated/merged from semantic profiles — hand-written entries are preserved
|
|
2
|
+
// To add derived entries, update the semantic profile and run: npm run generate:language-assets
|
|
2
3
|
|
|
3
4
|
import { Dictionary } from '../types';
|
|
4
5
|
|
|
5
6
|
export const tr: Dictionary = {
|
|
6
7
|
commands: {
|
|
7
|
-
// Event handling
|
|
8
8
|
on: 'üzerinde',
|
|
9
9
|
tell: 'söyle',
|
|
10
10
|
trigger: 'tetikle',
|
|
11
11
|
send: 'gönder',
|
|
12
|
-
|
|
13
|
-
// DOM manipulation
|
|
14
12
|
take: 'al',
|
|
15
13
|
put: 'koy',
|
|
16
14
|
set: 'ayarla',
|
|
@@ -20,8 +18,6 @@ export const tr: Dictionary = {
|
|
|
20
18
|
toggle: 'değiştir',
|
|
21
19
|
hide: 'gizle',
|
|
22
20
|
show: 'göster',
|
|
23
|
-
|
|
24
|
-
// Control flow
|
|
25
21
|
if: 'eğer',
|
|
26
22
|
unless: 'değilse',
|
|
27
23
|
repeat: 'tekrarla',
|
|
@@ -31,54 +27,41 @@ export const tr: Dictionary = {
|
|
|
31
27
|
continue: 'devam',
|
|
32
28
|
break: 'dur',
|
|
33
29
|
halt: 'durdur',
|
|
34
|
-
|
|
35
|
-
// Async
|
|
36
30
|
wait: 'bekle',
|
|
37
31
|
fetch: 'getir',
|
|
38
32
|
call: 'çağır',
|
|
39
33
|
return: 'dön',
|
|
40
|
-
|
|
41
|
-
// Other commands
|
|
42
34
|
make: 'yap',
|
|
43
35
|
log: 'kaydet',
|
|
44
36
|
throw: 'fırlat',
|
|
45
37
|
catch: 'yakala',
|
|
46
38
|
measure: 'ölç',
|
|
47
39
|
transition: 'geçiş',
|
|
48
|
-
|
|
49
|
-
// Data Commands
|
|
50
40
|
increment: 'artır',
|
|
51
41
|
decrement: 'azalt',
|
|
52
42
|
default: 'varsayılan',
|
|
53
|
-
|
|
54
|
-
// Navigation Commands
|
|
55
43
|
go: 'git',
|
|
56
44
|
pushUrl: 'urlEkle',
|
|
57
45
|
replaceUrl: 'urlDeğiştir',
|
|
58
|
-
|
|
59
|
-
// Utility Commands
|
|
60
46
|
copy: 'kopyala',
|
|
61
47
|
pick: 'seç',
|
|
62
48
|
beep: 'bip',
|
|
63
|
-
|
|
64
|
-
// Advanced Commands
|
|
65
49
|
js: 'js',
|
|
66
50
|
async: 'asenkron',
|
|
67
51
|
render: 'render',
|
|
68
|
-
|
|
69
|
-
// Animation Commands
|
|
70
52
|
swap: 'takas',
|
|
71
53
|
morph: 'dönüştür',
|
|
72
54
|
settle: 'sabitlen',
|
|
73
|
-
|
|
74
|
-
// Content Commands
|
|
75
55
|
append: 'ekle',
|
|
76
|
-
|
|
77
|
-
// Control Flow
|
|
78
56
|
exit: 'çık',
|
|
79
|
-
|
|
80
|
-
// Behaviors
|
|
81
57
|
install: 'kur',
|
|
58
|
+
breakpoint: 'kesme-noktası',
|
|
59
|
+
clear: 'temizle',
|
|
60
|
+
close: 'kapat',
|
|
61
|
+
open: 'aç',
|
|
62
|
+
select: 'seç',
|
|
63
|
+
clone: 'klonla',
|
|
64
|
+
prepend: 'başınaekle',
|
|
82
65
|
},
|
|
83
66
|
|
|
84
67
|
modifiers: {
|
|
@@ -110,23 +93,19 @@ export const tr: Dictionary = {
|
|
|
110
93
|
mouseover: 'fare_üstü',
|
|
111
94
|
mouseout: 'fare_dışı',
|
|
112
95
|
mousemove: 'fare_hareket',
|
|
113
|
-
|
|
114
96
|
keydown: 'tuş_bas',
|
|
115
97
|
keyup: 'tuş_bırak',
|
|
116
98
|
keypress: 'tuş_basım',
|
|
117
|
-
|
|
118
99
|
focus: 'odak',
|
|
119
100
|
blur: 'bulanık',
|
|
120
101
|
change: 'değişim',
|
|
121
102
|
input: 'giriş',
|
|
122
103
|
submit: 'gönder',
|
|
123
104
|
reset: 'sıfırla',
|
|
124
|
-
|
|
125
105
|
load: 'yükle',
|
|
126
106
|
unload: 'yükle_kaldır',
|
|
127
107
|
resize: 'boyut_değiştir',
|
|
128
108
|
scroll: 'kaydır',
|
|
129
|
-
|
|
130
109
|
touchstart: 'dokunma_başla',
|
|
131
110
|
touchend: 'dokunma_bitir',
|
|
132
111
|
touchmove: 'dokunma_hareket',
|
|
@@ -134,8 +113,8 @@ export const tr: Dictionary = {
|
|
|
134
113
|
},
|
|
135
114
|
|
|
136
115
|
logical: {
|
|
137
|
-
when: 'iken',
|
|
138
|
-
where: 'nerede',
|
|
116
|
+
when: 'iken',
|
|
117
|
+
where: 'nerede',
|
|
139
118
|
and: 've',
|
|
140
119
|
or: 'veya',
|
|
141
120
|
not: 'değil',
|
|
@@ -145,12 +124,14 @@ export const tr: Dictionary = {
|
|
|
145
124
|
contains: 'içerir',
|
|
146
125
|
includes: 'dahil',
|
|
147
126
|
equals: 'eşittir',
|
|
148
|
-
has: 'var',
|
|
149
|
-
have: 'var',
|
|
127
|
+
has: 'var',
|
|
128
|
+
have: 'var',
|
|
150
129
|
then: 'sonra',
|
|
151
130
|
else: 'yoksa',
|
|
152
131
|
otherwise: 'aksi_halde',
|
|
153
132
|
end: 'son',
|
|
133
|
+
live: 'canlı',
|
|
134
|
+
changes: 'değiştiğinde',
|
|
154
135
|
},
|
|
155
136
|
|
|
156
137
|
temporal: {
|
|
@@ -174,13 +155,13 @@ export const tr: Dictionary = {
|
|
|
174
155
|
null: 'boş',
|
|
175
156
|
undefined: 'tanımsız',
|
|
176
157
|
it: 'o',
|
|
177
|
-
its: 'onun',
|
|
158
|
+
its: 'onun',
|
|
178
159
|
me: 'ben',
|
|
179
160
|
my: 'benim',
|
|
180
161
|
myself: 'kendim',
|
|
181
|
-
you: 'sen',
|
|
182
|
-
your: 'senin',
|
|
183
|
-
yourself: 'kendin',
|
|
162
|
+
you: 'sen',
|
|
163
|
+
your: 'senin',
|
|
164
|
+
yourself: 'kendin',
|
|
184
165
|
element: 'öğe',
|
|
185
166
|
target: 'hedef',
|
|
186
167
|
detail: 'detay',
|
|
@@ -204,7 +185,6 @@ export const tr: Dictionary = {
|
|
|
204
185
|
},
|
|
205
186
|
|
|
206
187
|
expressions: {
|
|
207
|
-
// Positional
|
|
208
188
|
first: 'ilk',
|
|
209
189
|
last: 'son',
|
|
210
190
|
next: 'sonraki',
|
|
@@ -212,20 +192,19 @@ export const tr: Dictionary = {
|
|
|
212
192
|
prev: 'önc',
|
|
213
193
|
at: 'de',
|
|
214
194
|
random: 'rastgele',
|
|
215
|
-
|
|
216
|
-
// DOM Traversal
|
|
217
195
|
closest: 'en_yakın',
|
|
218
196
|
parent: 'ebeveyn',
|
|
219
197
|
children: 'çocuklar',
|
|
220
198
|
within: 'içinde',
|
|
221
|
-
|
|
222
|
-
// Emptiness/Existence
|
|
223
199
|
no: 'yok',
|
|
224
200
|
empty: 'boş',
|
|
225
201
|
some: 'bazı',
|
|
226
|
-
|
|
227
|
-
// String operations
|
|
228
202
|
'starts with': 'ile başlar',
|
|
229
203
|
'ends with': 'ile biter',
|
|
204
|
+
'ignoring case': 'büyük küçük harf duyarsız',
|
|
205
|
+
'sorted by': 'göre sıralı',
|
|
206
|
+
'mapped to': 'ye dönüştürülmüş',
|
|
207
|
+
'split by': 'ile bölünmüş',
|
|
208
|
+
'joined by': 'ile birleştirilmiş',
|
|
230
209
|
},
|
|
231
210
|
};
|