WordPress.org

Forums

functions in wp-comments.php (2 posts)

  1. bronski
    Member
    Posted 9 years ago #

    I think in line 24 it should be
    comments_number(__('Comments'), __('1 Comment'), __('% Comments'));
    instead of
    comments_number(__("Comments"));
    as this function prepends the string with the number of comments.
    When using l10n I ended up with a translated "Kommentare" in case there are no comments and English "1 Comment" or "2 Comments" with comments.

  2. bronski
    Member
    Posted 9 years ago #

    This is only beautification, but anyway...
    Another one in index.php, line 40, there is
    edit_post_link();
    Following a similar occurance in wp-comments.php I changed it to
    edit_post_link(__("Edit This"), ' |');
    Vice versa comment_author_link() (line 39 in wp-comments.php is wrapped in <cite>...</cite> when in index.php the_author() is wrapped in <div class="meta">...</div> - beautification again.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.