From f82ee7f980962f3eba84a8d63421f525f5733707 Mon Sep 17 00:00:00 2001 From: midzer Date: Thu, 8 Nov 2018 21:15:00 +0100 Subject: [PATCH 1/5] streamline hover texts --- lighthouse-core/audits/metrics/estimated-input-latency.js | 2 +- lighthouse-core/audits/metrics/interactive.js | 2 +- lighthouse-core/lib/locales/ar-XB.json | 4 ++-- lighthouse-core/lib/locales/en-GB.json | 4 ++-- lighthouse-core/lib/locales/en-US.json | 4 ++-- lighthouse-core/test/results/sample_v2.json | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lighthouse-core/audits/metrics/estimated-input-latency.js b/lighthouse-core/audits/metrics/estimated-input-latency.js index 653662c1f9ad..8230c156bd9c 100644 --- a/lighthouse-core/audits/metrics/estimated-input-latency.js +++ b/lighthouse-core/audits/metrics/estimated-input-latency.js @@ -12,7 +12,7 @@ const UIStrings = { /** 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. */ title: 'Estimated Input Latency', /** 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. */ - description: 'The score above is an estimate of how long your app takes to respond to user ' + + description: 'Estimated Input Latency is a rough guess 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).', diff --git a/lighthouse-core/audits/metrics/interactive.js b/lighthouse-core/audits/metrics/interactive.js index 455fb94cf959..f877a05f305a 100644 --- a/lighthouse-core/audits/metrics/interactive.js +++ b/lighthouse-core/audits/metrics/interactive.js @@ -12,7 +12,7 @@ const UIStrings = { /** 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. */ title: 'Time to Interactive', /** 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. */ - description: 'Interactive marks the time at which the page is fully interactive. ' + + description: 'Time to Interactive marks the time at which the page is fully interactive. ' + '[Learn more](https://developers.google.com/web/tools/lighthouse/audits/consistently-interactive).', }; diff --git a/lighthouse-core/lib/locales/ar-XB.json b/lighthouse-core/lib/locales/ar-XB.json index df0c834630d0..a100899e4e72 100644 --- a/lighthouse-core/lib/locales/ar-XB.json +++ b/lighthouse-core/lib/locales/ar-XB.json @@ -162,7 +162,7 @@ "message": "‏‮Minimizes‬‏ ‏‮main‬‏ ‏‮thread‬‏ ‏‮work‬‏" }, "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‬‏ 5‏‮s‬‏ ‏‮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‬‏)." + "message": "‏‮Estimated Input Latency is a rough guess‬‏ ‏‮of‬‏ ‏‮how‬‏ ‏‮long‬‏ ‏‮your‬‏ ‏‮app‬‏ ‏‮takes‬‏ ‏‮to‬‏ ‏‮respond‬‏ ‏‮to‬‏ ‏‮user‬‏ ‏‮input‬‏, ‏‮in‬‏ ‏‮milliseconds‬‏, ‏‮during‬‏ ‏‮the‬‏ ‏‮busiest‬‏ 5‏‮s‬‏ ‏‮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‬‏)." }, "lighthouse-core/audits/metrics/estimated-input-latency.js | title": { "message": "‏‮Estimated‬‏ ‏‮Input‬‏ ‏‮Latency‬‏" @@ -186,7 +186,7 @@ "message": "‏‮First‬‏ ‏‮Meaningful‬‏ ‏‮Paint‬‏" }, "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‬‏)." + "message": "‏‮Interactive‬‏ ‏‮marks‬‏ ‏‮the‬‏ ‏‮time‬‏ ‏‮at‬‏ ‏‮which‬‏ ‏‮the‬‏ ‏‮page‬‏ ‏‮is‬‏ ‏‮fully‬‏ ‏‮interactive‬‏. [‏‮Learn‬‏ ‏‮more‬‏](‏‮https‬‏://‏‮developers‬‏.‏‮google‬‏.‏‮com‬‏/‏‮web‬‏/‏‮tools‬‏/‏‮lighthouse‬‏/‏‮audits‬‏/‏‮consistently‬‏-‏‮interactive‬‏ ot emiT)." }, "lighthouse-core/audits/metrics/interactive.js | title": { "message": "‏‮Time‬‏ ‏‮to‬‏ ‏‮Interactive‬‏" diff --git a/lighthouse-core/lib/locales/en-GB.json b/lighthouse-core/lib/locales/en-GB.json index ddde2a04e0ca..285bee1b417b 100644 --- a/lighthouse-core/lib/locales/en-GB.json +++ b/lighthouse-core/lib/locales/en-GB.json @@ -162,7 +162,7 @@ "message": "Minimises main thread work" }, "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 5-second 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)." + "message": "Estimated Input Latency is a rough guess of how long your app takes to respond to user input, in milliseconds, during the busiest 5-second 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)." }, "lighthouse-core/audits/metrics/estimated-input-latency.js | title": { "message": "Estimated Input Latency" @@ -186,7 +186,7 @@ "message": "First Meaningful Paint" }, "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)." + "message": "Time to Interactive marks the time at which the page is fully interactive. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/consistently-interactive)." }, "lighthouse-core/audits/metrics/interactive.js | title": { "message": "Time to Interactive" diff --git a/lighthouse-core/lib/locales/en-US.json b/lighthouse-core/lib/locales/en-US.json index 0ce2f3a6cfbe..e0d4fd47a52c 100644 --- a/lighthouse-core/lib/locales/en-US.json +++ b/lighthouse-core/lib/locales/en-US.json @@ -216,7 +216,7 @@ "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).", + "message": "Estimated Input Latency is a rough guess 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/estimated-input-latency.js | title": { @@ -248,7 +248,7 @@ "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).", + "message": "Time to 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/interactive.js | title": { diff --git a/lighthouse-core/test/results/sample_v2.json b/lighthouse-core/test/results/sample_v2.json index 085c6bf90a63..10ba9197e5de 100644 --- a/lighthouse-core/test/results/sample_v2.json +++ b/lighthouse-core/test/results/sample_v2.json @@ -192,7 +192,7 @@ "estimated-input-latency": { "id": "estimated-input-latency", "title": "Estimated Input Latency", - "description": "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": "Estimated Input Latency is a rough guess 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).", "score": 1, "scoreDisplayMode": "numeric", "rawValue": 16, @@ -275,7 +275,7 @@ "interactive": { "id": "interactive", "title": "Time to Interactive", - "description": "Interactive marks the time at which the page is fully interactive. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/consistently-interactive).", + "description": "Time to Interactive marks the time at which the page is fully interactive. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/consistently-interactive).", "score": 0.78, "scoreDisplayMode": "numeric", "rawValue": 4927.278, From ae81b69f9e48b3b9f5623f80af4e7ae6d4f72612 Mon Sep 17 00:00:00 2001 From: midzer Date: Tue, 11 Dec 2018 13:23:31 +0100 Subject: [PATCH 2/5] update text based on review --- lighthouse-core/audits/metrics/estimated-input-latency.js | 2 +- lighthouse-core/audits/metrics/interactive.js | 2 +- lighthouse-core/lib/locales/ar-XB.json | 4 ++-- lighthouse-core/lib/locales/en-GB.json | 4 ++-- lighthouse-core/lib/locales/en-US.json | 4 ++-- lighthouse-core/test/results/sample_v2.json | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lighthouse-core/audits/metrics/estimated-input-latency.js b/lighthouse-core/audits/metrics/estimated-input-latency.js index 8230c156bd9c..dbd464e14326 100644 --- a/lighthouse-core/audits/metrics/estimated-input-latency.js +++ b/lighthouse-core/audits/metrics/estimated-input-latency.js @@ -12,7 +12,7 @@ const UIStrings = { /** 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. */ title: 'Estimated Input Latency', /** 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. */ - description: 'Estimated Input Latency is a rough guess of how long your app takes to respond to user ' + + description: 'Estimated Input Latency 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).', diff --git a/lighthouse-core/audits/metrics/interactive.js b/lighthouse-core/audits/metrics/interactive.js index f877a05f305a..92dc990c2584 100644 --- a/lighthouse-core/audits/metrics/interactive.js +++ b/lighthouse-core/audits/metrics/interactive.js @@ -12,7 +12,7 @@ const UIStrings = { /** 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. */ title: 'Time to Interactive', /** 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. */ - description: 'Time to Interactive marks the time at which the page is fully interactive. ' + + description: 'Time to interactive is the amount of time it takes for the page to become fully interactive. ' + '[Learn more](https://developers.google.com/web/tools/lighthouse/audits/consistently-interactive).', }; diff --git a/lighthouse-core/lib/locales/ar-XB.json b/lighthouse-core/lib/locales/ar-XB.json index a100899e4e72..766710f90210 100644 --- a/lighthouse-core/lib/locales/ar-XB.json +++ b/lighthouse-core/lib/locales/ar-XB.json @@ -162,7 +162,7 @@ "message": "‏‮Minimizes‬‏ ‏‮main‬‏ ‏‮thread‬‏ ‏‮work‬‏" }, "lighthouse-core/audits/metrics/estimated-input-latency.js | description": { - "message": "‏‮Estimated Input Latency is a rough guess‬‏ ‏‮of‬‏ ‏‮how‬‏ ‏‮long‬‏ ‏‮your‬‏ ‏‮app‬‏ ‏‮takes‬‏ ‏‮to‬‏ ‏‮respond‬‏ ‏‮to‬‏ ‏‮user‬‏ ‏‮input‬‏, ‏‮in‬‏ ‏‮milliseconds‬‏, ‏‮during‬‏ ‏‮the‬‏ ‏‮busiest‬‏ 5‏‮s‬‏ ‏‮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‬‏)." + "message": "‏‮Estimated Input Latency is an estimate‬‏ ‏‮of‬‏ ‏‮how‬‏ ‏‮long‬‏ ‏‮your‬‏ ‏‮app‬‏ ‏‮takes‬‏ ‏‮to‬‏ ‏‮respond‬‏ ‏‮to‬‏ ‏‮user‬‏ ‏‮input‬‏, ‏‮in‬‏ ‏‮milliseconds‬‏, ‏‮during‬‏ ‏‮the‬‏ ‏‮busiest‬‏ 5‏‮s‬‏ ‏‮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‬‏)." }, "lighthouse-core/audits/metrics/estimated-input-latency.js | title": { "message": "‏‮Estimated‬‏ ‏‮Input‬‏ ‏‮Latency‬‏" @@ -186,7 +186,7 @@ "message": "‏‮First‬‏ ‏‮Meaningful‬‏ ‏‮Paint‬‏" }, "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‬‏ ot emiT)." + "message": "‏‮nteractive‬‏ ‏‮is the amount of time it takes for the page to become‬‏ ‏‮fully‬‏ ‏‮interactive‬‏. [‏‮Learn‬‏ ‏‮more‬‏](‏‮https‬‏://‏‮developers‬‏.‏‮google‬‏.‏‮com‬‏/‏‮web‬‏/‏‮tools‬‏/‏‮lighthouse‬‏/‏‮audits‬‏/‏‮consistently‬‏-‏‮interactive‬‏ ot emiT)." }, "lighthouse-core/audits/metrics/interactive.js | title": { "message": "‏‮Time‬‏ ‏‮to‬‏ ‏‮Interactive‬‏" diff --git a/lighthouse-core/lib/locales/en-GB.json b/lighthouse-core/lib/locales/en-GB.json index 285bee1b417b..ffcf9929729f 100644 --- a/lighthouse-core/lib/locales/en-GB.json +++ b/lighthouse-core/lib/locales/en-GB.json @@ -162,7 +162,7 @@ "message": "Minimises main thread work" }, "lighthouse-core/audits/metrics/estimated-input-latency.js | description": { - "message": "Estimated Input Latency is a rough guess of how long your app takes to respond to user input, in milliseconds, during the busiest 5-second 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)." + "message": "Estimated Input Latency is an estimate of how long your app takes to respond to user input, in milliseconds, during the busiest 5-second 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)." }, "lighthouse-core/audits/metrics/estimated-input-latency.js | title": { "message": "Estimated Input Latency" @@ -186,7 +186,7 @@ "message": "First Meaningful Paint" }, "lighthouse-core/audits/metrics/interactive.js | description": { - "message": "Time to Interactive marks the time at which the page is fully interactive. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/consistently-interactive)." + "message": "Time to interactive is the amount of time it takes for the page to become fully interactive. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/consistently-interactive)." }, "lighthouse-core/audits/metrics/interactive.js | title": { "message": "Time to Interactive" diff --git a/lighthouse-core/lib/locales/en-US.json b/lighthouse-core/lib/locales/en-US.json index e0d4fd47a52c..c79aac5f10a6 100644 --- a/lighthouse-core/lib/locales/en-US.json +++ b/lighthouse-core/lib/locales/en-US.json @@ -216,7 +216,7 @@ "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": "Estimated Input Latency is a rough guess 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).", + "message": "Estimated Input Latency 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/estimated-input-latency.js | title": { @@ -248,7 +248,7 @@ "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": "Time to Interactive marks the time at which the page is fully interactive. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/consistently-interactive).", + "message": "Time to interactive is the amount of time it takes for the page to become 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/interactive.js | title": { diff --git a/lighthouse-core/test/results/sample_v2.json b/lighthouse-core/test/results/sample_v2.json index 10ba9197e5de..03fffce68192 100644 --- a/lighthouse-core/test/results/sample_v2.json +++ b/lighthouse-core/test/results/sample_v2.json @@ -192,7 +192,7 @@ "estimated-input-latency": { "id": "estimated-input-latency", "title": "Estimated Input Latency", - "description": "Estimated Input Latency is a rough guess 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": "Estimated Input Latency 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).", "score": 1, "scoreDisplayMode": "numeric", "rawValue": 16, @@ -275,7 +275,7 @@ "interactive": { "id": "interactive", "title": "Time to Interactive", - "description": "Time to Interactive marks the time at which the page is fully interactive. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/consistently-interactive).", + "description": "Time to interactive is the amount of time it takes for the page to become fully interactive. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/consistently-interactive).", "score": 0.78, "scoreDisplayMode": "numeric", "rawValue": 4927.278, From b6f07922c94515023026df463a17bae01e26e9f0 Mon Sep 17 00:00:00 2001 From: Patrick Hulce Date: Mon, 7 Jan 2019 21:22:47 -0600 Subject: [PATCH 3/5] revert non en-US --- lighthouse-core/lib/locales/ar-XB.json | 4 ++-- lighthouse-core/lib/locales/en-GB.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lighthouse-core/lib/locales/ar-XB.json b/lighthouse-core/lib/locales/ar-XB.json index 766710f90210..df0c834630d0 100644 --- a/lighthouse-core/lib/locales/ar-XB.json +++ b/lighthouse-core/lib/locales/ar-XB.json @@ -162,7 +162,7 @@ "message": "‏‮Minimizes‬‏ ‏‮main‬‏ ‏‮thread‬‏ ‏‮work‬‏" }, "lighthouse-core/audits/metrics/estimated-input-latency.js | description": { - "message": "‏‮Estimated Input Latency is an estimate‬‏ ‏‮of‬‏ ‏‮how‬‏ ‏‮long‬‏ ‏‮your‬‏ ‏‮app‬‏ ‏‮takes‬‏ ‏‮to‬‏ ‏‮respond‬‏ ‏‮to‬‏ ‏‮user‬‏ ‏‮input‬‏, ‏‮in‬‏ ‏‮milliseconds‬‏, ‏‮during‬‏ ‏‮the‬‏ ‏‮busiest‬‏ 5‏‮s‬‏ ‏‮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‬‏)." + "message": "‏‮The‬‏ ‏‮score‬‏ ‏‮above‬‏ ‏‮is‬‏ ‏‮an‬‏ ‏‮estimate‬‏ ‏‮of‬‏ ‏‮how‬‏ ‏‮long‬‏ ‏‮your‬‏ ‏‮app‬‏ ‏‮takes‬‏ ‏‮to‬‏ ‏‮respond‬‏ ‏‮to‬‏ ‏‮user‬‏ ‏‮input‬‏, ‏‮in‬‏ ‏‮milliseconds‬‏, ‏‮during‬‏ ‏‮the‬‏ ‏‮busiest‬‏ 5‏‮s‬‏ ‏‮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‬‏)." }, "lighthouse-core/audits/metrics/estimated-input-latency.js | title": { "message": "‏‮Estimated‬‏ ‏‮Input‬‏ ‏‮Latency‬‏" @@ -186,7 +186,7 @@ "message": "‏‮First‬‏ ‏‮Meaningful‬‏ ‏‮Paint‬‏" }, "lighthouse-core/audits/metrics/interactive.js | description": { - "message": "‏‮nteractive‬‏ ‏‮is the amount of time it takes for the page to become‬‏ ‏‮fully‬‏ ‏‮interactive‬‏. [‏‮Learn‬‏ ‏‮more‬‏](‏‮https‬‏://‏‮developers‬‏.‏‮google‬‏.‏‮com‬‏/‏‮web‬‏/‏‮tools‬‏/‏‮lighthouse‬‏/‏‮audits‬‏/‏‮consistently‬‏-‏‮interactive‬‏ ot emiT)." + "message": "‏‮Interactive‬‏ ‏‮marks‬‏ ‏‮the‬‏ ‏‮time‬‏ ‏‮at‬‏ ‏‮which‬‏ ‏‮the‬‏ ‏‮page‬‏ ‏‮is‬‏ ‏‮fully‬‏ ‏‮interactive‬‏. [‏‮Learn‬‏ ‏‮more‬‏](‏‮https‬‏://‏‮developers‬‏.‏‮google‬‏.‏‮com‬‏/‏‮web‬‏/‏‮tools‬‏/‏‮lighthouse‬‏/‏‮audits‬‏/‏‮consistently‬‏-‏‮interactive‬‏)." }, "lighthouse-core/audits/metrics/interactive.js | title": { "message": "‏‮Time‬‏ ‏‮to‬‏ ‏‮Interactive‬‏" diff --git a/lighthouse-core/lib/locales/en-GB.json b/lighthouse-core/lib/locales/en-GB.json index ffcf9929729f..ddde2a04e0ca 100644 --- a/lighthouse-core/lib/locales/en-GB.json +++ b/lighthouse-core/lib/locales/en-GB.json @@ -162,7 +162,7 @@ "message": "Minimises main thread work" }, "lighthouse-core/audits/metrics/estimated-input-latency.js | description": { - "message": "Estimated Input Latency is an estimate of how long your app takes to respond to user input, in milliseconds, during the busiest 5-second 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)." + "message": "The score above is an estimate of how long your app takes to respond to user input, in milliseconds, during the busiest 5-second 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)." }, "lighthouse-core/audits/metrics/estimated-input-latency.js | title": { "message": "Estimated Input Latency" @@ -186,7 +186,7 @@ "message": "First Meaningful Paint" }, "lighthouse-core/audits/metrics/interactive.js | description": { - "message": "Time to interactive is the amount of time it takes for the page to become fully interactive. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/consistently-interactive)." + "message": "Interactive marks the time at which the page is fully interactive. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/consistently-interactive)." }, "lighthouse-core/audits/metrics/interactive.js | title": { "message": "Time to Interactive" From 1ec2e651a8307403135e56dd2960cb1172c03dbc Mon Sep 17 00:00:00 2001 From: Patrick Hulce Date: Mon, 7 Jan 2019 21:24:31 -0600 Subject: [PATCH 4/5] merge cleanup --- lighthouse-core/lib/locales/en-US.json | 478 ------------------------- 1 file changed, 478 deletions(-) delete mode 100644 lighthouse-core/lib/locales/en-US.json diff --git a/lighthouse-core/lib/locales/en-US.json b/lighthouse-core/lib/locales/en-US.json deleted file mode 100644 index c79aac5f10a6..000000000000 --- a/lighthouse-core/lib/locales/en-US.json +++ /dev/null @@ -1,478 +0,0 @@ -{ - "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 Chrome profile without extensions.", - "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", - "description": "Label for a time column in a data table; entries will be the number of milliseconds spent evaluating script for every script loaded by the page." - }, - "lighthouse-core/audits/bootup-time.js | columnScriptParse": { - "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 | 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 | 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/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/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/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).", - "description": "Description of a Lighthouse audit that tells the user *why* they should reduce the size of the network resources required by 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 | displayValue": { - "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/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-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/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-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/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).", - "description": "Description of a Lighthouse audit that tells the user *why* they need to adopt a long cache lifetime policy. 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 | displayValue": { - "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-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-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-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-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/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 loaded 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).", - "description": "Description of a Lighthouse audit that tells the user *why* they should reduce the depth of critical network requests to enhance initial load of a 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/critical-request-chains.js | displayValue": { - "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/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 | 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 | 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/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/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/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/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 | 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/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": "Estimated Input Latency 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/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/tools/lighthouse/audits/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-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-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/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": "Time to interactive is the amount of time it takes for the page to become 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/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/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/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).", - "description": "Description of a Lighthouse audit that tells the user *why* they should reduce the amount of time it takes their server to start responding to requests. 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 | displayValue": { - "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/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 | columnDuration": { - "message": "Duration", - "description": "Label for the Duration column in the User Timing event data table. User Timing API entries are added by the developer of the web page. Durations are only provided for 'Measure' entries. Durations are the number of total number milliseconds from Start Time to their ending point. e.g. '2,020.64 ms'" - }, - "lighthouse-core/audits/user-timings.js | columnName": { - "message": "Name", - "description": "Label for the Name column in the User Timing event data table. User Timing API entries are added by the developer of the web page. An example user timing event name: 'pageload_logoimage_done'" - }, - "lighthouse-core/audits/user-timings.js | columnStartTime": { - "message": "Start Time", - "description": "Label for the Start Time column in the User Timing event data table. User Timing API entries are added by the developer of the web page. Start Times are the number of milliseconds since the page started loading, e.g. '380.26 ms'" - }, - "lighthouse-core/audits/user-timings.js | columnType": { - "message": "Type", - "description": "Label for the Type column in the User Timing event data table. User Timing API entries are added by the developer of the web page. The only possible types are 'Mark' and Measure'." - }, - "lighthouse-core/audits/user-timings.js | description": { - "message": "Consider instrumenting your app with the User Timing API to measure your app's real-world performance during key user experiences. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/user-timing).", - "description": "Description of a Lighthouse audit that tells the user they may want to use the User Timing API to help measure the performance of aspects of their page load and interaction. 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/user-timings.js | displayValue": { - "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/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-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. '' is the html code the user would include in their page and shouldn't be translated. '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/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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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" - }, - "lighthouse-core/lib/i18n.js | columnWastedMs": { - "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 | 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 | 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 | 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 | seconds": { - "message": "{timeInMs, number, seconds} s", - "description": "Used to show the duration in seconds that something lasted. The {timeInMs} placeholder will be replaced with the time duration, shown in seconds (e.g. 5.2 s)" - }, - "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 | 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 | 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 | labDataTitle": { - "message": "Lab Data", - "description": "Title of the lab data section of the Performance category. Within this section are various speed metrics which quantify the pageload performance into values presented in seconds and milliseconds. \"Lab\" is an abbreviated form of \"laboratory\", and refers to the fact that the data is from a controlled test of a website, not measurements from real users visiting that site." - }, - "lighthouse-core/report/html/renderer/util.js | lsPerformanceCategoryDescription": { - "message": "[Lighthouse](https://developers.google.com/web/tools/lighthouse/) analysis of the current page on emulated 3G. Values are estimated and may vary.", - "description": "Explanation shown to users below performance results to inform them that the test was done with a 3G network connection and to warn them that the numbers they see will likely change slightly the next time they run Lighthouse. 'Lighthouse' becomes link text to additional documentation." - }, - "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 | 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 | 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 | 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 | 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." - } -} From 5a3a61e88123fdfe6483e41372088258a9537573 Mon Sep 17 00:00:00 2001 From: Patrick Hulce Date: Mon, 7 Jan 2019 21:48:53 -0600 Subject: [PATCH 5/5] lint --- lighthouse-core/audits/metrics/estimated-input-latency.js | 4 ++-- lighthouse-core/audits/metrics/interactive.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lighthouse-core/audits/metrics/estimated-input-latency.js b/lighthouse-core/audits/metrics/estimated-input-latency.js index 54a69e8f8790..5c9128814a75 100644 --- a/lighthouse-core/audits/metrics/estimated-input-latency.js +++ b/lighthouse-core/audits/metrics/estimated-input-latency.js @@ -13,8 +13,8 @@ const UIStrings = { /** 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. */ title: 'Estimated Input Latency', /** 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. */ - description: 'Estimated Input Latency 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 ' + + description: 'Estimated Input Latency 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).', }; diff --git a/lighthouse-core/audits/metrics/interactive.js b/lighthouse-core/audits/metrics/interactive.js index 6e01428cbc14..df3891628941 100644 --- a/lighthouse-core/audits/metrics/interactive.js +++ b/lighthouse-core/audits/metrics/interactive.js @@ -13,8 +13,8 @@ const UIStrings = { /** 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. */ title: 'Time to Interactive', /** 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. */ - description: 'Time to interactive is the amount of time it takes for the page to become fully interactive. ' + - '[Learn more](https://developers.google.com/web/tools/lighthouse/audits/consistently-interactive).', + description: 'Time to interactive is the amount of time it takes for the page to become fully ' + + 'interactive. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/consistently-interactive).', }; const str_ = i18n.createMessageInstanceIdFn(__filename, UIStrings);