Skip to content

Revise Russian localization for time formatting and clarity#253

Open
vovawees wants to merge 6 commits into
BreweryTeam:masterfrom
vovawees:master
Open

Revise Russian localization for time formatting and clarity#253
vovawees wants to merge 6 commits into
BreweryTeam:masterfrom
vovawees:master

Conversation

@vovawees

Copy link
Copy Markdown

🇷🇺 Improve Russian translation + add missing ru_time.properties + fix bugs in ru_drunk_text.json

Overview

This PR improves the existing Russian (ru) locale across all three translation files. The changes cover grammar/wording improvements in ru_lang.properties, a newly created ru_time.properties (which was missing entirely), and two functional bugs fixed in ru_drunk_text.json.


📄 ru_lang.properties — wording & consistency fixes

  • Fixed tbp.brew.tooltip.brewer — value was Создано with no separator; now correctly reads Создано:
  • Fixed tbp.distillery.gui-title.mixture — was mistranslated as Дистиллирование ("distillation process"); corrected to Смесь ("Mixture"), matching EN
  • Fixed tbp.cauldron.type.lava/snow/water — removed inline color tags (лавовом) that don't belong in type name strings; corrected водномводяном
  • Fixed tbp.cauldron.type.noneотсутствует doesn't fit grammatically inside "в котле"; changed to обычном
  • Fixed tbp.command.invalid-ingredient-syntax — "Не известные" was two words (incorrect); corrected to Неизвестный, removed English fallback in parentheses
  • Fixed tbp.brew.tooltip.alcoholic — removed unnecessary parentheses to match EN style
  • Fixed trailing whitespace in tbp.brew.detailed-tooltip.mix and tbp.integration.gsit.crawl
  • Fixed tbp.barrel.type.birch: БерезаБерёза (missing ё)
  • Fixed tbp.barrel.type.warped: ИскаженнаяИскажённая (missing ё)
  • Unified ДистиллировалосьПерегонялось across tooltip keys (more accurate term in Russian)
  • Standardized capitalization in Lands flag names (Доступ к КотламДоступ к котлам)
  • Various minor grammar and punctuation improvements

🐛 ru_drunk_text.json — two bugs fixed

  • Bug 1 — Latin c instead of Cyrillic с: Entry { "from": "c", ... } used Latin c (U+0063) instead of visually identical Cyrillic с (U+0441). This rule never matched any Russian text and was dead code.
  • Bug 2 — Duplicate rule for х → хх: Two entries had identical from, to, and alcohol values. The second entry's alcohol threshold was corrected from 20 to 40 to make it a distinct progressive-effect rule, consistent with similar patterns elsewhere (e.g. б → бб at alcohol 40/80).

vovawees added 3 commits May 12, 2026 13:41
Updated Russian locale time properties with examples and explanations for time interval formatting.
Updated Russian localization strings for clarity and correctness.
Updated the 'from' values and adjusted alcohol percentages in the Russian drunk text localization.
@Nadwey Nadwey requested a review from Vutka1 May 12, 2026 11:49
@Vutka1

Vutka1 commented May 14, 2026

Copy link
Copy Markdown
Contributor

Посмотрю завтра или на этих выходных, на первый взгляд всё хорошо
Пользуясь случаем, выражаю огромное человеческое спасибо конторе под названием "Гитхаб" за замечательно работающие уведомления.

@vovawees

Copy link
Copy Markdown
Author

Посмотрю завтра или на этих выходных, на первый взгляд всё хорошо Пользуясь случаем, выражаю огромное человеческое спасибо конторе под названием "Гитхаб" за замечательно работающие уведомления.

Возможно будут еще фиксы так-как я заметил кое какие проблемы с экшн-баром но в целом я не уверен что это связанно с переводом. Ну и доработаю документацию для файла ru.time.properties

@Vutka1

Vutka1 commented May 15, 2026

Copy link
Copy Markdown
Contributor

Учитывая какими бешеными темпами делается плагин, большинство тех или иных проблем в локе связаны с тем, что любая локализация банально успеет устареть даже за пару месяцев. А русская в основном объеме не трогалась месяцев 8 или 9

@Vutka1 Vutka1 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.

Как-то так

Comment thread core/src/main/resources/locale/ru.lang.properties Outdated
Comment thread core/src/main/resources/locale/ru.lang.properties
tbp.brew.detailed-tooltip.cook=<quality_color_ingredients><ingredients></quality_color_ingredients>, варились <quality_color_time><cooking_time></quality_color_time> в <cauldron_type> котле
tbp.brew.detailed-tooltip.distill=<quality_color_distill_amount>Перегонялось: <distill_runs> раз</quality_color_distill_amount>
tbp.brew.detailed-tooltip.mix=<quality_color_ingredients><ingredients></quality_color_ingredients>, смешивались <quality_color_time><mixing_time></quality_color_time>
tbp.brew.display-name.unfinished-aged=Выдержанный напиток (<ingredient>)

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.

