user.module does not support translation for "authenticated user" text displayed in role combo box.

To fix this I suggest a new syntax to function user_roles():
[Old syntax] Line 1349: $roles[$role->rid] = $role->name;
[New syntax] Line 1349: $roles[$role->rid] = t($role->name);

It seens to work fine...

Thanks

Comments

Anonymous’s picture

user.module does not support translation for "authenticated user" text displayed in role combo box.

To fix this I suggest a new syntax to function user_roles():
[Old syntax] Line 1349: $roles[$role->rid] = $role->name;
[New syntax] Line 1349: $roles[$role->rid] = t($role->name);

It seens to work fine...

But I'm afraid is being registered in locale table under an wrong site path
"?q=admin/user/edit/2" , and this can't be used by other references in source, do I have to bother with this, or can it be solved by other way ?

Thanks

Stefan Nagtegaal’s picture

Duplicate bug..

gpk’s picture