yyqdbngt opened a new pull request, #3247:
URL: https://github.com/apache/rocketmq-dashboard/pull/3247
## Summary
Keys the hard-coded subtitle of the Alert Rule Assets page
(`可复用的业务告警规则模板资产`) into `translations.ts` as `alertAssets.subtitle`, next to
the existing `alertAssets.title` entry, and renders it through `useLang`.
- `web/src/i18n/translations.ts`: adds `alertAssets.subtitle` (zh
byte-identical to the removed literal, en: "Reusable business alert rule
templates");
- `web/src/pages/studio/AlertRuleAssets.tsx`:
`subtitle={t("alertAssets.subtitle")}`.
## Why
The page header was the last untranslated string on this page; everything
else already flows through the `alertAssets.*` key set.
## Testing
`tsc --noEmit` clean; `eslint` clean.
--
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]