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 |
Jump to:
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.
| Attachment | Size |
|---|---|
| drupal_screenshot.png | 13.3 KB |

#1
Help?
#2
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
#4
this is fixed in latest dev version
#5
Thank you. I look forward to it being committed to a release version.
#6
Automatically closed -- issue fixed for 2 weeks with no activity.