i18n: ICU syntax correction (#7320)
This commit is contained in:
Родитель
7dbcead334
Коммит
97358bee70
|
@ -28,9 +28,9 @@ const UIStrings = {
|
|||
failureTitle: 'Page load is not fast enough on mobile networks',
|
||||
/** Description of a Lighthouse audit that tells the user *why* they need to load fast enough on mobile networks. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation. */
|
||||
description: 'A fast page load over a cellular network ensures a good mobile user experience. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/fast-3g).',
|
||||
/** [ICU Syntax] Label for the audit identifying the time it took for the page to become interactive. */
|
||||
/** Label for the audit identifying the time it took for the page to become interactive. */
|
||||
displayValueText: 'Interactive at {timeInMs, number, seconds}\xa0s',
|
||||
/** [ICU Syntax] Label for the audit identifying the time it took for the page to become interactive on a mobile network. */
|
||||
/** Label for the audit identifying the time it took for the page to become interactive on a mobile network. */
|
||||
displayValueTextWithOverride: 'Interactive on simulated mobile network at ' +
|
||||
'{timeInMs, number, seconds}\xa0s',
|
||||
};
|
||||
|
|
|
@ -20,15 +20,15 @@ const UIStrings = {
|
|||
/** Description of a Lighthouse audit that tells the user *why* they need to have a valid rel=canonical link. This is displayed after a user expands the section to see more. No character length limits. 'Learn More' becomes link text to additional documentation. */
|
||||
description: 'Canonical links suggest which URL to show in search results. ' +
|
||||
'[Learn more](https://developers.google.com/web/tools/lighthouse/audits/canonical).',
|
||||
/** [ICU Syntax] Explanatory message stating that there was a failure in an audit caused by multiple URLs conflicting with each other. "urlList" will be replaced by a list of URLs (e.g. https://example.com, https://example2.com, etc ). */
|
||||
/** Explanatory message stating that there was a failure in an audit caused by multiple URLs conflicting with each other. "urlList" will be replaced by a list of URLs (e.g. https://example.com, https://example2.com, etc ). */
|
||||
explanationConflict: 'Multiple conflicting URLs ({urlList})',
|
||||
/** [ICU Syntax] Explanatory message stating that there was a failure in an audit caused by a URL being invalid. "url" will be replaced by the invalid URL (e.g. https://example.com). */
|
||||
/** Explanatory message stating that there was a failure in an audit caused by a URL being invalid. "url" will be replaced by the invalid URL (e.g. https://example.com). */
|
||||
explanationInvalid: 'Invalid URL ({url})',
|
||||
/** [ICU Syntax] Explanatory message stating that there was a failure in an audit caused by a URL being relative instead of absolute. "url" will be replaced by the invalid URL (e.g. https://example.com). */
|
||||
/** Explanatory message stating that there was a failure in an audit caused by a URL being relative instead of absolute. "url" will be replaced by the invalid URL (e.g. https://example.com). */
|
||||
explanationRelative: 'Relative URL ({url})',
|
||||
/** [ICU Syntax] Explanatory message stating that there was a failure in an audit caused by a URL pointing to a different hreflang than the current context. "url" will be replaced by the invalid URL (e.g. https://example.com). 'hreflang' is an HTML attribute and should not be translated. */
|
||||
/** Explanatory message stating that there was a failure in an audit caused by a URL pointing to a different hreflang than the current context. "url" will be replaced by the invalid URL (e.g. https://example.com). 'hreflang' is an HTML attribute and should not be translated. */
|
||||
explanationPointsElsewhere: 'Points to another `hreflang` location ({url})',
|
||||
/** [ICU Syntax] Explanatory message stating that there was a failure in an audit caused by a URL pointing to a different domain. "url" will be replaced by the invalid URL (e.g. https://example.com). */
|
||||
/** Explanatory message stating that there was a failure in an audit caused by a URL pointing to a different domain. "url" will be replaced by the invalid URL (e.g. https://example.com). */
|
||||
explanationDifferentDomain: 'Points to a different domain ({url})',
|
||||
/** Explanatory message stating that the page's canonical URL was pointing to the domain's root URL, which is a common mistake. "points" refers to the action of the 'rel=canonical' referencing another link. "root" refers to the starting/home page of the website. "domain" refers to the registered domain name of the website. */
|
||||
explanationRoot: 'Points to the domain\'s root URL (the homepage), ' +
|
||||
|
|
|
@ -20,7 +20,7 @@ const UIStrings = {
|
|||
failureTitle: 'Document doesn\'t use legible font sizes',
|
||||
/** Description of a Lighthouse audit that tells the user *why* they need to use a larger font 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. */
|
||||
description: 'Font sizes less than 12px are too small to be legible and require mobile visitors to “pinch to zoom” in order to read. Strive to have >60% of page text ≥12px. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/font-sizes).',
|
||||
/** [ICU Syntax] Label for the audit identifying font sizes that are too small. */
|
||||
/** Label for the audit identifying font sizes that are too small. */
|
||||
displayValue: '{decimalProportion, number, extendedPercent} legible text',
|
||||
/** Explanatory message stating that there was a failure in an audit caused by a missing page viewport meta tag configuration. "viewport" and "meta" are HTML terms and should not be translated. */
|
||||
explanationViewport: 'Text is illegible because there\'s no viewport meta tag optimized ' +
|
||||
|
|
|
@ -41,8 +41,8 @@ const UIStrings = {
|
|||
/** Description of a Lighthouse audit that tells the user *why* they need to have a valid robots.txt file. Note: "robots.txt" is a canonical filename and should not be translated. This is displayed after a user expands the section to see more. No character length limits. */
|
||||
description: 'If your robots.txt file is malformed, crawlers may not be able to understand ' +
|
||||
'how you want your website to be crawled or indexed.',
|
||||
/** [ICU Syntax] 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. "statusCode" will be replaced with a 3 digit integer which represents the status of the HTTP connectiong for this page. */
|
||||
displayValueHttpBadCode: 'request for robots.txt returned HTTP status: {statusCode, number}',
|
||||
/** 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. "statusCode" will be replaced with a 3 digit integer which represents the status of the HTTP connectiong for this page. */
|
||||
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}
|
||||
|
|
|
@ -641,11 +641,11 @@
|
|||
},
|
||||
"lighthouse-core/audits/load-fast-enough-for-pwa.js | displayValueText": {
|
||||
"message": "Interactive at {timeInMs, number, seconds} s",
|
||||
"description": "[ICU Syntax] Label for the audit identifying the time it took for the page to become interactive."
|
||||
"description": "Label for the audit identifying the time it took for the page to become interactive."
|
||||
},
|
||||
"lighthouse-core/audits/load-fast-enough-for-pwa.js | displayValueTextWithOverride": {
|
||||
"message": "Interactive on simulated mobile network at {timeInMs, number, seconds} s",
|
||||
"description": "[ICU Syntax] Label for the audit identifying the time it took for the page to become interactive on a mobile network."
|
||||
"description": "Label for the audit identifying the time it took for the page to become interactive on a mobile network."
|
||||
},
|
||||
"lighthouse-core/audits/load-fast-enough-for-pwa.js | failureTitle": {
|
||||
"message": "Page load is not fast enough on mobile networks",
|
||||
|
@ -757,23 +757,23 @@
|
|||
},
|
||||
"lighthouse-core/audits/seo/canonical.js | explanationConflict": {
|
||||
"message": "Multiple conflicting URLs ({urlList})",
|
||||
"description": "[ICU Syntax] Explanatory message stating that there was a failure in an audit caused by multiple URLs conflicting with each other. \"urlList\" will be replaced by a list of URLs (e.g. https://example.com, https://example2.com, etc )."
|
||||
"description": "Explanatory message stating that there was a failure in an audit caused by multiple URLs conflicting with each other. \"urlList\" will be replaced by a list of URLs (e.g. https://example.com, https://example2.com, etc )."
|
||||
},
|
||||
"lighthouse-core/audits/seo/canonical.js | explanationDifferentDomain": {
|
||||
"message": "Points to a different domain ({url})",
|
||||
"description": "[ICU Syntax] Explanatory message stating that there was a failure in an audit caused by a URL pointing to a different domain. \"url\" will be replaced by the invalid URL (e.g. https://example.com)."
|
||||
"description": "Explanatory message stating that there was a failure in an audit caused by a URL pointing to a different domain. \"url\" will be replaced by the invalid URL (e.g. https://example.com)."
|
||||
},
|
||||
"lighthouse-core/audits/seo/canonical.js | explanationInvalid": {
|
||||
"message": "Invalid URL ({url})",
|
||||
"description": "[ICU Syntax] Explanatory message stating that there was a failure in an audit caused by a URL being invalid. \"url\" will be replaced by the invalid URL (e.g. https://example.com)."
|
||||
"description": "Explanatory message stating that there was a failure in an audit caused by a URL being invalid. \"url\" will be replaced by the invalid URL (e.g. https://example.com)."
|
||||
},
|
||||
"lighthouse-core/audits/seo/canonical.js | explanationPointsElsewhere": {
|
||||
"message": "Points to another `hreflang` location ({url})",
|
||||
"description": "[ICU Syntax] Explanatory message stating that there was a failure in an audit caused by a URL pointing to a different hreflang than the current context. \"url\" will be replaced by the invalid URL (e.g. https://example.com). 'hreflang' is an HTML attribute and should not be translated."
|
||||
"description": "Explanatory message stating that there was a failure in an audit caused by a URL pointing to a different hreflang than the current context. \"url\" will be replaced by the invalid URL (e.g. https://example.com). 'hreflang' is an HTML attribute and should not be translated."
|
||||
},
|
||||
"lighthouse-core/audits/seo/canonical.js | explanationRelative": {
|
||||
"message": "Relative URL ({url})",
|
||||
"description": "[ICU Syntax] Explanatory message stating that there was a failure in an audit caused by a URL being relative instead of absolute. \"url\" will be replaced by the invalid URL (e.g. https://example.com)."
|
||||
"description": "Explanatory message stating that there was a failure in an audit caused by a URL being relative instead of absolute. \"url\" will be replaced by the invalid URL (e.g. https://example.com)."
|
||||
},
|
||||
"lighthouse-core/audits/seo/canonical.js | explanationRoot": {
|
||||
"message": "Points to the domain's root URL (the homepage), instead of an equivalent page of content",
|
||||
|
@ -793,7 +793,7 @@
|
|||
},
|
||||
"lighthouse-core/audits/seo/font-size.js | displayValue": {
|
||||
"message": "{decimalProportion, number, extendedPercent} legible text",
|
||||
"description": "[ICU Syntax] Label for the audit identifying font sizes that are too small."
|
||||
"description": "Label for the audit identifying font sizes that are too small."
|
||||
},
|
||||
"lighthouse-core/audits/seo/font-size.js | explanation": {
|
||||
"message": "{decimalProportion, number, extendedPercent} of text is too small.",
|
||||
|
@ -908,8 +908,8 @@
|
|||
"description": "Description of a Lighthouse audit that tells the user *why* they need to have a valid robots.txt file. Note: \"robots.txt\" is a canonical filename and should not be translated. This is displayed after a user expands the section to see more. No character length limits."
|
||||
},
|
||||
"lighthouse-core/audits/seo/robots-txt.js | displayValueHttpBadCode": {
|
||||
"message": "request for robots.txt returned HTTP status: {statusCode, number}",
|
||||
"description": "[ICU Syntax] 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. \"statusCode\" will be replaced with a 3 digit integer which represents the status of the HTTP connectiong for this page."
|
||||
"message": "request for robots.txt returned HTTP status: {statusCode}",
|
||||
"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. \"statusCode\" will be replaced with a 3 digit integer which represents the status of the HTTP connectiong for this page."
|
||||
},
|
||||
"lighthouse-core/audits/seo/robots-txt.js | displayValueValidationError": {
|
||||
"message": "{itemCount, plural,\n =1 {1 error found}\n other {# errors found}\n }",
|
||||
|
|
Загрузка…
Ссылка в новой задаче