chore: prettier json and markdowns

This commit is contained in:
Simon
2026-01-17 16:15:36 +08:00
parent 0fc88c0080
commit 54e9bdad7d
30 changed files with 8823 additions and 8812 deletions

View File

@@ -28,9 +28,9 @@ pages/i18n/
import { useTranslation } from 'react-i18next'
function MyComponent() {
const { t } = useTranslation('common') // 指定命名空间
return <h1>{t('header.nav_docs')}</h1>
const { t } = useTranslation('common') // 指定命名空间
return <h1>{t('header.nav_docs')}</h1>
}
```
@@ -71,4 +71,3 @@ t('common:header.nav_docs')
- [ ] 文档页翻译(`docs.json`
- [ ] DocsLayout 导航结构国际化
- [ ] 404 页面国际化