diff --git a/core/audits/installable-manifest.js b/core/audits/installable-manifest.js index d6914ff74892..415e98ed43d1 100644 --- a/core/audits/installable-manifest.js +++ b/core/audits/installable-manifest.js @@ -39,9 +39,9 @@ const UIStrings = { /** Error message explaining that the provided manifest URL is invalid. */ 'start-url-not-valid': `Manifest start URL is not valid`, /** Error message explaining that the provided manifest does not contain a name or short_name field. */ - 'manifest-missing-name-or-short-name': `Manifest does not contain a 'name' or 'short_name' field`, + 'manifest-missing-name-or-short-name': 'Manifest does not contain a `name` or `short_name` field', /** Error message explaining that the manifest display property must be one of 'standalone', 'fullscreen', or 'minimal-ui'. */ - 'manifest-display-not-supported': `Manifest 'display' property must be one of 'standalone', 'fullscreen', or 'minimal-ui'`, + 'manifest-display-not-supported': 'Manifest `display` property must be one of `standalone`, `fullscreen`, or `minimal-ui`', /** Error message explaining that the manifest could not be fetched, might be empty, or could not be parsed. */ 'manifest-empty': `Manifest could not be fetched, is empty, or could not be parsed`, /** diff --git a/core/test/audits/installable-manifest-test.js b/core/test/audits/installable-manifest-test.js index 2bd2def26861..ed3b2749e078 100644 --- a/core/test/audits/installable-manifest-test.js +++ b/core/test/audits/installable-manifest-test.js @@ -115,7 +115,7 @@ describe('PWA: webapp install banner audit', () => { return InstallableManifestAudit.audit(artifacts, context).then(result => { assert.strictEqual(result.score, 0); const items = result.details.items; - expect(items[0].reason).toBeDisplayString(/does not contain a 'name'/); + expect(items[0].reason).toBeDisplayString(/does not contain a `name`/); }); }); diff --git a/shared/localization/locales/en-US.json b/shared/localization/locales/en-US.json index a7b4eef57f4d..2cf8aee84f97 100644 --- a/shared/localization/locales/en-US.json +++ b/shared/localization/locales/en-US.json @@ -1026,7 +1026,7 @@ "message": "Page is loaded in an incognito window" }, "core/audits/installable-manifest.js | manifest-display-not-supported": { - "message": "Manifest 'display' property must be one of 'standalone', 'fullscreen', or 'minimal-ui'" + "message": "Manifest `display` property must be one of `standalone`, `fullscreen`, or `minimal-ui`" }, "core/audits/installable-manifest.js | manifest-display-override-not-supported": { "message": "Manifest contains 'display_override' field, and the first supported display mode must be one of 'standalone', 'fullscreen', or 'minimal-ui'" @@ -1038,7 +1038,7 @@ "message": "Manifest URL changed while the manifest was being fetched." }, "core/audits/installable-manifest.js | manifest-missing-name-or-short-name": { - "message": "Manifest does not contain a 'name' or 'short_name' field" + "message": "Manifest does not contain a `name` or `short_name` field" }, "core/audits/installable-manifest.js | manifest-missing-suitable-icon": { "message": "Manifest does not contain a suitable icon - PNG, SVG or WebP format of at least {value0} px is required, the sizes attribute must be set, and the purpose attribute, if set, must include \"any\"." diff --git a/shared/localization/locales/en-XL.json b/shared/localization/locales/en-XL.json index 471b32858ebc..466442cd41ad 100644 --- a/shared/localization/locales/en-XL.json +++ b/shared/localization/locales/en-XL.json @@ -1026,7 +1026,7 @@ "message": "P̂áĝé îś l̂óâd́êd́ îń âń îńĉóĝńît́ô ẃîńd̂óŵ" }, "core/audits/installable-manifest.js | manifest-display-not-supported": { - "message": "M̂án̂íf̂éŝt́ 'd̂íŝṕl̂áŷ' ṕr̂óp̂ér̂t́ŷ ḿûśt̂ b́ê ón̂é ôf́ 'ŝt́âńd̂ál̂ón̂é', 'f̂úl̂ĺŝćr̂éêń', ôŕ 'm̂ín̂ím̂ál̂-úî'" + "message": "M̂án̂íf̂éŝt́ `display` p̂ŕôṕêŕt̂ý m̂úŝt́ b̂é ôńê óf̂ `standalone`, `fullscreen`, ór̂ `minimal-ui`" }, "core/audits/installable-manifest.js | manifest-display-override-not-supported": { "message": "M̂án̂íf̂éŝt́ ĉón̂t́âín̂ś 'd̂íŝṕl̂áŷ_óv̂ér̂ŕîd́ê' f́îél̂d́, âńd̂ t́ĥé f̂ír̂śt̂ śûṕp̂ór̂t́êd́ d̂íŝṕl̂áŷ ḿôd́ê ḿûśt̂ b́ê ón̂é ôf́ 'ŝt́âńd̂ál̂ón̂é', 'f̂úl̂ĺŝćr̂éêń', ôŕ 'm̂ín̂ím̂ál̂-úî'" @@ -1038,7 +1038,7 @@ "message": "M̂án̂íf̂éŝt́ ÛŔL̂ ćĥán̂ǵêd́ ŵh́îĺê t́ĥé m̂án̂íf̂éŝt́ ŵáŝ b́êín̂ǵ f̂ét̂ćĥéd̂." }, "core/audits/installable-manifest.js | manifest-missing-name-or-short-name": { - "message": "M̂án̂íf̂éŝt́ d̂óêś n̂ót̂ ćôńt̂áîń â 'ńâḿê' ór̂ 'śĥór̂t́_n̂ám̂é' f̂íêĺd̂" + "message": "M̂án̂íf̂éŝt́ d̂óêś n̂ót̂ ćôńt̂áîń â `name` ór̂ `short_name` f́îél̂d́" }, "core/audits/installable-manifest.js | manifest-missing-suitable-icon": { "message": "M̂án̂íf̂éŝt́ d̂óêś n̂ót̂ ćôńt̂áîń â śûít̂áb̂ĺê íĉón̂ - ṔN̂Ǵ, ŜV́Ĝ ór̂ Ẃêb́P̂ f́ôŕm̂át̂ óf̂ át̂ ĺêáŝt́ {value0} p̂x́ îś r̂éq̂úîŕêd́, t̂h́ê śîźêś ât́t̂ŕîb́ût́ê ḿûśt̂ b́ê śêt́, âńd̂ t́ĥé p̂úr̂ṕôśê át̂t́r̂íb̂út̂é, îf́ ŝét̂, ḿûśt̂ ín̂ćl̂úd̂é \"âńŷ\"."