Skip to content

Update pl_pl.json#297

Merged
tr7zw merged 1 commit into
tr7zw:mainfrom
Fhilips613:main
May 6, 2026
Merged

Update pl_pl.json#297
tr7zw merged 1 commit into
tr7zw:mainfrom
Fhilips613:main

Conversation

@Fhilips613
Copy link
Copy Markdown
Contributor

No description provided.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 28, 2026

Walkthrough

Polish localization file for EntityCulling is expanded from minimal strings to a comprehensive set, updating existing translations and adding new keys for UI elements, tabs, toggles, and tooltips related to entity and block-entity culling features.

Changes

Cohort / File(s) Summary
Polish EntityCulling Localization
src/main/resources/assets/entityculling/lang/pl_pl.json
Expanded with updated translations for existing toggle labels and new localization keys for category titles, tabs, options, toggles (tick culling, nametag rendering, F3 debug, culling skipping, block-entity frustum culling), and associated tooltips.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

  • Update uk_ua.json #234: Updates the same set of localization keys in the Ukrainian language file (uk_ua.json) with identical key structure.
  • Update pt_br.json #245: Modifies the same EntityCulling localization keys (blockEntityFrustumCulling, category title, and tooltips) across multiple language files.
  • Update uk_ua.json #287: Adds the same new key (text.entityculling.forceDisplayCulling and tooltip) to different language localization files.
🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'Update pl_pl.json' is vague and generic, using non-descriptive language that doesn't convey meaningful information about what changes were made to the Polish localization file. Provide a more descriptive title that explains the purpose of the update, such as 'Add missing Polish translations for EntityCulling UI options' or 'Expand Polish localization with full UI labels'.
Description check ❓ Inconclusive No pull request description was provided by the author, making it impossible to assess whether the intent and rationale for the localization update are documented. Add a description explaining the localization changes, such as the scope of new translations added and why they were necessary for the Polish language support.
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

✨ 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.

@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/main/resources/assets/entityculling/lang/pl_pl.json`:
- Around line 23-24: Update the value for
"text.entityculling.blockEntityFrustumCulling.tooltip" to a clearer Polish
phrasing stating that block entities are culled against the camera frustum; for
example: "Po włączeniu, byty blokowe poza ostrosłupem widzenia kamery (frustum)
będą odrzucane, co może poprawić wydajność, jeśli inny mod tego nie robi."
Ensure you edit only the tooltip string for the key
"text.entityculling.blockEntityFrustumCulling.tooltip".
- Around line 2-3: The JSON language files include an unused keybinding category
key "key.category.minecraft.text.entityculling.title" that isn't referenced
anywhere (the code uses "text.entityculling.title"); remove every occurrence of
"key.category.minecraft.text.entityculling.title" from all locale JSON files
(including en_us, de_de, zh_cn, zh_tw, uk_ua, pt_br, es_ar, pl_pl, etc.) so only
"text.entityculling.title" remains; ensure you don't alter or remove the used
key "text.entityculling.title" and run a quick JSON lint to verify no trailing
commas or syntax issues after deletion.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 997f942b-7a67-4388-87cb-8c34ac4f538f

📥 Commits

Reviewing files that changed from the base of the PR and between d4787a7 and 3654db9.

📒 Files selected for processing (1)
  • src/main/resources/assets/entityculling/lang/pl_pl.json

Comment on lines +2 to +3
"text.entityculling.title": "EntityCulling",
"key.category.minecraft.text.entityculling.title": "EntityCulling",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
rg -n 'key\.category\.minecraft\.text\.entityculling\.title|text\.entityculling\.title' src/main/java src/main/resources

Repository: tr7zw/EntityCulling

Length of output: 3670


Remove the unused keybinding category key from all language files.

The key key.category.minecraft.text.entityculling.title is not referenced anywhere in the codebase. Java code uses only text.entityculling.title for the screen title. This extra key is also inconsistently present—it appears in en_us, de_de, zh_cn, zh_tw, uk_ua, pt_br, es_ar, and pl_pl but is absent from hu_hu, id_id, vi_vn, fr_fr, it_it, ms_my, fa_ir, and others. Remove it from all language files for consistency.

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

In `@src/main/resources/assets/entityculling/lang/pl_pl.json` around lines 2 - 3,
The JSON language files include an unused keybinding category key
"key.category.minecraft.text.entityculling.title" that isn't referenced anywhere
(the code uses "text.entityculling.title"); remove every occurrence of
"key.category.minecraft.text.entityculling.title" from all locale JSON files
(including en_us, de_de, zh_cn, zh_tw, uk_ua, pt_br, es_ar, pl_pl, etc.) so only
"text.entityculling.title" remains; ensure you don't alter or remove the used
key "text.entityculling.title" and run a quick JSON lint to verify no trailing
commas or syntax issues after deletion.

Comment on lines +23 to +24
"text.entityculling.blockEntityFrustumCulling": "Frustum culling bytów blokowych",
"text.entityculling.blockEntityFrustumCulling.tooltip": "Gdy jest włączone, ekstrakcja stanu bytów blokowych będzie odrzucana na podstawie frustum kamery. Może to poprawić wydajność, jeśli Twój modloader lub inny mod nie robi tego już wcześniej.",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Reword the block-entity frustum tooltip.

"ekstrakcja stanu bytów blokowych" does not match the setting and reads awkwardly in Polish. Please rephrase it so it clearly says block entities are culled against the camera frustum.

💡 Suggested wording
-  "text.entityculling.blockEntityFrustumCulling.tooltip": "Gdy jest włączone, ekstrakcja stanu bytów blokowych będzie odrzucana na podstawie frustum kamery. Może to poprawić wydajność, jeśli Twój modloader lub inny mod nie robi tego już wcześniej."
+  "text.entityculling.blockEntityFrustumCulling.tooltip": "Gdy jest włączone, byty blokowe będą odrzucane na podstawie frustum kamery. Może to poprawić wydajność, jeśli Twój modloader lub inny mod nie robi tego już wcześniej."
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"text.entityculling.blockEntityFrustumCulling": "Frustum culling bytów blokowych",
"text.entityculling.blockEntityFrustumCulling.tooltip": "Gdy jest włączone, ekstrakcja stanu bytów blokowych będzie odrzucana na podstawie frustum kamery. Może to poprawić wydajność, jeśli Twój modloader lub inny mod nie robi tego już wcześniej.",
"text.entityculling.blockEntityFrustumCulling": "Frustum culling bytów blokowych",
"text.entityculling.blockEntityFrustumCulling.tooltip": "Gdy jest włączone, byty blokowe będą odrzucane na podstawie frustum kamery. Może to poprawić wydajność, jeśli Twój modloader lub inny mod nie robi tego już wcześniej.",
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/main/resources/assets/entityculling/lang/pl_pl.json` around lines 23 -
24, Update the value for "text.entityculling.blockEntityFrustumCulling.tooltip"
to a clearer Polish phrasing stating that block entities are culled against the
camera frustum; for example: "Po włączeniu, byty blokowe poza ostrosłupem
widzenia kamery (frustum) będą odrzucane, co może poprawić wydajność, jeśli inny
mod tego nie robi." Ensure you edit only the tooltip string for the key
"text.entityculling.blockEntityFrustumCulling.tooltip".

@tr7zw tr7zw merged commit 9d02505 into tr7zw:main May 6, 2026
3 checks passed
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