Skip to content

fix(i18n): clarify Russian compaction usage label - #60211

Closed
OrlovKS wants to merge 1 commit into
anomalyco:devfrom
OrlovKS:fix/ru-compaction-usage-label
Closed

OrlovKS wants to merge 1 commit into
anomalyco:devfrom
OrlovKS:fix/ru-compaction-usage-label

Conversation

@OrlovKS

@OrlovKS OrlovKS commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Issue for this PR

Closes #53384

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

The Russian ui.messagePart.compaction.usage string was a literal translation of "in / out", so the compaction row read Сессия сжата · 137,8 тыс. в · 1,8 тыс. из, where в and из are just prepositions and mean nothing here. It now reads вход: {{input}} · выход: {{output}}. Only this one string in packages/ui/src/i18n/ru.ts changes, and both placeholders are kept.

How did you verify your code works?

I only changed a translation string and kept both placeholders. I did not run the app or the tests.

Screenshots / recordings

Before (from my session): Сессия сжата · 137,8 тыс. в · 1,8 тыс. из

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Oct 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • Not all checklist items are checked. Please confirm you have tested locally and have not included unrelated changes.

Please edit this PR description to address the above within 72 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The fix works and looks good. I ran the reproduction script from #53384, which builds the compaction label the way CompactionDivider does. On the base it renders Сессия сжата · 217,2 тыс. в · 1,7 тыс. из. With this change it renders Сессия сжата · вход: 217,2 тыс. · выход: 1,7 тыс.. Both placeholders are kept. The packages/ui i18n tests and tsc --noEmit pass.

The public API is unchanged: this only changes a Russian UI translation string.

No blocking concerns.

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 72-hour window.

Feel free to open a new pull request that follows our guidelines.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Nov 1, 2026
@github-actions github-actions Bot closed this Nov 1, 2026
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.

Russian compaction usage labels use unclear literal in/out translations

1 participant