Support » Plugin: BTCNew » [Plugin: BTCNew] Small typo in comments template

  • Simon Wheatley

    (@simonwheatley)


    Code for the People

    Just a small typo at the bottom of the comment-template.php file, which makes the word previous to “BackType” run into it (e.g. “Additional comments powered byBackType”).

    I suggest this line is changed to: echo '<p class="btc-powered">'. sprintf(__('Additional comments powered by %s', 'btcnew'), '<a href="http://www.backtype.com/search?q=' . get_permalink($post->ID) . '">BackType</a>' ). '</p>';

    This is a more translation friendly way of doing it, and adds the space in English.

    Hope this helps.

    http://wordpress.org/extend/plugins/btcnew/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author mcalamelli

    (@mcalamelli)

    Hi Simon, thank you for this bug report! I already done this change into my local repository, and I think i’ll be ready to commit a new release in the coming weeks.

    Massimiliano

    Simon Wheatley

    (@simonwheatley)

    Code for the People

    Good news, thanks!

    Simon Wheatley

    (@simonwheatley)

    Code for the People

    Hi Massimiliano, I’ve noticed another, similar, issue with the notice put at the bottom of comments to explain their source. Perhaps you’ve spotted it already? In function _btcnew_comment_desc I think the line at about line 1020 should be:

    $desc = '<p><em>' . sprintf( __('This comment was originally posted on %s', 'btcnew'), '<a href="' . $entry['comment_url'] . '" rel="nofollow"' . (($title != '') ? ' title="' . $title . '"' : '') . '>' . $source . '</a>' ) . '</em></p>';

    Thanks again for listening, and thanks for the plugin.

    Plugin Author mcalamelli

    (@mcalamelli)

    Already spotted, but thanks again, Simon! These issues are coming from a patch that I received some time ago, about i18n, not so much tested. My fault 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: BTCNew] Small typo in comments template’ is closed to new replies.