web/src/hooks/useStorageInfo.ts line 153 has a hardcoded Chinese string:
cacheSizeFormatted: workspace.cacheSize ? formatBytes(workspace.cacheSize) : '计算中...'
The string '计算中...' should use an i18n translation key instead.
What to do:
- Read
web/src/hooks/useStorageInfo.ts around line 153
- Find or add an appropriate i18n key (e.g.
storage.calculating or reuse common.loading)
- The hook doesn't use
useT() — you may need to import from the i18n package directly, or restructure slightly
- Add the key to all locale files in
packages/i18n/src/locales/ (en-US, zh-CN, ja-JP, ko-KR)
Skills needed: TypeScript, basic i18n concepts
Estimated time: 15 minutes
web/src/hooks/useStorageInfo.tsline 153 has a hardcoded Chinese string:The string
'计算中...'should use an i18n translation key instead.What to do:
web/src/hooks/useStorageInfo.tsaround line 153storage.calculatingor reusecommon.loading)useT()— you may need to import from the i18n package directly, or restructure slightlypackages/i18n/src/locales/(en-US, zh-CN, ja-JP, ko-KR)Skills needed: TypeScript, basic i18n concepts
Estimated time: 15 minutes