From 64733d55f8e3fe02a9c3dc8895dce8befc027de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Sat, 2 Jan 2021 22:24:42 +0000 Subject: [PATCH] Wording --- front/src/views/rule.html | 2 +- lib/metadata/policies.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/front/src/views/rule.html b/front/src/views/rule.html index 98b3bb3..8598ec6 100644 --- a/front/src/views/rule.html +++ b/front/src/views/rule.html @@ -488,7 +488,7 @@
File
Current weight
-
Woff 2 weight
+
WOFF 2 weight
Gain
diff --git a/lib/metadata/policies.js b/lib/metadata/policies.js index 5ea155b..c4583b4 100644 --- a/lib/metadata/policies.js +++ b/lib/metadata/policies.js @@ -897,7 +897,7 @@ var policies = { "heavyFonts": { "tool": "redownload", "label": "Overweighted webfonts", - "message": "

This metric is the sum of all bytes above 40KB in loaded fonts. Over this size, the font is probably not optimized for the web.

It can be a compresson issue, a font that contains too many glyphs or a font with complex shapes.

Sorry, Yellow Lab Tools is not yet compatible with the WOFF2 font format that generates 20-30% smaller fonts. You can proceed to a manual verification on a modern browser.

", + "message": "

This metric is the sum of all bytes above 40KB in loaded fonts. Over this size, the font is probably not optimized for the web.

It can be a compresson issue, a font that contains too many glyphs or a font with complex shapes.

", "isOkThreshold": 0, "isBadThreshold": 102400, "isAbnormalThreshold": 204800, @@ -921,8 +921,8 @@ var policies = { },*/ "nonWoff2Fonts": { "tool": "redownload", - "label": "Woff 2", - "message": "

The fonts listed here could be lighter if they were served with the latest woff 2 font file format. Some online tools can help you easily convert older formats to woff 2.

", + "label": "WOFF 2", + "message": "

The fonts listed here could be lighter if they were served with the latest WOFF 2 font file format. Some online tools can help you easily convert older formats to WOFF 2.

", "isOkThreshold": 0, "isBadThreshold": 51200, "isAbnormalThreshold": 122880,