✨ 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:
@@ -1,8 +1,9 @@
|
||||
{
|
||||
"adminUpdateSuccess": "Admin updated successfully",
|
||||
"cancel": "Cancel",
|
||||
"confirmReboot": "Confirm Reboot",
|
||||
"confirmSystemReboot": "Confirm System Reboot",
|
||||
"newVersionAvailable": "New Version Available",
|
||||
"confirmUpdate": "Confirm Update",
|
||||
"rebootDescription": "Are you sure you want to reboot the system? This action cannot be undone.",
|
||||
"rebooting": "Rebooting...",
|
||||
"refreshLogs": "Refresh Logs",
|
||||
@@ -10,5 +11,11 @@
|
||||
"systemLogs": "System Logs",
|
||||
"systemReboot": "System Reboot",
|
||||
"systemServices": "System Services",
|
||||
"update": "Update",
|
||||
"updateFailed": "Update failed",
|
||||
"updateServerDescription": "Are you sure you want to update the server version from V{{current}} to V{{latest}}?",
|
||||
"updateSuccess": "Update completed successfully",
|
||||
"updateWebDescription": "Are you sure you want to update the web version from V{{current}} to V{{latest}}?",
|
||||
"userUpdateSuccess": "User updated successfully",
|
||||
"webVersion": "Web Version"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user