Skip to content

Conversation

weblate
Copy link
Contributor

@weblate weblate commented Jun 12, 2025

Translations update from Hosted Weblate for Spook/Integration.

Current translation status:

Weblate translation status

Copy link

coderabbitai bot commented Jun 12, 2025

📝 Walkthrough

Walkthrough

Added and updated localization JSON files for the Spook custom component: populated Lithuanian translations, refined a French typographic string, extended Italian entity translations, and added an empty Belarusian placeholder. No code or control-flow changes.

Changes

Cohort / File(s) Summary
Lithuanian translations
custom_components/spook/translations/lt.json
Replaced empty file with a populated Lithuanian translations dictionary covering many entity labels and issue/config-flow strings.
French translation tweak
custom_components/spook/translations/fr.json
Adjusted punctuation to use non‑breaking spaces before question marks in a configuration flow user step description.
Italian translations
custom_components/spook/translations/it.json
Added several new entity translation entries (media player sensor / entity types) to expand Italian localization.
Belarusian placeholder
custom_components/spook/translations/be.json
Added an empty JSON placeholder file ({}) for Belarusian locale.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

maintenance

Suggested reviewers

  • frenck

Poem

"I hopped through keys and strings tonight,
Lithuanian words tucked in just right.
French commas polished, Italian names play,
A Belarusian note left to say—
🐇 translations delivered, all tucked away."

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.


📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between fb60909 and 2ee95d4.

📒 Files selected for processing (4)
  • custom_components/spook/translations/be.json (1 hunks)
  • custom_components/spook/translations/fr.json (1 hunks)
  • custom_components/spook/translations/it.json (1 hunks)
  • custom_components/spook/translations/lt.json (1 hunks)
✅ Files skipped from review due to trivial changes (2)
  • custom_components/spook/translations/be.json
  • custom_components/spook/translations/fr.json
🚧 Files skipped from review as they are similar to previous changes (2)
  • custom_components/spook/translations/lt.json
  • custom_components/spook/translations/it.json
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@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: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b66037a and 51031de.

📒 Files selected for processing (1)
  • custom_components/spook/translations/lt.json (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: HACS Validation
  • GitHub Check: Pylint
🔇 Additional comments (3)
custom_components/spook/translations/lt.json (3)

1-52: Translation entries for entity.sensor look comprehensive and valid.
JSON syntax is correct and all keys are properly quoted. Great coverage for various sensor types.


53-57: Switch translation is accurate.
The cloud_alexa_report_state key is translated appropriately.


59-69: Issues fix flow structure is properly defined.
JSON structure for the issues section is valid and matches the expected schema.

"fix_flow": {
"step": {
"confirm": {
"description": "{Aprašymas}"
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue

Placeholder key should not be translated.
The placeholder {Aprašymas} needs to match the original placeholder key (e.g., {description}) to ensure that runtime substitution works. It should remain {description} rather than translating the word.

Apply this diff:

-                        "description": "{Aprašymas}"
+                        "description": "{description}"
📝 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
"description": "{Aprašymas}"
"description": "{description}"
🤖 Prompt for AI Agents
In custom_components/spook/translations/lt.json at line 64, the placeholder key
"{Aprašymas}" is incorrectly translated. Replace it with the original
placeholder key "{description}" to ensure proper runtime substitution and avoid
breaking the placeholder functionality.

@weblate weblate force-pushed the weblate-spook-integration branch from 51031de to d43ff8d Compare July 9, 2025 11:02
@weblate weblate force-pushed the weblate-spook-integration branch from d43ff8d to fb60909 Compare August 5, 2025 00:02
kornelijusp and others added 4 commits August 22, 2025 09:28
Currently translated at 15.3% (18 of 117 strings)

Translation: Spook/Integration
Translate-URL: https://hosted.weblate.org/projects/spook/integration/lt/
Currently translated at 100.0% (117 of 117 strings)

Translation: Spook/Integration
Translate-URL: https://hosted.weblate.org/projects/spook/integration/fr/
Currently translated at 43.5% (51 of 117 strings)

Translation: Spook/Integration
Translate-URL: https://hosted.weblate.org/projects/spook/integration/it/
@weblate weblate force-pushed the weblate-spook-integration branch from fb60909 to 2ee95d4 Compare August 22, 2025 09:28
Copy link

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.

4 participants