From a4a6050e83734b15288f8ef4cd0a1347ccbac62e Mon Sep 17 00:00:00 2001 From: Shane Exterkamp Date: Fri, 16 Aug 2019 10:17:28 -0700 Subject: [PATCH] fix robots.txt displayValue --- lighthouse-core/audits/seo/robots-txt.js | 2 +- lighthouse-core/lib/i18n/locales/en-US.json | 2 +- lighthouse-core/lib/i18n/locales/en-XL.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lighthouse-core/audits/seo/robots-txt.js b/lighthouse-core/audits/seo/robots-txt.js index 94a9ffc6c49a..f2a16c12e1b0 100644 --- a/lighthouse-core/audits/seo/robots-txt.js +++ b/lighthouse-core/audits/seo/robots-txt.js @@ -45,7 +45,7 @@ const UIStrings = { * @description Label for the audit identifying that the robots.txt request has returned a specific HTTP status code. Note: "robots.txt" is a canonical filename and should not be translated. * @example {500} statusCode * */ - displayValueHttpBadCode: 'request for robots.txt returned HTTP status: {statusCode}', + displayValueHttpBadCode: 'Request for robots.txt returned HTTP status: {statusCode}', /** [ICU Syntax] Label for the audit identifying the number of errors that occured while validating the robots.txt file. "itemCount" will be replaced by the integer count of errors encountered. */ displayValueValidationError: `{itemCount, plural, =1 {1 error found} diff --git a/lighthouse-core/lib/i18n/locales/en-US.json b/lighthouse-core/lib/i18n/locales/en-US.json index 6727113c8ed9..75cb82456d91 100644 --- a/lighthouse-core/lib/i18n/locales/en-US.json +++ b/lighthouse-core/lib/i18n/locales/en-US.json @@ -999,7 +999,7 @@ "message": "If your robots.txt file is malformed, crawlers may not be able to understand how you want your website to be crawled or indexed. [Learn more](https://web.dev/robots-txt)." }, "lighthouse-core/audits/seo/robots-txt.js | displayValueHttpBadCode": { - "message": "request for robots.txt returned HTTP status: {statusCode}" + "message": "Request for robots.txt returned HTTP status: {statusCode}" }, "lighthouse-core/audits/seo/robots-txt.js | displayValueValidationError": { "message": "{itemCount, plural,\n =1 {1 error found}\n other {# errors found}\n }" diff --git a/lighthouse-core/lib/i18n/locales/en-XL.json b/lighthouse-core/lib/i18n/locales/en-XL.json index 220fbd3b8e03..bec53de8af31 100644 --- a/lighthouse-core/lib/i18n/locales/en-XL.json +++ b/lighthouse-core/lib/i18n/locales/en-XL.json @@ -999,7 +999,7 @@ "message": "Îf́ ŷóûŕ r̂ób̂ót̂ś.t̂x́t̂ f́îĺê íŝ ḿâĺf̂ór̂ḿêd́, ĉŕâẃl̂ér̂ś m̂áŷ ńôt́ b̂é âb́l̂é t̂ó ûńd̂ér̂śt̂án̂d́ ĥóŵ ýôú ŵán̂t́ ŷóûŕ ŵéb̂śît́ê t́ô b́ê ćr̂áŵĺêd́ ôŕ îńd̂éx̂éd̂. [Ĺêár̂ń m̂ór̂é](https://web.dev/robots-txt)." }, "lighthouse-core/audits/seo/robots-txt.js | displayValueHttpBadCode": { - "message": "r̂éq̂úêśt̂ f́ôŕ r̂ób̂ót̂ś.t̂x́t̂ ŕêt́ûŕn̂éd̂ H́T̂T́P̂ śt̂át̂úŝ: {statusCode}" + "message": "R̂éq̂úêśt̂ f́ôŕ r̂ób̂ót̂ś.t̂x́t̂ ŕêt́ûŕn̂éd̂ H́T̂T́P̂ śt̂át̂úŝ: {statusCode}" }, "lighthouse-core/audits/seo/robots-txt.js | displayValueValidationError": { "message": "{itemCount, plural,\n =1 {1 êŕr̂ór̂ f́ôún̂d́}\n other {# êŕr̂ór̂ś f̂óûńd̂}\n }"