Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n(import): new audits, dropdowns, and columns #10645

Merged
merged 7 commits into from
May 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
157 changes: 152 additions & 5 deletions lighthouse-core/lib/i18n/locales/ar-XB.json

Large diffs are not rendered by default.

213 changes: 180 additions & 33 deletions lighthouse-core/lib/i18n/locales/ar.json

Large diffs are not rendered by default.

157 changes: 152 additions & 5 deletions lighthouse-core/lib/i18n/locales/bg.json

Large diffs are not rendered by default.

157 changes: 152 additions & 5 deletions lighthouse-core/lib/i18n/locales/ca.json

Large diffs are not rendered by default.

157 changes: 152 additions & 5 deletions lighthouse-core/lib/i18n/locales/cs.json

Large diffs are not rendered by default.

157 changes: 152 additions & 5 deletions lighthouse-core/lib/i18n/locales/da.json

Large diffs are not rendered by default.

159 changes: 153 additions & 6 deletions lighthouse-core/lib/i18n/locales/de.json

Large diffs are not rendered by default.

163 changes: 155 additions & 8 deletions lighthouse-core/lib/i18n/locales/el.json

Large diffs are not rendered by default.

157 changes: 152 additions & 5 deletions lighthouse-core/lib/i18n/locales/en-GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@
"message": "When definition lists are not properly marked up, screen readers may produce confusing or inaccurate output. [Learn more](https://web.dev/definition-list/)."
},
"lighthouse-core/audits/accessibility/definition-list.js | failureTitle": {
"message": "`<dl>`'s do not contain only properly-ordered `<dt>` and `<dd>` groups, `<script>` or `<template>` elements."
"message": "`<dl>`'s do not contain only properly-ordered `<dt>` and `<dd>` groups, `<script>`, `<template>` or `<div>` elements."
},
"lighthouse-core/audits/accessibility/definition-list.js | title": {
"message": "`<dl>`'s contain only properly-ordered `<dt>` and `<dd>` groups, `<script>` or `<template>` elements."
"message": "`<dl>`'s contain only properly-ordered `<dt>` and `<dd>` groups, `<script>`, `<template>` or `<div>` elements."
},
"lighthouse-core/audits/accessibility/dlitem.js | description": {
"message": "Definition list items (`<dt>` and `<dd>`) must be wrapped in a parent `<dl>` element to ensure that screen readers can properly announce them. [Learn more](https://web.dev/dlitem/)."
Expand Down Expand Up @@ -404,6 +404,12 @@
"lighthouse-core/audits/bootup-time.js | title": {
"message": "JavaScript execution time"
},
"lighthouse-core/audits/byte-efficiency/duplicated-javascript.js | description": {
"message": "Remove large, duplicate JavaScript modules from bundles to reduce unnecessary bytes consumed by network activity. "
},
"lighthouse-core/audits/byte-efficiency/duplicated-javascript.js | title": {
"message": "Remove duplicate modules in JavaScript bundles"
},
"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://web.dev/efficient-animated-content)"
},
Expand Down Expand Up @@ -453,7 +459,7 @@
"message": "Remove unused CSS"
},
"lighthouse-core/audits/byte-efficiency/unused-javascript.js | description": {
"message": "Remove unused JavaScript to reduce bytes consumed by network activity. [Learn more](https://developers.google.com/web/fundamentals/performance/optimizing-javascript/code-splitting)."
"message": "Remove unused JavaScript to reduce bytes consumed by network activity. [Learn more](https://web.dev/remove-unused-code/)."
},
"lighthouse-core/audits/byte-efficiency/unused-javascript.js | title": {
"message": "Remove unused JavaScript"
Expand Down Expand Up @@ -545,6 +551,15 @@
"lighthouse-core/audits/dobetterweb/appcache-manifest.js | title": {
"message": "Avoids application cache"
},
"lighthouse-core/audits/dobetterweb/charset.js | description": {
"message": "A character encoding declaration is required. It can be done with a <meta> tag in the first 1024 bytes of the HTML or in the Content-Type HTTP response header. [Learn more](https://www.w3.org/International/questions/qa-html-encoding-declarations)."
},
"lighthouse-core/audits/dobetterweb/charset.js | failureTitle": {
"message": "Charset declaration is missing or occurs too late in the HTML"
},
"lighthouse-core/audits/dobetterweb/charset.js | title": {
"message": "Properly defines charset"
},
"lighthouse-core/audits/dobetterweb/doctype.js | description": {
"message": "Specifying a DOCTYPE prevents the browser from switching to quirks mode. [Learn more](https://web.dev/doctype)."
},
Expand Down Expand Up @@ -593,6 +608,9 @@
"lighthouse-core/audits/dobetterweb/dom-size.js | title": {
"message": "Avoids an excessive DOM size"
},
"lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | columnFailingAnchors": {
"message": "Failing anchors"
},
"lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | description": {
"message": "Add `rel=\"noopener\"` or `rel=\"noreferrer\"` to any external links to improve performance and prevent security vulnerabilities. [Learn more](https://web.dev/external-anchors-use-rel-noopener)."
},
Expand Down Expand Up @@ -627,7 +645,7 @@
"message": "For users on slow connections, external scripts dynamically injected via `document.write()` can delay page load by tens of seconds. [Learn more](https://web.dev/no-document-write)."
},
"lighthouse-core/audits/dobetterweb/no-document-write.js | failureTitle": {
"message": "Uses `document.write()`"
"message": "Avoid `document.write()`"
},
"lighthouse-core/audits/dobetterweb/no-document-write.js | title": {
"message": "Avoids `document.write()`"
Expand Down Expand Up @@ -749,6 +767,24 @@
"lighthouse-core/audits/image-aspect-ratio.js | warningCompute": {
"message": "Invalid image sizing information {url}"
},
"lighthouse-core/audits/image-size-responsive.js | columnActual": {
"message": "Actual size"
},
"lighthouse-core/audits/image-size-responsive.js | columnDisplayed": {
"message": "Displayed size"
},
"lighthouse-core/audits/image-size-responsive.js | columnExpected": {
"message": "Expected size"
},
"lighthouse-core/audits/image-size-responsive.js | description": {
"message": "Image natural dimensions should be proportional to the display size and the pixel ratio to maximise image clarity. [Learn more](https://web.dev/image-size-responsive)."
},
"lighthouse-core/audits/image-size-responsive.js | failureTitle": {
"message": "Displays images with inappropriate size"
},
"lighthouse-core/audits/image-size-responsive.js | title": {
"message": "Displays images with appropriate size"
},
"lighthouse-core/audits/installable-manifest.js | description": {
"message": "Browsers can proactively prompt users to add your app to their home screen, which can lead to higher engagement. [Learn more](https://web.dev/installable-manifest)."
},
Expand All @@ -773,6 +809,12 @@
"lighthouse-core/audits/is-on-https.js | title": {
"message": "Uses HTTPS"
},
"lighthouse-core/audits/legacy-javascript.js | description": {
"message": "Polyfills and transforms enable legacy browsers to use new JavaScript features. However, many aren't necessary for modern browsers. For your bundled JavaScript, adopt a modern script deployment strategy using module/nomodule feature detection to reduce the amount of code delivered to modern browsers, while retaining support for legacy browsers. [Learn more](https://philipwalton.com/articles/deploying-es2015-code-in-production-today/)"
},
"lighthouse-core/audits/legacy-javascript.js | title": {
"message": "Legacy JavaScript"
},
"lighthouse-core/audits/load-fast-enough-for-pwa.js | description": {
"message": "A fast page load over a mobile network ensures a good mobile user experience. [Learn more](https://web.dev/load-fast-enough-for-pwa)."
},
Expand Down Expand Up @@ -821,6 +863,18 @@
"lighthouse-core/audits/manual/pwa-page-transitions.js | title": {
"message": "Page transitions don't feel like they block on the network"
},
"lighthouse-core/audits/maskable-icon.js | description": {
"message": "A maskable icon ensures that the image fills the entire shape without being letterboxed when installing the app on a device. [Learn more](https://web.dev/maskable-icon/)."
},
"lighthouse-core/audits/maskable-icon.js | failureTitle": {
"message": "Manifest doesn't have a maskable icon"
},
"lighthouse-core/audits/maskable-icon.js | title": {
"message": "Manifest has a maskable icon"
},
"lighthouse-core/audits/metrics/cumulative-layout-shift.js | description": {
"message": "Cumulative layout shift measures the movement of visible elements within the viewport. [Learn more](https://web.dev/cls)."
},
"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://web.dev/estimated-input-latency)."
},
Expand All @@ -837,7 +891,7 @@
"message": "Time to interactive is the amount of time it takes for the page to become fully interactive. [Learn more](https://web.dev/interactive)."
},
"lighthouse-core/audits/metrics/largest-contentful-paint.js | description": {
"message": "Largest Contentful Paint marks the time at which the largest text or image is painted. [Learn more](https://web.dev/largest-contentful-paint)"
"message": "Largest Contentful Paint marks the time at which the largest text or image is painted. [Learn more](https://web.dev/lighthouse-largest-contentful-paint)"
},
"lighthouse-core/audits/metrics/max-potential-fid.js | description": {
"message": "The maximum potential first input delay that your users could experience is the duration of the longest task. [Learn more](https://web.dev/lighthouse-max-potential-fid)."
Expand Down Expand Up @@ -1163,6 +1217,9 @@
"lighthouse-core/audits/uses-rel-preconnect.js | title": {
"message": "Pre-connect to required origins"
},
"lighthouse-core/audits/uses-rel-preconnect.js | tooManyPreconnectLinksWarning": {
"message": "More than two preconnect links were found. Preconnect links should be used sparingly and only to the most important origins."
},
"lighthouse-core/audits/uses-rel-preload.js | crossoriginWarning": {
"message": "A preload <link> was found for '{preloadURL}' but was not used by the browser. Check that you are using the `crossorigin` attribute properly."
},
Expand Down Expand Up @@ -1349,6 +1406,12 @@
"lighthouse-core/config/default-config.js | seoMobileGroupTitle": {
"message": "Mobile friendly"
},
"lighthouse-core/gather/gather-runner.js | warningRedirected": {
"message": "The page may not be loading as expected because your test URL ({requested}) was redirected to {final}. Try testing the second URL directly."
},
"lighthouse-core/gather/gather-runner.js | warningTimeout": {
"message": "The page loaded too slowly to finish within the time limit. Results may be incomplete."
},
"lighthouse-core/lib/i18n/i18n.js | columnCacheTTL": {
"message": "Cache TTL"
},
Expand All @@ -1364,12 +1427,18 @@
"lighthouse-core/lib/i18n/i18n.js | columnRequests": {
"message": "Requests"
},
"lighthouse-core/lib/i18n/i18n.js | columnResourceSize": {
"message": "Resource size"
},
"lighthouse-core/lib/i18n/i18n.js | columnResourceType": {
"message": "Resource type"
},
"lighthouse-core/lib/i18n/i18n.js | columnSize": {
"message": "Size"
},
"lighthouse-core/lib/i18n/i18n.js | columnSource": {
"message": "Source"
},
"lighthouse-core/lib/i18n/i18n.js | columnTimeSpent": {
"message": "Time Spent"
},
Expand All @@ -1385,6 +1454,9 @@
"lighthouse-core/lib/i18n/i18n.js | columnWastedMs": {
"message": "Potential Savings"
},
"lighthouse-core/lib/i18n/i18n.js | cumulativeLayoutShiftMetric": {
"message": "Cumulative Layout Shift"
},
"lighthouse-core/lib/i18n/i18n.js | displayValueByteSavings": {
"message": "Potential savings of {wastedBytes, number, bytes} KB"
},
Expand Down Expand Up @@ -1415,6 +1487,9 @@
"lighthouse-core/lib/i18n/i18n.js | interactiveMetric": {
"message": "Time to Interactive"
},
"lighthouse-core/lib/i18n/i18n.js | largestContentfulPaintMetric": {
"message": "Largest Contentful Paint"
},
"lighthouse-core/lib/i18n/i18n.js | maxPotentialFIDMetric": {
"message": "Max potential first input delay"
},
Expand Down Expand Up @@ -1508,12 +1583,39 @@
"lighthouse-core/report/html/renderer/util.js | crcLongestDurationLabel": {
"message": "Maximum critical path latency:"
},
"lighthouse-core/report/html/renderer/util.js | dropdownCopyJSON": {
"message": "Copy JSON"
},
"lighthouse-core/report/html/renderer/util.js | dropdownDarkTheme": {
"message": "Toggle Dark theme"
},
"lighthouse-core/report/html/renderer/util.js | dropdownPrintExpanded": {
"message": "Print expanded"
},
"lighthouse-core/report/html/renderer/util.js | dropdownPrintSummary": {
"message": "Print summary"
},
"lighthouse-core/report/html/renderer/util.js | dropdownSaveGist": {
"message": "Save as gist"
},
"lighthouse-core/report/html/renderer/util.js | dropdownSaveHTML": {
"message": "Save as HTML"
},
"lighthouse-core/report/html/renderer/util.js | dropdownSaveJSON": {
"message": "Save as JSON"
},
"lighthouse-core/report/html/renderer/util.js | dropdownViewer": {
"message": "Open in Viewer"
},
"lighthouse-core/report/html/renderer/util.js | errorLabel": {
"message": "Error!"
},
"lighthouse-core/report/html/renderer/util.js | errorMissingAuditInfo": {
"message": "Report error: no audit information"
},
"lighthouse-core/report/html/renderer/util.js | footerIssue": {
"message": "File an issue"
},
"lighthouse-core/report/html/renderer/util.js | labDataTitle": {
"message": "Lab Data"
},
Expand All @@ -1535,6 +1637,48 @@
"lighthouse-core/report/html/renderer/util.js | passedAuditsGroupTitle": {
"message": "Passed audits"
},
"lighthouse-core/report/html/renderer/util.js | runtimeDesktopEmulation": {
"message": "Emulated desktop"
},
"lighthouse-core/report/html/renderer/util.js | runtimeMobileEmulation": {
"message": "Emulated Moto G4"
},
"lighthouse-core/report/html/renderer/util.js | runtimeNoEmulation": {
"message": "No emulation"
},
"lighthouse-core/report/html/renderer/util.js | runtimeSettingsBenchmark": {
"message": "CPU/Memory power"
},
"lighthouse-core/report/html/renderer/util.js | runtimeSettingsCPUThrottling": {
"message": "CPU throttling"
},
"lighthouse-core/report/html/renderer/util.js | runtimeSettingsChannel": {
"message": "Channel"
},
"lighthouse-core/report/html/renderer/util.js | runtimeSettingsDevice": {
"message": "Device"
},
"lighthouse-core/report/html/renderer/util.js | runtimeSettingsFetchTime": {
"message": "Fetch time"
},
"lighthouse-core/report/html/renderer/util.js | runtimeSettingsNetworkThrottling": {
"message": "Network throttling"
},
"lighthouse-core/report/html/renderer/util.js | runtimeSettingsTitle": {
"message": "Runtime settings"
},
"lighthouse-core/report/html/renderer/util.js | runtimeSettingsUA": {
"message": "User agent (host)"
},
"lighthouse-core/report/html/renderer/util.js | runtimeSettingsUANetwork": {
"message": "User agent (network)"
},
"lighthouse-core/report/html/renderer/util.js | runtimeSettingsUrl": {
"message": "URL"
},
"lighthouse-core/report/html/renderer/util.js | runtimeUnknown": {
"message": "Unknown"
},
"lighthouse-core/report/html/renderer/util.js | snippetCollapseButtonLabel": {
"message": "Collapse snippet"
},
Expand All @@ -1544,6 +1688,9 @@
"lighthouse-core/report/html/renderer/util.js | thirdPartyResourcesLabel": {
"message": "Show 3rd-party resources"
},
"lighthouse-core/report/html/renderer/util.js | throttlingProvided": {
"message": "Provided by environment"
},
"lighthouse-core/report/html/renderer/util.js | toplevelWarningsMessage": {
"message": "There were issues affecting this run of Lighthouse:"
},
Expand Down
Loading