Gaël Métais 4 years ago
parent
commit
64733d55f8
2 changed files with 4 additions and 4 deletions
  1. 1 1
      front/src/views/rule.html
  2. 3 3
      lib/metadata/policies.js

+ 1 - 1
front/src/views/rule.html

@@ -488,7 +488,7 @@
             <div class="headers">
                 <div>File</div>
                 <div>Current weight</div>
-                <div>Woff 2 weight</div>
+                <div>WOFF 2 weight</div>
                 <div>Gain</div>
             </div>
             <div ng-repeat="file in rule.offendersObj.list.fonts | orderBy:'-gain'">

+ 3 - 3
lib/metadata/policies.js

@@ -897,7 +897,7 @@ var policies = {
     "heavyFonts": {
         "tool": "redownload",
         "label": "Overweighted webfonts",
-        "message": "<p>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.</p><p>It can be a compresson issue, a font that contains too many glyphs or a font with complex shapes.</p><p>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.</p>",
+        "message": "<p>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.</p><p>It can be a compresson issue, a font that contains too many glyphs or a font with complex shapes.</p>",
         "isOkThreshold": 0,
         "isBadThreshold": 102400,
         "isAbnormalThreshold": 204800,
@@ -921,8 +921,8 @@ var policies = {
     },*/
     "nonWoff2Fonts": {
         "tool": "redownload",
-        "label": "Woff 2",
-        "message": "<p>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.</p>",
+        "label": "WOFF 2",
+        "message": "<p>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.</p>",
         "isOkThreshold": 0,
         "isBadThreshold": 51200,
         "isAbnormalThreshold": 122880,