diff --git a/lighthouse-core/lib/locales/en-US.json b/lighthouse-core/lib/locales/en-US.json index cc37da30c301..6b4a1ddc595a 100644 --- a/lighthouse-core/lib/locales/en-US.json +++ b/lighthouse-core/lib/locales/en-US.json @@ -1,19 +1,7 @@ { - "lighthouse-core/audits/bootup-time.js | title": { - "message": "JavaScript execution time", - "description": "Title of a diagnostic audit that provides detail on the time spent executing javascript files during the load. This descriptive title is shown to users when the amount is acceptable and no user action is required." - }, - "lighthouse-core/audits/bootup-time.js | failureTitle": { - "message": "Reduce JavaScript execution time", - "description": "Title of a diagnostic audit that provides detail on the time spent executing javascript files during the load. This imperative title is shown to users when there is a significant amount of execution time that could be reduced." - }, - "lighthouse-core/audits/bootup-time.js | description": { - "message": "Consider reducing the time spent parsing, compiling, and executing JS. You may find delivering smaller JS payloads helps with this. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/bootup).", - "description": "Description of a Lighthouse audit that tells the user that they should reduce the amount of time spent executing javascript and one method of doing so. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation." - }, - "lighthouse-core/audits/bootup-time.js | columnTotal": { - "message": "Total", - "description": "Label for the total time column in a data table; entries will be the number of milliseconds spent executing per resource loaded by the page." + "lighthouse-core/audits/bootup-time.js | chromeExtensionsWarning": { + "message": "Chrome extensions negatively affected this page's load performance. Try auditing the page in incognito mode or from a clean Chrome profile.", + "description": "A message displayed in a Lighthouse audit result warning that Chrome extensions on the user's system substantially affected Lighthouse's measurements and instructs the user on how to run again without those extensions." }, "lighthouse-core/audits/bootup-time.js | columnScriptEval": { "message": "Script Evaluation", @@ -23,41 +11,45 @@ "message": "Script Parse", "description": "Label for a time column in a data table; entries will be the number of milliseconds spent parsing script files for every script loaded by the page." }, - "lighthouse-core/audits/bootup-time.js | chromeExtensionsWarning": { - "message": "Chrome extensions negatively affected this page's load performance. Try auditing the page in incognito mode or from a clean Chrome profile.", - "description": "A message displayed in a Lighthouse audit result warning that Chrome extensions on the user's system substantially affected Lighthouse's measurements and instructs the user on how to run again without those extensions." + "lighthouse-core/audits/bootup-time.js | columnTotal": { + "message": "Total", + "description": "Label for the total time column in a data table; entries will be the number of milliseconds spent executing per resource loaded by the page." }, - "lighthouse-core/audits/byte-efficiency/efficient-animated-content.js | title": { - "message": "Use video formats for animated content", - "description": "Imperative title of a Lighthouse audit that tells the user to use video formats rather than animated GIFs, which are wasteful. This is displayed in a list of audit titles that Lighthouse generates." + "lighthouse-core/audits/bootup-time.js | description": { + "message": "Consider reducing the time spent parsing, compiling, and executing JS. You may find delivering smaller JS payloads helps with this. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/bootup).", + "description": "Description of a Lighthouse audit that tells the user that they should reduce the amount of time spent executing javascript and one method of doing so. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation." + }, + "lighthouse-core/audits/bootup-time.js | failureTitle": { + "message": "Reduce JavaScript execution time", + "description": "Title of a diagnostic audit that provides detail on the time spent executing javascript files during the load. This imperative title is shown to users when there is a significant amount of execution time that could be reduced." + }, + "lighthouse-core/audits/bootup-time.js | title": { + "message": "JavaScript execution time", + "description": "Title of a diagnostic audit that provides detail on the time spent executing javascript files during the load. This descriptive title is shown to users when the amount is acceptable and no user action is required." }, "lighthouse-core/audits/byte-efficiency/efficient-animated-content.js | description": { "message": "Large GIFs are inefficient for delivering animated content. Consider using MPEG4/WebM videos for animations and PNG/WebP for static images instead of GIF to save network bytes. [Learn more](https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/replace-animated-gifs-with-video/)", "description": "Description of a Lighthouse audit that tells the user *why* they should use video instead of GIF format for delivering animated content. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/byte-efficiency/offscreen-images.js | title": { - "message": "Defer offscreen images", - "description": "Imperative title of a Lighthouse audit that tells the user to defer loading offscreen images. Offscreen images are images located outside of the visible browser viewport. As they are unseen by the user and slow down page load, they should be loaded later, closer to when the user is going to see them. This is displayed in a list of audit titles that Lighthouse generates." + "lighthouse-core/audits/byte-efficiency/efficient-animated-content.js | title": { + "message": "Use video formats for animated content", + "description": "Imperative title of a Lighthouse audit that tells the user to use video formats rather than animated GIFs, which are wasteful. This is displayed in a list of audit titles that Lighthouse generates." }, "lighthouse-core/audits/byte-efficiency/offscreen-images.js | description": { "message": "Consider lazy-loading offscreen and hidden images after all critical resources have finished loading to lower time to interactive. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/offscreen-images).", "description": "Description of a Lighthouse audit that tells the user *why* they should defer loading offscreen images. Offscreen images are images located outside of the visible browser viewport. As they are unseen by the user and slow down page load, they should be loaded later, closer to when the user is going to see them. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/byte-efficiency/render-blocking-resources.js | title": { - "message": "Eliminate render-blocking resources", - "description": "Imperative title of a Lighthouse audit that tells the user to reduce or remove network resources that block the initial render of the page. This is displayed in a list of audit titles that Lighthouse generates." + "lighthouse-core/audits/byte-efficiency/offscreen-images.js | title": { + "message": "Defer offscreen images", + "description": "Imperative title of a Lighthouse audit that tells the user to defer loading offscreen images. Offscreen images are images located outside of the visible browser viewport. As they are unseen by the user and slow down page load, they should be loaded later, closer to when the user is going to see them. This is displayed in a list of audit titles that Lighthouse generates." }, "lighthouse-core/audits/byte-efficiency/render-blocking-resources.js | description": { "message": "Resources are blocking the first paint of your page. Consider delivering critical JS/CSS inline and deferring all non-critical JS/styles. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/blocking-resources).", "description": "Description of a Lighthouse audit that tells the user *why* they should reduce or remove network resources that block the initial render of the page. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/byte-efficiency/total-byte-weight.js | title": { - "message": "Avoids enormous network payloads", - "description": "Title of a diagnostic audit that provides detail on large network resources required during page load. 'Payloads' is roughly equivalent to 'resources'. This descriptive title is shown to users when the amount is acceptable and no user action is required." - }, - "lighthouse-core/audits/byte-efficiency/total-byte-weight.js | failureTitle": { - "message": "Avoid enormous network payloads", - "description": "Title of a diagnostic audit that provides detail on large network resources required during page load. 'Payloads' is roughly equivalent to 'resources'. This imperative title is shown to users when there is a significant amount of execution time that could be reduced." + "lighthouse-core/audits/byte-efficiency/render-blocking-resources.js | title": { + "message": "Eliminate render-blocking resources", + "description": "Imperative title of a Lighthouse audit that tells the user to reduce or remove network resources that block the initial render of the page. This is displayed in a list of audit titles that Lighthouse generates." }, "lighthouse-core/audits/byte-efficiency/total-byte-weight.js | description": { "message": "Large network payloads cost users real money and are highly correlated with long load times. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/network-payloads).", @@ -67,45 +59,45 @@ "message": "Total size was {totalBytes, number, bytes} KB", "description": "Used to summarize the total byte size of the page and all its network requests. The `{totalBytes}` placeholder will be replaced with the total byte sizes, shown in kilobytes (e.g. 142 KB)" }, - "lighthouse-core/audits/byte-efficiency/unminified-css.js | title": { - "message": "Minify CSS", - "description": "Imperative title of a Lighthouse audit that tells the user to minify (remove whitespace) the page's CSS code. This is displayed in a list of audit titles that Lighthouse generates." + "lighthouse-core/audits/byte-efficiency/total-byte-weight.js | failureTitle": { + "message": "Avoid enormous network payloads", + "description": "Title of a diagnostic audit that provides detail on large network resources required during page load. 'Payloads' is roughly equivalent to 'resources'. This imperative title is shown to users when there is a significant amount of execution time that could be reduced." + }, + "lighthouse-core/audits/byte-efficiency/total-byte-weight.js | title": { + "message": "Avoids enormous network payloads", + "description": "Title of a diagnostic audit that provides detail on large network resources required during page load. 'Payloads' is roughly equivalent to 'resources'. This descriptive title is shown to users when the amount is acceptable and no user action is required." }, "lighthouse-core/audits/byte-efficiency/unminified-css.js | description": { "message": "Minifying CSS files can reduce network payload sizes. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/minify-css).", "description": "Description of a Lighthouse audit that tells the user *why* they should minify (remove whitespace) the page's CSS code. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/byte-efficiency/unminified-javascript.js | title": { - "message": "Minify JavaScript", - "description": "Imperative title of a Lighthouse audit that tells the user to minify the page’s JS code to reduce file size. This is displayed in a list of audit titles that Lighthouse generates." + "lighthouse-core/audits/byte-efficiency/unminified-css.js | title": { + "message": "Minify CSS", + "description": "Imperative title of a Lighthouse audit that tells the user to minify (remove whitespace) the page's CSS code. This is displayed in a list of audit titles that Lighthouse generates." }, "lighthouse-core/audits/byte-efficiency/unminified-javascript.js | description": { "message": "Minifying JavaScript files can reduce payload sizes and script parse time. [Learn more](https://developers.google.com/speed/docs/insights/MinifyResources).", "description": "Description of a Lighthouse audit that tells the user *why* they should minify the page’s JS code to reduce file size. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/byte-efficiency/unused-css-rules.js | title": { - "message": "Defer unused CSS", - "description": "Imperative title of a Lighthouse audit that tells the user to remove content from their CSS that isn’t needed immediately and instead load that content at a later time. This is displayed in a list of audit titles that Lighthouse generates." + "lighthouse-core/audits/byte-efficiency/unminified-javascript.js | title": { + "message": "Minify JavaScript", + "description": "Imperative title of a Lighthouse audit that tells the user to minify the page’s JS code to reduce file size. This is displayed in a list of audit titles that Lighthouse generates." }, "lighthouse-core/audits/byte-efficiency/unused-css-rules.js | description": { "message": "Remove unused rules from stylesheets to reduce unnecessary bytes consumed by network activity. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/unused-css).", "description": "Description of a Lighthouse audit that tells the user *why* they should defer loading any content in CSS that isn’t needed at page load. This is displayed after a user expands the section to see more. No word length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/byte-efficiency/unused-javascript.js | title": { - "message": "Remove unused JavaScript", - "description": "Imperative title of a Lighthouse audit that tells the user to remove JavaScript that is never evaluated during page load. This is displayed in a list of audit titles that Lighthouse generates." + "lighthouse-core/audits/byte-efficiency/unused-css-rules.js | title": { + "message": "Defer unused CSS", + "description": "Imperative title of a Lighthouse audit that tells the user to remove content from their CSS that isn’t needed immediately and instead load that content at a later time. This is displayed in a list of audit titles that Lighthouse generates." }, "lighthouse-core/audits/byte-efficiency/unused-javascript.js | description": { "message": "Remove unused JavaScript to reduce bytes consumed by network activity.", "description": "Description of a Lighthouse audit that tells the user *why* they should remove JavaScript that is never needed/evaluated by the browser. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/byte-efficiency/uses-long-cache-ttl.js | title": { - "message": "Uses efficient cache policy on static assets", - "description": "Title of a diagnostic audit that provides detail on the cache policy applies to the page's static assets. Cache refers to browser disk cache, which keeps old versions of network resources around for future use. This is displayed in a list of audit titles that Lighthouse generates." - }, - "lighthouse-core/audits/byte-efficiency/uses-long-cache-ttl.js | failureTitle": { - "message": "Serve static assets with an efficient cache policy", - "description": "Title of a diagnostic audit that provides details on the any page resources that could have been served with more efficient cache policies. Cache refers to browser disk cache, which keeps old versions of network resources around for future use. This imperative title is shown to users when there is a significant amount of assets served with poor cache policies." + "lighthouse-core/audits/byte-efficiency/unused-javascript.js | title": { + "message": "Remove unused JavaScript", + "description": "Imperative title of a Lighthouse audit that tells the user to remove JavaScript that is never evaluated during page load. This is displayed in a list of audit titles that Lighthouse generates." }, "lighthouse-core/audits/byte-efficiency/uses-long-cache-ttl.js | description": { "message": "A long cache lifetime can speed up repeat visits to your page. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/cache-policy).", @@ -115,41 +107,45 @@ "message": "{itemCount, plural,\n =1 {1 resource found}\n other {# resources found}\n }", "description": "[ICU Syntax] Label for the audit identifying network resources with inefficient cache values. Clicking this will expand the audit to show the resources." }, - "lighthouse-core/audits/byte-efficiency/uses-optimized-images.js | title": { - "message": "Efficiently encode images", - "description": "Imperative title of a Lighthouse audit that tells the user to encode images with optimization (better compression). This is displayed in a list of audit titles that Lighthouse generates." + "lighthouse-core/audits/byte-efficiency/uses-long-cache-ttl.js | failureTitle": { + "message": "Serve static assets with an efficient cache policy", + "description": "Title of a diagnostic audit that provides details on the any page resources that could have been served with more efficient cache policies. Cache refers to browser disk cache, which keeps old versions of network resources around for future use. This imperative title is shown to users when there is a significant amount of assets served with poor cache policies." + }, + "lighthouse-core/audits/byte-efficiency/uses-long-cache-ttl.js | title": { + "message": "Uses efficient cache policy on static assets", + "description": "Title of a diagnostic audit that provides detail on the cache policy applies to the page's static assets. Cache refers to browser disk cache, which keeps old versions of network resources around for future use. This is displayed in a list of audit titles that Lighthouse generates." }, "lighthouse-core/audits/byte-efficiency/uses-optimized-images.js | description": { "message": "Optimized images load faster and consume less cellular data. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/optimize-images).", "description": "Description of a Lighthouse audit that tells the user *why* they need to efficiently encode images. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/byte-efficiency/uses-responsive-images.js | title": { - "message": "Properly size images", - "description": "Imperative title of a Lighthouse audit that tells the user to resize images to match the display dimensions. This is displayed in a list of audit titles that Lighthouse generates." + "lighthouse-core/audits/byte-efficiency/uses-optimized-images.js | title": { + "message": "Efficiently encode images", + "description": "Imperative title of a Lighthouse audit that tells the user to encode images with optimization (better compression). This is displayed in a list of audit titles that Lighthouse generates." }, "lighthouse-core/audits/byte-efficiency/uses-responsive-images.js | description": { "message": "Serve images that are appropriately-sized to save cellular data and improve load time. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/oversized-images).", "description": "Description of a Lighthouse audit that tells the user *why* they need to serve appropriately sized images. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/byte-efficiency/uses-text-compression.js | title": { - "message": "Enable text compression", - "description": "Imperative title of a Lighthouse audit that tells the user to enable text compression (like gzip) in order to enhance the performance of a page. This is displayed in a list of audit titles that Lighthouse generates." + "lighthouse-core/audits/byte-efficiency/uses-responsive-images.js | title": { + "message": "Properly size images", + "description": "Imperative title of a Lighthouse audit that tells the user to resize images to match the display dimensions. This is displayed in a list of audit titles that Lighthouse generates." }, "lighthouse-core/audits/byte-efficiency/uses-text-compression.js | description": { "message": "Text-based resources should be served with compression (gzip, deflate or brotli) to minimize total network bytes. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/text-compression).", "description": "Description of a Lighthouse audit that tells the user *why* their text-based resources should be served with compression (like gzip). This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/byte-efficiency/uses-webp-images.js | title": { - "message": "Serve images in next-gen formats", - "description": "Imperative title of a Lighthouse audit that tells the user to serve images in newer and more efficient image formats in order to enhance the performance of a page. A non-modern image format was designed 20+ years ago. This is displayed in a list of audit titles that Lighthouse generates." + "lighthouse-core/audits/byte-efficiency/uses-text-compression.js | title": { + "message": "Enable text compression", + "description": "Imperative title of a Lighthouse audit that tells the user to enable text compression (like gzip) in order to enhance the performance of a page. This is displayed in a list of audit titles that Lighthouse generates." }, "lighthouse-core/audits/byte-efficiency/uses-webp-images.js | description": { "message": "Image formats like JPEG 2000, JPEG XR, and WebP often provide better compression than PNG or JPEG, which means faster downloads and less data consumption. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/webp).", "description": "Description of a Lighthouse audit that tells the user *why* they should use newer and more efficient image formats. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/critical-request-chains.js | title": { - "message": "Minimize Critical Requests Depth", - "description": "Imperative title of a Lighthouse audit that tells the user to reduce the depth of critical network requests to enhance initial load of a page. Critical request chains are series of dependent network requests that are important for page rendering. For example, here's a 4-request-deep chain: The biglogo.jpg image is required, but is requested via the styles.css style code, which is requested by the initialize.js javascript, which is requested by the page's HTML. This is displayed in a list of audit titles that Lighthouse generates." + "lighthouse-core/audits/byte-efficiency/uses-webp-images.js | title": { + "message": "Serve images in next-gen formats", + "description": "Imperative title of a Lighthouse audit that tells the user to serve images in newer and more efficient image formats in order to enhance the performance of a page. A non-modern image format was designed 20+ years ago. This is displayed in a list of audit titles that Lighthouse generates." }, "lighthouse-core/audits/critical-request-chains.js | description": { "message": "The Critical Request Chains below show you what resources are issued with a high priority. Consider reducing the length of chains, reducing the download size of resources, or deferring the download of unnecessary resources to improve page load. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/critical-request-chains).", @@ -159,125 +155,121 @@ "message": "{itemCount, plural,\n =1 {1 chain found}\n other {# chains found}\n }", "description": "[ICU Syntax] Label for an audit identifying the number of sequences of dependent network requests used to load the page." }, - "lighthouse-core/audits/dobetterweb/dom-size.js | title": { - "message": "Avoids an excessive DOM size", - "description": "Title of a diagnostic audit that provides detail on the size of the web page's DOM. The size of a DOM is characterized by the total number of DOM nodes and greatest DOM depth. This descriptive title is shown to users when the amount is acceptable and no user action is required." - }, - "lighthouse-core/audits/dobetterweb/dom-size.js | failureTitle": { - "message": "Avoid an excessive DOM size", - "description": "Title of a diagnostic audit that provides detail on the size of the web page's DOM. The size of a DOM is characterized by the total number of DOM nodes and greatest DOM depth. This imperative title is shown to users when there is a significant amount of execution time that could be reduced." + "lighthouse-core/audits/critical-request-chains.js | title": { + "message": "Minimize Critical Requests Depth", + "description": "Imperative title of a Lighthouse audit that tells the user to reduce the depth of critical network requests to enhance initial load of a page. Critical request chains are series of dependent network requests that are important for page rendering. For example, here's a 4-request-deep chain: The biglogo.jpg image is required, but is requested via the styles.css style code, which is requested by the initialize.js javascript, which is requested by the page's HTML. This is displayed in a list of audit titles that Lighthouse generates." }, - "lighthouse-core/audits/dobetterweb/dom-size.js | description": { - "message": "Browser engineers recommend pages contain fewer than ~1,500 DOM nodes. The sweet spot is a tree depth < 32 elements and fewer than 60 children/parent element. A large DOM can increase memory usage, cause longer [style calculations](https://developers.google.com/web/fundamentals/performance/rendering/reduce-the-scope-and-complexity-of-style-calculations), and produce costly [layout reflows](https://developers.google.com/speed/articles/reflow). [Learn more](https://developers.google.com/web/tools/lighthouse/audits/dom-size).", - "description": "Description of a Lighthouse audit that tells the user *why* they should reduce the size of the web page's DOM. The size of a DOM is characterized by the total number of DOM nodes and greatest DOM depth. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation." + "lighthouse-core/audits/dobetterweb/dom-size.js | columnDOMDepth": { + "message": "Maximum DOM Depth", + "description": "Label for the numeric value of the maximum depth in the page's DOM tree." }, "lighthouse-core/audits/dobetterweb/dom-size.js | columnDOMNodes": { "message": "Total DOM Nodes", "description": "Label for the total number of DOM nodes found in the page." }, - "lighthouse-core/audits/dobetterweb/dom-size.js | columnDOMDepth": { - "message": "Maximum DOM Depth", - "description": "Label for the numeric value of the maximum depth in the page's DOM tree." - }, "lighthouse-core/audits/dobetterweb/dom-size.js | columnDOMWidth": { "message": "Maximum Children", "description": "Label for the value of the maximum number of children any DOM node in the page has." }, + "lighthouse-core/audits/dobetterweb/dom-size.js | description": { + "message": "Browser engineers recommend pages contain fewer than ~1,500 DOM nodes. The sweet spot is a tree depth < 32 elements and fewer than 60 children/parent element. A large DOM can increase memory usage, cause longer [style calculations](https://developers.google.com/web/fundamentals/performance/rendering/reduce-the-scope-and-complexity-of-style-calculations), and produce costly [layout reflows](https://developers.google.com/speed/articles/reflow). [Learn more](https://developers.google.com/web/tools/lighthouse/audits/dom-size).", + "description": "Description of a Lighthouse audit that tells the user *why* they should reduce the size of the web page's DOM. The size of a DOM is characterized by the total number of DOM nodes and greatest DOM depth. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation." + }, "lighthouse-core/audits/dobetterweb/dom-size.js | displayValue": { "message": "{itemCount, plural,\n =1 {1 node}\n other {# nodes}\n }", "description": "[ICU Syntax] Label for an audit identifying the number of DOM nodes found in the page." }, - "lighthouse-core/audits/font-display.js | title": { - "message": "All text remains visible during webfont loads", - "description": "Title of a diagnostic audit that provides detail on if all the text on a webpage was visible while the page was loading its webfonts. This descriptive title is shown to users when the amount is acceptable and no user action is required." + "lighthouse-core/audits/dobetterweb/dom-size.js | failureTitle": { + "message": "Avoid an excessive DOM size", + "description": "Title of a diagnostic audit that provides detail on the size of the web page's DOM. The size of a DOM is characterized by the total number of DOM nodes and greatest DOM depth. This imperative title is shown to users when there is a significant amount of execution time that could be reduced." }, - "lighthouse-core/audits/font-display.js | failureTitle": { - "message": "Ensure text remains visible during webfont load", - "description": "Title of a diagnostic audit that provides detail on the load of the page's webfonts. Often the text is invisible for seconds before the webfont resource is loaded. This imperative title is shown to users when there is a significant amount of execution time that could be reduced." + "lighthouse-core/audits/dobetterweb/dom-size.js | title": { + "message": "Avoids an excessive DOM size", + "description": "Title of a diagnostic audit that provides detail on the size of the web page's DOM. The size of a DOM is characterized by the total number of DOM nodes and greatest DOM depth. This descriptive title is shown to users when the amount is acceptable and no user action is required." }, "lighthouse-core/audits/font-display.js | description": { "message": "Leverage the font-display CSS feature to ensure text is user-visible while webfonts are loading. [Learn more](https://developers.google.com/web/updates/2016/02/font-display).", "description": "Description of a Lighthouse audit that tells the user *why* they should use the font-display CSS feature. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/mainthread-work-breakdown.js | title": { - "message": "Minimizes main thread work", - "description": "Title of a diagnostic audit that provides detail on the main thread work the browser did to load the page. This descriptive title is shown to users when the amount is acceptable and no user action is required." + "lighthouse-core/audits/font-display.js | failureTitle": { + "message": "Ensure text remains visible during webfont load", + "description": "Title of a diagnostic audit that provides detail on the load of the page's webfonts. Often the text is invisible for seconds before the webfont resource is loaded. This imperative title is shown to users when there is a significant amount of execution time that could be reduced." }, - "lighthouse-core/audits/mainthread-work-breakdown.js | failureTitle": { - "message": "Minimize main thread work", - "description": "Title of a diagnostic audit that provides detail on the main thread work the browser did to load the page. This imperative title is shown to users when there is a significant amount of execution time that could be reduced." + "lighthouse-core/audits/font-display.js | title": { + "message": "All text remains visible during webfont loads", + "description": "Title of a diagnostic audit that provides detail on if all the text on a webpage was visible while the page was loading its webfonts. This descriptive title is shown to users when the amount is acceptable and no user action is required." + }, + "lighthouse-core/audits/mainthread-work-breakdown.js | columnCategory": { + "message": "Category", + "description": "Label for the Main Thread Category column in data tables, rows will have a main thread Category and main thread Task Name." }, "lighthouse-core/audits/mainthread-work-breakdown.js | description": { "message": "Consider reducing the time spent parsing, compiling and executing JS. You may find delivering smaller JS payloads helps with this.", "description": "Description of a Lighthouse audit that tells the user *why* they should reduce JS execution times. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/mainthread-work-breakdown.js | columnCategory": { - "message": "Category", - "description": "Label for the Main Thread Category column in data tables, rows will have a main thread Category and main thread Task Name." + "lighthouse-core/audits/mainthread-work-breakdown.js | failureTitle": { + "message": "Minimize main thread work", + "description": "Title of a diagnostic audit that provides detail on the main thread work the browser did to load the page. This imperative title is shown to users when there is a significant amount of execution time that could be reduced." }, - "lighthouse-core/audits/metrics/estimated-input-latency.js | title": { - "message": "Estimated Input Latency", - "description": "The name of the metric that marks the estimated time between the page receiving input (a user clicking, tapping, or typing) and the page responding. Shown to users as the label for the numeric metric value. Ideally fits within a ~40 character limit." + "lighthouse-core/audits/mainthread-work-breakdown.js | title": { + "message": "Minimizes main thread work", + "description": "Title of a diagnostic audit that provides detail on the main thread work the browser did to load the page. This descriptive title is shown to users when the amount is acceptable and no user action is required." }, "lighthouse-core/audits/metrics/estimated-input-latency.js | description": { "message": "The score above is an estimate of how long your app takes to respond to user input, in milliseconds, during the busiest 5s window of page load. If your latency is higher than 50 ms, users may perceive your app as laggy. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/estimated-input-latency).", "description": "Description of the Estimated Input Latency metric that estimates the amount of time, in milliseconds, that the app takes to respond to user input. This description is displayed within a tooltip when the user hovers on the metric name to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/metrics/first-contentful-paint.js | title": { - "message": "First Contentful Paint", - "description": "The name of the metric that marks the time at which the first text or image is painted by the browser. Shown to users as the label for the numeric metric value. Ideally fits within a ~40 character limit." + "lighthouse-core/audits/metrics/estimated-input-latency.js | title": { + "message": "Estimated Input Latency", + "description": "The name of the metric that marks the estimated time between the page receiving input (a user clicking, tapping, or typing) and the page responding. Shown to users as the label for the numeric metric value. Ideally fits within a ~40 character limit." }, "lighthouse-core/audits/metrics/first-contentful-paint.js | description": { "message": "First contentful paint marks the time at which the first text or image is painted. [Learn more](https://developers.google.com/web/fundamentals/performance/user-centric-performance-metrics#first_paint_and_first_contentful_paint).", "description": "Description of the First Contentful Paint (FCP) metric, which marks the time at which the first text or image is painted by the browser. This is displayed within a tooltip when the user hovers on the metric name to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/metrics/first-cpu-idle.js | title": { - "message": "First CPU Idle", - "description": "The name of the metric that marks when the page has displayed content and the CPU is not busy executing the page's scripts. Shown to users as the label for the numeric metric value. Ideally fits within a ~40 character limit." + "lighthouse-core/audits/metrics/first-contentful-paint.js | title": { + "message": "First Contentful Paint", + "description": "The name of the metric that marks the time at which the first text or image is painted by the browser. Shown to users as the label for the numeric metric value. Ideally fits within a ~40 character limit." }, "lighthouse-core/audits/metrics/first-cpu-idle.js | description": { "message": "First CPU Idle marks the first time at which the page's main thread is quiet enough to handle input. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/first-interactive).", "description": "Description of the First CPU Idle metric, which marks the time at which the page has displayed content and the CPU is not busy executing the page's scripts. This is displayed within a tooltip when the user hovers on the metric name to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/metrics/first-meaningful-paint.js | title": { - "message": "First Meaningful Paint", - "description": "The name of the metric that marks the time at which a majority of the content has been painted by the browser. Shown to users as the label for the numeric metric value. Ideally fits within a ~40 character limit." + "lighthouse-core/audits/metrics/first-cpu-idle.js | title": { + "message": "First CPU Idle", + "description": "The name of the metric that marks when the page has displayed content and the CPU is not busy executing the page's scripts. Shown to users as the label for the numeric metric value. Ideally fits within a ~40 character limit." }, "lighthouse-core/audits/metrics/first-meaningful-paint.js | description": { "message": "First Meaningful Paint measures when the primary content of a page is visible. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/first-meaningful-paint).", "description": "Description of the First Meaningful Paint (FMP) metric, which marks the time at which a majority of the content has been painted by the browser. This is displayed within a tooltip when the user hovers on the metric name to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/metrics/interactive.js | title": { - "message": "Time to Interactive", - "description": "The name of the metric that marks the time at which the page is fully loaded and is able to quickly respond to user input (clicks, taps, and keypresses feel responsive). Shown to users as the label for the numeric metric value. Ideally fits within a ~40 character limit." + "lighthouse-core/audits/metrics/first-meaningful-paint.js | title": { + "message": "First Meaningful Paint", + "description": "The name of the metric that marks the time at which a majority of the content has been painted by the browser. Shown to users as the label for the numeric metric value. Ideally fits within a ~40 character limit." }, "lighthouse-core/audits/metrics/interactive.js | description": { "message": "Interactive marks the time at which the page is fully interactive. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/consistently-interactive).", "description": "Description of the Time to Interactive (TTI) metric, which evaluates when a page has completed its primary network activity and main thread work. This is displayed within a tooltip when the user hovers on the metric name to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/metrics/speed-index.js | title": { - "message": "Speed Index", - "description": "The name of the metric that summarizes how quickly the page looked visually complete. The name of this metric is largely abstract and can be loosely translated. Shown to users as the label for the numeric metric value. Ideally fits within a ~40 character limit." + "lighthouse-core/audits/metrics/interactive.js | title": { + "message": "Time to Interactive", + "description": "The name of the metric that marks the time at which the page is fully loaded and is able to quickly respond to user input (clicks, taps, and keypresses feel responsive). Shown to users as the label for the numeric metric value. Ideally fits within a ~40 character limit." }, "lighthouse-core/audits/metrics/speed-index.js | description": { "message": "Speed Index shows how quickly the contents of a page are visibly populated. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/speed-index).", "description": "Description of the Speed Index metric, which summarizes how quickly the page looked visually complete. This is displayed within a tooltip when the user hovers on the metric name to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/redirects.js | title": { - "message": "Avoid multiple page redirects", - "description": "Imperative title of a Lighthouse audit that tells the user to eliminate the redirects taken through multiple URLs to load the page. This is shown in a list of audits that Lighthouse generates." + "lighthouse-core/audits/metrics/speed-index.js | title": { + "message": "Speed Index", + "description": "The name of the metric that summarizes how quickly the page looked visually complete. The name of this metric is largely abstract and can be loosely translated. Shown to users as the label for the numeric metric value. Ideally fits within a ~40 character limit." }, "lighthouse-core/audits/redirects.js | description": { "message": "Redirects introduce additional delays before the page can be loaded. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/redirects).", "description": "Description of a Lighthouse audit that tells users why they should reduce the number of server-side redirects on their page. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/time-to-first-byte.js | title": { - "message": "Server response times are low (TTFB)", - "description": "Title of a diagnostic audit that provides detail on how long it took from starting a request to when the server started responding. This descriptive title is shown to users when the amount is acceptable and no user action is required." - }, - "lighthouse-core/audits/time-to-first-byte.js | failureTitle": { - "message": "Reduce server response times (TTFB)", - "description": "Title of a diagnostic audit that provides detail on how long it took from starting a request to when the server started responding. This imperative title is shown to users when there is a significant amount of execution time that could be reduced." + "lighthouse-core/audits/redirects.js | title": { + "message": "Avoid multiple page redirects", + "description": "Imperative title of a Lighthouse audit that tells the user to eliminate the redirects taken through multiple URLs to load the page. This is shown in a list of audits that Lighthouse generates." }, "lighthouse-core/audits/time-to-first-byte.js | description": { "message": "Time To First Byte identifies the time at which your server sends a response. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/ttfb).", @@ -287,9 +279,13 @@ "message": "Root document took {timeInMs, number, milliseconds} ms", "description": "Used to summarize the total Time to First Byte duration for the primary HTML response. The `{timeInMs}` placeholder will be replaced with the time duration, shown in milliseconds (e.g. 210 ms)" }, - "lighthouse-core/audits/user-timings.js | title": { - "message": "User Timing marks and measures", - "description": "Descriptive title of a diagnostic audit that provides details on any timestamps generated by the page. User Timing refers to the 'User Timing API', which enables a website to record specific times as 'marks', or spans of time as 'measures'." + "lighthouse-core/audits/time-to-first-byte.js | failureTitle": { + "message": "Reduce server response times (TTFB)", + "description": "Title of a diagnostic audit that provides detail on how long it took from starting a request to when the server started responding. This imperative title is shown to users when there is a significant amount of execution time that could be reduced." + }, + "lighthouse-core/audits/time-to-first-byte.js | title": { + "message": "Server response times are low (TTFB)", + "description": "Title of a diagnostic audit that provides detail on how long it took from starting a request to when the server started responding. This descriptive title is shown to users when the amount is acceptable and no user action is required." }, "lighthouse-core/audits/user-timings.js | description": { "message": "Consider instrumenting your app with the User Timing API to create custom, real-world measurements of key user experiences. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/user-timing).", @@ -299,86 +295,82 @@ "message": "{itemCount, plural,\n =1 {1 user timing}\n other {# user timings}\n }", "description": "[ICU Syntax] Label for an audit identifying the number of User Timing timestamps present in the page." }, - "lighthouse-core/audits/uses-rel-preconnect.js | title": { - "message": "Preconnect to required origins", - "description": "Imperative title of a Lighthouse audit that tells the user to connect early to internet domains that will be used to load page resources. Origin is the correct term, however 'domain name' could be used if neccsesary. This is displayed in a list of audit titles that Lighthouse generates." + "lighthouse-core/audits/user-timings.js | title": { + "message": "User Timing marks and measures", + "description": "Descriptive title of a diagnostic audit that provides details on any timestamps generated by the page. User Timing refers to the 'User Timing API', which enables a website to record specific times as 'marks', or spans of time as 'measures'." }, "lighthouse-core/audits/uses-rel-preconnect.js | description": { "message": "Consider adding preconnect or dns-prefetch resource hints to establish early connections to important third-party origins. [Learn more](https://developers.google.com/web/fundamentals/performance/resource-prioritization#preconnect).", "description": "Description of a Lighthouse audit that tells the user how to connect early to third-party domains that will be used to load page resources. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/audits/uses-rel-preload.js | title": { - "message": "Preload key requests", - "description": "Imperative title of a Lighthouse audit that tells the user to use to initiate important network requests earlier during page load. This is displayed in a list of audit titles that Lighthouse generates." + "lighthouse-core/audits/uses-rel-preconnect.js | title": { + "message": "Preconnect to required origins", + "description": "Imperative title of a Lighthouse audit that tells the user to connect early to internet domains that will be used to load page resources. Origin is the correct term, however 'domain name' could be used if neccsesary. This is displayed in a list of audit titles that Lighthouse generates." }, "lighthouse-core/audits/uses-rel-preload.js | description": { "message": "Consider using to prioritize fetching resources that are currently requested later in page load. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/preload).", "description": "Description of a Lighthouse audit that tells the user *why* they should preload important network requests. The associated network requests are started halfway through pageload (or later) but should be started at the beginning. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation." }, - "lighthouse-core/config/default-config.js | performanceCategoryTitle": { - "message": "Performance", - "description": "Title of the Performance category of audits. Equivalent to 'Web performance', this term is inclusive of all web page speed and loading optimization topics. Also used as a label of a score gauge; try to limit to 20 characters." + "lighthouse-core/audits/uses-rel-preload.js | title": { + "message": "Preload key requests", + "description": "Imperative title of a Lighthouse audit that tells the user to use to initiate important network requests earlier during page load. This is displayed in a list of audit titles that Lighthouse generates." }, - "lighthouse-core/config/default-config.js | metricGroupTitle": { - "message": "Metrics", - "description": "Title of the speed metrics section of the Performance category. Within this section are various speed metrics which quantify the pageload performance into values presented in seconds and milliseconds." + "lighthouse-core/config/default-config.js | diagnosticsGroupDescription": { + "message": "More information about the performance of your application.", + "description": "Description of the diagnostics section of the Performance category. Within this section are audits with non-imperative titles that provide more detail on the page's page load performance characteristics. Whereas the 'Opportunities' suggest an action along with expected time savings, diagnostics do not. Within this section, the user may read the details and deduce additional actions they could take." }, - "lighthouse-core/config/default-config.js | loadOpportunitiesGroupTitle": { - "message": "Opportunities", - "description": "Title of the opportunity section of the Performance category. Within this section are audits with imperative titles that suggest actions the user can take to improve the loading performance of their web page. 'Suggestion'/'Optimization'/'Recommendation' are reasonable synonyms for 'opportunity' in this case." + "lighthouse-core/config/default-config.js | diagnosticsGroupTitle": { + "message": "Diagnostics", + "description": "Title of the diagnostics section of the Performance category. Within this section are audits with non-imperative titles that provide more detail on the page's page load performance characteristics. Whereas the 'Opportunities' suggest an action along with expected time savings, diagnostics do not. Within this section, the user may read the details and deduce additional actions they could take." }, - "lighthouse-core/config/default-config.js | loadOpportunitiesGroupDescription": { - "message": "These optimizations can speed up your page load.", - "description": "Description of the opportunity section of the Performance category. 'Optimizations' could also be 'recommendations' or 'suggestions'. Within this section are audits with imperative titles that suggest actions the user can take to improve the loading performance of their web page." + "lighthouse-core/config/default-config.js | firstPaintImprovementsGroupDescription": { + "message": "The most critical aspect of performance is how quickly pixels are rendered onscreen. Key metrics: First Contentful Paint, First Meaningful Paint", + "description": "Description of an opportunity sub-section of the Performance category. Within this section are audits with imperative titles that suggest actions the user can take to improve the time of the first initial render of the webpage." }, "lighthouse-core/config/default-config.js | firstPaintImprovementsGroupTitle": { "message": "First Paint Improvements", "description": "Title of an opportunity sub-section of the Performance category. Within this section are audits with imperative titles that suggest actions the user can take to improve the time of the first initial render of the webpage." }, - "lighthouse-core/config/default-config.js | firstPaintImprovementsGroupDescription": { - "message": "The most critical aspect of performance is how quickly pixels are rendered onscreen. Key metrics: First Contentful Paint, First Meaningful Paint", - "description": "Description of an opportunity sub-section of the Performance category. Within this section are audits with imperative titles that suggest actions the user can take to improve the time of the first initial render of the webpage." + "lighthouse-core/config/default-config.js | loadOpportunitiesGroupDescription": { + "message": "These optimizations can speed up your page load.", + "description": "Description of the opportunity section of the Performance category. 'Optimizations' could also be 'recommendations' or 'suggestions'. Within this section are audits with imperative titles that suggest actions the user can take to improve the loading performance of their web page." }, - "lighthouse-core/config/default-config.js | overallImprovementsGroupTitle": { - "message": "Overall Improvements", - "description": "Title of an opportunity sub-section of the Performance category. Within this section are audits with imperative titles that suggest actions the user can take to improve the overall loading performance of their web page." + "lighthouse-core/config/default-config.js | loadOpportunitiesGroupTitle": { + "message": "Opportunities", + "description": "Title of the opportunity section of the Performance category. Within this section are audits with imperative titles that suggest actions the user can take to improve the loading performance of their web page. 'Suggestion'/'Optimization'/'Recommendation' are reasonable synonyms for 'opportunity' in this case." + }, + "lighthouse-core/config/default-config.js | metricGroupTitle": { + "message": "Metrics", + "description": "Title of the speed metrics section of the Performance category. Within this section are various speed metrics which quantify the pageload performance into values presented in seconds and milliseconds." }, "lighthouse-core/config/default-config.js | overallImprovementsGroupDescription": { "message": "Enhance the overall loading experience, so the page is responsive and ready to use as soon as possible. Key metrics: Time to Interactive, Speed Index", "description": "Description of an opportunity sub-section of the Performance category. Within this section are audits with imperative titles that suggest actions the user can take to improve the overall loading performance of their web page." }, - "lighthouse-core/config/default-config.js | diagnosticsGroupTitle": { - "message": "Diagnostics", - "description": "Title of the diagnostics section of the Performance category. Within this section are audits with non-imperative titles that provide more detail on the page's page load performance characteristics. Whereas the 'Opportunities' suggest an action along with expected time savings, diagnostics do not. Within this section, the user may read the details and deduce additional actions they could take." + "lighthouse-core/config/default-config.js | overallImprovementsGroupTitle": { + "message": "Overall Improvements", + "description": "Title of an opportunity sub-section of the Performance category. Within this section are audits with imperative titles that suggest actions the user can take to improve the overall loading performance of their web page." }, - "lighthouse-core/config/default-config.js | diagnosticsGroupDescription": { - "message": "More information about the performance of your application.", - "description": "Description of the diagnostics section of the Performance category. Within this section are audits with non-imperative titles that provide more detail on the page's page load performance characteristics. Whereas the 'Opportunities' suggest an action along with expected time savings, diagnostics do not. Within this section, the user may read the details and deduce additional actions they could take." + "lighthouse-core/config/default-config.js | performanceCategoryTitle": { + "message": "Performance", + "description": "Title of the Performance category of audits. Equivalent to 'Web performance', this term is inclusive of all web page speed and loading optimization topics. Also used as a label of a score gauge; try to limit to 20 characters." }, - "lighthouse-core/lib/i18n.js | ms": { - "message": "{timeInMs, number, milliseconds} ms", - "description": "Used to show the duration in milliseconds that something lasted. The `{timeInMs}` placeholder will be replaced with the time duration, shown in milliseconds (e.g. 63 ms)" + "lighthouse-core/lib/i18n.js | columnCacheTTL": { + "message": "Cache TTL", + "description": "Label for the TTL column in data tables, entries will be the time to live value of the cache header on a web resource" }, - "lighthouse-core/lib/i18n.js | displayValueByteSavings": { - "message": "Potential savings of {wastedBytes, number, bytes} KB", - "description": "Label shown per-audit to show how many bytes smaller the page could be if the user implemented the suggestions. The `{wastedBytes}` placeholder will be replaced with the number of bytes, shown in kilobytes (e.g. 148 KB)" + "lighthouse-core/lib/i18n.js | columnSize": { + "message": "Size (KB)", + "description": "Label for the size column in data tables, entries will be the size of a web resource in kilobytes" }, - "lighthouse-core/lib/i18n.js | displayValueMsSavings": { - "message": "Potential savings of {wastedMs, number, milliseconds} ms", - "description": "Label shown per-audit to show how many milliseconds faster the page load could be if the user implemented the suggestions. The `{wastedMs}` placeholder will be replaced with the time duration, shown in milliseconds (e.g. 140 ms)" + "lighthouse-core/lib/i18n.js | columnTimeSpent": { + "message": "Time Spent", + "description": "Label for the time spent column in data tables, entries will be the number of milliseconds spent during a particular activity" }, "lighthouse-core/lib/i18n.js | columnURL": { "message": "URL", "description": "Label for the URL column in data tables, entries will be the URL of a web resource" }, - "lighthouse-core/lib/i18n.js | columnSize": { - "message": "Size (KB)", - "description": "Label for the size column in data tables, entries will be the size of a web resource in kilobytes" - }, - "lighthouse-core/lib/i18n.js | columnCacheTTL": { - "message": "Cache TTL", - "description": "Label for the TTL column in data tables, entries will be the time to live value of the cache header on a web resource" - }, "lighthouse-core/lib/i18n.js | columnWastedBytes": { "message": "Potential Savings (KB)", "description": "Label for the wasted bytes column in data tables, entries will be the number of kilobytes the user could reduce their page by if they implemented the suggestions" @@ -387,64 +379,72 @@ "message": "Potential Savings (ms)", "description": "Label for the wasted bytes column in data tables, entries will be the number of milliseconds the user could reduce page load by if they implemented the suggestions" }, - "lighthouse-core/lib/i18n.js | columnTimeSpent": { - "message": "Time Spent", - "description": "Label for the time spent column in data tables, entries will be the number of milliseconds spent during a particular activity" + "lighthouse-core/lib/i18n.js | displayValueByteSavings": { + "message": "Potential savings of {wastedBytes, number, bytes} KB", + "description": "Label shown per-audit to show how many bytes smaller the page could be if the user implemented the suggestions. The `{wastedBytes}` placeholder will be replaced with the number of bytes, shown in kilobytes (e.g. 148 KB)" }, - "lighthouse-core/report/html/renderer/util.js | varianceDisclaimer": { - "message": "Values are estimated and may vary.", - "description": "Disclaimer shown to users below the metric values (First Contentful Paint, Time to Interactive, etc) to warn them that the numbers they see will likely change slightly the next time they run Lighthouse." + "lighthouse-core/lib/i18n.js | displayValueMsSavings": { + "message": "Potential savings of {wastedMs, number, milliseconds} ms", + "description": "Label shown per-audit to show how many milliseconds faster the page load could be if the user implemented the suggestions. The `{wastedMs}` placeholder will be replaced with the time duration, shown in milliseconds (e.g. 140 ms)" }, - "lighthouse-core/report/html/renderer/util.js | opportunityResourceColumnLabel": { - "message": "Opportunity", - "description": "Column heading label for the listing of opportunity audits. Each audit title represents an opportunity. There are only 2 columns, so no strict character limit." + "lighthouse-core/lib/i18n.js | ms": { + "message": "{timeInMs, number, milliseconds} ms", + "description": "Used to show the duration in milliseconds that something lasted. The `{timeInMs}` placeholder will be replaced with the time duration, shown in milliseconds (e.g. 63 ms)" }, - "lighthouse-core/report/html/renderer/util.js | opportunitySavingsColumnLabel": { - "message": "Estimated Savings", - "description": "Column heading label for the estimated page load savings of opportunity audits. Estimated Savings is the total amount of time (in seconds) that Lighthouse computed could be reduced from the total page load time, if the suggested action is taken. There are only 2 columns, so no strict character limit." + "lighthouse-core/report/html/renderer/util.js | auditGroupExpandTooltip": { + "message": "Show audits", + "description": "The tooltip text on an expandable chevron icon. Clicking the icon expands a section to reveal a list of audit results that was hidden by default." }, - "lighthouse-core/report/html/renderer/util.js | errorMissingAuditInfo": { - "message": "Report error: no audit information", - "description": "An error string displayed next to a particular audit when it has errored, but not provided any specific error message." + "lighthouse-core/report/html/renderer/util.js | crcInitialNavigation": { + "message": "Initial Navigation", + "description": "String of text shown in a graphical representation of the flow of network requests for the web page. This label represents the initial network request that fetches an HTML page. This navigation may be redirected (eg. Initial navigation to http://example.com redirects to https://www.example.com)." + }, + "lighthouse-core/report/html/renderer/util.js | crcLongestDurationLabel": { + "message": "Maximum critical path latency:", + "description": "Label of value shown in the summary of critical request chains. Refers to the total amount of time (milliseconds) of the longest critical path chain/sequence of network requests. Example value: 2310 ms" }, "lighthouse-core/report/html/renderer/util.js | errorLabel": { "message": "Error!", "description": "A label, shown next to an audit title or metric title, indicating that there was an error computing it. The user can hover on the label to reveal a tooltip with the extended error message. Translation should be short (< 20 characters)." }, - "lighthouse-core/report/html/renderer/util.js | warningHeader": { - "message": "Warnings: ", - "description": "This label is shown above a bulleted list of warnings. It is shown directly below an audit that produced warnings. Warnings describe situations the user should be aware of, as Lighthouse was unable to complete all the work required on this audit. For example, The 'Unable to decode image (biglogo.jpg)' warning may show up below an image encoding audit." - }, - "lighthouse-core/report/html/renderer/util.js | auditGroupExpandTooltip": { - "message": "Show audits", - "description": "The tooltip text on an expandable chevron icon. Clicking the icon expands a section to reveal a list of audit results that was hidden by default." + "lighthouse-core/report/html/renderer/util.js | errorMissingAuditInfo": { + "message": "Report error: no audit information", + "description": "An error string displayed next to a particular audit when it has errored, but not provided any specific error message." }, - "lighthouse-core/report/html/renderer/util.js | passedAuditsGroupTitle": { - "message": "Passed audits", - "description": "Section heading shown above a list of audits that are passing. 'Passed' here refers to a passing grade. This section is collapsed by default, as the user should be focusing on the failed audits instead. Users can click this heading to reveal the list." + "lighthouse-core/report/html/renderer/util.js | manualAuditsGroupTitle": { + "message": "Additional items to manually check", + "description": "Section heading shown above a list of audits that were not computed by Lighthouse. They serve as a list of suggestions for the user to go and manually check. For example, Lighthouse can't automate testing cross-browser compatibility, so that is listed within this section, so the user is reminded to test it themselves. This section is collapsed by default, as the user should be focusing on the failed audits instead. Users can click this heading to reveal the list." }, "lighthouse-core/report/html/renderer/util.js | notApplicableAuditsGroupTitle": { "message": "Not applicable", "description": "Section heading shown above a list of audits that do not apply to the page. For example, if an audit is 'Are images optimized?', but the page has no images on it, the audit will be marked as not applicable. This is neither passing or failing. This section is collapsed by default, as the user should be focusing on the failed audits instead. Users can click this heading to reveal the list." }, - "lighthouse-core/report/html/renderer/util.js | manualAuditsGroupTitle": { - "message": "Additional items to manually check", - "description": "Section heading shown above a list of audits that were not computed by Lighthouse. They serve as a list of suggestions for the user to go and manually check. For example, Lighthouse can't automate testing cross-browser compatibility, so that is listed within this section, so the user is reminded to test it themselves. This section is collapsed by default, as the user should be focusing on the failed audits instead. Users can click this heading to reveal the list." + "lighthouse-core/report/html/renderer/util.js | opportunityResourceColumnLabel": { + "message": "Opportunity", + "description": "Column heading label for the listing of opportunity audits. Each audit title represents an opportunity. There are only 2 columns, so no strict character limit." }, - "lighthouse-core/report/html/renderer/util.js | toplevelWarningsMessage": { - "message": "There were issues affecting this run of Lighthouse:", - "description": "Label shown preceding any important warnings that may have invalidated the entire report. For example, if the user has Chrome extensions installed, they may add enough performance overhead that Lighthouse's performance metrics are unreliable. If shown, this will be displayed at the top of the report UI." + "lighthouse-core/report/html/renderer/util.js | opportunitySavingsColumnLabel": { + "message": "Estimated Savings", + "description": "Column heading label for the estimated page load savings of opportunity audits. Estimated Savings is the total amount of time (in seconds) that Lighthouse computed could be reduced from the total page load time, if the suggested action is taken. There are only 2 columns, so no strict character limit." + }, + "lighthouse-core/report/html/renderer/util.js | passedAuditsGroupTitle": { + "message": "Passed audits", + "description": "Section heading shown above a list of audits that are passing. 'Passed' here refers to a passing grade. This section is collapsed by default, as the user should be focusing on the failed audits instead. Users can click this heading to reveal the list." }, "lighthouse-core/report/html/renderer/util.js | scorescaleLabel": { "message": "Score scale:", "description": "Label preceding a pictorial explanation of the scoring scale: 0-50 is red (bad), 50-90 is orange (ok), 90-100 is green (good). These colors are used throughout the report to provide context for how good/bad a particular result is." }, - "lighthouse-core/report/html/renderer/util.js | crcInitialNavigation": { - "message": "Initial Navigation", - "description": "String of text shown in a graphical representation of the flow of network requests for the web page. This label represents the initial network request that fetches an HTML page. This navigation may be redirected (eg. Initial navigation to http://example.com redirects to https://www.example.com)." + "lighthouse-core/report/html/renderer/util.js | toplevelWarningsMessage": { + "message": "There were issues affecting this run of Lighthouse:", + "description": "Label shown preceding any important warnings that may have invalidated the entire report. For example, if the user has Chrome extensions installed, they may add enough performance overhead that Lighthouse's performance metrics are unreliable. If shown, this will be displayed at the top of the report UI." }, - "lighthouse-core/report/html/renderer/util.js | crcLongestDurationLabel": { - "message": "Maximum critical path latency:", - "description": "Label of value shown in the summary of critical request chains. Refers to the total amount of time (milliseconds) of the longest critical path chain/sequence of network requests. Example value: 2310 ms" + "lighthouse-core/report/html/renderer/util.js | varianceDisclaimer": { + "message": "Values are estimated and may vary.", + "description": "Disclaimer shown to users below the metric values (First Contentful Paint, Time to Interactive, etc) to warn them that the numbers they see will likely change slightly the next time they run Lighthouse." + }, + "lighthouse-core/report/html/renderer/util.js | warningHeader": { + "message": "Warnings: ", + "description": "This label is shown above a bulleted list of warnings. It is shown directly below an audit that produced warnings. Warnings describe situations the user should be aware of, as Lighthouse was unable to complete all the work required on this audit. For example, The 'Unable to decode image (biglogo.jpg)' warning may show up below an image encoding audit." } } diff --git a/lighthouse-core/scripts/i18n/collect-strings.js b/lighthouse-core/scripts/i18n/collect-strings.js index 4778feb16287..42801e5ab6d9 100644 --- a/lighthouse-core/scripts/i18n/collect-strings.js +++ b/lighthouse-core/scripts/i18n/collect-strings.js @@ -104,7 +104,8 @@ function collectAllStringsInDir(dir, strings = {}) { function writeStringsToLocaleFormat(locale, strings) { const fullPath = path.join(LH_ROOT, `lighthouse-core/lib/locales/${locale}.json`); const output = {}; - for (const [key, defn] of Object.entries(strings)) { + const sortedEntries = Object.entries(strings).sort(([keyA], [keyB]) => keyA.localeCompare(keyB)); + for (const [key, defn] of sortedEntries) { output[key] = defn; } diff --git a/lighthouse-core/test/results/sample_v2.json b/lighthouse-core/test/results/sample_v2.json index 8ce08f9e1677..f43191715e37 100644 --- a/lighthouse-core/test/results/sample_v2.json +++ b/lighthouse-core/test/results/sample_v2.json @@ -3404,20 +3404,20 @@ }, "i18n": { "rendererFormattedStrings": { - "varianceDisclaimer": "Values are estimated and may vary.", + "auditGroupExpandTooltip": "Show audits", + "crcInitialNavigation": "Initial Navigation", + "crcLongestDurationLabel": "Maximum critical path latency:", + "errorLabel": "Error!", + "errorMissingAuditInfo": "Report error: no audit information", + "manualAuditsGroupTitle": "Additional items to manually check", + "notApplicableAuditsGroupTitle": "Not applicable", "opportunityResourceColumnLabel": "Opportunity", "opportunitySavingsColumnLabel": "Estimated Savings", - "errorMissingAuditInfo": "Report error: no audit information", - "errorLabel": "Error!", - "warningHeader": "Warnings: ", - "auditGroupExpandTooltip": "Show audits", "passedAuditsGroupTitle": "Passed audits", - "notApplicableAuditsGroupTitle": "Not applicable", - "manualAuditsGroupTitle": "Additional items to manually check", - "toplevelWarningsMessage": "There were issues affecting this run of Lighthouse:", "scorescaleLabel": "Score scale:", - "crcInitialNavigation": "Initial Navigation", - "crcLongestDurationLabel": "Maximum critical path latency:" + "toplevelWarningsMessage": "There were issues affecting this run of Lighthouse:", + "varianceDisclaimer": "Values are estimated and may vary.", + "warningHeader": "Warnings: " }, "icuMessagePaths": { "lighthouse-core/audits/metrics/first-contentful-paint.js | title": [