feat: update localization files and improve system version management

- Changed output path for i18next configuration in admin and user apps to "public/assets/locales/{{language}}/{{namespace}}.json".
- Added new translation keys in English and Chinese for admin and user updates in tool.json files.
- Refactored SystemVersionCard component to utilize new service version checking and updating logic.
- Introduced basic service version checking and updating functions in the gateway service.
- Added typings for new API endpoints related to service version management.
- Updated Vite configuration to rewrite API paths.
- Added TypeScript error handling in various service files.
This commit is contained in:
web
2025-12-01 03:00:47 -08:00
parent 5f3354e948
commit 3cf6a5cfb4
44 changed files with 427 additions and 143 deletions
+1 -1
View File
@@ -18,6 +18,6 @@ export default defineConfig({
"src/**/*.{js,jsx,ts,tsx}",
"../../packages/ui/src/**/*.{js,jsx,ts,tsx}",
], // Source files to scan
output: "public/locales/{{language}}/{{namespace}}.json", // Output path template
output: "public/assets/locales/{{language}}/{{namespace}}.json", // Output path template
},
});