Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#5537 closed defect (bug) (fixed)

users rol don't translate in wp-admin/users.php

Reported by: rnt's profile rnt Owned by: ryan's profile ryan
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.5
Component: Administration Keywords: user rol translate
Focuses: Cc:

Description

In wp-admin/users.php the "select" of the users rol and the title of
the user group in the same role, it is not translated.

Attach files .patch to fix that.

Attachments (2)

wp-admin.includes.template.php.patch (698 bytes) - added by rnt 16 years ago.
wp-admin/includes/template.php patch
wp-admin.users.php.patch (540 bytes) - added by rnt 16 years ago.
wp-admin/users.php patch

Download all attachments as: .zip

Change History (8)

@rnt
16 years ago

wp-admin/includes/template.php patch

@rnt
16 years ago

wp-admin/users.php patch

#1 @ryan
16 years ago

Variables cannot be translated. Only literal strings can be translated. Roles are saved in the DB and are translated at installation time.

#2 @rnt
16 years ago

In that case there should be a warning at the installation time or the option of changing that value .

I installed my blog long time ago, and then not put the language file. With this, I never have a blog entirely translated.

#3 @lloydbudd
16 years ago

  • Milestone changed from 2.4 to 2.5

#4 @ryan
16 years ago

  • Owner changed from anonymous to ryan

#5 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [6916]) Don't save translated role names to the DB. Instead, translate them on the fly. fixes #3442 #5537

#6 @ryan
16 years ago

  • Milestone changed from 2.6 to 2.5
Note: See TracTickets for help on using tickets.