Incorrect Russian translation of diff editor revert buttons ("revertHunk", "revertSelection")
The Russian localization for the diff editor toolbar buttons contains incorrect translations that confuse users.
The word "hunk" (a contiguous block of changes in a git diff) is mistranslated as "блокировку" (meaning "lock/blocking"), likely due to a false cognate confusion.
The resulting phrases are semantically incorrect in Russian.
| Key | Current translation | Expected translation |
|-----|-------------------|---------------------|
| `revertHunk` | "Обратить блокировку" ("Revert the lock") | "Отменить блок изменений" ("Revert block of changes") |
| `revertSelection` | "Обратить выделение" | "Отменить выделенное" |
These strings are sourced from the `MS-CEINTL.vscode-language-pack-ru` plugin, file `extension/translations/main.i18n.json`, section
`vs/editor/browser/widget/diffEditor/diffEditor.contribution`.
### Steps to Reproduce:
1. Launch Theia with Russian locale (`nls.locale=ru`)
2. Open a Git repository with local changes
3. Open a file diff (e.g. via Source Control panel → right-click a changed file → "Open Changes")
4. Hover over a changed block (hunk) in the diff editor
5. Observe the tooltip/title of the revert button in the hunk toolbar
### Additional Information
- Operating System: macOS / Linux
- Theia Version: 1.67.101
关闭于 2026-04-23 1 条评论