[development] hook_perm() and t()
drupal.beginner at wechange.org
Wed Sep 6 14:01:06 UTC 2006
On Wednesday 06 September 2006 09:38 pm, Peter Wolanin wrote:
> I assume this is true for 4.7 as well? Anyone with CVS access can
> checkout and update these docs- see:
I didn't know I could do that.
> > There is no need to use t() here, since the string extractor takes care
> > of extracting permission names defined in the perm hook for translation.
> > It might be more consistent to use t() all over the user_acess() calls,
> > but it seems superfluos. The permission names are translateable, they are
> > just a special case in the extractor, and are t()-ed on the display of
> > the permission table.
Because we and the world need to change.
Intimate Relationships, peace and harmony in the couple.
More information about the development