[wp-hackers] 1.5.1 Release

Kimmo Suominen kim at tac.nyc.ny.us
Mon Apr 18 14:58:32 GMT 2005


You must have an old version you are looking at -- the current one
has this:

<p><?php printf(__('There are currently %1$s <a href="%2$s" title="Posts">posts</a> and %3$s <a href="%4$s" title="Comments">comments</a>, contained within %5$s <a href="%6$s" title="categories">categories</a>.'), $numposts, 'edit.php',  $numcomms, 'edit-comments.php', $numcats, 'categories.php'); ?></p>

Regards,
+ Kim
-- 
<A HREF="http://kimmo.suominen.com/">Kimmo Suominen</A>


On Mon, Apr 18, 2005 at 10:54:20AM -0400, Scott Merrill wrote:
> Stefano wrote:
> > ABout gettext error we still have a problem with the string in the
> > Dashboard, the one that says: There are currently XX posts and XX
> > comments, contained within XX categories.
> > 
> > It's a multiline text that donesn't get gettexedd correctly, actully
> > I'm not able to find the mosquito entry related to this.
> 
> Line 84 of wp-admin/index.php:
> <p>There are currently <?php echo $numposts ?> <a href="edit.php"
> title="posts">posts</a> and <?php echo $numcomms ?> <a
> href="edit-comments.php" title="Comments">comments</a>, contained within
> <?php echo $numcats ?> <a href="categories.php"
> title="categories">categories</a>.</p>
> 
> I'm just now looking into i18n for my own plugins, so forgive me if this
> is obvious and/or wrong:
> Shouldn't the above (indeed, all text in wp-admin/*) be wrapped in __()
> or _e() for translation?  Seems like the above could very easily be
> broken into seperate strings.


More information about the wp-hackers mailing list