[wp-polyglots] Link to comments in default i18n theme

Nikolay Bachiyski nbachiyski at developer.bg
Wed Apr 9 13:48:58 GMT 2008


2008/4/7, Ran Yaniv Hartstein <ran.hartstein at gmail.com>:
> 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 &#187;', 'kubrick'), __('1 Comment
> &#187;', 'kubrick'), __('% Comments &#187;', 'kubrick')); ?>
>
> To translate the "Comments Closed" string, it should look (for e.g.) like
> this:
> <?php comments_popup_link(__('No Comments &#187;', 'kubrick'), __('1 Comment
> &#187;', 'kubrick'), __('% Comments &#187;', '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

Could you file a ticket in trac and prepare a patch? I, or one of the
others maintaining the default i18n theme will commit it.

Happy hacking,
Nikolay.


More information about the wp-polyglots mailing list