bugfix: Update Czech translations for automation errors#1207
bugfix: Update Czech translations for automation errors#12073dg1luk43 wants to merge 1 commit intofrenck:mainfrom
Conversation
Fixed incorect translated placeholders for {automation}, {edit} and {services}
📝 WalkthroughWalkthroughThis pull request updates Czech translation strings in the Spook custom component. Specifically, it modifies the "automation_unknown_service_references" localization entry by replacing Czech placeholders with English ones ({automatizace} → {automation}, {upravit} → {edit}, {služby} → {services}) and adjusts the title text content. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan for PR 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. Comment |
|



Fix incorrect Czech translation placeholders for service reference issue
Description
This PR fixes invalid placeholder names in the Czech translation for Spook issue:
component.spook.issues.automation_unknown_service_references.descriptioncomponent.spook.issues.automation_unknown_service_references.titleThe placeholders were incorrectly translated to Czech names (
{automatizace},{upravit},{služby}), which breaks Home Assistant placeholder validation.They are now corrected to the required canonical placeholders:
{automation}{edit}{services}Also adjusted the Czech title wording to match singular service reference wording.
Motivation and Context
Home Assistant validates placeholders in localized strings against the source translation keys. Because the Czech placeholders were renamed, HA logged warnings similar to:
Validation of translation placeholders ... failedThis change removes those validation errors and ensures translations render correctly without runtime warnings.
How has this been tested?
custom_components/spook/translations/cs.json.python3 -m json.tool /root/ha_config/custom_components/spook/translations/cs.json >/dev/nullautomation_unknown_service_referencesno longer appear.Environment:
cs)Screenshots (if appropriate):
N/A (translation placeholder fix only)
Types of changes
Checklist