Skip to content

[stable33] fix(Util): getScripts also need to reorder core translations#59643

Merged
susnux merged 2 commits intostable33from
backport/59518/stable33
Apr 15, 2026
Merged

[stable33] fix(Util): getScripts also need to reorder core translations#59643
susnux merged 2 commits intostable33from
backport/59518/stable33

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot bot commented Apr 15, 2026

Backport of PR #59518

Currently `core-common` and `core-main` are prepanded to the scripts,
as they provide the global state. But the script ordering logic does not
know about this and might sort core translations after they are used.

Meaning we need to register core translations as soon as the global
scope is initialized (so that `OC.L10N.register` is available).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@backportbot backportbot bot requested a review from CarlSchwan April 15, 2026 06:53
@backportbot backportbot bot requested a review from a team as a code owner April 15, 2026 06:53
@backportbot backportbot bot requested review from Altahrim, leftybournes, provokateurin and susnux and removed request for a team April 15, 2026 06:53
@backportbot backportbot bot added bug 3. to review Waiting for reviews javascript labels Apr 15, 2026
@backportbot backportbot bot added this to the Nextcloud 33.0.3 milestone Apr 15, 2026
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux merged commit 522e03a into stable33 Apr 15, 2026
176 of 178 checks passed
@susnux susnux deleted the backport/59518/stable33 branch April 15, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants