Ticket #16012: utw-importer-i18n-fix.patch
File utw-importer-i18n-fix.patch, 1013 bytes (added by , 14 years ago) |
---|
-
trunk/utw-importer.php
296 296 297 297 } 298 298 299 300 // create the import object301 $utw_import = new UTW_Import();302 303 // add it to the import page!304 register_importer('utw', 'Ultimate Tag Warrior', __('Import Ultimate Tag Warrior tags into WordPress tags.', 'utw-importer'), array($utw_import, 'dispatch'));305 306 299 } // class_exists( 'WP_Importer' ) 307 300 308 301 function utw_importer_init() { 309 302 load_plugin_textdomain( 'utw-importer', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 303 304 // create the import object 305 $utw_import = new UTW_Import(); 306 // add it to the import page! 307 register_importer('utw', 'Ultimate Tag Warrior', __('Import Ultimate Tag Warrior tags into WordPress tags.', 'utw-importer'), array($utw_import, 'dispatch')); 310 308 } 311 add_action( ' init', 'utw_importer_init' );309 add_action( 'admin_init', 'utw_importer_init' );