Но при этом тут действительно куда лучше выдержанный, чем настоявшийся, да

Comment thread core/src/main/resources/locale/ru.lang.properties Outdated
tbp.brew.bar.color.warning=<yellow>
tbp.brew.detailed-tooltip.age=<quality_color_time>Выдержка: <aging_years></quality_color_time> (<quality_color_barrel_type><barrel_type></quality_color_barrel_type>)
tbp.brew.detailed-tooltip.cook=<quality_color_ingredients><ingredients></quality_color_ingredients>, варились <quality_color_time><cooking_time></quality_color_time> в <cauldron_type> котле
tbp.brew.detailed-tooltip.distill=<quality_color_distill_amount>Перегонялось: <distill_runs> раз</quality_color_distill_amount>

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.

Suggested change
tbp.brew.detailed-tooltip.distill=<quality_color_distill_amount>Перегонялось: <distill_runs> раз</quality_color_distill_amount>
tbp.brew.detailed-tooltip.distill=<quality_color_distill_amount>Дистиллировалось: <distill_runs> раз</quality_color_distill_amount>

# 1 год, 21 год | 2 года, 34 года | 5 лет, 11 лет, 20 лет
# 1 минута | 2 минуты | 5 минут, 11 минут
# 1 секунда | 2 секунды | 5 секунд, 12 секунд

@Vutka1 Vutka1 May 16, 2026

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.

Ниженаписанные строки:
Нужно вернуть, как было. Я проверил в игре, оно отображается криво в очень многих местах (примеры прикреплю). Прошлый вариант хорошо (если не идеально) работает, я долго проверял.

Image Image

# 1 минута | 2 минуты | 5 минут, 11 минут
# 1 секунда | 2 секунды | 5 секунд, 12 секунд

aging-years=<years-total> {лет}<<<11-19>>> {год}<<1>> {года}<<2-4>> [лет]

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.

Suggested change
aging-years=<years-total> {лет}<<<11-19>>> {год}<<1>> {года}<<2-4>> [лет]
aging-years=<years-total> [[{год}<<1>>{года}<<2-4>>[лет]<<1-4>>]]<<<11-19>>>{лет}<<<11-19>>>


aging-years=<years-total> {лет}<<<11-19>>> {год}<<1>> {года}<<2-4>> [лет]

clock-mechanic=<if-days-total><days-total> {день}<<1>> {дня}<<2-4>> [дней] {дней}<<<11-19>>>, <if-!hours><hours> {час}<<1>> {часа}<<2-4>> [часов] {часов}<<<11-19>>>, </if-!hours></if-days-total><if-hours><hours> {час}<<1>> {часа}<<2-4>> [часов] {часов}<<<11-19>>>, </if-hours><minutes> {минута}<<1>> {минуты}<<2-4>> [минут] {минут}<<<11-19>>> и <seconds> {секунда}<<1>> {секунды}<<2-4>> [секунд] {секунд}<<<11-19>>>

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.

Suggested change
clock-mechanic=<if-days-total><days-total> {день}<<1>> {дня}<<2-4>> [дней] {дней}<<<11-19>>>, <if-!hours><hours> {час}<<1>> {часа}<<2-4>> [часов] {часов}<<<11-19>>>, </if-!hours></if-days-total><if-hours><hours> {час}<<1>> {часа}<<2-4>> [часов] {часов}<<<11-19>>>, </if-hours><minutes> {минута}<<1>> {минуты}<<2-4>> [минут] {минут}<<<11-19>>> и <seconds> {секунда}<<1>> {секунды}<<2-4>> [секунд] {секунд}<<<11-19>>>
clock-mechanic=<if-days-total><days-total> [[{день}<<1>>{дня}<<2-4>>[дней]<<1-4>>]]<<<11-19>>>{дней}<<<11-19>>>, <if-!hours><hours> [[{час}<<1>>{часа}<<2-4>>[часов]<<1-4>>]]<<<11-19>>>{часов}<<<11-19>>>, </if-!hours></if-days-total><if-hours><hours> [[{час}<<1>>{часа}<<2-4>>[часов]<<1-4>>]]<<<11-19>>>{часов}<<<11-19>>>, </if-hours><minutes> [[{минуту}<<1>>{минуты}<<2-4>>[минут]<<1-4>>]]<<<11-19>>>{минут}<<<11-19>>> и <seconds> [[{секунду}<<1>>{секунды}<<2-4>>[секунд]<<1-4>>]]<<<11-19>>>{секунд}<<<11-19>>>

Comment thread core/src/main/resources/locale/ru.time.properties Outdated
Comment thread core/src/main/resources/locale/ru.time.properties Outdated
vovawees and others added 3 commits May 27, 2026 14:12
Co-authored-by: Aktuv <93795732+Vutka1@users.noreply.github.com>
Co-authored-by: Aktuv <93795732+Vutka1@users.noreply.github.com>
Co-authored-by: Aktuv <93795732+Vutka1@users.noreply.github.com>
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.

2 participants