Is there a way that hook_perm can be checked for improper use of the T function? Perms should not be translated, yet some module developers think they should and it causes translated sites to work incorrectly. For example: http://drupal.org/node/217328
Comments
Comment #1
webchickHm. Might make sense to add a "common coding mistakes" ruleset to include things like this. Another thing that frequently messes people up is not returning an array of some sort from hook_update_N, not to mention calling db_query() there instead of update_sql().
Comment #2
nancydruAlso not returning the schema array in hook_schema. Not that *I* would ever forget that.
Comment #3
stella commentedDrupal 5 version is no longer supported, closing.