Skip to content

Conversation

@yeager
Copy link

@yeager yeager commented Oct 1, 2025

Summary by CodeRabbit

  • New Features
    • Added full Swedish (sv_SE) localization for addon metadata and UI strings.
    • Includes Swedish summaries, descriptions, prompts, status messages, and help text.
    • Automatically displays Swedish text when the device/app locale is set to Swedish.
    • Enhances internationalization and accessibility for Swedish-speaking users.

@coderabbitai
Copy link

coderabbitai bot commented Oct 1, 2025

Walkthrough

Added Swedish (sv_SE) metadata entries in addon.xml and introduced a new Swedish localization file with translated strings. No logic or behavioral changes.

Changes

Cohort / File(s) Summary
Addon metadata (sv_SE)
addon.xml
Added <summary lang="sv_SE"> and <description lang="sv_SE"> under xbmc.addon.metadata.
Localization resources (sv_SE)
resources/language/resource.language.sv_se/strings.po
Added Swedish translations for multiple string IDs; updated PO metadata and plural forms.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title “Adding Swedish translation” directly and succinctly captures the primary purpose of the pull request, which is to introduce Swedish language entries in both addon metadata and resource strings. It is concise, specific, and avoids unnecessary detail while clearly conveying the nature of the changes to anyone reviewing the project history. The phrasing aligns with the content of the diff and provides sufficient context for a teammate scanning through pull requests.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between cff85bd and 0394889.

📒 Files selected for processing (2)
  • addon.xml (1 hunks)
  • resources/language/resource.language.sv_se/strings.po (1 hunks)
🔇 Additional comments (2)
resources/language/resource.language.sv_se/strings.po (1)

1-64: Swedish strings read naturally and match intent
Terminology and tone line up well with the English originals; nothing further to fix.

addon.xml (1)

12-26: Swedish metadata mirrors the English source cleanly
Language tag, summary, and description are accurate and consistent with the newly added strings.


Comment @coderabbitai help to get the list of available commands and usage tips.

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