Conversation
This simplifies packaging.
There was a problem hiding this comment.
Pull request overview
This pull request migrates font assets from a locally managed vendor directory to the external weblate-fonts package, simplifying packaging and dependency management.
Changes:
- Replace local font CSS files with references to the
weblate-fontspackage - Add
weblate-fonts==2026.1dependency to requirements.txt and register the app in Django settings - Remove font download/management scripts and local font files
Reviewed changes
Copilot reviewed 5 out of 25 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| weblate_web/templates/base.html | Updates CSS link paths from vendor/font-source/ to weblate_fonts/ |
| weblate_web/static/pdf/fonts.css | Updates TTF font paths for PDF rendering to use weblate_fonts/source-sans/ttf/ |
| weblate_web/settings.py | Adds weblate_fonts to INSTALLED_APPS |
| requirements.txt | Adds weblate-fonts==2026.1 dependency |
| scripts/update-fonts | Removes font download script (no longer needed) |
| scripts/fonts.toml | Removes font configuration file (no longer needed) |
| weblate_web/static/vendor/font-source/* | Removes locally bundled font files and CSS |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3358 +/- ##
=======================================
Coverage 81.19% 81.19%
=======================================
Files 64 64
Lines 6765 6765
Branches 702 702
=======================================
Hits 5493 5493
Misses 1013 1013
Partials 259 259 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This simplifies packaging.