Problem/Motivation
As title, visit #3122088: [Meta] Remove spelling errors from dictionary.txt and fix them for the background.
Proposed resolution
- Remove typos
attibute|uneccesarilly|colletion|constucts|worklowfromcore/misc/cspell/dictionary.txt - Replace
attibutewithattribute - Replace
uneccesarillywithunnecessarily - Replace
colletionwithcollection - Replace
constuctswithconstructs - Replace
worklowwithworkflow
Command recommended for searching typos:
$ grep -irEn --exclude-dir=core/node_modules "attibute|uneccesarilly|colletion|constucts|worklow" core composer composer.json
Verification:
Run cd core && yarn install && yarn run spellcheck:core to make sure that spelling check passes.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | interdiff-8-10.txt | 788 bytes | jameszhang023 |
| #10 | 3159531-10.patch | 6.17 KB | jameszhang023 |
| #5 | interdiff-3-5.txt | 1.21 KB | ipumpkin |
| #5 | fix_typos-3159531-5.patch | 7.14 KB | ipumpkin |
Comments
Comment #2
ipumpkinworking on this
Comment #3
ipumpkinComment #4
jungleThanks, @ipumpkin. One more thing, typos ( translateable|attibute|uneccesarilly|renderd|submited|typr|sevice|colletion ) should be removed from
core/misc/cspell/dictionary.txt.Comment #5
ipumpkin@jungle, thanks for your feedback, patch updated.
Comment #6
jungleRescoping due 5 of them are covered by #3156266: Fix 70 spelling mistakes
Comment #7
jungleconstucts -> constructs
worklow -> workflow
Adding two more, I think this is enough for mentoring a new core contributor.
Comment #8
jameszhang023 commentedComment #9
longwaveThanks for working on this! This looks good except:
This one is still misspelled - should be "unnecessarily"
Comment #10
jameszhang023 commented@longwave Thank you for pointing out the problem. I have uploaded a new patch file.
Comment #11
jameszhang023 commentedComment #12
jungleThanks @longwave, and @jameszhang023, it's good to go to me. Would be great to upload a patch for 9.0.x or do it later when the committer asks
Comment #13
alexpottCommitted 1dfbbd8 and pushed to 9.1.x. Thanks!
Committed and pushed 10290fed28 to 9.0.x and 1029fec220 to 8.9.x. Thanks!
Backported to 8.9.x without the dictionary change.
Comment #17
jungle@jameszhang023 and @ipumpkin, Congrats on your first Drupal Core contribution!
@alexpott, thanks for committing!