Commit Graph

83 Commits

Author SHA1 Message Date
Peter Westwood 8f124cb667 phpdoc updates for l10n functions. Fixes #9767 props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@11281 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 21:15:05 +00:00
Mark Jaquith c638e8d8de _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Ryan Boren b16cbfc447 Return fiter result directly. Props Denis-de-Bernardy. fixes #9690
git-svn-id: https://develop.svn.wordpress.org/trunk@11194 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 05:32:20 +00:00
Ryan Boren 036a7656f9 attr(), _a(), _ea(), _xa() for shorthand attribute escaping. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11103 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 21:58:04 +00:00
Ryan Boren 273df5a466 Fix 'Only variable references should be returned by reference' notices
git-svn-id: https://develop.svn.wordpress.org/trunk@11083 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-24 23:43:32 +00:00
Ryan Boren 8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Ryan Boren 5d8651d6f3 gettext comments. Props nbachiyski. see #9112
git-svn-id: https://develop.svn.wordpress.org/trunk@10774 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 03:53:39 +00:00
Ryan Boren 1952e923f8 gettext contexts. Props nbachiyski. see #9112
git-svn-id: https://develop.svn.wordpress.org/trunk@10767 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 23:02:29 +00:00
Ryan Boren bc924291b2 Switch to pomo lib. Support gettext contexts. Deprecate long form functions. Props nbachiyski. fixes #9112 #9111
git-svn-id: https://develop.svn.wordpress.org/trunk@10584 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-17 05:03:29 +00:00
Ryan Boren 390984d25d Contextual ngettext from nbachiyski. fixes #8128
git-svn-id: https://develop.svn.wordpress.org/trunk@9887 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-25 22:25:21 +00:00
Ryan Boren 6e4773588a Add optional path arg to load_theme_textdomain(). Props filosofo. fixes #6951
git-svn-id: https://develop.svn.wordpress.org/trunk@9212 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 20:44:39 +00:00
Peter Westwood 5f2a75db7b Allow plugins to mangle translations of english strings as well as translated strings. Fixes #6742.
git-svn-id: https://develop.svn.wordpress.org/trunk@9211 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 20:27:45 +00:00
Peter Westwood 047ec90dee phpDoc corrections for wp-includes. See #7550 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8782 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-30 21:23:43 +00:00
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Ryan Boren 9ac24840ea Allow merging of similarly named text domains. Props sambauers. fixes #7376 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8556 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 21:28:50 +00:00
Ryan Boren eb99bdcadf Use WP_LANG_DIR. fixes #7378 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8404 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-22 21:09:30 +00:00
Ryan Boren 250e5f0717 Back compat fixes for load_plugin_textdomain() from nbachiyski. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@8065 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-09 19:39:04 +00:00
Ryan Boren 9ce7676e72 Make load_plugin_textdomain() work with WP_CONTENT_DIR. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@8041 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-03 17:19:47 +00:00
Ryan Boren 6cc11cbf1e Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@7999 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:55:24 +00:00
Peter Westwood e668d3e404 Always set the locale to something. Fixes #6872 props MarcoZ.
git-svn-id: https://develop.svn.wordpress.org/trunk@7885 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 17:28:42 +00:00
Ryan Boren 4dcc023818 ngettext fixes from nbachiyski. fixes #6261
git-svn-id: https://develop.svn.wordpress.org/trunk@7397 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-19 16:00:09 +00:00
Ryan Boren b96affbfd5 Don't save translated role names to the DB. Instead, translate them on the fly. fixes #3442 #5537
git-svn-id: https://develop.svn.wordpress.org/trunk@6916 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-19 20:28:54 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Ryan Boren f5564e74c8 phpdoc tuneup from darkdragon. see #5611
git-svn-id: https://develop.svn.wordpress.org/trunk@6585 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-09 17:48:00 +00:00
Ryan Boren 652d5722e9 phpdoc for l10n. Props darkdragon. fixes #5590
git-svn-id: https://develop.svn.wordpress.org/trunk@6563 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-06 01:28:34 +00:00
Ryan Boren 3a8b2fcca3 Remove unused vars. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6364 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:49:33 +00:00
Ryan Boren 3b2de5b5df Refactor l10n code to reduce duplication. Change placement of context. Props nbachiyski. fixes #3687
git-svn-id: https://develop.svn.wordpress.org/trunk@5258 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 21:15:44 +00:00
Ryan Boren 8357362440 Add _c() for disambiguatin translateable strings. Props nbachiyski. fixes #3687
git-svn-id: https://develop.svn.wordpress.org/trunk@5081 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-22 03:34:23 +00:00
Ryan Boren 11f6d0247b If WPLANG is empty leave empty. fixes #3611
git-svn-id: https://develop.svn.wordpress.org/trunk@4764 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-18 17:40:05 +00:00
Matt Mullenweg 3aa3af79c7 Apply filter on locale, fixes #2383
git-svn-id: https://develop.svn.wordpress.org/trunk@4588 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-03 21:09:24 +00:00
Ryan Boren e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Ryan Boren 7e99c9b9d7 Turn hard-coded paths to defines. Pull gettext includes int wp-settings. Props mdawaffe. fixes #3157
git-svn-id: https://develop.svn.wordpress.org/trunk@4202 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-21 20:46:39 +00:00
Ryan Boren d2240011a0 Remove wp- prefix from wp-l10n.php
git-svn-id: https://develop.svn.wordpress.org/trunk@3870 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-15 07:24:44 +00:00