Copilot commented on code in PR #4812:
URL:
https://github.com/apache/rocketmq-dashboard/pull/4812#discussion_r4067572644
##########
web/src/pages/instance/consumer.tsx:
##########
@@ -1765,7 +1741,7 @@ const ConsumerPageContent = ({
</Tag>
</Descriptions.Item>
<Descriptions.Item label="消费延迟">
- <Text
strong>{formatDelay(selectedGroup.delaySeconds)}</Text>
+ <Text strong>{formatDelay(selectedGroup.delaySeconds,
lang)}</Text>
Review Comment:
The new locale-aware call in the detail drawer is not covered by the added
test, which only checks the table cell. This leaves the second rendering path
free to regress independently (for example, back to the old Chinese-only
formatter) while the test still passes; open the group detail in English and
assert that its 消费延迟 field also renders `3s` and not `3秒`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]