Ticket #16012: movabletype-importer-i18n-fix.patch
File movabletype-importer-i18n-fix.patch, 1.0 KB (added by , 14 years ago) |
---|
-
trunk/movabletype-importer.php
522 522 } 523 523 } 524 524 525 $mt_import = new MT_Import();526 527 register_importer('mt', __('Movable Type and TypePad', 'movabletype-importer'), __('Import posts and comments from a Movable Type or TypePad blog.', 'movabletype-importer'), array ($mt_import, 'dispatch'));528 529 525 } // class_exists( 'WP_Importer' ) 530 526 531 527 function movabletype_importer_init() { 532 528 load_plugin_textdomain( 'movabletype-importer', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 529 530 $mt_import = new MT_Import(); 531 register_importer('mt', __('Movable Type and TypePad', 'movabletype-importer'), __('Import posts and comments from a Movable Type or TypePad blog.', 'movabletype-importer'), array ($mt_import, 'dispatch')); 533 532 } 534 add_action( ' init', 'movabletype_importer_init' );533 add_action( 'admin_init', 'movabletype_importer_init' );