[wp-trac] [WordPress Trac] #20764: Role names not translated in new user notification message in MS

WordPress Trac wp-trac at lists.automattic.com
Sun May 27 11:43:11 UTC 2012


#20764: Role names not translated in new user notification message in MS
--------------------------+------------------------------------
 Reporter:  kobenland     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:  3.3.2
 Severity:  normal        |   Keywords:  has-patch dev-feedback
--------------------------+------------------------------------
 In Multisite when a new user gets added to a site, the role name in the
 notification message does not get translated.

 Currently the role name itself is used (which is lowercase and English
 only) not the role display name.

 In the patch I call `get_editable_roles()` to also take custom role names
 into account, when fetching the role display name.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20764>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list