Strings in Drupal such as menu titles, messages, and form UI labels and descriptions should be in sentence case rather than title case.

Here's a regex I just used in my text editor to find them:

['"][[:upper:]][[:lower:]]+ [[:upper:]][[:lower:]]+.*['"]

It won't find everything and will have false positives (Node Id), but it's a start :)

Comments

klausi’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Coder 7.x-1.x is frozen now and will not receive any updates. Coder 8.x-2.x can be used to check code for any Drupal version, Coder 8.x-2.x also supports the phpcbf command to automatically fix conding standard errors. Please check if this issue is still relevant and reopen against that version if necessary.