@lokascript/i18n 2.9.2 → 2.9.4
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 +18 -10
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.js +18 -10
- package/dist/browser.js.map +1 -1
- package/dist/dictionaries/index.cjs +18 -10
- package/dist/dictionaries/index.cjs.map +1 -1
- package/dist/dictionaries/index.js +18 -10
- package/dist/dictionaries/index.js.map +1 -1
- package/dist/index.cjs +18 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +34 -34
- package/dist/index.d.ts +34 -34
- package/dist/index.js +18 -10
- 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 +16 -10
- package/dist/lokascript-i18n.mjs.map +1 -1
- package/dist/plugins/vite.cjs +18 -10
- package/dist/plugins/vite.cjs.map +1 -1
- package/dist/plugins/vite.js +18 -10
- package/dist/plugins/vite.js.map +1 -1
- package/dist/plugins/webpack.cjs +18 -10
- package/dist/plugins/webpack.cjs.map +1 -1
- package/dist/plugins/webpack.js +18 -10
- package/dist/plugins/webpack.js.map +1 -1
- package/package.json +4 -4
- package/src/dictionaries/de.ts +3 -1
- package/src/dictionaries/es.ts +2 -2
- package/src/dictionaries/pl.ts +2 -1
- package/src/dictionaries/pt.ts +5 -2
- package/src/dictionaries/ru.ts +2 -2
- package/src/dictionaries/uk.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lokascript/i18n",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.4",
|
|
4
4
|
"description": "Grammar transformation and keyword translation for hyperscript",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
},
|
|
65
65
|
"homepage": "https://github.com/codetalcott/hyperfixi/tree/main/packages/i18n#readme",
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@hyperfixi/core": "^2.9.
|
|
68
|
-
"@lokascript/semantic": "^2.9.
|
|
67
|
+
"@hyperfixi/core": "^2.9.4",
|
|
68
|
+
"@lokascript/semantic": "^2.9.4",
|
|
69
69
|
"esbuild": "^0.28.0",
|
|
70
70
|
"happy-dom": "^20.10.6",
|
|
71
71
|
"vite": "^8.1.4"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
75
75
|
"@rollup/plugin-terser": "^1.0.0",
|
|
76
76
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
77
|
-
"@types/node": "^
|
|
77
|
+
"@types/node": "^26.1.2",
|
|
78
78
|
"@vitest/coverage-v8": "^4.0.0",
|
|
79
79
|
"rollup": "^4.62.2",
|
|
80
80
|
"tsup": "^8.0.0",
|
package/src/dictionaries/de.ts
CHANGED
|
@@ -122,7 +122,9 @@ export const de: Dictionary = {
|
|
|
122
122
|
reset: 'zurücksetzen',
|
|
123
123
|
load: 'laden',
|
|
124
124
|
unload: 'entladen',
|
|
125
|
-
|
|
125
|
+
// 'größeändern' was a malformed compound: German either separates the verb
|
|
126
|
+
// phrase ('Größe ändern') or compounds with the linking -n- ('Größenänderung').
|
|
127
|
+
resize: 'größenänderung',
|
|
126
128
|
scroll: 'scrollen',
|
|
127
129
|
touchstart: 'berührungstart',
|
|
128
130
|
touchend: 'berührungend',
|
package/src/dictionaries/es.ts
CHANGED
|
@@ -86,12 +86,12 @@ export const es: Dictionary = {
|
|
|
86
86
|
events: {
|
|
87
87
|
click: 'clic',
|
|
88
88
|
dblclick: 'dobleclic',
|
|
89
|
-
mousedown: 'ratónabajo',
|
|
90
|
-
mouseup: 'ratónarriba',
|
|
91
89
|
mouseenter: 'ratónentrar',
|
|
92
90
|
mouseleave: 'ratónsalir',
|
|
93
91
|
// V3 Batch 2: fused forms split to the S5b/tokenizer-known forms (the fused
|
|
94
92
|
// spellings captured event=expression:undefined — broken listeners)
|
|
93
|
+
mousedown: 'ratón abajo',
|
|
94
|
+
mouseup: 'ratón arriba',
|
|
95
95
|
mouseover: 'ratón encima',
|
|
96
96
|
mouseout: 'ratón fuera',
|
|
97
97
|
mousemove: 'ratónmover',
|
package/src/dictionaries/pl.ts
CHANGED
|
@@ -116,7 +116,8 @@ export const pl: Dictionary = {
|
|
|
116
116
|
reset: 'zresetuj', // Batch 3: resetuj captured on.event as expression (broken listener) — profile word round-trips
|
|
117
117
|
load: 'załaduj',
|
|
118
118
|
unload: 'wyładuj',
|
|
119
|
-
|
|
119
|
+
// 'zmieńrozmiar' was a fused two-word phrase; Polish writes 'zmiana rozmiaru'.
|
|
120
|
+
resize: 'zmiana rozmiaru',
|
|
120
121
|
scroll: 'przewiń',
|
|
121
122
|
touchstart: 'dotykstart',
|
|
122
123
|
touchend: 'dotykkoniec',
|
package/src/dictionaries/pt.ts
CHANGED
|
@@ -92,12 +92,15 @@ export const pt: Dictionary = {
|
|
|
92
92
|
events: {
|
|
93
93
|
click: 'clique',
|
|
94
94
|
dblclick: 'duploClique',
|
|
95
|
-
mousedown: 'mouseBaixo',
|
|
96
|
-
mouseup: 'mouseCima',
|
|
97
95
|
mouseenter: 'mouseEntrar',
|
|
98
96
|
mouseleave: 'mouseSair',
|
|
99
97
|
// V3 Batch 2: camelCase forms split to the S5b/tokenizer-known forms (the
|
|
100
98
|
// fused spellings captured event=expression:undefined — broken listeners)
|
|
99
|
+
// pt-BR idiom is "pressionado"/"solto", not the spatial baixo/cima calque —
|
|
100
|
+
// cf. MDN pt-BR ("um botão ... é pressionado") and Scratch pt-BR
|
|
101
|
+
// ("mouse pressionado?"). The calques stay as profile parse alternatives.
|
|
102
|
+
mousedown: 'mouse pressionado',
|
|
103
|
+
mouseup: 'mouse solto',
|
|
101
104
|
mouseover: 'mouse sobre',
|
|
102
105
|
mouseout: 'mouse fora',
|
|
103
106
|
mousemove: 'mouseMover',
|
package/src/dictionaries/ru.ts
CHANGED
|
@@ -56,7 +56,7 @@ export const russianDictionary: Dictionary = {
|
|
|
56
56
|
swap: 'поменять',
|
|
57
57
|
morph: 'трансформировать',
|
|
58
58
|
settle: 'стабилизировать',
|
|
59
|
-
append: 'дописать', //
|
|
59
|
+
append: 'дописать', // matches the ru profile primary
|
|
60
60
|
exit: 'выйти',
|
|
61
61
|
else: 'иначе',
|
|
62
62
|
install: 'инсталлировать', // loanword — `установить` is `set` (homonym); see russian profile
|
|
@@ -65,7 +65,7 @@ export const russianDictionary: Dictionary = {
|
|
|
65
65
|
focus: 'сфокусировать',
|
|
66
66
|
blur: 'размыть',
|
|
67
67
|
clone: 'клонировать',
|
|
68
|
-
prepend: 'добавить
|
|
68
|
+
prepend: 'добавить в начало', // natural form; the underscore compound was never natural Russian
|
|
69
69
|
breakpoint: 'точка-останова',
|
|
70
70
|
clear: 'очистить',
|
|
71
71
|
close: 'закрыть',
|
package/src/dictionaries/uk.ts
CHANGED
|
@@ -56,7 +56,7 @@ export const ukrainianDictionary: Dictionary = {
|
|
|
56
56
|
swap: 'поміняти',
|
|
57
57
|
morph: 'трансформувати',
|
|
58
58
|
settle: 'стабілізувати',
|
|
59
|
-
append: 'дописати', //
|
|
59
|
+
append: 'дописати', // matches the uk profile primary
|
|
60
60
|
exit: 'вийти',
|
|
61
61
|
else: 'інакше',
|
|
62
62
|
install: 'інсталювати', // loanword — `встановити` is `set` (homonym); see ukrainian profile
|
|
@@ -65,7 +65,7 @@ export const ukrainianDictionary: Dictionary = {
|
|
|
65
65
|
focus: 'сфокусувати',
|
|
66
66
|
blur: 'розфокусувати',
|
|
67
67
|
clone: 'клонувати',
|
|
68
|
-
prepend: 'додати
|
|
68
|
+
prepend: 'додати на початок', // natural form; see ru.ts
|
|
69
69
|
breakpoint: 'точка-зупинки',
|
|
70
70
|
clear: 'очистити',
|
|
71
71
|
close: 'закрити',
|