WordPress.org

Ready to get started?Download WordPress

Forums

Floating Social Bar
Float Social Bar Localization (l10n) - Version 1.1.5 (1 post)

  1. LCMAquino
    Member
    Posted 7 months ago #

    Hi Guys,

    First of all thank you for this plugin!

    I made a localization to pt_BR (Brazilian Portuguese) and I want to share with you. It was necessary make some "bug fixes".

    #Bug 1
    Update line 648 in "class-floating-social-bar.php".

    Old:
    <p><?php printf( __( '<strong><a href="%s" title="%s" target="_blank">%s</a> %s</strong> %s', 'fsb' ), 'http://wpbeginner.com/refer/soliloquy/?utm_source=fsb&utm_medium=link&utm_campaign=Floating+Social+Bar', 'Soliloquy is the best responsive WordPress slider plugin!', 'Soliloquy', 'is the best responsive WordPress slider plugin on the market.', 'You can build responsive sliders in 60 seconds or less with its easy to use interface. Take advantage of our coupon and save 25% on Soliloquy today!' ); ?></p>

    New:
    <p><?php printf( __( '<strong><a href="%s" title="%s" target="_blank">%s</a> %s</strong> %s', 'fsb' ), 'http://wpbeginner.com/refer/soliloquy/?utm_source=fsb&utm_medium=link&utm_campaign=Floating+Social+Bar', __( 'Soliloquy is the best responsive WordPress slider plugin!', 'fsb' ), __( 'Soliloquy', 'fsb' ), __('is the best responsive WordPress slider plugin on the market.', 'fsb' ), __( 'You can build responsive sliders in 60 seconds or less with its easy to use interface. Take advantage of our coupon and save 25% on Soliloquy today!', 'fsb' ) ); ?></p>

    #Bug 2
    Update line 1099 in "class-floating-social-bar.php".

    Old:
    $output .= '<a href="https://twitter.com/share?original_referer=' . urlencode( trailingslashit( get_home_url() ) ) . '&source=tweetbutton&text=' . urlencode( strip_tags( get_the_title( $post->ID ) ) ) . '&url=' . urlencode( get_permalink( $post->ID ) ) . '&via=' . urlencode( $this->option['twitter'] ) . '" class="socialite twitter fsb-twitter" data-fsb-service="twitter" rel="nofollow" target="_blank" title="' . ( $count ? $count . __( ' retweets so far', 'fsb' ) : __( 'Be the first one to tweet this article!' ) ) . '"><span class="fsb-service-title">Twitter</span><span class="fsb-count">' . ( $count ? $count : 0 ) . '</span></a>';

    New:
    $output .= '<a href="https://twitter.com/share?original_referer=' . urlencode( trailingslashit( get_home_url() ) ) . '&source=tweetbutton&text=' . urlencode( strip_tags( get_the_title( $post->ID ) ) ) . '&url=' . urlencode( get_permalink( $post->ID ) ) . '&via=' . urlencode( $this->option['twitter'] ) . '" class="socialite twitter fsb-twitter" data-fsb-service="twitter" rel="nofollow" target="_blank" title="' . ( $count ? $count . __( ' retweets so far', 'fsb' ) : __( 'Be the first one to tweet this article!', 'fsb' ) ) . '"><span class="fsb-service-title">Twitter</span><span class="fsb-count">' . ( $count ? $count : 0 ) . '</span></a>';

    Locale files
    fsb-lang.tar.gz

    http://wordpress.org/plugins/floating-social-bar/

Reply

You must log in to post.

About this Plugin

About this Topic