Copilot commented on code in PR #4802:
URL:
https://github.com/apache/rocketmq-dashboard/pull/4802#discussion_r4067463198
##########
web/src/pages/ops/audit.tsx:
##########
@@ -570,14 +576,14 @@ const AuditPage: React.FC = () => {
<Flex vertical gap={12}>
<Text>{t('audit.cleanupDesc')}</Text>
<Flex align="center" gap={8}>
- <span>{t('audit.cleanup')}</span>
+ <span>{t('audit.cleanupDaysPrefix')}</span>
Review Comment:
Could you add an English-mode assertion for this modal? `AuditPage.test.tsx`
only renders the default Chinese UI and does not exercise the newly split
prefix/suffix (or the new failure toasts), so an incorrect key/value or a
regression to hardcoded Chinese would still pass the suite. Other localized
page suites explicitly set `LANGUAGE_STORAGE_KEY` to `en` and assert English UI
text.
--
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]