@lokascript/i18n 2.3.1 → 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/ja.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 ja: Dictionary = {
|
|
6
7
|
commands: {
|
|
7
|
-
// Event handling
|
|
8
8
|
on: 'で',
|
|
9
9
|
tell: '伝える',
|
|
10
10
|
trigger: '引き金',
|
|
11
11
|
send: '送る',
|
|
12
|
-
|
|
13
|
-
// DOM manipulation
|
|
14
12
|
take: '取る',
|
|
15
13
|
put: '置く',
|
|
16
14
|
set: '設定',
|
|
@@ -20,8 +18,6 @@ export const ja: Dictionary = {
|
|
|
20
18
|
toggle: '切り替え',
|
|
21
19
|
hide: '隠す',
|
|
22
20
|
show: '表示',
|
|
23
|
-
|
|
24
|
-
// Control flow
|
|
25
21
|
if: 'もし',
|
|
26
22
|
unless: 'でなければ',
|
|
27
23
|
repeat: '繰り返し',
|
|
@@ -31,54 +27,41 @@ export const ja: Dictionary = {
|
|
|
31
27
|
continue: '続ける',
|
|
32
28
|
break: '中断',
|
|
33
29
|
halt: '停止',
|
|
34
|
-
|
|
35
|
-
// Async
|
|
36
30
|
wait: '待つ',
|
|
37
31
|
fetch: '取得',
|
|
38
32
|
call: '呼び出し',
|
|
39
33
|
return: '戻る',
|
|
40
|
-
|
|
41
|
-
// Other commands
|
|
42
34
|
make: '作る',
|
|
43
35
|
log: '記録',
|
|
44
36
|
throw: '投げる',
|
|
45
37
|
catch: '捕まえる',
|
|
46
38
|
measure: '測定',
|
|
47
39
|
transition: '遷移',
|
|
48
|
-
|
|
49
|
-
// Data Commands
|
|
50
40
|
increment: '増加',
|
|
51
41
|
decrement: '減少',
|
|
52
42
|
default: '既定',
|
|
53
|
-
|
|
54
|
-
// Navigation Commands
|
|
55
43
|
go: '移動',
|
|
56
44
|
pushUrl: 'URLプッシュ',
|
|
57
45
|
replaceUrl: 'URL置換',
|
|
58
|
-
|
|
59
|
-
// Utility Commands
|
|
60
46
|
copy: 'コピー',
|
|
61
47
|
pick: '選択',
|
|
62
48
|
beep: 'ビープ',
|
|
63
|
-
|
|
64
|
-
// Advanced Commands
|
|
65
49
|
js: 'JS実行',
|
|
66
50
|
async: '非同期',
|
|
67
51
|
render: '描画',
|
|
68
|
-
|
|
69
|
-
// Animation Commands
|
|
70
52
|
swap: '交換',
|
|
71
53
|
morph: '変形',
|
|
72
54
|
settle: '安定',
|
|
73
|
-
|
|
74
|
-
// Content Commands
|
|
75
55
|
append: '末尾追加',
|
|
76
|
-
|
|
77
|
-
// Control Flow
|
|
78
56
|
exit: '終了',
|
|
79
|
-
|
|
80
|
-
// Behaviors
|
|
81
57
|
install: 'インストール',
|
|
58
|
+
breakpoint: 'ブレークポイント',
|
|
59
|
+
clear: 'クリア',
|
|
60
|
+
close: '閉じる',
|
|
61
|
+
open: '開く',
|
|
62
|
+
select: '選択',
|
|
63
|
+
clone: '複製',
|
|
64
|
+
prepend: '先頭追加',
|
|
82
65
|
},
|
|
83
66
|
|
|
84
67
|
modifiers: {
|
|
@@ -110,23 +93,19 @@ export const ja: Dictionary = {
|
|
|
110
93
|
mouseover: 'マウス上',
|
|
111
94
|
mouseout: 'マウス外',
|
|
112
95
|
mousemove: 'マウス移動',
|
|
113
|
-
|
|
114
96
|
keydown: 'キー押下',
|
|
115
97
|
keyup: 'キー解放',
|
|
116
98
|
keypress: 'キー押す',
|
|
117
|
-
|
|
118
99
|
focus: 'フォーカス',
|
|
119
100
|
blur: 'ぼかし',
|
|
120
101
|
change: '変更',
|
|
121
102
|
input: '入力',
|
|
122
103
|
submit: '送信',
|
|
123
104
|
reset: 'リセット',
|
|
124
|
-
|
|
125
105
|
load: '読み込み',
|
|
126
106
|
unload: '読み込み解除',
|
|
127
107
|
resize: 'サイズ変更',
|
|
128
108
|
scroll: 'スクロール',
|
|
129
|
-
|
|
130
109
|
touchstart: 'タッチ開始',
|
|
131
110
|
touchend: 'タッチ終了',
|
|
132
111
|
touchmove: 'タッチ移動',
|
|
@@ -145,12 +124,14 @@ export const ja: Dictionary = {
|
|
|
145
124
|
contains: '含む',
|
|
146
125
|
includes: '含める',
|
|
147
126
|
equals: '等しい',
|
|
148
|
-
has: 'ある',
|
|
149
|
-
have: 'ある',
|
|
127
|
+
has: 'ある',
|
|
128
|
+
have: 'ある',
|
|
150
129
|
then: 'それから',
|
|
151
130
|
else: 'そうでなければ',
|
|
152
131
|
otherwise: 'そうでなければ',
|
|
153
132
|
end: '終わり',
|
|
133
|
+
live: 'ライブ',
|
|
134
|
+
changes: '変わったら',
|
|
154
135
|
},
|
|
155
136
|
|
|
156
137
|
temporal: {
|
|
@@ -204,7 +185,6 @@ export const ja: Dictionary = {
|
|
|
204
185
|
},
|
|
205
186
|
|
|
206
187
|
expressions: {
|
|
207
|
-
// Positional
|
|
208
188
|
first: '最初',
|
|
209
189
|
last: '最後',
|
|
210
190
|
next: '次',
|
|
@@ -212,20 +192,19 @@ export const ja: Dictionary = {
|
|
|
212
192
|
prev: '前',
|
|
213
193
|
at: 'で',
|
|
214
194
|
random: 'ランダム',
|
|
215
|
-
|
|
216
|
-
// DOM Traversal
|
|
217
195
|
closest: '最も近い',
|
|
218
196
|
parent: '親',
|
|
219
197
|
children: '子',
|
|
220
198
|
within: '以内',
|
|
221
|
-
|
|
222
|
-
// Emptiness/Existence
|
|
223
199
|
no: 'ない',
|
|
224
200
|
empty: '空',
|
|
225
201
|
some: 'いくつか',
|
|
226
|
-
|
|
227
|
-
// String operations
|
|
228
202
|
'starts with': 'で始まる',
|
|
229
203
|
'ends with': 'で終わる',
|
|
204
|
+
'ignoring case': '大文字小文字を無視',
|
|
205
|
+
'sorted by': 'でソート',
|
|
206
|
+
'mapped to': 'に変換',
|
|
207
|
+
'split by': 'で分割',
|
|
208
|
+
'joined by': 'で結合',
|
|
230
209
|
},
|
|
231
210
|
};
|
package/src/dictionaries/ko.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 ko: Dictionary = {
|
|
6
7
|
commands: {
|
|
7
|
-
// Event handling
|
|
8
8
|
on: '에',
|
|
9
9
|
tell: '말하다',
|
|
10
10
|
trigger: '트리거',
|
|
11
11
|
send: '보내다',
|
|
12
|
-
|
|
13
|
-
// DOM manipulation
|
|
14
12
|
take: '가져오다',
|
|
15
13
|
put: '넣다',
|
|
16
14
|
set: '설정',
|
|
@@ -20,8 +18,6 @@ export const ko: Dictionary = {
|
|
|
20
18
|
toggle: '토글',
|
|
21
19
|
hide: '숨기다',
|
|
22
20
|
show: '보이다',
|
|
23
|
-
|
|
24
|
-
// Control flow
|
|
25
21
|
if: '만약',
|
|
26
22
|
unless: '아니면',
|
|
27
23
|
repeat: '반복',
|
|
@@ -31,54 +27,41 @@ export const ko: Dictionary = {
|
|
|
31
27
|
continue: '계속',
|
|
32
28
|
break: '중단',
|
|
33
29
|
halt: '정지',
|
|
34
|
-
|
|
35
|
-
// Async
|
|
36
30
|
wait: '대기',
|
|
37
31
|
fetch: '가져오기',
|
|
38
32
|
call: '호출',
|
|
39
33
|
return: '반환',
|
|
40
|
-
|
|
41
|
-
// Other commands
|
|
42
34
|
make: '만들다',
|
|
43
35
|
log: '로그',
|
|
44
36
|
throw: '던지다',
|
|
45
37
|
catch: '잡다',
|
|
46
38
|
measure: '측정',
|
|
47
39
|
transition: '전환',
|
|
48
|
-
|
|
49
|
-
// Data Commands
|
|
50
40
|
increment: '증가',
|
|
51
41
|
decrement: '감소',
|
|
52
42
|
default: '기본값',
|
|
53
|
-
|
|
54
|
-
// Navigation Commands
|
|
55
43
|
go: '이동',
|
|
56
44
|
pushUrl: 'URL푸시',
|
|
57
45
|
replaceUrl: 'URL교체',
|
|
58
|
-
|
|
59
|
-
// Utility Commands
|
|
60
46
|
copy: '복사',
|
|
61
47
|
pick: '선택',
|
|
62
48
|
beep: '비프',
|
|
63
|
-
|
|
64
|
-
// Advanced Commands
|
|
65
49
|
js: 'JS실행',
|
|
66
50
|
async: '비동기',
|
|
67
51
|
render: '렌더링',
|
|
68
|
-
|
|
69
|
-
// Animation Commands
|
|
70
52
|
swap: '교환',
|
|
71
53
|
morph: '변형',
|
|
72
54
|
settle: '안정',
|
|
73
|
-
|
|
74
|
-
// Content Commands
|
|
75
55
|
append: '추가',
|
|
76
|
-
|
|
77
|
-
// Control Flow
|
|
78
56
|
exit: '종료',
|
|
79
|
-
|
|
80
|
-
// Behaviors
|
|
81
57
|
install: '설치',
|
|
58
|
+
breakpoint: '중단점',
|
|
59
|
+
clear: '지우기',
|
|
60
|
+
close: '닫기',
|
|
61
|
+
open: '열기',
|
|
62
|
+
select: '선택',
|
|
63
|
+
clone: '복제',
|
|
64
|
+
prepend: '앞에추가',
|
|
82
65
|
},
|
|
83
66
|
|
|
84
67
|
modifiers: {
|
|
@@ -110,23 +93,19 @@ export const ko: Dictionary = {
|
|
|
110
93
|
mouseover: '마우스오버',
|
|
111
94
|
mouseout: '마우스아웃',
|
|
112
95
|
mousemove: '마우스무브',
|
|
113
|
-
|
|
114
96
|
keydown: '키다운',
|
|
115
97
|
keyup: '키업',
|
|
116
98
|
keypress: '키프레스',
|
|
117
|
-
|
|
118
99
|
focus: '포커스',
|
|
119
100
|
blur: '블러',
|
|
120
101
|
change: '변경',
|
|
121
102
|
input: '입력',
|
|
122
103
|
submit: '제출',
|
|
123
104
|
reset: '리셋',
|
|
124
|
-
|
|
125
105
|
load: '로드',
|
|
126
106
|
unload: '언로드',
|
|
127
107
|
resize: '리사이즈',
|
|
128
108
|
scroll: '스크롤',
|
|
129
|
-
|
|
130
109
|
touchstart: '터치시작',
|
|
131
110
|
touchend: '터치종료',
|
|
132
111
|
touchmove: '터치이동',
|
|
@@ -145,12 +124,14 @@ export const ko: Dictionary = {
|
|
|
145
124
|
contains: '포함',
|
|
146
125
|
includes: '포함하다',
|
|
147
126
|
equals: '같다',
|
|
148
|
-
has: '있다',
|
|
149
|
-
have: '있다',
|
|
127
|
+
has: '있다',
|
|
128
|
+
have: '있다',
|
|
150
129
|
then: '그러면',
|
|
151
130
|
else: '아니면',
|
|
152
131
|
otherwise: '그렇지않으면',
|
|
153
132
|
end: '끝',
|
|
133
|
+
live: '라이브',
|
|
134
|
+
changes: '변경되면',
|
|
154
135
|
},
|
|
155
136
|
|
|
156
137
|
temporal: {
|
|
@@ -174,13 +155,13 @@ export const ko: Dictionary = {
|
|
|
174
155
|
null: '널',
|
|
175
156
|
undefined: '정의안됨',
|
|
176
157
|
it: '그것',
|
|
177
|
-
its: '그것의',
|
|
158
|
+
its: '그것의',
|
|
178
159
|
me: '나',
|
|
179
160
|
my: '내',
|
|
180
161
|
myself: '나자신',
|
|
181
|
-
you: '너',
|
|
182
|
-
your: '네',
|
|
183
|
-
yourself: '너자신',
|
|
162
|
+
you: '너',
|
|
163
|
+
your: '네',
|
|
164
|
+
yourself: '너자신',
|
|
184
165
|
element: '요소',
|
|
185
166
|
target: '대상',
|
|
186
167
|
detail: '세부',
|
|
@@ -204,7 +185,6 @@ export const ko: Dictionary = {
|
|
|
204
185
|
},
|
|
205
186
|
|
|
206
187
|
expressions: {
|
|
207
|
-
// Positional
|
|
208
188
|
first: '첫번째',
|
|
209
189
|
last: '마지막',
|
|
210
190
|
next: '다음',
|
|
@@ -212,20 +192,19 @@ export const ko: Dictionary = {
|
|
|
212
192
|
prev: '이전',
|
|
213
193
|
at: '에서',
|
|
214
194
|
random: '무작위',
|
|
215
|
-
|
|
216
|
-
// DOM Traversal
|
|
217
195
|
closest: '가장가까운',
|
|
218
196
|
parent: '부모',
|
|
219
197
|
children: '자식',
|
|
220
198
|
within: '이내',
|
|
221
|
-
|
|
222
|
-
// Emptiness/Existence
|
|
223
199
|
no: '없음',
|
|
224
200
|
empty: '비어있는',
|
|
225
201
|
some: '일부',
|
|
226
|
-
|
|
227
|
-
// String operations
|
|
228
202
|
'starts with': '로시작',
|
|
229
203
|
'ends with': '로끝나는',
|
|
204
|
+
'ignoring case': '대소문자_무시',
|
|
205
|
+
'sorted by': '로_정렬',
|
|
206
|
+
'mapped to': '로_변환',
|
|
207
|
+
'split by': '로_분할',
|
|
208
|
+
'joined by': '로_결합',
|
|
230
209
|
},
|
|
231
210
|
};
|
package/src/dictionaries/ms.ts
CHANGED
|
@@ -1,21 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Malay translations for hyperscript keywords.
|
|
5
|
-
* Malay is an SVO (Subject-Verb-Object) language with prepositions.
|
|
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 malayDictionary: Dictionary = {
|
|
11
7
|
commands: {
|
|
12
|
-
// Event handling
|
|
13
8
|
on: 'apabila',
|
|
14
9
|
tell: 'beritahu',
|
|
15
10
|
trigger: 'cetuskan',
|
|
16
11
|
send: 'hantar',
|
|
17
|
-
|
|
18
|
-
// DOM manipulation
|
|
19
12
|
take: 'ambil',
|
|
20
13
|
put: 'letak',
|
|
21
14
|
set: 'tetapkan',
|
|
@@ -25,8 +18,6 @@ export const malayDictionary: Dictionary = {
|
|
|
25
18
|
toggle: 'togol',
|
|
26
19
|
hide: 'sembunyi',
|
|
27
20
|
show: 'tunjuk',
|
|
28
|
-
|
|
29
|
-
// Control flow
|
|
30
21
|
if: 'jika',
|
|
31
22
|
unless: 'kecuali',
|
|
32
23
|
repeat: 'ulang',
|
|
@@ -36,63 +27,46 @@ export const malayDictionary: Dictionary = {
|
|
|
36
27
|
continue: 'teruskan',
|
|
37
28
|
break: 'henti',
|
|
38
29
|
halt: 'henti',
|
|
39
|
-
|
|
40
|
-
// Async
|
|
41
30
|
wait: 'tunggu',
|
|
42
31
|
fetch: 'ambil_dari',
|
|
43
32
|
call: 'panggil',
|
|
44
33
|
return: 'pulang',
|
|
45
|
-
|
|
46
|
-
// Other commands
|
|
47
34
|
make: 'buat',
|
|
48
35
|
log: 'catat',
|
|
49
36
|
throw: 'lempar',
|
|
50
37
|
catch: 'tangkap',
|
|
51
38
|
measure: 'ukur',
|
|
52
39
|
transition: 'peralihan',
|
|
53
|
-
|
|
54
|
-
// Data Commands
|
|
55
40
|
increment: 'tambah_satu',
|
|
56
41
|
decrement: 'kurang_satu',
|
|
57
42
|
default: 'lalai',
|
|
58
|
-
|
|
59
|
-
// Navigation Commands
|
|
60
43
|
go: 'pergi',
|
|
61
44
|
pushUrl: 'tolak_url',
|
|
62
45
|
replaceUrl: 'ganti_url',
|
|
63
|
-
|
|
64
|
-
// Utility Commands
|
|
65
46
|
copy: 'salin',
|
|
66
47
|
pick: 'pilih',
|
|
67
48
|
beep: 'bunyi',
|
|
68
|
-
|
|
69
|
-
// Advanced Commands
|
|
70
49
|
js: 'js',
|
|
71
50
|
async: 'tak_segerak',
|
|
72
51
|
render: 'papar',
|
|
73
|
-
|
|
74
|
-
// Animation Commands
|
|
75
52
|
swap: 'tukar_tempat',
|
|
76
53
|
morph: 'ubah_bentuk',
|
|
77
54
|
settle: 'selesai',
|
|
78
|
-
|
|
79
|
-
// Content Commands
|
|
80
55
|
append: 'tambah_hujung',
|
|
81
56
|
prepend: 'tambah_mula',
|
|
82
|
-
|
|
83
|
-
// Control Flow
|
|
84
57
|
exit: 'keluar',
|
|
85
58
|
else: 'kalau_tidak',
|
|
86
|
-
|
|
87
|
-
// Focus Commands
|
|
88
59
|
focus: 'fokus',
|
|
89
60
|
blur: 'kabur',
|
|
90
|
-
|
|
91
|
-
// Behaviors
|
|
92
61
|
install: 'pasang',
|
|
93
62
|
behavior: 'kelakuan',
|
|
94
63
|
init: 'mula',
|
|
95
64
|
clone: 'klon',
|
|
65
|
+
breakpoint: 'titik-henti',
|
|
66
|
+
clear: 'padam',
|
|
67
|
+
close: 'tutup',
|
|
68
|
+
open: 'buka',
|
|
69
|
+
select: 'pilih',
|
|
96
70
|
},
|
|
97
71
|
|
|
98
72
|
modifiers: {
|
|
@@ -129,28 +103,23 @@ export const malayDictionary: 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: 'setiap',
|
|
155
124
|
},
|
|
156
125
|
|
|
@@ -166,12 +135,14 @@ export const malayDictionary: Dictionary = {
|
|
|
166
135
|
contains: 'mengandungi',
|
|
167
136
|
includes: 'termasuk',
|
|
168
137
|
equals: 'sama',
|
|
169
|
-
has: 'ada',
|
|
170
|
-
have: 'ada',
|
|
138
|
+
has: 'ada',
|
|
139
|
+
have: 'ada',
|
|
171
140
|
then: 'kemudian',
|
|
172
141
|
else: 'kalau_tidak',
|
|
173
142
|
otherwise: 'jika_tidak',
|
|
174
143
|
end: 'tamat',
|
|
144
|
+
live: 'langsung',
|
|
145
|
+
changes: 'berubah',
|
|
175
146
|
if: 'jika',
|
|
176
147
|
empty: 'kosong',
|
|
177
148
|
true: 'benar',
|
|
@@ -240,7 +211,6 @@ export const malayDictionary: Dictionary = {
|
|
|
240
211
|
},
|
|
241
212
|
|
|
242
213
|
expressions: {
|
|
243
|
-
// Positional
|
|
244
214
|
first: 'pertama',
|
|
245
215
|
last: 'terakhir',
|
|
246
216
|
next: 'seterusnya',
|
|
@@ -248,27 +218,23 @@ export const malayDictionary: Dictionary = {
|
|
|
248
218
|
prev: 'sebelum',
|
|
249
219
|
at: 'di',
|
|
250
220
|
random: 'rawak',
|
|
251
|
-
|
|
252
|
-
// DOM Traversal
|
|
253
221
|
closest: 'terdekat',
|
|
254
222
|
parent: 'induk',
|
|
255
223
|
children: 'anak_anak',
|
|
256
224
|
within: 'dalam',
|
|
257
|
-
|
|
258
|
-
// Emptiness/Existence
|
|
259
225
|
no: 'tiada',
|
|
260
226
|
empty: 'kosong',
|
|
261
227
|
some: 'beberapa',
|
|
262
|
-
|
|
263
|
-
// String operations
|
|
264
228
|
'starts with': 'bermula_dengan',
|
|
265
229
|
'ends with': 'berakhir_dengan',
|
|
266
|
-
|
|
267
|
-
|
|
230
|
+
'ignoring case': 'abaikan_huruf_besar_kecil',
|
|
231
|
+
'sorted by': 'disusun_mengikut',
|
|
232
|
+
'mapped to': 'dipetakan_ke',
|
|
233
|
+
'split by': 'dipecah_oleh',
|
|
234
|
+
'joined by': 'digabung_oleh',
|
|
268
235
|
length: 'panjang',
|
|
269
236
|
index: 'indeks',
|
|
270
237
|
},
|
|
271
238
|
};
|
|
272
239
|
|
|
273
|
-
// Default export alias
|
|
274
240
|
export const ms = malayDictionary;
|
package/src/dictionaries/pl.ts
CHANGED
|
@@ -1,22 +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
|
-
* Polish Dictionary
|
|
7
|
-
*
|
|
8
|
-
* Polish uses IMPERATIVE verb forms for software commands
|
|
9
|
-
* (unlike most languages which use infinitive).
|
|
10
|
-
*/
|
|
11
6
|
export const pl: Dictionary = {
|
|
12
7
|
commands: {
|
|
13
|
-
// Event handling
|
|
14
8
|
on: 'gdy',
|
|
15
9
|
tell: 'powiedz',
|
|
16
10
|
trigger: 'wywołaj',
|
|
17
11
|
send: 'wyślij',
|
|
18
|
-
|
|
19
|
-
// DOM manipulation
|
|
20
12
|
take: 'weź',
|
|
21
13
|
put: 'umieść',
|
|
22
14
|
set: 'ustaw',
|
|
@@ -26,8 +18,6 @@ export const pl: Dictionary = {
|
|
|
26
18
|
toggle: 'przełącz',
|
|
27
19
|
hide: 'ukryj',
|
|
28
20
|
show: 'pokaż',
|
|
29
|
-
|
|
30
|
-
// Control flow
|
|
31
21
|
if: 'jeśli',
|
|
32
22
|
unless: 'chyba',
|
|
33
23
|
repeat: 'powtórz',
|
|
@@ -37,54 +27,41 @@ export const pl: Dictionary = {
|
|
|
37
27
|
continue: 'kontynuuj',
|
|
38
28
|
break: 'przerwij',
|
|
39
29
|
halt: 'zatrzymaj',
|
|
40
|
-
|
|
41
|
-
// Async
|
|
42
30
|
wait: 'czekaj',
|
|
43
31
|
fetch: 'pobierz',
|
|
44
32
|
call: 'wywołaj',
|
|
45
33
|
return: 'zwróć',
|
|
46
|
-
|
|
47
|
-
// Other commands
|
|
48
34
|
make: 'utwórz',
|
|
49
35
|
log: 'loguj',
|
|
50
36
|
throw: 'rzuć',
|
|
51
37
|
catch: 'złap',
|
|
52
38
|
measure: 'zmierz',
|
|
53
39
|
transition: 'animuj',
|
|
54
|
-
|
|
55
|
-
// Data Commands
|
|
56
40
|
increment: 'zwiększ',
|
|
57
41
|
decrement: 'zmniejsz',
|
|
58
42
|
default: 'domyślnie',
|
|
59
|
-
|
|
60
|
-
// Navigation Commands
|
|
61
43
|
go: 'idź',
|
|
62
44
|
pushUrl: 'dodajUrl',
|
|
63
45
|
replaceUrl: 'zamieńUrl',
|
|
64
|
-
|
|
65
|
-
// Utility Commands
|
|
66
46
|
copy: 'kopiuj',
|
|
67
47
|
pick: 'wybierz',
|
|
68
48
|
beep: 'sygnał',
|
|
69
|
-
|
|
70
|
-
// Advanced Commands
|
|
71
49
|
js: 'js',
|
|
72
50
|
async: 'async',
|
|
73
51
|
render: 'renderuj',
|
|
74
|
-
|
|
75
|
-
// Animation Commands
|
|
76
52
|
swap: 'zamień',
|
|
77
53
|
morph: 'przekształć',
|
|
78
54
|
settle: 'ustabilizuj',
|
|
79
|
-
|
|
80
|
-
// Content Commands
|
|
81
55
|
append: 'dołącz',
|
|
82
|
-
|
|
83
|
-
// Control Flow
|
|
84
56
|
exit: 'wyjdź',
|
|
85
|
-
|
|
86
|
-
// Behaviors
|
|
87
57
|
install: 'zainstaluj',
|
|
58
|
+
breakpoint: 'punkt-przerwania',
|
|
59
|
+
clear: 'wyczyść',
|
|
60
|
+
close: 'zamknij',
|
|
61
|
+
open: 'otwórz',
|
|
62
|
+
select: 'wybierz',
|
|
63
|
+
clone: 'sklonuj',
|
|
64
|
+
prepend: 'poprzedź',
|
|
88
65
|
},
|
|
89
66
|
|
|
90
67
|
modifiers: {
|
|
@@ -116,23 +93,19 @@ export const pl: Dictionary = {
|
|
|
116
93
|
mouseover: 'mysznad',
|
|
117
94
|
mouseout: 'myszpoza',
|
|
118
95
|
mousemove: 'myszruch',
|
|
119
|
-
|
|
120
96
|
keydown: 'klawiszdół',
|
|
121
97
|
keyup: 'klawiszgóra',
|
|
122
98
|
keypress: 'klawisznaciśnięcie',
|
|
123
|
-
|
|
124
99
|
focus: 'fokus',
|
|
125
100
|
blur: 'rozmycie',
|
|
126
101
|
change: 'zmiana',
|
|
127
102
|
input: 'wejście',
|
|
128
103
|
submit: 'wyślij',
|
|
129
104
|
reset: 'resetuj',
|
|
130
|
-
|
|
131
105
|
load: 'załaduj',
|
|
132
106
|
unload: 'wyładuj',
|
|
133
107
|
resize: 'zmieńrozmiar',
|
|
134
108
|
scroll: 'przewiń',
|
|
135
|
-
|
|
136
109
|
touchstart: 'dotykstart',
|
|
137
110
|
touchend: 'dotykkoniec',
|
|
138
111
|
touchmove: 'dotykruch',
|
|
@@ -151,12 +124,14 @@ export const pl: Dictionary = {
|
|
|
151
124
|
contains: 'zawiera',
|
|
152
125
|
includes: 'obejmuje',
|
|
153
126
|
equals: 'równa się',
|
|
154
|
-
has: 'ma',
|
|
155
|
-
have: 'mam',
|
|
127
|
+
has: 'ma',
|
|
128
|
+
have: 'mam',
|
|
156
129
|
then: 'wtedy',
|
|
157
130
|
else: 'inaczej',
|
|
158
131
|
otherwise: 'wpp',
|
|
159
132
|
end: 'koniec',
|
|
133
|
+
live: 'żywy',
|
|
134
|
+
changes: 'zmienia',
|
|
160
135
|
},
|
|
161
136
|
|
|
162
137
|
temporal: {
|
|
@@ -210,7 +185,6 @@ export const pl: Dictionary = {
|
|
|
210
185
|
},
|
|
211
186
|
|
|
212
187
|
expressions: {
|
|
213
|
-
// Positional
|
|
214
188
|
first: 'pierwszy',
|
|
215
189
|
last: 'ostatni',
|
|
216
190
|
next: 'następny',
|
|
@@ -218,20 +192,19 @@ export const pl: Dictionary = {
|
|
|
218
192
|
prev: 'poprz',
|
|
219
193
|
at: 'przy',
|
|
220
194
|
random: 'losowy',
|
|
221
|
-
|
|
222
|
-
// DOM Traversal
|
|
223
195
|
closest: 'najbliższy',
|
|
224
196
|
parent: 'rodzic',
|
|
225
197
|
children: 'dzieci',
|
|
226
198
|
within: 'wewnątrz',
|
|
227
|
-
|
|
228
|
-
// Emptiness/Existence
|
|
229
199
|
no: 'brak',
|
|
230
200
|
empty: 'pusty',
|
|
231
201
|
some: 'jakiś',
|
|
232
|
-
|
|
233
|
-
// String operations
|
|
234
202
|
'starts with': 'zaczyna się od',
|
|
235
203
|
'ends with': 'kończy się na',
|
|
204
|
+
'ignoring case': 'ignorując wielkość liter',
|
|
205
|
+
'sorted by': 'sortowane według',
|
|
206
|
+
'mapped to': 'przekształcone na',
|
|
207
|
+
'split by': 'podzielone przez',
|
|
208
|
+
'joined by': 'połączone przez',
|
|
236
209
|
},
|
|
237
210
|
};
|