forked from WeblateOrg/weblate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move source-code fonts to new build workflow
Changes Include: - Removed the old scripts/yarn/** dir, as it is no longer needed. - Moved source-code-pro and source-sans to client/ - Built and bundled the fonts. - Updated templates to use the new built fonts and styles. - Added new built bundles license info in REUSE.toml. Note: - The old bundles did not get removed to keep this PR simple for review. TODO: - Remove old fonts bundles. - Update any dependents on them to use the new bundles. - if FONTS_CDN_URL is configured it should be seted up with static/js/vendor/fonts instead of the old font-source/ - Remove the old yarn-update workflow and its configs and workflows Related: WeblateOrg#12172
- Loading branch information
Showing
94 changed files
with
303 additions
and
64 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Copyright © Michal Čihař <[email protected]> | ||
// | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
// Importing font styles, when built will include also | ||
// the font assets they depend on, automatically | ||
import "source-code-pro/source-code-pro.css"; | ||
import "source-sans/source-sans-3.css"; |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -962,6 +962,11 @@ [email protected]: | |
resolved "https://registry.yarnpkg.com/slugify/-/slugify-1.6.6.tgz#2d4ac0eacb47add6af9e04d3be79319cbcc7924b" | ||
integrity sha512-h+z7HKHYXj6wJU+AnS/+IH8Uh9fdcX1Lrhg1/VMdf9PwoBQXFcXiAdsy2tSK0P6gKwJLXp02r90ahUCqHk9rrw== | ||
|
||
[email protected]: | ||
version "2.38.0" | ||
resolved "https://registry.yarnpkg.com/source-code-pro/-/source-code-pro-2.38.0.tgz#85c57689f7386bb9d0515fb00ba4845bfb7b485b" | ||
integrity sha512-JMXu7l3XrLREG17eEwY66ANG9716WTu6OeNvZfRKQKANEvbSERDZjk5AYTHeV6owQNPQTeiiW3ri2Ou93XFGvg== | ||
|
||
source-map-js@^1.2.1: | ||
version "1.2.1" | ||
resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46" | ||
|
@@ -980,6 +985,11 @@ source-map@^0.6.0: | |
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" | ||
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== | ||
|
||
[email protected]: | ||
version "3.46.0" | ||
resolved "https://registry.yarnpkg.com/source-sans/-/source-sans-3.46.0.tgz#6af0a47ead682fa8971f0c83e9692e75ef3cbb86" | ||
integrity sha512-bVC2YX4VNiv5vMcy77dL0XKsNp794ThfynNsr+FqSAwk8TGG0pZsg7eUQi6yHwaRBMVmZ3Aaf4FY46dxIIGgsg== | ||
|
||
spdx-exceptions@^2.1.0: | ||
version "2.5.0" | ||
resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz#5d607d27fc806f66d7b64a766650fa890f04ed66" | ||
|
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file added
BIN
+84.3 KB
weblate/static/js/vendor/fonts/font-source/07e9568bc36099d13146.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+43.8 KB
weblate/static/js/vendor/fonts/font-source/22df9e5063a397d85418.woff2
Binary file not shown.
Binary file added
BIN
+50.2 KB
weblate/static/js/vendor/fonts/font-source/25b9e2c8d4bf7fb66c96.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+83.8 KB
weblate/static/js/vendor/fonts/font-source/496950ebbe54deac3a1d.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+79.7 KB
weblate/static/js/vendor/fonts/font-source/550c778adfbb5cfa59e1.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+83.8 KB
weblate/static/js/vendor/fonts/font-source/6047f0e4077855a4946d.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+43.8 KB
weblate/static/js/vendor/fonts/font-source/6e9afcf5ca9ac5124040.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+43.8 KB
weblate/static/js/vendor/fonts/font-source/83aaa30b42f593efae5a.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+50.9 KB
weblate/static/js/vendor/fonts/font-source/95316d52e3669e9327d2.woff2
Binary file not shown.
Binary file added
BIN
+49.4 KB
weblate/static/js/vendor/fonts/font-source/9a2d1789d072bcb58d66.woff2
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+43.8 KB
weblate/static/js/vendor/fonts/font-source/9a542e40c824951b2f0c.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+80.1 KB
weblate/static/js/vendor/fonts/font-source/ac92dfe726b609262607.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+42.2 KB
weblate/static/js/vendor/fonts/font-source/c7124c5838a0bb9d0718.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+51.1 KB
weblate/static/js/vendor/fonts/font-source/d4420e97eacc0df955b3.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+51.1 KB
weblate/static/js/vendor/fonts/font-source/de4e0fc9b0bb0ff02b2f.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+51.2 KB
weblate/static/js/vendor/fonts/font-source/fb731c620f945b0a3be7.woff2
Binary file not shown.
Binary file not shown.
Oops, something went wrong.