Skip to content

feat(locale): Добавлена локализация валюты Lust Shop#500

Open
Soragy-bot wants to merge 1 commit intospace-sunrise:masterfrom
Soragy-bot:feat/uplink-loc
Open

feat(locale): Добавлена локализация валюты Lust Shop#500
Soragy-bot wants to merge 1 commit intospace-sunrise:masterfrom
Soragy-bot:feat/uplink-loc

Conversation

@Soragy-bot
Copy link
Contributor

@Soragy-bot Soragy-bot commented Mar 18, 2026

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

Добавлена локализация валюты аплинка.

По какой причине

Без файлов локализации при каждом открытии Lust Shop он сыпал варнинги об отсутствии локализации в том количестве, в котором был товар в выбранной категории.

Changelog

🆑 Soragy

  • add: Добавлена локализация валюты Lust Shop.

Summary by CodeRabbit

Изменения

  • Локализация
    • Добавлена поддержка валюты "Lust Coin" на английском (Lust Coin) и русском (Ласт Коин).
    • Обновлено отображение названий валют в интерфейсе: теперь используется локализационный ключ для корректного показа названия в зависимости от языка.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 18, 2026

📝 Walkthrough

Walkthrough

Добавлены ключи локализации store-currency-display-lust-coin для en-US и ru-RU; обновлён prototype Resources/Prototypes/_Sunrise/Store/currency.yml, где свойство displayName для валюты Suntick заменено на использование этого ключа.

Changes

Cohort / File(s) Summary
Локализационные строки
Resources/Locale/en-US/_strings/_lust/store/currency.ftl, Resources/Locale/ru-RU/_strings/_lust/store/currency.ftl
Добавлены store-currency-display-lust-coin с значением Lust Coin (en-US) и Ласт Коин (ru-RU).
YAML-прототип
Resources/Prototypes/_Sunrise/Store/currency.yml
Обновлено поле displayName для Suntick: прежняя жёсткая строка заменена на store-currency-display-lust-coin # Lust-Edit (использование ключа локализации).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

Я кролик праздную в кустах,
Внес ключ в строки и песню в прах,
Coin теперь в двух словах блистает,
Прототип в такт локаль читает. 🐰✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed Заголовок полностью соответствует основному изменению: добавлены локализационные строки для валюты Lust Shop на английском и русском языках, обновлена ссылка на локализацию в прототипе.
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.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
📝 Coding Plan
  • Generate coding plan for human review comments

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.

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 (1)
Resources/Prototypes/_Sunrise/Store/currency.yml (1)

3-3: Приведите маркер fork-правки к стандартному формату.

На Line 3 лучше использовать # Lust Edit (или #Lust Edit) вместо # Lust-Edit, чтобы не ломать единообразный поиск и документацию fork-изменений.

💡 Предлагаемая правка
-  displayName: store-currency-display-lust-coin # Lust-Edit
+  displayName: store-currency-display-lust-coin # Lust Edit

Based on learnings: в проекте нужно сохранять маркеры fork-изменений именно в формате # Lust Edit / #Lust Edit.

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

In `@Resources/Prototypes/_Sunrise/Store/currency.yml` at line 3, В displayName
строке с идентификатором store-currency-display-lust-coin замените маркер
форк‑правки "# Lust-Edit" на стандартный формат "# Lust Edit" (или "#Lust Edit")
чтобы соответствовать проектному соглашению по маркировке fork-изменений;
отредактируйте значение displayName, удалив дефис и сохранив остальную часть
идентификатора без изменений.
🤖 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/Prototypes/_Sunrise/Store/currency.yml`:
- Line 3: В displayName строке с идентификатором
store-currency-display-lust-coin замените маркер форк‑правки "# Lust-Edit" на
стандартный формат "# Lust Edit" (или "#Lust Edit") чтобы соответствовать
проектному соглашению по маркировке fork-изменений; отредактируйте значение
displayName, удалив дефис и сохранив остальную часть идентификатора без
изменений.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: cb578f75-a0d7-4a10-a0d4-8190462e192f

📥 Commits

Reviewing files that changed from the base of the PR and between 673f56c and 8523f57.

📒 Files selected for processing (3)
  • Resources/Locale/en-US/_strings/_lust/store/currency.ftl
  • Resources/Locale/ru-RU/_strings/_lust/store/currency.ftl
  • Resources/Prototypes/_Sunrise/Store/currency.yml
🚧 Files skipped from review as they are similar to previous changes (1)
  • Resources/Locale/ru-RU/_strings/_lust/store/currency.ftl

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.

1 participant