[wp-trac] Re: [WordPress Trac] #3442: role names shouldn't be
gettexted in schema.php
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 19 09:02:35 GMT 2008
#3442: role names shouldn't be gettexted in schema.php
------------------------------+---------------------------------------------
Reporter: tenpura | Owner: ryan
Type: defect | Status: new
Priority: normal | Milestone: 2.5
Component: Administration | Version: 2.5
Severity: normal | Resolution:
Keywords: i18n needs-patch |
------------------------------+---------------------------------------------
Comment (by ryan):
Patch saves the untranslated strings to the roles array stored in the DB
and translates them on the fly later. Dummy _c() calls are made to get
the strings in the message catalog. translate_with_context() is used for
on-the-fly translation since strings are not extracted from it when
creating the message catalog.
--
Ticket URL: <http://trac.wordpress.org/ticket/3442#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list