core(config): use abbreviation for pwa category title (#13270)
This commit is contained in:
Родитель
7d4eeabb8a
Коммит
bf2c15d3bf
|
@ -20,7 +20,7 @@ const DEFAULT_CATEGORIES = [{
|
|||
title: 'SEO',
|
||||
}, {
|
||||
id: 'pwa',
|
||||
title: 'Progressive Web App',
|
||||
title: 'PWA',
|
||||
}];
|
||||
|
||||
/** @typedef {{selectedCategories: string[], device: string}} Settings */
|
||||
|
|
|
@ -1210,7 +1210,7 @@ Object {
|
|||
"supportedModes": Array [
|
||||
"navigation",
|
||||
],
|
||||
"title": "Progressive Web App",
|
||||
"title": "PWA",
|
||||
},
|
||||
"seo": Object {
|
||||
"auditRefs": Array [
|
||||
|
|
|
@ -96,7 +96,7 @@ const UIStrings = {
|
|||
/** Description of the navigation section within the Search Engine Optimization (SEO) category. Within this section are audits with descriptive titles that highlight ways to make a website accessible to search engine crawlers. */
|
||||
seoCrawlingGroupDescription: 'To appear in search results, crawlers need access to your app.',
|
||||
/** Title of the Progressive Web Application (PWA) category of audits. This is displayed at the top of a list of audits focused on topics related to whether or not a site is a progressive web app, e.g. responds offline, uses a service worker, is on https, etc. Also used as a label of a score gauge. */
|
||||
pwaCategoryTitle: 'Progressive Web App',
|
||||
pwaCategoryTitle: 'PWA',
|
||||
/** Description of the Progressive Web Application (PWA) category. This is displayed at the top of a list of audits focused on topics related to whether or not a site is a progressive web app, e.g. responds offline, uses a service worker, is on https, etc. No character length limits. 'Learn More' becomes link text to additional documentation. */
|
||||
pwaCategoryDescription: 'These checks validate the aspects of a Progressive Web App. ' +
|
||||
'[Learn more](https://developers.google.com/web/progressive-web-apps/checklist).',
|
||||
|
|
|
@ -6767,7 +6767,7 @@
|
|||
"score": 0.67
|
||||
},
|
||||
"pwa": {
|
||||
"title": "Progressive Web App",
|
||||
"title": "PWA",
|
||||
"description": "These checks validate the aspects of a Progressive Web App. [Learn more](https://developers.google.com/web/progressive-web-apps/checklist).",
|
||||
"manualDescription": "These checks are required by the baseline [PWA Checklist](https://developers.google.com/web/progressive-web-apps/checklist) but are not automatically checked by Lighthouse. They do not affect your score but it's important that you verify them manually.",
|
||||
"supportedModes": [
|
||||
|
|
|
@ -90,7 +90,7 @@ describe('ReportRenderer', () => {
|
|||
const output = renderer.renderReport(sampleResultsCopy, container);
|
||||
|
||||
function isPWAGauge(el) {
|
||||
return el.querySelector('.lh-gauge__label').textContent === 'Progressive Web App';
|
||||
return el.querySelector('.lh-gauge__label').textContent === 'PWA';
|
||||
}
|
||||
function isPluginGauge(el) {
|
||||
return el.querySelector('.lh-gauge__label').textContent === 'Some Plugin';
|
||||
|
|
|
@ -1776,7 +1776,7 @@
|
|||
"message": "These checks are required by the baseline [PWA Checklist](https://developers.google.com/web/progressive-web-apps/checklist) but are not automatically checked by Lighthouse. They do not affect your score but it's important that you verify them manually."
|
||||
},
|
||||
"lighthouse-core/config/default-config.js | pwaCategoryTitle": {
|
||||
"message": "Progressive Web App"
|
||||
"message": "PWA"
|
||||
},
|
||||
"lighthouse-core/config/default-config.js | pwaInstallableGroupTitle": {
|
||||
"message": "Installable"
|
||||
|
|
|
@ -1776,7 +1776,7 @@
|
|||
"message": "T̂h́êśê ćĥéĉḱŝ ár̂é r̂éq̂úîŕêd́ b̂ý t̂h́ê b́âśêĺîńê [ṔŴÁ Ĉh́êćk̂ĺîśt̂](https://developers.google.com/web/progressive-web-apps/checklist) b́ût́ âŕê ńôt́ âút̂óm̂át̂íĉál̂ĺŷ ćĥéĉḱêd́ b̂ý L̂íĝh́t̂h́ôúŝé. T̂h́êý d̂ó n̂ót̂ áf̂f́êćt̂ ýôúr̂ śĉór̂é b̂út̂ ít̂'ś îḿp̂ór̂t́âńt̂ t́ĥát̂ ýôú v̂ér̂íf̂ý t̂h́êḿ m̂án̂úâĺl̂ý."
|
||||
},
|
||||
"lighthouse-core/config/default-config.js | pwaCategoryTitle": {
|
||||
"message": "P̂ŕôǵr̂éŝśîv́ê Ẃêb́ Âṕp̂"
|
||||
"message": "P̂ẂÂ"
|
||||
},
|
||||
"lighthouse-core/config/default-config.js | pwaInstallableGroupTitle": {
|
||||
"message": "Îńŝt́âĺl̂áb̂ĺê"
|
||||
|
|
Загрузка…
Ссылка в новой задаче