Skip to content

fix(i18n): localize consumer lag and offset reset preview tables - #2998

Open
yyqdbngt wants to merge 1 commit into
apache:rocketmq-studiofrom
yyqdbngt:codex/yy-consumer-reset-preview-i18n
Open

fix(i18n): localize consumer lag and offset reset preview tables#2998
yyqdbngt wants to merge 1 commit into
apache:rocketmq-studiofrom
yyqdbngt:codex/yy-consumer-reset-preview-i18n

Conversation

@yyqdbngt

@yyqdbngt yyqdbngt commented Sep 2, 2026

Copy link
Copy Markdown

Summary

Localize the consumer offset-reset preview table (instance/consumer.tsx):

  • 堆积量 (lag overview table) → consumer.lag
  • Reset preview columns 当前位点/目标位点/变化/当前堆积/重置后堆积/风险 → consumer.offsetCurrent / consumer.offsetTarget / consumer.offsetDelta / consumer.lagCurrent / consumer.lagAfterReset / consumer.risk

Seven new consumer.* zh/en keys added.

Why

The lag and offset-reset preview tables rendered entirely in Chinese in the English UI.

Testing

  • vitest run src/pages/instance/__tests__/ConsumerPage.test.tsx → 24/24 passed
  • tsc --noEmit → clean
  • eslint on changed files → 0 errors
  • zh render unchanged

@RockteMQ-AI RockteMQ-AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Clean i18n extraction for consumer lag and offset reset preview tables. Consistent with the established pattern.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants