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
The Views module Twig files have "whtether" misspelled three times and "CSS" should be all caps like "HTML" in the line above it.
Comment | File | Size | Author |
---|---|---|---|
#7 | interdiff-3103976-2-7-do-not-test.diff | 2.03 KB | Daniel Korte |
#7 | 3103976-fix-misspellings-7.patch | 5.51 KB | Daniel Korte |
#4 | view-twig-spellings-correction-patch.png | 34.83 KB | Premanshu |
#2 | 3103976-fix-misspellings-2.patch | 2.83 KB | Daniel Korte |
Comments
Comment #2
Daniel KorteComment #3
Daniel KorteComment #4
Premanshu CreditAttribution: Premanshu as a volunteer and at OpenSense Labs commentedThe patch provided in #2 applies cleanly.
Comment #5
Lendude@Premanshu posting a screenshot of the patch applying is not reviewing, the testbot already covers that, you need to look at the contents of the patch and review that....
The spelling in a couple of other Views related files is lower case 'css-safe', so we would need to change the other occurrences here too.
Comment #6
Daniel KorteAh, good catch. Thanks @Lendude
Comment #7
Daniel KorteWhoops. I didn't see those in the theme directories. Hopefully, that is all of them.
Comment #8
Daniel KorteComment #9
LendudeYup, that looks like all of them! Thanks!
Comment #10
Premanshu CreditAttribution: Premanshu as a volunteer and at OpenSense Labs commentedHi @Lendude,
I attached the screenshot just for a quick reference. And I also noticed the spelling mistakes in Views related files but seeing that the issue was made specifically for TWIG comments, I decided to mark the issue RTBC.
The above was the process that I followed. Thanks for pointing out the flaws in it.
I will try and be more careful with the process from here on.
Comment #13
lauriiiCommitted 80ce3e0 and pushed to 9.0.x, 8.9.x 8.8.x because the patch only improves documentation. Thanks!