Skip to content

Conversation

@Maaggel
Copy link

@Maaggel Maaggel commented Dec 1, 2025

Summary by CodeRabbit

Release Notes

  • New Features
    • Added Danish language support with comprehensive UI text and feature localization.
    • Localized Steam management features including installation, verification, cloud sync, and container management.
    • Localized Custom Games functionality and related path management.
    • Added app filtering and categorization strings.
    • Localized advanced configuration options for Box86/Box64 and FEXCore environment variables.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Dec 1, 2025

Walkthrough

This pull request adds comprehensive Danish translations to the string resources file, covering Steam features, Custom Games functionality, environment variable help texts, app filtering, and various UI elements across the application.

Changes

Cohort / File(s) Summary
Danish Localization
app/src/main/res/values-da/strings.xml
Added 100+ new Danish string translations for Steam operations (install space prompts, uninstall dialogs, verification, cloud sync, login), Custom Games feature (path management, permissions, manual entries), app filtering categories, game feedback dialogs, Box86/Box64/FEXCore environment variable help texts, Wine/Proton manager workflows, driver management, settings UI, and general status/error messages. Updated renderer label from "Renderer" to "Gengiver".

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

  • Verify translation accuracy and consistency across all 100+ new Danish strings
  • Check for proper XML formatting and encoding of special characters
  • Confirm all new string keys match corresponding English resources
  • Validate placeholder variables and interpolations are preserved in translations

Possibly related PRs

Poem

🐰 A rabbit hops through Danish shores,
Translating words on resource doors—
From Steam to Games, the strings align,
In Dansk they dance, så fin, så fine!
Kulturelt hjælp, fra top til tå,
This translation helps all users go! 🌍

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 accurately describes the main change: adding Danish translations. It directly relates to the changeset which contains extensive additions to the Danish strings resource file (values-da/strings.xml).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • 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

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

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: 2

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3cabf23 and ed5e8e3.

📒 Files selected for processing (1)
  • app/src/main/res/values-da/strings.xml (23 hunks)
🧰 Additional context used
🪛 GitHub Actions: Pull Request build check
app/src/main/res/values-da/strings.xml

[error] 19-19: Execution failed for task ':app:mergeDebugResources'. The entity name must immediately follow the '&' in the entity reference.

🔇 Additional comments (1)
app/src/main/res/values-da/strings.xml (1)

1-785: Comprehensive Danish translations added successfully.

The translation coverage is extensive and well-organized across all major app sections: Steam integration, Custom Games, Container configuration, Settings, Driver Manager, Wine/Proton Manager, and more. Once the XML entity escaping issues are resolved, this contribution will significantly improve Danish language support.

<string name="steam_install_not_enough_space">Appen der installeres har brug for %1$s plads, men der er kun %2$s tilbage på denne enhed</string>
<string name="steam_cancel_download_message">Er du sikker på, at du vil annullere download af appen?</string>
<string name="steam_delete_download_message">Slet alle downloadede data for dette spil?</string>
<string name="steam_imagefs_download_install_title">Download & installér ImageFS</string>
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

CRITICAL: Fix unescaped ampersand breaking the build.

The & character in "Download & installér ImageFS" must be escaped as &amp; in XML. This is causing the build failure: The entity name must immediately follow the '&' in the entity reference.

- <string name="steam_imagefs_download_install_title">Download & installér ImageFS</string>
+ <string name="steam_imagefs_download_install_title">Download &amp; installér ImageFS</string>
📝 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
<string name="steam_imagefs_download_install_title">Download & installér ImageFS</string>
<string name="steam_imagefs_download_install_title">Download &amp; installér ImageFS</string>
🧰 Tools
🪛 GitHub Actions: Pull Request build check

[error] 19-19: Execution failed for task ':app:mergeDebugResources'. The entity name must immediately follow the '&' in the entity reference.

🤖 Prompt for AI Agents
In app/src/main/res/values-da/strings.xml around line 19, the string contains an
unescaped ampersand ("Download & installér ImageFS") which breaks XML parsing;
replace the raw '&' with the XML entity '&amp;' so the value becomes "Download
&amp; installér ImageFS" and re-run the build to confirm the parsing error is
resolved.

<!-- Libraries Dialog -->
<string name="libraries_title">Anvendte biblioteker</string>
<string name="libraries_message">Pluvia - github.com/oxters168/Pluvia\nJavaSteam - github.com/Longi94/JavaSteam\nWinlator &amp; Vortek - github.com/brunodev85/winlator\nWinlator Cmod - github.com/coffincolors/winlator\nWrapper - https://github.com/leegao/bionic-vulkan-wrapper &amp; https://github.com/pipetto-crypto/\nUbuntu RootFs - releases.ubuntu.com/focal</string>
<string name="libraries_message">Pluvia - github.com/oxters168/Pluvia\nJavaSteam - github.com/Longi94/JavaSteam\nWinlator & Vortek - github.com/brunodev85/winlator\nWinlator Cmod - github.com/coffincolors/winlator\nWrapper - https://github.com/leegao/bionic-vulkan-wrapper & https://github.com/pipetto-crypto/\nUbuntu RootFs - releases.ubuntu.com/focal</string>
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

Fix additional unescaped ampersand at line 630.

The & in "Winlator & Vortek" must also be escaped as &amp; to prevent a similar build failure.

- <string name="libraries_message">Pluvia - github.com/oxters168/Pluvia\nJavaSteam - github.com/Longi94/JavaSteam\nWinlator & Vortek - github.com/brunodev85/winlator\n...
+ <string name="libraries_message">Pluvia - github.com/oxters168/Pluvia\nJavaSteam - github.com/Longi94/JavaSteam\nWinlator &amp; Vortek - github.com/brunodev85/winlator\n...

(Apply the same escape to the full string content at line 630.)

Committable suggestion skipped: line range outside the PR's diff.

🤖 Prompt for AI Agents
In app/src/main/res/values-da/strings.xml around line 630, the string contains
an unescaped ampersand ("Winlator & Vortek") which will break XML parsing;
update the entire string value to replace all literal '&' characters with
'&amp;' (including the "Winlator & Vortek" occurrence and any other unescaped
ampersands) so the XML is well-formed and the build succeeds.

@phobos665
Copy link
Contributor

Hey @Maaggel . Do we still need this PR?

Just wanting to check if you wanna update this or close the PR

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