-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
core(canonical): add 'not recommended' to relative url string #12479
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can run yarn update:sample-json
to propagate changes to language files.
@@ -32,7 +32,7 @@ const UIStrings = { | |||
* @description Explanatory message stating that there was a failure in an audit caused by a URL being relative instead of absolute. | |||
* @example {https://example.com/} url | |||
* */ | |||
explanationRelative: 'Relative URL ({url})', | |||
explanationRelative: 'Relative URL ({url}) (not recommended)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double parenthesis feels weird.
explanationRelative: 'Relative URL ({url}) (not recommended)', | |
explanationRelative: 'Relative URL not recommended ({url})', |
@@ -32,7 +32,7 @@ const UIStrings = { | |||
* @description Explanatory message stating that there was a failure in an audit caused by a URL being relative instead of absolute. | |||
* @example {https://example.com/} url | |||
* */ | |||
explanationRelative: 'Relative URL ({url})', | |||
explanationRelative: 'Relative URL ({url}) (not recommended)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
an alternative... we communicate it's not absolute. that's what we want.
explanationRelative: 'Relative URL ({url}) (not recommended)', | |
explanationRelative: 'Is not an absolute URL ({url})', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#12676 adopted my suggestion, so that works fine for me. :D
Summary
Adds a not recommended flag in relative URLs description.
Related Issues/PRs
Ref #12463