Code must use user_roles()

Jay Matwichuk - October 22, 2008 - 03:01
Project:Book access
Version:6.x-1.0-rc1
Component:User interface
Category:bug report
Priority:normal
Assigned:Harry Slaughter
Status:closed
Description

I am using book access (great module by the way, I really appreciate it) on a Japanese language site. The terms 'anonymous user' and 'authenticated user' are translated within the system, and I have not been able to find anywhere where they aren't translated, however, they are still coming up in English on the admin/content/book/access page. I haven't been able to figure out where these are being pulled from so that I can translate it. Are they not being run through the t() function?

Thank you.

AttachmentSize
drupal_screenshot.png13.3 KB

#1

Jay Matwichuk - November 5, 2008 - 04:38

Help?

#2

kiamlaluno - January 20, 2009 - 21:49
Title:Cannot translate 'anonymous user' and 'authenticated user'» Code must use user_roles()

This is a bug caused by the module not calling user_roles() which would return the translated strings for anonymous user, and authenticated user.
Rather than doing that, the module gets the user roles directly from the database.

#3

Harry Slaughter - January 21, 2009 - 05:33
Assigned to:Anonymous» Harry Slaughter

#4

Harry Slaughter - January 25, 2009 - 21:48
Status:active» fixed

this is fixed in latest dev version

#5

Jay Matwichuk - January 26, 2009 - 02:06

Thank you. I look forward to it being committed to a release version.

#6

System Message - February 9, 2009 - 02:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.