yyqdbngt opened a new pull request, #3026:
URL: https://github.com/apache/rocketmq-dashboard/pull/3026
## Summary
Localize the DLQ page's remaining error/warning paths (`instance/dlq.tsx`):
- Module-level `DEFAULT_LOAD_ERROR` / `DEFAULT_RETRY_ERROR` constants are
removed; the two call sites now pass `t('dlq.loadFailed')` /
`t('dlq.retryFailed')`
- Resend-scan-incomplete warning and the export-may-be-incomplete warning
(two sites)
- Detail-load and resend fallback messages
Six new `dlq.*` zh/en keys added.
## Why
These load/scan/export warnings and fallbacks were the last hard-coded
Chinese paths on the DLQ page.
## Testing
- `vitest run src/pages/instance/__tests__/DLQPage.test.tsx` → 17/17 passed
- `tsc --noEmit` → clean
- `eslint` on changed files → 0 errors
- zh render unchanged
--
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]