Skip to content

Update cs.json#1233

Open
petrmatula190 wants to merge 3 commits intofrenck:mainfrom
petrmatula190:patch-1
Open

Update cs.json#1233
petrmatula190 wants to merge 3 commits intofrenck:mainfrom
petrmatula190:patch-1

Conversation

@petrmatula190
Copy link
Copy Markdown

@petrmatula190 petrmatula190 commented Apr 9, 2026

Fixes translation placeholder validation error in Czech localization.

2026-04-09 18:32:11.309 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (cs) string component.spook.issues.automation_unknown_service_references.description failed: ({'entity_id', 'automatizace', 'služby', 'upravit'} != {'automation', 'entity_id', 'edit', 'services'})

2026-04-09 18:32:11.309 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (cs) string component.spook.issues.automation_unknown_service_references.title failed: ({'automatizaci'} != {'automation'})

Description

Motivation and Context

How has this been tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Other

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

fix eror:
2026-04-09 18:32:11.309 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (cs) string component.spook.issues.automation_unknown_service_references.description failed: ({'entity_id', 'automatizace', 'služby', 'upravit'} != {'automation', 'entity_id', 'edit', 'services'})

2026-04-09 18:32:11.309 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (cs) string component.spook.issues.automation_unknown_service_references.title failed: ({'automatizaci'} != {'automation'})
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 9, 2026

📝 Walkthrough

Walkthrough

Updated Czech localization for the Spook integration's automation_unknown_service_references issue: title and description strings were edited to use standardized placeholders ({automation}, {edit}, {services}) and adjusted wording/punctuation. (Translations only, no code changes.)

Changes

Cohort / File(s) Summary
Czech translation
custom_components/spook/translations/cs.json
Edited issues.automation_unknown_service_references.title and .description: replaced Czech-specific placeholders ({automatizaci}, {automatizace}, {upravit}, {služby}) with standardized placeholders ({automation}, {edit}, {services}); minor wording and punctuation adjustments.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Suggested labels

bugfix

Poem

🐰 I hopped through strings with nimble feet,
Swapped placeholders to make them neat,
Czech lines trimmed, punctuation bright,
Spook's messages now fit just right —
A tiny hop for clearer sight.

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'Update cs.json' is vague and does not convey the specific purpose of the change (fixing translation placeholder validation errors). Use a more descriptive title like 'Fix Czech translation placeholder validation errors in automation_unknown_service_references' to clearly indicate the actual problem being solved.
✅ Passed checks (2 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed The PR description clearly identifies and addresses translation placeholder validation errors in the Czech language file.

✏️ 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.

@petrmatula190 petrmatula190 marked this pull request as draft April 9, 2026 16:55
@petrmatula190 petrmatula190 marked this pull request as ready for review April 9, 2026 16:58
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 9, 2026

@petrmatula190
Copy link
Copy Markdown
Author

Could you please add the bugfix label to this PR?
It fixes a translation placeholder validation issue in the Czech localization.

PR description: Fixes invalid Czech translation placeholders causing Home Assistant validation errors.

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.

1 participant