Commit Graph

6 Commits

Author SHA1 Message Date
Apple\Apple
ca8ca37392 🌐 i18n: add internationalization support for Loading component
This commit introduces the following changes:

- Add i18n support to the Loading component
- Import useTranslation hook from react-i18next
- Replace hardcoded Chinese text with translation keys
- Support dynamic content interpolation for loading prompts
- Use {{name}} variable in translation template

Technical details:
- Added: import { useTranslation } from 'react-i18next'
- Modified: Loading text from static Chinese to i18n keys
- Translation keys added:
  - "加载中..."
  - "加载{{name}}中..."

File changed: web/src/components/Loading.js
2025-05-26 23:10:42 +08:00
Apple\Apple
3b0d4c8487 ♻️refactor: Home Page and Footer 2025-05-20 00:23:47 +08:00
CaIon
eb955ae4b1 chore: lint fix 2024-03-23 21:24:39 +08:00
CaIon
9707192984 feat: 首页加载速度优化 2024-03-23 20:22:00 +08:00
CaIon
add3b05da4 chore: reformat code 2024-03-15 16:05:33 +08:00
JustSong
4cbef0780e Initial commit 2023-04-22 20:39:27 +08:00