i18n: fix placeholder mismatch, add validation (#23541)
This commit is contained in:
parent
d8ed7c1e11
commit
13b4ab3018
15 changed files with 269 additions and 51 deletions
|
|
@ -5,10 +5,11 @@
|
|||
"scripts": {
|
||||
"build": "vite build",
|
||||
"test": "cross-env TZ=Europe/Berlin vitest",
|
||||
"lint": "npm run lint:prettier && npm run lint:eslint && npm run lint:tsc",
|
||||
"lint": "npm run lint:prettier && npm run lint:eslint && npm run lint:tsc && npm run lint:i18n",
|
||||
"lint:prettier": "prettier assets tests **/*.{yaml,sh} i18n/*.json --write",
|
||||
"lint:eslint": "eslint --fix --max-warnings=0",
|
||||
"lint:tsc": "vue-tsc --noEmit",
|
||||
"lint:i18n": "tsx i18n/check.ts",
|
||||
"dev": "vite",
|
||||
"playwright": "playwright test --ui",
|
||||
"simulator": "vite tests/simulator",
|
||||
|
|
@ -66,7 +67,6 @@
|
|||
"@vue/tsconfig": "^0.8.1",
|
||||
"body-parser": "^2.2.0",
|
||||
"cross-env": "^10.0.0",
|
||||
"license-compliance": "^3.0.1",
|
||||
"eslint": "^9.35.0",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-import": "^2.32.0",
|
||||
|
|
@ -77,6 +77,7 @@
|
|||
"globals": "^16.3.0",
|
||||
"happy-dom": "^18.0.1",
|
||||
"kill-port": "^2.0.1",
|
||||
"license-compliance": "^3.0.1",
|
||||
"mqtt": "^5.14.1",
|
||||
"prettier": "^3.6.2",
|
||||
"prettier-plugin-sh": "^0.18.0",
|
||||
|
|
@ -84,6 +85,7 @@
|
|||
"rollup-plugin-visualizer": "^6.0.3",
|
||||
"storybook": "^10.0.0-beta.2",
|
||||
"terser": "^5.44.0",
|
||||
"tsx": "^4.20.5",
|
||||
"typescript": "^5.9.2",
|
||||
"typescript-eslint-language-service": "^5.0.5",
|
||||
"vite": "^7.1.5",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue