mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-05 02:42:49 +08:00
Move translations to plain JSON files (de/en/zh-CN/fa)
Translation strings were split across inline TS objects in i18n.tsx (de/en) and separate .ts modules (zh-CN, fa). Consolidated into one JSON file per language under web/src/locales/ - translation tools (e.g. Weblate) can read/write these directly, and i18n.tsx is now just the loader/lookup logic. No string content changed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
1 parent
45af66f84b
commit
d62e47ca63
6 files changed
+1259
-1438
No files matched your search
@@ -7,6 +7,7 @@
|
||||
"types": ["vite/client"],
|
||||
"allowArbitraryExtensions": true,
|
||||
"skipLibCheck": true,
|
||||
"resolveJsonModule": true,
|
||||
|
||||
/* Bundler mode */
|
||||
"moduleResolution": "bundler",
|
||||
|
||||
Reference in new issue
Block a user