Plugin Directory

Changeset 465625


Ignore:
Timestamp:
11/21/2011 01:40:15 PM (14 years ago)
Author:
camaleo
Message:

1.1

Location:
noprofeedorg/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • noprofeedorg/trunk/class.noprofeed.php

    r414127 r465625  
    237237        if(strlen($this->locale)>0) {
    238238
    239             load_plugin_textdomain($this->locale, dirname(__FILE__), dirname(__FILE__) . '/langs/');
    240         }
     239            /**
     240             * 1.1
     241             */
     242//          load_plugin_textdomain($this->locale, dirname(__FILE__), dirname(__FILE__) . '/langs/');
     243            if(WPLANG != '') {
     244
     245                load_textdomain( $this->locale, dirname(__FILE__) . '/langs/' . WPLANG . '.mo' );
     246            }
     247        }
     248
     249        define('SAVE_BTN', __('Update Options', NOPROFEED_LOCALE ));
     250        define('SAVE_AND_RELOAD_BTN', __('Update Options and Reload The Feeds Cache', NOPROFEED_LOCALE ));
     251        define('ACTIVATE_BTN', __('Activate', NOPROFEED_LOCALE ));
     252        define('DEACTIVATE_BTN', __('Deactivate', NOPROFEED_LOCALE ));
     253        define('DEACTIVATE_FULL_BTN', __('Fully deactivate', NOPROFEED_LOCALE ));
     254
    241255
    242256        wp_enqueue_style($this->plugin_slug . '-style-override', $this->url . '/noprofeed-override.css', '', $this->version, 'screen');
     
    719733                                ?>:<br />
    720734                                <select id="nop_wid_feedHeight" name="nop_wid_feedHeight" onchange="npf_wid_toggle_feedContent(this.value);">
    721                                     <option value="0" <?php echo $selected0; ?>>The title and the entire feed content</option>
    722                                     <option value="1" <?php echo $selected1; ?>>The title and the first sentence</option>
    723                                     <option value="2" <?php echo $selected2; ?>>Just the title</option>
     735                                    <option value="0" <?php echo $selected0; ?>><?php _e('The title and the entire feed content', NOPROFEED_LOCALE ); ?></option>
     736                                    <option value="1" <?php echo $selected1; ?>><?php _e('The title and the first sentence', NOPROFEED_LOCALE ); ?></option>
     737                                    <option value="2" <?php echo $selected2; ?>><?php _e('Just the title', NOPROFEED_LOCALE ); ?></option>
    724738                                </select>
    725739                            </p>
  • noprofeedorg/trunk/inc/shared_data.php

    r403247 r465625  
    11<?php
    2 /* automatically created on 2011-07-01 10:07:50 by noprofeed.lan */$langs = array();$categories = array();$regions = array();$langs['en']='English';$langs['fr']='French';$langs['de']='German';$langs['it']='Italian';$langs['pt']='Portuguese';$langs['es']='Spanish; Castilian';$categories['A&W']='Animals & wildlife';$categories['CHI']='Children';$categories['D&G']='Democracy and governance';$categories['DIR']='Disaster recovery';$categories['EDM']='Economic development & microfinance';$categories['EDU']='Education';$categories['E&C']='Environment & climate';$categories['FAM']='Family';$categories['HEA']='Health';$categories['HUR']='Human rights';$categories['HAS']='Humanitarian assistance';$categories['SND']='Special needs & disabilities';$categories['SPO']='Sport';$categories['TEC']='Technology';$categories['WOM']='Women & girls';$regions['AFR']='Africa';$regions['ASI']='Asia';$regions['SAM']='Central America & South America';$regions['CHI']='China';$regions['EUR']='Europe';$regions['MEA']='Middle East';$regions['NAM']='North America';$regions['OCE']='Oceania';$regions['RUS']='Russia';
     2/* automatically created on 2011-11-21 13:23:44 by noprofeed.lan */$langs = array();$categories = array();$regions = array();$langs['en']='English';$langs['fr']='French';$langs['de']='German';$langs['it']='Italian';$langs['pt']='Portuguese';$langs['es']='Spanish; Castilian';$categories['A&W']='Animals & wildlife';$categories['CHI']='Children';$categories['D&G']='Democracy and governance';$categories['DIR']='Disaster recovery';$categories['EDM']='Economic development & microfinance';$categories['EDU']='Education';$categories['E&C']='Environment & climate';$categories['FAM']='Family';$categories['HEA']='Health';$categories['HUR']='Human rights';$categories['HAS']='Humanitarian assistance';$categories['SND']='Special needs & disabilities';$categories['SPO']='Sport';$categories['TEC']='Technology';$categories['WOM']='Women & girls';$regions['AFR']='Africa';$regions['ASI']='Asia';$regions['SAM']='Central America & South America';$regions['CHI']='China';$regions['EUR']='Europe';$regions['MEA']='Middle East';$regions['NAM']='North America';$regions['OCE']='Oceania';$regions['RUS']='Russia';
    33?>
  • noprofeedorg/trunk/noprofeed-override.css

    r414440 r465625  
    1 /* automatically created on 2011-07-24 08:50:57 by dwp31 */
     1/* automatically created on 2011-11-21 13:23:30 by noprofeed.lan */
    22
    3 #npf-widget-container{width:265px;}
    4 #npf-wid-topShadow,#npf-wid-botShadow{width:80%;margin-left:10%;height:10px;background:url(http://dwp31/wp-content/plugins/noprofeedorg/img/widget-shadow.png) no-repeat center top;display:block;}
    5 #npf-wid-botShadow{background:url(http://dwp31/wp-content/plugins/noprofeedorg/img/widget-shadow.png) no-repeat center bottom;}
    6 #npf-widget{padding:10px 20px;border:1px solid #FFFFFF;color:#7B7051;background:#B5DBB4 url(http://dwp31/wp-content/plugins/noprofeedorg/img/bg-pattern.png) repeat;}
     3#npf-widget-container{width:310px;}
     4#npf-wid-topShadow,#npf-wid-botShadow{width:80%;margin-left:10%;height:10px;background:url(http://noprofeed.lan/wp-content/plugins/noprofeedorg/img/widget-shadow.png) no-repeat center top;display:block;}
     5#npf-wid-botShadow{background:url(http://noprofeed.lan/wp-content/plugins/noprofeedorg/img/widget-shadow.png) no-repeat center bottom;}
     6#npf-widget{padding:10px 20px;border:1px solid #FFFFFF;color:#7B7051;background:#B5DBB4 url(http://noprofeed.lan/wp-content/plugins/noprofeedorg/img/bg-pattern.png) repeat;}
    77#npf-widget a {color:#2585A8;}
  • noprofeedorg/trunk/noprofeed.php

    r414440 r465625  
    44Plugin URI: http://noprofeed.org/
    55Description: Help non-profit organizations to spread the word about their activities on the largest possible number of WordPress blogs/sites.
    6 Version: 1.0.8.1
     6Version: 1.1
    77Author: Ugo Grandolini aka "camaleo"
    88Author URI: http://grandolini.com
     
    6767
    6868
    69 define('SAVE_BTN', __('Update Options', NOPROFEED_LOCALE ));
    70 define('SAVE_AND_RELOAD_BTN', __('Update Options and Reload The Feeds Cache', NOPROFEED_LOCALE ));
    71 define('ACTIVATE_BTN', __('Activate', NOPROFEED_LOCALE ));
    72 define('DEACTIVATE_BTN', __('Deactivate', NOPROFEED_LOCALE ));
    73 define('DEACTIVATE_FULL_BTN', __('Fully deactivate', NOPROFEED_LOCALE ));
     69//define('SAVE_BTN', __('Update Options', NOPROFEED_LOCALE ));
     70//define('SAVE_AND_RELOAD_BTN', __('Update Options and Reload The Feeds Cache', NOPROFEED_LOCALE ));
     71//define('ACTIVATE_BTN', __('Activate', NOPROFEED_LOCALE ));
     72//define('DEACTIVATE_BTN', __('Deactivate', NOPROFEED_LOCALE ));
     73//define('DEACTIVATE_FULL_BTN', __('Fully deactivate', NOPROFEED_LOCALE ));
     74
    7475
    7576/* 1.0.8: BEG */
  • noprofeedorg/trunk/readme.txt

    r414440 r465625  
    44Tags: social, help, update, comments, links, plugin, plugins, rss, sidebar, google, facebook, twitter, widget, wordpress
    55Requires at least: 2.8
    6 Tested up to: 3.2
     6Tested up to: 3.3-beta3
    77Stable tag: trunk
    88
     
    5858== Changelog ==
    5959
     60= 1.1 (21 November 2011) =
     61Added the Italian translation - Please help us by translating the plugin in your language!
     62
    6063= 1.0.8.1 (24 July 2011) =
    6164Replaced few lines of a Creative Commons licensed code used to handle the mailing list subscription as per kind request from wordpress.org
Note: See TracChangeset for help on using the changeset viewer.