[wp-polyglots] Link to comments in default i18n theme
Ran Yaniv Hartstein
ran.hartstein at gmail.com
Mon Apr 7 19:03:52 GMT 2008
The i18n theme in the polyglot repos does not support translation of the
string "Comments Closed" in comment links.
The comment link function looks like this:
<?php comments_popup_link(__('No Comments »', 'kubrick'), __('1 Comment
»', 'kubrick'), __('% Comments »', 'kubrick')); ?>
To translate the "Comments Closed" string, it should look (for e.g.) like
this:
<?php comments_popup_link(__('No Comments »', 'kubrick'), __('1 Comment
»', 'kubrick'), __('% Comments »', 'kubrick'),
_c('comments-link|HTML class for comments link', 'kubrick'), __('Comments
Closed', 'kubrick') ); ?>
These functions appear are in index.php, archive.php and search.php
More information about the comments_popup_link function is available in the
codex:
http://codex.wordpress.org/Template_Tags/comments_popup_link
--
-- RYH♡,
ranh.co.il
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-polyglots/attachments/20080407/a9af6152/attachment.htm
More information about the wp-polyglots
mailing list