The name of the module ought to be 'Checkbox validate' instead of 'Checkbox Validate' (only first letter of first word is capitalized). Please see here for more info (I hate repeating myself): #869394: Unnecessary Capitalization Of Words Throughout Forms

I haven't gone as far as running the module through Coder (I might do so unless somebody gets me to it), so let this issue serve as a to-do for this task.

Comments

klonos’s picture

Ping?

+ letting you know of #140783: A select list without #default_value always passes form validation (didn't want to open a new issue for that)

robert castelo’s picture

Status: Active » Postponed (maintainer needs more info)

IMHO the capitalisation rule is wrong, we should name modules the way products are named - capitalise each word.

Capitalising each word makes it much easier to talk about modules without using the word 'module' all the time to avoid confusion.

Could you point me to the discussion on this decision? Would be interesting to see the reasoning behind it, and maybe I could talk to some of the people involved and try and change it.

For a long time the rule was that we only capitalised the first word of documentation titles, then we changed to capitalising each word, hopefully we can standardise that to module names as well.

klonos’s picture

I know how it is in real world, but still this is how drupal does it. Have a look here: Writing .info files (Drupal 6.x)

The .info file can contain the following fields:

name (Required)

The displayed name of your module. It should follow the Drupal capitalization standard: only the first letter of the first word is capitalized ("Example module", not "example module" or "Example Module"). Spaces are allowed as the name is used mainly for the display purposes.
name = "Forum"

klonos’s picture

...issues tagged as 'do not capitalize name'

robert castelo’s picture

I had a look at that, but I have practical reasons for wanting to change the rule, and would be interested in knowing if there was any discussion behind how it's currently set?

Even the example is badly done: is 'module' / 'Module' part of the example name?

It should be 'Foo bar module' or 'Foo Bar module'

I'll try and get the rule changed, but if unsuccessful will comply with it.

michelle’s picture

robert castelo’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

So it seems the policy got fixed and we now have a sensible standard for module display names.

Closing this issue.

klonos’s picture

...yep, the standard has changed and it now allows (more likely suggests) Proper Name Case instead of the Sentence case for module/theme names. The Sentence case policy remains for UI text like widget labels for example.