-
Notifications
You must be signed in to change notification settings - Fork 1k
USWDS: Fix typos #6251
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
USWDS: Fix typos #6251
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.
Looks good to me. Thanks for this contribution @szepeviktor!

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.
Note
I confirmed that the file names for these have the correct spelling, so no update is needed on the file names themselves:
It isn't immediately clear to me what this index file is used for, but given that the forwards are currently misspelled, we might not need this file. Something to consider as a follow-on.
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.
Odd that the misspellings weren't breaking anything.. should we open a new issue to investigate this file?
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.
Since this is in the utilities directory, I'm wondering if these are used by utilities that are not output by default. We might find something helpful in _settings-utilities.scss
@@ -35,7 +35,7 @@ function buildFileObj(dir, file, dataFile){ | |||
|
|||
function buildModifierData(dataSource) { | |||
const regexDashes = /--([\s\S]*)$/ | |||
const regexTilda = /~([\s\S]*)$/ | |||
const regexTilde = /~([\s\S]*)$/ |
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.
Note
Confirmed that all references to regexTilda
in this file have been updated to regexTilde
.
@@ -65,7 +65,7 @@ | |||
are, your goal or mission, and how you approach it. Use this section to encourage them to act. Describe why they | |||
should get in touch here, and use an active verb on the button below. “Get in touch,” “Learn more,” and so on. | |||
</p> | |||
<a class="usa-button usa-button--big" href="{{ placholder_link }}">Call to action</a> | |||
<a class="usa-button usa-button--big" href="{{ placeholder_link }}">Call to action</a> |
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.
Note
Neither placeholder_link
nor placholder_link
are defined in the usa-landing directory. I don't consider this to be a blocker for this PR, so I have opened issue #6277 to fix this.
@@ -24,7 +24,7 @@ | |||
<p> | |||
<a | |||
class="{{ settings[lang].cta.type | default(button_defaults) }}" | |||
href="{{ placholder_link }}"> | |||
href="{{ placeholder_link }}"> |
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.
Note
Same comment as above. Neither placeholder_link
nor placholder_link
are defined. I don't consider this to be a blocker for this PR, so I have opened issue #6277 to fix this.
Glad to contribute. |
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.
Following your lead on these, @amyleadem - looks good to me.
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.
Confirmed no regressions! lgtm
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.
Thanks, Viktor!
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.
LGTM! Thanks @szepeviktor 🥳
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.
Since this is in the utilities directory, I'm wondering if these are used by utilities that are not output by default. We might find something helpful in _settings-utilities.scss
@szepeviktor,
Thanks again for your contribution. Please let us know if you have any questions or if we can help in any way. |
@amyleadem Voilà! Your dream just came true. |
@szepeviktor Thank you for fixing that so quickly! |
@forward "color-palettes"; | ||
@forward "default-palettes"; | ||
@forward "font-palettes"; | ||
@forward "palette-registry"; | ||
@forward "spacing-palletes"; | ||
@forward "spacing-palettes"; |
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.
This index file appears to be here only as a formality and for consistency with other directories of Sass files. It is not referenced in the codebase. I was concerned that this might be a breaking change, but it appears not
Summary
Found few misspellings.
Breaking change
I do not recognize one.
Solution
https://github.com/crate-ci/typos