Skip to content

Исправление локализации#18

Draft
ESphagnum wants to merge 1 commit intoss14-art:masterfrom
ESphagnum:appearance-features
Draft

Исправление локализации#18
ESphagnum wants to merge 1 commit intoss14-art:masterfrom
ESphagnum:appearance-features

Conversation

@ESphagnum
Copy link
Contributor

@ESphagnum ESphagnum commented Mar 22, 2026

Краткое описание

Изначально в "Персонализация", вкладка "Черты внешности" была не переведена

Почему мы должны добавить это?

https://discord.com/channels/1243455873989349448/1277580801118306375/1485239447850324111

Медиа (Видео/Скриншоты)

https://cdn.discordapp.com/attachments/1277580801118306375/1485278329505452132/image.png?ex=69c148bc&is=69bff73c&hm=63695f782fc9099217da0699346b1666d386c1235b9dd210a472610eff4bef02&

Проверочный пункт

  • [y] Перед публикацией/запросом на проверку PR, я убедился что изменения работают.
  • [y] Я добавил скриншоты/видео изменений, если только этот PR не изменит внутриигровую механику.
  • [y] Я подтверждаю, что мои изменения лицензированы в соответствии с лицензией Open Space Лицензия и предоставляю разрешение на их использование в этом репозитории в соответствии с его условиями.

Changelog

Summary by CodeRabbit

  • Документация
    • Добавлена русская локализация интерфейса управления обозначениями. Включены текстовые переводы всех элементов пользовательского интерфейса, поддерживающие выбор, управление, поиск и переупорядочение элементов.

@github-actions
Copy link
Contributor

Этот Pull Request содержит конфликты. Почините их, прежде чем мы начнем проверять его.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 22, 2026

📝 Walkthrough

Пошаговое описание

Добавлен новый файл локализации на русском языке с текстом интерфейса для средства выбора маркировок. Файл содержит строковые значения и ярлыки пользовательского интерфейса, включая шаблоны с переменными, логику множественного числа и сообщения для управления выбором и ограничениями.

Изменения

Когорта / Файлы Резюме
Локализация русского интерфейса
Resources/Locale/ru-RU/preferences/ui/markings-picker.ftl
Добавлена новая локализация Fluent для интерфейса выбора маркировок. Включает ключи сообщений для управления маркировками (добавление, удаление, переупорядочивание), поле поиска, оставшиеся точки, логику выбора и ограничения, а также категории и названия органов с поддержкой шаблонизации переменных и множественного числа.

Оценка сложности проверки кода

🎯 1 (Trivial) | ⏱️ ~3 минуты

Стихотворение

🐰✨ Новый файлик на столе,
С русскими словами в Fluent стиле,
Маркировки скачут в табеле,
Выбирай, считай, не унынь, светило!
Локализация — волшебный труд,
Где буквы к делу в дружбе идут! 🎨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive Название PR «Исправление локализации» слишком расплывчато и не отражает конкретное изменение в наборе изменений (добавление русской локализации для интерфейса выбора отметок). Рекомендуется уточнить название PR, например: «Добавить русскую локализацию для интерфейса выбора отметок» или «Локализация раздела Персонализация: вкладка Черты внешности».
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

Important

Merge conflicts detected (Beta)

  • Resolve merge conflict in branch appearance-features
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can use Trivy to scan for security misconfigurations and secrets in Infrastructure as Code files.

Add a .trivyignore file to your project to customize which findings Trivy reports.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (2)
Resources/Locale/ru-RU/preferences/ui/markings-picker.ftl (2)

44-63: Унифицируйте терминологию: сейчас смешаны «черты» и «отметки».

В одном и том же экране используются разные термины для markings (например, Line 1: «черты», но в Line 45+ — «отметки»). Лучше выбрать один вариант по всему файлу, чтобы интерфейс читался цельно.

Возможный вариант правки
-    [0] У вас не осталось доступных отметок.
-    [one] Вы можете выбрать ещё одну отметку.
-    [few] Вы можете выбрать ещё { $selectable } отметки.
-   *[other] Вы можете выбрать ещё { $selectable } отметок.
+    [0] У вас не осталось доступных черт.
+    [one] Вы можете выбрать ещё одну черту.
+    [few] Вы можете выбрать ещё { $selectable } черты.
+   *[other] Вы можете выбрать ещё { $selectable } черт.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@Resources/Locale/ru-RU/preferences/ui/markings-picker.ftl` around lines 44 -
63, Unify the terminology for marking labels by replacing any occurrences of the
alternative term ("черты") with the chosen term "отметки" across the messages in
this file—specifically update the messages markings-selection and
markings-limits (and their plural variants using $selectable, $required and
$count) so all user-facing strings consistently use "отметки"; also scan the
rest of this FTL for any other references to "черты" and make the same
replacement to keep the UI copy consistent.

17-17: Согласуйте число в переводе base-layers.

humanoid-marking-modifier-base-layers в исходнике во множественном числе, а перевод сейчас в единственном («Базовый слой»). Для соответствия смыслу лучше множественное: «Базовые слои».

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@Resources/Locale/ru-RU/preferences/ui/markings-picker.ftl` at line 17, Update
the translation value for the key humanoid-marking-modifier-base-layers to use
the plural form; replace "Базовый слой" with "Базовые слои" so the Russian
matches the source plural semantics of base-layers.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@Resources/Locale/ru-RU/preferences/ui/markings-picker.ftl`:
- Around line 44-63: Unify the terminology for marking labels by replacing any
occurrences of the alternative term ("черты") with the chosen term "отметки"
across the messages in this file—specifically update the messages
markings-selection and markings-limits (and their plural variants using
$selectable, $required and $count) so all user-facing strings consistently use
"отметки"; also scan the rest of this FTL for any other references to "черты"
and make the same replacement to keep the UI copy consistent.
- Line 17: Update the translation value for the key
humanoid-marking-modifier-base-layers to use the plural form; replace "Базовый
слой" with "Базовые слои" so the Russian matches the source plural semantics of
base-layers.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 341c7496-9a89-487f-a029-7da84ab72c7a

📥 Commits

Reviewing files that changed from the base of the PR and between 576d808 and bf7ddd6.

📒 Files selected for processing (1)
  • Resources/Locale/ru-RU/preferences/ui/markings-picker.ftl

@github-actions
Copy link
Contributor

Этот Pull Request содержит конфликты. Почините их, прежде чем мы начнем проверять его.

@ReWAFFlution
Copy link
Member

@ESphagnum конфликты

@ReWAFFlution ReWAFFlution self-assigned this Mar 26, 2026
@ReWAFFlution ReWAFFlution marked this pull request as draft March 27, 2026 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants