Market Pulse shows literal translation expressions as the tooltips of its two exposure metrics. ## 复现 给 `MarketPulse` 一条同时包含 `watchlistExposurePercent` 和 `portfolioExposurePercent` 的合成快照。分别用 `zh-CN` 和 `en-US` 渲染。两处 `title` 在两种界面语言里都显示为 `{t('today.watchlistWeightShare')}` 和 `{t('today.portfolioExposure')}`。 ## 验收标准 - [ ] 悬浮提示使用现有词条。中文版显示“自选权重占比”和“组合敞口”,英文版显示各自的英文文案。 - [ ] 用两个占比均有值的 fixture 按语言断言 `title`,同时核对这两个占比的可见数值。 ## 源码与测试入口 - 在 `ImpactRow` 中,翻译表达式被写成了属性字符串。 [个人影响区](https://github.com/ydflow/Trail/blob/579395e1ca863f8c522d9f3b24de0877ee62318d/packages/ui/src/components/pulse/MarketPulse.tsx#L128-L144) - `bun test --isolate packages/ui/src/components/pulse/MarketPulse.test.tsx`。 [市场脉搏测试](https://github.com/ydflow/Trail/blob/579395e1ca863f8c522d9f3b24de0877ee62318d/packages/ui/src/components/pulse/MarketPulse.test.tsx) 想处理这项任务,可以评论 `/claim`。提交 PR 时请关联本 Issue,并附上实际运行的测试命令和结果。 [贡献指南](https://github.com/ydflow/Trail/blob/main/CONTRIBUTING.md)
Activity