You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yyqdbngt (via GitHub)" <gi...@apache.org> on 2026/09/05 02:55:31 UTC
[PR] fix(i18n): localize alert assets page subtitle [rocketmq-dashboard]
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(i18n): localize alert assets page subtitle [rocketmq-dashboard]
Posted by "yyqdbngt (via GitHub)" <gi...@apache.org>.
yyqdbngt closed pull request #3247: fix(i18n): localize alert assets page subtitle
URL: https://github.com/apache/rocketmq-dashboard/pull/3247
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org