Changeset 566153
- Timestamp:
- 07/01/2012 06:21:43 PM (14 years ago)
- Location:
- 3pagination/trunk
- Files:
-
- 2 edited
-
3pagination.php (modified) (2 diffs)
-
class.settings.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
3pagination/trunk/3pagination.php
r566138 r566153 62 62 // Set textdomain string 63 63 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 ); 65 65 66 66 add_filter( 'wp_enqueue_scripts', array( $this, 'frontend_scripts' ) ); … … 88 88 } 89 89 90 public function load_ textdomain() {90 public function load_plugin_textdomain() { 91 91 92 92 load_plugin_textdomain( $this->textdomain, FALSE, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); -
3pagination/trunk/class.settings.php
r566124 r566153 8 8 * @TODO: 9 9 * - Set placement template globally, not for each option 10 * - Contextual help 11 * 10 12 * 11 13 */ … … 369 371 <input type="text" name="3pagination_settings[css_class]" value="<?php echo $this->init_var( $settings, 'css_class', 'classic', TRUE ); ?>" /> 370 372 <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> 372 374 <?php 373 375 } … … 379 381 <input type="text" name="3pagination_settings[other_maxnumpages]" value="<?php echo $this->init_var( $settings, 'other_maxnumpages', '999', TRUE ); ?>" /> 380 382 <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> 382 384 <?php 383 385 }
Note: See TracChangeset
for help on using the changeset viewer.