Ticket #16012: dotclear-importer-i18n-fix.patch
| File dotclear-importer-i18n-fix.patch, 1022 bytes (added by SergeyBiryukov, 2 years ago) |
|---|
-
trunk/dotclear-importer.php
679 679 } 680 680 } 681 681 682 $dc_import = new Dotclear_Import();683 684 register_importer('dotclear', __('DotClear', 'dotclear-importer'), __('Import categories, users, posts, comments, and links from a DotClear blog.', 'dotclear-importer'), array ($dc_import, 'dispatch'));685 686 682 } // class_exists( 'WP_Importer' ) 687 683 688 684 function dotclear_importer_init() { 689 685 load_plugin_textdomain( 'dotclear-importer', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 686 687 $dc_import = new Dotclear_Import(); 688 register_importer('dotclear', __('DotClear', 'dotclear-importer'), __('Import categories, users, posts, comments, and links from a DotClear blog.', 'dotclear-importer'), array ($dc_import, 'dispatch')); 690 689 } 691 add_action( ' init', 'dotclear_importer_init' );690 add_action( 'admin_init', 'dotclear_importer_init' );
