vlsi opened a new pull request, #6706:
URL: https://github.com/apache/jmeter/pull/6706
## Summary
- Register `ru` in `JMeterMenuBar.getLanguages()` so the Russian locale
shows up under **Options → Choose Language**, and add `ru=<localised name>` to
every existing `messages_*.properties` (English `Russian`, German `Russisch`,
French `Russe`, ...).
- Add **`messages_ru.properties`** (1523 keys) and **33 component bundles**
`*_ru.properties` covering BeanShell / BSF / JSR223 (Assertion,
Pre/PostProcessor, Sampler, Timer, Listener), CSV Data Set, Keystore Config,
Random Variable Config, Sync/Constant/Precise Throughput Timer, Debug Sampler &
PostProcessor, Compare Assertion, Bolt, AccessLog, GraphQL HTTP, JDBC (Sampler,
Pre/Post Processor, DataSourceElement).
- Ship a translator glossary at `xdocs/localising/glossary_ru.md` so future
Russian PRs stay consistent: canonical terms (Sampler → *сэмплер*, Thread Group
→ *группа потоков*, Listener → *слушатель*, Aggregate Report → *сводный отчёт*,
...) plus style rules (sentence-case headings, imperative buttons without
trailing dots, *"Не удалось …"* for errors, no *является* / *данный* /
*осуществлять*).
## Notes for reviewers
- Technical files outside UI localisation (`colors.properties`,
`images/icon*.properties`, `gui/util/textarea.properties`,
`Example*Resources.properties`) are deliberately not translated — same
convention as the other locales.
- HTML / placeholders / `\:` escaping / code identifiers (`HttpClient`,
`Groovy`, `JSR223`, `HTTP` methods, `{0}`, `${var}`, ...) are preserved
verbatim.
- Russian key set is identical to the English source (`diff` of key names is
empty for every translated bundle), so `PackageTest` passes.
## Test plan
- [x] `:src:components:test :src:protocol:http:test :src:protocol:jdbc:test
:src:protocol:bolt:test :src:protocol:java:test --tests
"*ResourceKeyUsageTest*"` — 851 tests, 0 failures.
- [x] `:src:dist-check:test` (includes
`org.apache.jmeter.resources.PackageTest` via `testFixtures(core)`) — 438
tests, 0 failures.
- [x] `:src:core:test` — 379 tests, 0 failures.
- [x] `./gradlew runGui` with the new locale — selected via **Options →
Choose Language → Русский**, every visible label rendered in Russian without
missing-key fallbacks.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
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]