Skip to content

[stable8] build: fix translations in vue modules#8038

Merged
susnux merged 2 commits intostable8from
backport/8037/stable8
Dec 23, 2025
Merged

[stable8] build: fix translations in vue modules#8038
susnux merged 2 commits intostable8from
backport/8037/stable8

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Dec 23, 2025

Backport of PR #8037

@backportbot backportbot bot requested review from Antreesy, ShGKme and susnux December 23, 2025 15:26
@backportbot backportbot bot added bug Something isn't working 3. to review Waiting for reviews labels Dec 23, 2025
@backportbot backportbot bot added this to the 8.35.1 milestone Dec 23, 2025
When a vue file is handled by vite it will have some query string like
`source.vue?lang=ts&...` so to properly add the correct translations for
that file we need to remove the query string.

This resolves an issue where some files (e.g. `NcAppSettingsShortcutsSection`)
were missing their translations in the bundle.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@codecov
Copy link

codecov bot commented Dec 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 45.48%. Comparing base (a76dfe1) to head (ca598e1).
⚠️ Report is 3 commits behind head on stable8.

Additional details and impacted files
@@           Coverage Diff            @@
##           stable8    #8038   +/-   ##
========================================
  Coverage    45.48%   45.48%           
========================================
  Files          192      192           
  Lines         4769     4769           
  Branches      1230     1172   -58     
========================================
  Hits          2169     2169           
- Misses        2506     2508    +2     
+ Partials        94       92    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@susnux susnux merged commit 21480ad into stable8 Dec 23, 2025
19 of 21 checks passed
@susnux susnux deleted the backport/8037/stable8 branch December 23, 2025 16:08
@Antreesy Antreesy mentioned this pull request Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants