Plugin Directory

Changeset 566153


Ignore:
Timestamp:
07/01/2012 06:21:43 PM (14 years ago)
Author:
paddelboot
Message:

Updated german localization;

Location:
3pagination/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 3pagination/trunk/3pagination.php

    r566138 r566153  
    6262            // Set textdomain string
    6363            add_filter( 'init', array( $this, 'set_textdomain' ), 1 );
    64             add_filter( 'init', array( $this, 'load_textdomain' ), 2 );
     64            add_filter( 'init', array( $this, 'load_plugin_textdomain' ), 2 );
    6565
    6666            add_filter( 'wp_enqueue_scripts', array( $this, 'frontend_scripts' ) );
     
    8888        }
    8989
    90         public function load_textdomain() {
     90        public function load_plugin_textdomain() {
    9191
    9292            load_plugin_textdomain( $this->textdomain, FALSE, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
  • 3pagination/trunk/class.settings.php

    r566124 r566153  
    88 * @TODO:
    99 * - Set placement template globally, not for each option
     10 * - Contextual help
     11 *
    1012 * 
    1113 */
     
    369371            <input type="text" name="3pagination_settings[css_class]" value="<?php echo $this->init_var( $settings, 'css_class', 'classic', TRUE ); ?>" />
    370372            <br />
    371             <span class="description">Default classes: classic, classic-glow, classic-small</span>
     373            <span class="description"><?php _e( 'Default classes: classic, classic-glow, classic-small', parent::$_object->textdomain ); ?></span>
    372374            <?php
    373375        }
     
    379381            <input type="text" name="3pagination_settings[other_maxnumpages]" value="<?php echo $this->init_var( $settings, 'other_maxnumpages', '999', TRUE ); ?>" />
    380382            <br />
    381             <span class="description">Limit to a maximum number of pagelinks</span>
     383            <span class="description"><?php _e( 'Limit to a maximum number of pagelinks', parent::$_object->textdomain ); ?></span>
    382384            <?php
    383385        }
Note: See TracChangeset for help on using the changeset viewer.