[wp-trac] [WordPress Trac] #19852: Don't load admin strings on the frontend
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 18 20:46:17 UTC 2012
#19852: Don't load admin strings on the frontend
----------------------------+------------------
Reporter: nacin | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.4
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: |
----------------------------+------------------
Comment (by nacin):
Replying to [comment:8 pavelevap]:
> 1) function register_admin_color_schemes() - contains strings for
administration.
All strings in wp-includes will be included in the main wordpress.pot,
regardless of intended use. It won't add up to much.
> And other problem: Some general strings are same for frontend and
backend, for example "Comments", etc. So, there will be need for adding
them to both textdomain files.
As there will be a hierarchy of includes (wordpress.pot is always
included, wordpress-admin.pot is always included in the site/network/user
admins, etc.) we can keep the string in only one pot, whichever is the
superset.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19852#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list