Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
We have a number of words in the dictionary that cspell thinks are incorrect:
nblocks
ncck
ncontent
nmenu
npoll
nprofile
nstrings
nsync
ntaxonomy
Each of these is prefixed with "i18n" as they are internationalization related.
Steps to reproduce
Proposed resolution
Ignore \Wi18n
in cspell and remove these from the dictionary.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#2 | 3210694.patch | 940 bytes | longwave |
Comments
Comment #2
longwaveComment #3
quietone CreditAttribution: quietone as a volunteer commentedNot sure about this, these words are already in #3209249: Fix spelling for 29 migrate translation related words.
Comment #4
longwaveTo me this is simpler and cleaner than adding cspell:ignore a number of times for all these words that aren't really words anyway, they are misinterpretations of the "i18n" prefix.
Comment #5
SpokjeI'm on #TeamLongwave on this one, main reason:
(Possible issue: When this former boy band resurrects for a commercially based reunion tour and their name is used in the Drupal Code... 😇)
Tests are green: RTBC for me.
Comment #6
quietone CreditAttribution: quietone as a volunteer commentedI see your point. I think this now needs an @todo and a followup to remove the regex when #3010983: Deprecate Drupal 6 and Drupal 7 migrations and move to contrib is done.
Comment #7
Spokje@quietone Followup: Yes
@todo: Tricky when the only file changed is a JSON file, which doesn't really do comments as far as I know.
Comment #8
longwaveYeah, you cannot add comments to JSON files. I don't think it will really hurt anything by leaving it in there longer than necessary though.
Comment #9
SpokjeAgreed, does that also means a follow-up isn't really necessary, or should we create one anyway?
Comment #10
quietone CreditAttribution: quietone as a volunteer commentedI updated the IS in #3010983: Deprecate Drupal 6 and Drupal 7 migrations and move to contrib to include looking at cspell. So, all good here.
Thanks @longwave and @Spokje.
Comment #11
alexpottCommitted and pushed 2dd115febb to 9.2.x and 5ea1aa188a to 9.1.x. Thanks!
Backported to 9.1.x as this is testing infra change and keeps things aligned.