WordPress.org

Make WordPress Core

Ticket #4838: mt-importer-tiny-i18n.diff

File mt-importer-tiny-i18n.diff, 797 bytes (added by nbachiyski, 11 years ago)
  • wp-admin/import/mt.php

     
    179179                if ( $_POST['upload_type'] === 'ftp' ) {
    180180                        $file['file'] = ABSPATH . 'wp-content/mt-export.txt';
    181181                        if ( !file_exists($file['file']) )
    182                                 $file['error'] = __('<code>mt-export.txt</code> does not exist</code>');
     182                                $file['error'] = __('<code>mt-export.txt</code> does not exist');
    183183                } else {
    184184                        $file = wp_import_handle_upload();
    185185                }
     
    447447$mt_import = new MT_Import();
    448448
    449449register_importer('mt', __('Movable Type and TypePad'), __('Import posts and comments from a Movable Type or Typepad blog'), array ($mt_import, 'dispatch'));
    450 ?>
    451  No newline at end of file
     450?>