[wp-trac] [WordPress Trac] #20881: Show code references in inherited localization files
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 7 20:01:32 UTC 2012
#20881: Show code references in inherited localization files
--------------------------+-----------------------------
Reporter: pavelevap | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version:
Severity: normal | Keywords:
--------------------------+-----------------------------
For example string "Invalid post type" is used several times - on frontend
and also in admin. But this string is only in frontend localization file,
because this file is also loaded on admin side. That is correct, no need
to duplicate strings in different files. But translators do not see code
references related to admin file and it can leads to context problems
during translation.
It could be very helpfull to modify makepot.php to add related code
references to generated .pot files.
Related example: #20809
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20881>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list