#10270 closed defect (bug) (fixed)
User roles are not translated
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8.1 |
| Component: | I18N | Version: | 2.8 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
In the current fr_FR translation (po file), user roles are translated, but the translation do not seem to be applied (see attached capture).
#. translators: user role #: wp-admin/includes/schema.php:372 msgctxt "User role" msgid "Administrator" msgstr "Administrateur" #. translators: user role #: wp-admin/includes/schema.php:374 msgctxt "User role" msgid "Editor" msgstr "Éditeur" #. translators: user role #: wp-admin/includes/schema.php:376 msgctxt "User role" msgid "Author" msgstr "Auteur" #. translators: user role #: wp-admin/includes/schema.php:378 msgctxt "User role" msgid "Contributor" msgstr "Contributeur" #. translators: user role #: wp-admin/includes/schema.php:380 msgctxt "User role" msgid "Subscriber" msgstr "Abonné"
Attachments (2)
Change History (8)
The role was being passed as "Administrator|User role". Running it through before_last_bar() before passing to gettext should fix it. Try that patch.
- Resolution set to fixed
- Status changed from new to closed
I went ahead and committed the patch and updated the nightly builds to make testing easier. Try out the nightly and let us know if it works.
http://wordpress.org/nightly-builds/wordpress-2.8-latest.zip
Note: See
TracTickets for help on using
tickets.

User creation: role setting