Skip to content

fix(theme): load all l10n override files again - #66106

Open
lazerg wants to merge 1 commit into
nextcloud:masterfrom
lazerg:fix/issue-65513-l10n-theme-override
Open

lazerg wants to merge 1 commit into
nextcloud:masterfrom
lazerg:fix/issue-65513-l10n-theme-override

Conversation

@lazerg

@lazerg lazerg commented Oct 31, 2026

Copy link
Copy Markdown

Summary

The l10n branch in JSResourceLocator chained the appendScriptIfExist calls with ||, so it stopped at the first file found and theme l10n overrides were never added. It now tries every location again, as before b58b375, and I added a test for it.

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Written with Claude (claude-opus-5-5). I couldn't run the PHPUnit test locally, so CI is the first run of it.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: lazerg <lazerg2@gmail.com>
@lazerg
lazerg requested a review from a team as a code owner October 31, 2026 08:06
@lazerg
lazerg requested review from Altahrim, CarlSchwan, icewind1991 and salmart-dev and removed request for a team October 31, 2026 08:06

This branch has not been deployed

No deployments
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.

[Bug]: Regression: Overriding l10n strings in frontend using a custom theme is broken

1 participant