-
Notifications
You must be signed in to change notification settings - Fork 41
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
CSpell: Add more words to the dictionary to avoid nagging in PRs #6255
CSpell: Add more words to the dictionary to avoid nagging in PRs #6255
Comments
OK, cspell is not complaining now. The PR only needs a review - nothing to test: backdrop/backdrop#4537 |
I don't fully understand whether this actual typo ("litererally" vs "literally") is crucial to the test here, but if not, wouldn't it be better to correct the typo rather than add a typo to the dictionary? |
Looks like @klonos fixed the above typo. @indigoxela pointed out that we should probably use the comment syntax I think this is ready to go and would be great to get our PRs cleaned-up. |
I merged backdrop/backdrop#4537 into 1.x and 1.26.x. Thanks @klonos and @indigoxela! |
...more words started showing up in other PRs: Warning: Unknown word (screenreaders) Since this issue and the previous PR have been slated for 1.26.2, I'm reopening in order to file a follow-up PR to fix the above nagging... |
New PR here: backdrop/backdrop#4544 |
...a few more words coming up here and there: core/modules/search/tests/search.test:1119:14 Unknown word (newstr) |
...I've updated the PR:
|
Thank you both @kiamlaluno and @bugfolder for taking the time to review, and for your suggestions. All but one are now resolved. The remaining one is the word I chose to use an apostrophe, because I'm used to
So how do people feel about |
I see the situation of cc'd being different because cc is already an abbreviation, as opposed to union being an entire word. If we spelled it out, we'd say "carbon copied," not "carbon copy'd". If "union" were a verb in everyday usage, then "unioned" would definitely be correct. It's not uncommon for technical languages to adapt common words for a specialized meaning, and per Grammarly, "Today, the following verbs-born-from-nouns are commonplace: cup, divorce, drink, dress, fool, host, intern, lure, medal, merge, model, mutter, pepper, salt, ship, sleep, strike, style, train, voice." https://www.grammarly.com/blog/the-basics-of-verbing-nouns Perhaps, though we should simply table this discussion. Then we can say that we've table'd it. 😉 |
I think that you are spot on there @bugfolder 👍🏼 ...at the end of the day:
Final round of review please? 🙏🏼 |
IMO, in the following sentence, neither intersected nor unioned makes the sentence clearer. They do not seem to add information necessary to understand the sentence.
I would rather use this sentence.
(I would actually avoid to repeat allow list and deny list in the last clause.) |
I think I'd be in favor of just proceeding with the current PR, which fixes a slew of outstanding CSpell issues, and then we can take up whether to rewrite that particular sentence for clarity in a separate issue if it's warranted. It LGTM. |
Yes @kiamlaluno, because we went back to |
By @klonos, @kiamlaluno, and @bugfolder.
By @klonos, @kiamlaluno, and @bugfolder.
I merged backdrop/backdrop#4575 into 1.x and 1.26.x. @klonos are you inclined to continue in this issue further? Or should we open new ones? Thanks for all these meticulous updates! |
First of all: yay! 🎉 ❤️ This issue, as its title denotes, was about adding words to the custom CSpell dictionary (which ended up being adding more in-built CSpell dictionaries as well). I don't think that there are any other words that need to be added, but please allow some time to rebase the PRs that were previously failing and confirm that. If there are more words to be added, then I believe that that should be done after #6280 is merged, and it should be done by adding them to the external dictionary. The rest of the changes (those in the temporarily closed PR over at backdrop/backdrop#4544) are more of a clean-up of existing words rather than additions. So I think I'll file separate issues for those. |
Quick, rather small (15 files, with no more than 5 straight-forward changes each) follow-up PR to address CSpell nags that came up after rebasing some PRs: backdrop/backdrop#4578 |
Great, latest (hopefully last) PR has also been merged into 1.x and 1.26.x. |
Lets keep this closed. I've filed #6302 for the cleanup of existing words in the dictionary, and we can use that for any odd new ones that happen to pop up. |
Another iteration after #6047.
Most PRs I've been rebasing recently a tripping in the following files/lines/words:
core/includes/bootstrap.inc:1668:58 Unknown word (pageviews)
core/includes/diff.inc:1053:18 Unknown word (xbeg)
core/includes/diff.inc:1054:18 Unknown word (xlen)
core/includes/diff.inc:1055:18 Unknown word (ybeg)
core/includes/diff.inc:1056:18 Unknown word (ylen)
core/includes/diff.inc:1061:29 Unknown word (xbeg)
core/includes/diff.inc:1061:36 Unknown word (xlen)
core/includes/diff.inc:1061:43 Unknown word (ybeg)
core/includes/diff.inc:1061:50 Unknown word (ylen)
core/includes/diff.inc:1062:43 Unknown word (xbeg)
core/includes/diff.inc:1062:50 Unknown word (xlen)
core/includes/diff.inc:1062:57 Unknown word (ybeg)
core/includes/diff.inc:1062:64 Unknown word (ylen)
core/includes/diff.inc:1098:14 Unknown word (xbeg)
core/includes/diff.inc:1099:14 Unknown word (xlen)
core/includes/diff.inc:1100:14 Unknown word (ybeg)
core/includes/diff.inc:1101:14 Unknown word (ylen)
core/includes/diff.inc:1105:35 Unknown word (xbeg)
core/includes/diff.inc:1105:42 Unknown word (xlen)
core/includes/diff.inc:1105:49 Unknown word (ybeg)
core/includes/diff.inc:1105:56 Unknown word (ylen)
core/includes/mail.inc:12:45 Unknown word (WINDIR)
core/includes/menu.inc:1377:19 Unknown word (mlids)
core/includes/menu.inc:1477:34 Unknown word (mlids)
core/includes/session.inc:257:63 Unknown word (pageviews)
core/includes/unicode.inc:304:18 Unknown word (myverylongurlexample)
core/includes/unicode.inc:309:34 Unknown word (myverylongurl)
core/modules/book/book.module:690:4 Unknown word (mlids)
core/modules/book/book.module:692:8 Unknown word (mlids)
core/modules/book/book.module:695:28 Unknown word (mlids)
core/modules/file/file.field.inc:1094:48 Unknown word (WSOD)
core/modules/filter/tests/filter.test:1562:57 Unknown word (litererally)
Lets fix these, so that with a single rebase all other PRs can make cspell happy.
The text was updated successfully, but these errors were encountered: