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.
While evaluating this module I noticed that on the Extend page, the project name is in lower case and should be in title case to be consistent with the rest of the project names on the page.
"Capitalize the name of the module, because module names are proper nouns."
https://www.drupal.org/docs/develop/documenting-your-project/help-text-s...
Comment | File | Size | Author |
---|---|---|---|
#7 | devel-capitalize-name-3003353-7.patch | 1.75 KB | Stacie_A |
| |||
#5 | after.png | 4.15 KB | ajlib |
#5 | before.png | 3.96 KB | ajlib |
#3 | devel-capitalize-name-3003353-3.patch | 394 bytes | Stacie_A |
|
Comments
Comment #2
Stacie_A CreditAttribution: Stacie_A as a volunteer and at Madison Area Technical College commentedI'll work on this patch.
Comment #3
Stacie_A CreditAttribution: Stacie_A as a volunteer and at Madison Area Technical College commentedI capitalized the name of the submodule in the info.yml to Devel Generate
Comment #4
Stacie_A CreditAttribution: Stacie_A as a volunteer and at Madison Area Technical College commentedComment #5
ajlib CreditAttribution: ajlib commentedI spun up the module before the patch and 'generate' was not capitalized. Then I tested with the patch and it was capitalized. The patch was applied with simplytest.me.
Screenshot attached.
Comment #6
salvisLet's see them...
Before:
After:
Is this really the only place where we use a submodule name?
Comment #7
Stacie_A CreditAttribution: Stacie_A as a volunteer and at Madison Area Technical College commentedGood point, @salvis
Ok, I ran grep -rnw 'Devel generate' . in the Devel directory and found 2 more places to fix.
running grep -rnw 'Devel generate' . after fixes returned no additional results.
Comment #9
salvisGreat, thank you, Stacie_A!
I added two minor grammar fixes.