6 Sep
2006
6 Sep
'06
1:12 p.m.
Hi, hook_perm() doesn't use t()? I've checked a few core modules, and the perms are not wrapped in t(). Does this mean that the perms in ?q=admin/user/access are never translated? Is this valid? /************************************* * Implementation of hook_perm() *************************************/ function hook_perm() { return array(t('administer hook')); } and: 'access' => user_access(t('administer demexp')), ??? http://api.drupal.org/api/HEAD/function/hook_perm makes no mention of t() either way. thanks, Augustin. -- http://www.wechange.org/ Because we and the world need to change. http://www.reuniting.info/ Intimate Relationships, peace and harmony in the couple.