[wp-trac] [WordPress Trac] #17777: Simplifying some Twenty-Ten strings for i18n

WordPress Trac wp-trac at lists.automattic.com
Sun Jun 12 22:34:34 UTC 2011


#17777: Simplifying some Twenty-Ten strings for i18n
-------------------------+-----------------------------
 Reporter:  xibe         |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Themes       |    Version:  3.2
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 Is there a way the following strings could be made simpler, so that
 translators wouldn't have to waddle through the attributes in order to
 find the hidden word(s) to translate? It could even prevent mistakes
 (wrongly deleted <'s and such).

 content-image.php:34
 {{{
 <a href=\"%1$s\" rel=\"bookmark\"><time class=\"entry-date\"
 datetime=\"%2$s\" pubdate>%3$s</time></a><span class=\"by-author\"> <span
 class=\"sep\"> by </span> <span class=\"author vcard\"><a class=\"url fn
 n\" href=\"%4$s\" title=\"%5$s\" rel=\"author\">%6$s</a></span></span>
 }}}

 image.php:29
 {{{
 <span class=\"meta-prep meta-prep-entry-date\">Published </span> <span
 class=\"entry-date\"><abbr class=\"published\"
 title=\"%1$s\">%2$s</abbr></span> at <a href=\"%3$s\" title=\"Link to
 full-size image\">%4$s &times; %5$s</a> in <a href=\"%6$s\" title=\"Return
 to %7$s\" rel=\"gallery\">%7$s</a>
 }}}

 functions.php:556
 {{{
 <span class=\"sep\">Posted on </span><a href=\"%1$s\" title=\"%2$s\"
 rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%3$s\"
 pubdate>%4$s</time></a><span class=\"by-author\"> <span class=\"sep\"> by
 </span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"%5$s\"
 title=\"%6$s\" rel=\"author\">%7$s</a></span></span>
 }}}

 ---

 Not as confusing, but still could gain from simplification:

 content.php:30 and others...
 {{{
 <span class=\"leave-reply\">Reply</span>
 }}}

 content.php:77 and others...
 {{{
 <span class=\"leave-reply\">Leave a reply</span>
 }}}

 ---

 As a final bonus, this one could use some 'splaining :)

 functions.php:56
 {{{
 %1$s on %2$s%3$s at %4$s%5$s <span class=\"says\">said:</span>
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17777>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list