Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#5537 closed defect (bug) (fixed)

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

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

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 19 years ago.
wp-admin/includes/template.php patch
wp-admin.users.php.patch​ (540 bytes ) - added by rnt 19 years ago.
wp-admin/users.php patch

Download all attachments as: .zip

Change History (8)

@rnt
19 years ago

wp-admin/includes/template.php patch

@rnt
19 years ago

wp-admin/users.php patch

#1 @ryan
19 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
19 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
19 years ago

  • Milestone 2.4 → 2.5

#4 @ryan
19 years ago

  • Owner changed from anonymous to ryan

#5 @ryan
19 years ago

  • Resolution → fixed
  • Status new → closed

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

#6 @ryan
19 years ago

  • Milestone 2.6 → 2.5
Note: See TracTickets for help on using tickets.