@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokascript/i18n",
3
- "version": "2.9.2",
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.2",
68
- "@lokascript/semantic": "^2.9.2",
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": "^20.0.0",
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",
@@ -122,7 +122,9 @@ export const de: Dictionary = {
122
122
  reset: 'zurücksetzen',
123
123
  load: 'laden',
124
124
  unload: 'entladen',
125
- resize: 'größeändern',
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',
@@ -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',
@@ -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
- resize: 'zmieńrozmiar',
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',
@@ -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',
@@ -56,7 +56,7 @@ export const russianDictionary: Dictionary = {
56
56
  swap: 'поменять',
57
57
  morph: 'трансформировать',
58
58
  settle: 'стабилизировать',
59
- append: 'дописать', // profile alternative; the compound splits and добавить parses as add
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: 'закрыть',
@@ -56,7 +56,7 @@ export const ukrainianDictionary: Dictionary = {
56
56
  swap: 'поміняти',
57
57
  morph: 'трансформувати',
58
58
  settle: 'стабілізувати',
59
- append: 'дописати', // profile alternative; the compound splits and додати parses as add
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: 'закрити',