Plugin Directory

Changeset 525883


Ignore:
Timestamp:
04/01/2012 08:55:26 PM (14 years ago)
Author:
technical_mastermind
Message:

Tagging 1.0.2

Location:
tm-lunch-menu
Files:
3 added
2 edited
11 copied

Legend:

Unmodified
Added
Removed
  • tm-lunch-menu/tags/1.0.2/inc/meta-boxes/widget-options.php

    r525874 r525883  
    1313</p>
    1414<p>
    15     <label for="<?php echo $this->get_field_id('numberposts'); ?>"><?php _e('Max number of menus to show at one time', 'tm-lunch-menu'); ?>:</label><br />
     15    <label for="<?php echo $this->get_field_id('numberposts'); ?>"><?php _e('Maximum number of menus to show at one time', 'tm-lunch-menu'); ?>:</label><br />
    1616    <select id="<?php echo $this->get_field_id('numberposts'); ?>"
    1717    name="<?php echo $this->get_field_name('numberposts'); ?>">
  • tm-lunch-menu/tags/1.0.2/index.php

    r525874 r525883  
    7272        if(get_option('tm_lunch_menu_ver') != $this->version) $this->update();
    7373
     74        // Add in translation if applicable
     75        add_action('init', array($this, 'init'));
     76
    7477        // Register deactivation hook
    7578        register_deactivation_hook( TM_LM_FILE, array($this, 'deactivation_hook') );
     
    9295        add_filter('manage_edit-tm_lunch_menu_sortable_columns', array($this, 'add_sortable_columns'));
    9396        add_filter('request', array($this, 'menu_order_columns_by'));
     97    }
     98
     99    function init() {
     100        load_plugin_textdomain('tm-lunch-menu', false, TM_LM_PATH.'/languages/');
    94101    }
    95102
  • tm-lunch-menu/trunk/inc/meta-boxes/widget-options.php

    r525874 r525883  
    1313</p>
    1414<p>
    15     <label for="<?php echo $this->get_field_id('numberposts'); ?>"><?php _e('Max number of menus to show at one time', 'tm-lunch-menu'); ?>:</label><br />
     15    <label for="<?php echo $this->get_field_id('numberposts'); ?>"><?php _e('Maximum number of menus to show at one time', 'tm-lunch-menu'); ?>:</label><br />
    1616    <select id="<?php echo $this->get_field_id('numberposts'); ?>"
    1717    name="<?php echo $this->get_field_name('numberposts'); ?>">
  • tm-lunch-menu/trunk/index.php

    r525874 r525883  
    7272        if(get_option('tm_lunch_menu_ver') != $this->version) $this->update();
    7373
     74        // Add in translation if applicable
     75        add_action('init', array($this, 'init'));
     76
    7477        // Register deactivation hook
    7578        register_deactivation_hook( TM_LM_FILE, array($this, 'deactivation_hook') );
     
    9295        add_filter('manage_edit-tm_lunch_menu_sortable_columns', array($this, 'add_sortable_columns'));
    9396        add_filter('request', array($this, 'menu_order_columns_by'));
     97    }
     98
     99    function init() {
     100        load_plugin_textdomain('tm-lunch-menu', false, TM_LM_PATH.'/languages/');
    94101    }
    95102
Note: See TracChangeset for help on using the changeset viewer.