Description of function _user_features_get_roles() in includes/features.user.inc states:

Generate $rid => $role with role names untranslated.

This may not be true as query in function user_roles() adds tag translatable.
So role names returned by user_roles() might be translated.

Patch below fixes this by using its own query.

Comments

anrikun created an issue. See original summary.

anrikun’s picture

anrikun’s picture

Issue summary: View changes
anrikun’s picture

Issue summary: View changes
anrikun’s picture

Status: Active » Needs review

joseph.olstad’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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