Plugin Directory

Changeset 1161250


Ignore:
Timestamp:
05/15/2015 03:01:27 PM (11 years ago)
Author:
osdwebdev
Message:

Small amount of multilingual support added

Location:
osd-social-media-sharing
Files:
19 added
3 edited

Legend:

Unmodified
Added
Removed
  • osd-social-media-sharing/trunk/includes/OSDSocialShare.php

    r1092564 r1161250  
    5757        $this->options = get_option("osd_social_share_options");
    5858        $this->options = ($this->options == false) ? array() : $this->options;
     59
     60        // Multilingual
     61        load_plugin_textdomain('osd-sms-domain', false, basename(dirname(__FILE__))."/lang/");
    5962
    6063        // Populate the default services classes (this makes sure anything newly added to the service arrays will show up in updates)
     
    160163        foreach ($this->options["services"] as $platform => $link) {
    161164            $button_title = (isset($link['service-name'])) ? $link['service-name'] : ucfirst($platform);
    162             $button_title = "Click to share on ".$button_title;
     165            $button_title = __("Click to share on ", "osd-sms-domain").$button_title;
    163166            $custom_url = (isset($link['url'])) ? $link['url'] : '';
    164167
  • osd-social-media-sharing/trunk/osd_social_media_sharing.php

    r1094595 r1161250  
    44Plugin URI: http://outsidesource.com
    55Description: Add buttons to share any of your content on facebook, twitter, google plus, pinterest, email and more.
    6 Version: 3.4.1
     6Version: 3.5
    77Author: OSD Web Development Team
    88Author URI: http://outsidesource.com
     9Text Domain: osd-sms-domain
    910License: GPL2v2
    1011*/
  • osd-social-media-sharing/trunk/readme.txt

    r1094595 r1161250  
    33Tags: wordpress, social media, facebook, twitter, pinterest, linkedIn, google plus, google, email, osd, social media sharing, share buttons, sharing buttons, jetpack sharing, jetpack, custom sharing icons
    44Requires at least: 3.4
    5 Tested up to: 4.1
    6 Stable tag: 3.4.1
     5Tested up to: 4.2
     6Stable tag: 3.5
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4040
    4141== Changelog ==
     42
     43= 3.5 =
     44* Small amount of multilingual support added
    4245
    4346= 3.4.1 =
     
    112115== Upgrade Notice ==
    113116
     117= 3.5 =
     118* Small amount of multilingual support added
     119
    114120= 3.1 =
    115121* Added some shortcodes to the custom url
Note: See TracChangeset for help on using the changeset viewer.