Forums

Problem In number of comment (5 posts)

  1. xGeek
    Member
    Posted 1 year ago #

    HI my blog is
    info-geek.com
    and i use monochrome theme and i use wordpress 3.0.1 frensh my problem is when an article contain 1 comment the theme dislay "A comment" not "1Comment"
    you can see this picture to understand me better :

    http://img832.imageshack.us/img832/8074/slection011.png

  2. Joseph
    Member
    Posted 1 year ago #

    You need to open index.php and look for something like

    <?php comments_popup_link('Comment', 'A Comment', '% Comments'); ?>

    and change 'A Comment' to '1 Comment' or whatever you want.

  3. xGeek
    Member
    Posted 1 year ago #

    i find this code on index.php

    <?php comments_popup_link(__('Write comment', 'monochrome'), __('1 comment', 'monochrome'), __('%s comments', 'monochrome')); ?>

  4. Joseph
    Member
    Posted 1 year ago #

    Then it must be due to the translation.

    I don't know how to change the translation but what you can do is replace

    __('1 comment', 'monochrome')

    with just

    '1 commentaire'
  5. xGeek
    Member
    Posted 1 year ago #

    fixed !
    thanks Joseph :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags