feat: add English interface localization and fix preview crashes

This commit is contained in:
ji ruo committed 2026-11-10 20:03:14 +08:00
1 parent a05a886d3d
commit 9ccaa81497
163 files changed
+17100 -6944

No files matched your search

+4 -3
View File
@@ -11,13 +11,12 @@
"format": "biome format --write",
"check": "biome check",
"check:fix": "biome check --write",
"test:i18n": "node --experimental-strip-types --test src/i18n/i18n.test.cjs src/i18n/screen-pages.test.cjs src/lib/chat-mentions.test.mjs src/lib/api-errors.test.cjs src/lib/api-intelligence.test.cjs src/lib/coverage-graph-lifecycle.test.cjs",
"prepare": "husky",
"generate:presets": "ts-node -P tsconfig.scripts.json src/scripts/generate-theme-presets.ts"
},
"lint-staged": {
"*.{js,ts,jsx,tsx}": [
"biome check --write --no-errors-on-unmatched"
]
"*.{js,ts,jsx,tsx}": ["biome check --write --no-errors-on-unmatched"]
},
"dependencies": {
"@antv/g6": "^5.1.1",
@@ -45,6 +44,7 @@
"date-fns": "^4.4.0",
"embla-carousel-react": "^8.6.0",
"geist": "^1.7.2",
"i18next": "^27.1.0",
"input-otp": "^1.4.2",
"lucide-react": "^1.22.0",
"next": "^16.2.9",
@@ -54,6 +54,7 @@
"react-day-picker": "^10.0.1",
"react-dom": "^19.2.7",
"react-hook-form": "^7.80.0",
"react-i18next": "^18.0.1",
"react-is": "^19.2.7",
"react-markdown": "^10.1.0",
"react-resizable-panels": "^4.12.0",