Loading.js
735 Bytes
-
🌐 i18n: add internationalization support for Loading component · ca8ca373This 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.jsApple\Apple committed