mirror of
https://github.com/stan-smith/FossFLOW.git
synced 2025-12-24 06:58:48 -05:00
fix: add missing i18n files to public folder for GitHub Pages
- Copy translation files to public/i18n/app directory - Add missing i18n dependencies to package.json - Fixes translation keys showing instead of text on GitHub Pages
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
"dependencies": {
|
||||
"@isoflow/isopacks": "^0.0.10",
|
||||
"fossflow": "*",
|
||||
"i18next": "^25.4.2",
|
||||
"i18next": "^25.5.2",
|
||||
"i18next-browser-languagedetector": "^8.2.0",
|
||||
"i18next-http-backend": "^3.0.2",
|
||||
"react": "^18.2.0",
|
||||
|
||||
11
packages/fossflow-app/public/i18n/app/en-US.json
Normal file
11
packages/fossflow-app/public/i18n/app/en-US.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"nav": {
|
||||
"newDiagram": "New Diagram",
|
||||
"saveSessionOnly": "Save (Session Only)",
|
||||
"loadSessionOnly": "Load (Session Only)",
|
||||
"importFile": "Import File",
|
||||
"exportFile": "Export File",
|
||||
"quickSaveSession": "Quick Save(Session)",
|
||||
"serverStorage": "Server Storage"
|
||||
}
|
||||
}
|
||||
11
packages/fossflow-app/public/i18n/app/zh-CN.json
Normal file
11
packages/fossflow-app/public/i18n/app/zh-CN.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"nav": {
|
||||
"newDiagram": "新建图表",
|
||||
"saveSessionOnly": "保存(仅会话)",
|
||||
"loadSessionOnly": "加载(仅会话)",
|
||||
"importFile": "导入文件",
|
||||
"exportFile": "导出文件",
|
||||
"quickSaveSession": "快速保存(会话)",
|
||||
"serverStorage": "服务端存储"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user