Closed (won't fix)
Project:
Checkbox Validate
Version:
6.x-2.1
Component:
Miscellaneous
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Aug 2010 at 21:01 UTC
Updated:
7 Feb 2012 at 22:30 UTC
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
Comment #1
klonosPing?
+ 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)
Comment #2
robert castelo commentedIMHO 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.
Comment #3
klonosI 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)
Comment #4
klonos...issues tagged as 'do not capitalize name'
Comment #5
robert castelo commentedI 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.
Comment #6
michelleSee #1346158: Decide on coding standard for capitalization of module names [policy, no patch] and #1430452: Use Proper Name Case for core modules for current information on this policy.
Comment #7
robert castelo commentedSo it seems the policy got fixed and we now have a sensible standard for module display names.
Closing this issue.
Comment #8
klonos...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.