WordPress.org

Ready to get started?Download WordPress

Forums

"Last comments" widget (5 posts)

  1. Hammermsith
    Member
    Posted 5 years ago #

    Please, help!
    http://www.sro.spso74.ru
    I have the widget (last comments) above "Construct Canada" banner.
    There is comment: admin на "...comment....".
    I want to change "на" tо ":". How to do it?

  2. moshu
    Member
    Posted 5 years ago #

    Is that the default WordPress widget or something you have installed?

    If it is the default "recent comments" widget from WP + you are using a Russian version of WP - it is in the translation (.mo) file. You cannot edit a .mo file, you need the .po file to make your edits in the translation.

    If there is another plugin - you need to edit the plugin (or its translation).

  3. Hammermsith
    Member
    Posted 5 years ago #

    Yes, this is default 'recent comments' widget.
    I've checked .po file (Russian .mo & .po files: http://lecactus.ru/download-manager.php?id=106), there is no "на" or "on".

    In English "на" sounds "on". I think I have to modify the file which contains "on", but I can't find it.

  4. moshu
    Member
    Posted 5 years ago #

    Don't post direct link to downloads - read what the guy says: "...размещение прямых ссылок на файлы запрещено, переразмещение на файлообменники запрещено, оставляйте просто ссылку на эту страницу..."

    And in the ru_RU.po file what you are looking for is on line #8039:
    %1$s on %2$s
    translation:
    %1$s на %2$s

    You can change it to: %1$s : %2$s in the .po file and then generate the .mo file (if you use poEdit)

    (the original string is in wp-includes/widgets.php in line #976)

  5. Hammermsith
    Member
    Posted 5 years ago #

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.