feat: Enhance i18n support in Home component and update translations

- Integrated translation functions in the Home component to support dynamic localization for various UI elements, improving accessibility for users in different languages.
- Added new translation keys for "Telegram authentication", "Linux DO authentication", and "License" in the English locale file, expanding the localization coverage.
- Updated existing text elements to utilize translation functions, ensuring consistency in language display across the application.
This commit is contained in:
CalciumIon
2024-12-14 12:58:10 +08:00
parent b86aeb9150
commit 68b87736b6
2 changed files with 34 additions and 29 deletions

View File

@@ -1209,5 +1209,8 @@
"首页内容已更新": "Home page content updated",
"关于已更新": "About updated",
"模型测试": "model test",
"当前未开启Midjourney回调部分项目可能无法获得绘图结果可在运营设置中开启。": "Current Midjourney callback is not enabled, some projects may not be able to obtain drawing results, which can be enabled in the operation settings."
"当前未开启Midjourney回调部分项目可能无法获得绘图结果可在运营设置中开启。": "Current Midjourney callback is not enabled, some projects may not be able to obtain drawing results, which can be enabled in the operation settings.",
"Telegram 身份验证": "Telegram authentication",
"Linux DO 身份验证": "Linux DO authentication",
"协议": "License"
}