WordPress.org

Make WordPress Core

Changeset 4369


Ignore:
Timestamp:
10/10/06 09:07:06 (8 years ago)
Author:
matt
Message:

Capitalization fixes in importers. Hat tip: Niall.

Location:
trunk/wp-admin/import
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/blogger.php

    r4165 r4369  
    663663$blogger_import = new Blogger_Import(); 
    664664 
    665 register_importer('blogger', __('Blogger and Blogspot'), __('Import <strong>posts and comments</strong> from your Blogger account'), array ($blogger_import, 'start')); 
     665register_importer('blogger', __('Blogger and Blog*Spot'), __('Import <strong>posts and comments</strong> from your Blogger account'), array ($blogger_import, 'start')); 
    666666 
    667667?> 
  • trunk/wp-admin/import/dotclear.php

    r4349 r4369  
    133133    { 
    134134        echo '<div class="wrap">'; 
    135         echo '<h2>'.__('Import Dotclear').'</h2>'; 
     135        echo '<h2>'.__('Import DotClear').'</h2>'; 
    136136        echo '<p>'.__('Steps may take a few minutes depending on the size of your database. Please be patient.').'</p>'; 
    137137    } 
     
    144144    function greet()  
    145145    { 
    146         echo '<div class="narrow"><p>'.__('Howdy! This importer allows you to extract posts from a Dotclear database into your blog.  Mileage may vary.').'</p>'; 
    147         echo '<p>'.__('Your Dotclear Configuration settings are as follows:').'</p>'; 
     146        echo '<div class="narrow"><p>'.__('Howdy! This importer allows you to extract posts from a DotClear database into your blog.  Mileage may vary.').'</p>'; 
     147        echo '<p>'.__('Your DotClear Configuration settings are as follows:').'</p>'; 
    148148        echo '<form action="admin.php?import=dotclear&amp;step=1" method="post">'; 
    149149        $this->db_form(); 
     
    627627    function tips() 
    628628    { 
    629         echo '<p>'.__('Welcome to WordPress.  We hope (and expect!) that you will find this platform incredibly rewarding!  As a new WordPress user coming from Dotclear, there are some things that we would like to point out.  Hopefully, they will help your transition go as smoothly as possible.').'</p>'; 
     629        echo '<p>'.__('Welcome to WordPress.  We hope (and expect!) that you will find this platform incredibly rewarding!  As a new WordPress user coming from DotClear, there are some things that we would like to point out.  Hopefully, they will help your transition go as smoothly as possible.').'</p>'; 
    630630        echo '<h3>'.__('Users').'</h3>'; 
    631         echo '<p>'.sprintf(__('You have already setup WordPress and have been assigned an administrative login and password.  Forget it.  You didn\'t have that login in Dotclear, why should you have it here?  Instead we have taken care to import all of your users into our system.  Unfortunately there is one downside.  Because both WordPress and Dotclear uses a strong encryption hash with passwords, it is impossible to decrypt it and we are forced to assign temporary passwords to all your users.  <strong>Every user has the same username, but their passwords are reset to password123.</strong>  So <a href="%1$s">Login</a> and change it.'), '/wp-login.php').'</p>'; 
     631        echo '<p>'.sprintf(__('You have already setup WordPress and have been assigned an administrative login and password.  Forget it.  You didn\'t have that login in DotClear, why should you have it here?  Instead we have taken care to import all of your users into our system.  Unfortunately there is one downside.  Because both WordPress and DotClear uses a strong encryption hash with passwords, it is impossible to decrypt it and we are forced to assign temporary passwords to all your users.  <strong>Every user has the same username, but their passwords are reset to password123.</strong>  So <a href="%1$s">Login</a> and change it.'), '/wp-login.php').'</p>'; 
    632632        echo '<h3>'.__('Preserving Authors').'</h3>'; 
    633633        echo '<p>'.__('Secondly, we have attempted to preserve post authors.  If you are the only author or contributor to your blog, then you are safe.  In most cases, we are successful in this preservation endeavor.  However, if we cannot ascertain the name of the writer due to discrepancies between database tables, we assign it to you, the administrative user.').'</p>'; 
    634634        echo '<h3>'.__('Textile').'</h3>'; 
    635         echo '<p>'.__('Also, since you\'re coming from Dotclear, you probably have been using Textile to format your comments and posts.  If this is the case, we recommend downloading and installing <a href="http://www.huddledmasses.org/category/development/wordpress/textile/">Textile for WordPress</a>.  Trust me... You\'ll want it.').'</p>'; 
     635        echo '<p>'.__('Also, since you\'re coming from DotClear, you probably have been using Textile to format your comments and posts.  If this is the case, we recommend downloading and installing <a href="http://www.huddledmasses.org/category/development/wordpress/textile/">Textile for WordPress</a>.  Trust me... You\'ll want it.').'</p>'; 
    636636        echo '<h3>'.__('WordPress Resources').'</h3>'; 
    637637        echo '<p>'.__('Finally, there are numerous WordPress resources around the internet.  Some of them are:').'</p>'; 
     
    648648        echo '<table class="editform">'; 
    649649        printf('<tr><th><label for="dbuser">%s</label></th><td><input type="text" name="dbuser" id="dbuser" /></td></tr>', __('Dotclear Database User:')); 
    650         printf('<tr><th><label for="dbpass">%s</label></th><td><input type="password" name="dbpass" id="dbpass" /></td></tr>', __('Dotclear Database Password:')); 
     650        printf('<tr><th><label for="dbpass">%s</label></th><td><input type="password" name="dbpass" id="dbpass" /></td></tr>', __('DotClear Database Password:')); 
    651651        printf('<tr><th><label for="dbname">%s</label></th><td><input type="text" name="dbname" id="dbname" /></td></tr>', __('Dotclear Database Name:')); 
    652         printf('<tr><th><label for="dbhost">%s</label></th><td><input type="text" name="dbhost" nameid="dbhost" value="localhost" /></td></tr>', __('Dotclear Database Host:')); 
    653         printf('<tr><th><label for="dbprefix">%s</label></th><td><input type="text" name="dbprefix" id="dbprefix" value="dc_"/></td></tr>', __('Dotclear Table prefix:')); 
     652        printf('<tr><th><label for="dbhost">%s</label></th><td><input type="text" name="dbhost" nameid="dbhost" value="localhost" /></td></tr>', __('DotClear Database Host:')); 
     653        printf('<tr><th><label for="dbprefix">%s</label></th><td><input type="text" name="dbprefix" id="dbprefix" value="dc_"/></td></tr>', __('DotClear Table prefix:')); 
    654654        printf('<tr><th><label for="dccharset">%s</label></th><td><input type="text" name="dccharset" id="dccharset" value="ISO-8859-15"/></td></tr>', __('Originating character set:')); 
    655655        echo '</table>'; 
     
    744744 
    745745$dc_import = new Dotclear_Import(); 
    746 register_importer('dotclear', __('Dotclear'), __('Import posts from a Dotclear Blog'), array ($dc_import, 'dispatch')); 
     746register_importer('dotclear', __('DotClear'), __('Import posts from a DotClear Blog'), array ($dc_import, 'dispatch')); 
    747747?> 
  • trunk/wp-admin/import/mt.php

    r4349 r4369  
    1212    function header() { 
    1313        echo '<div class="wrap">'; 
    14         echo '<h2>'.__('Import Movable Type and Typepad').'</h2>'; 
     14        echo '<h2>'.__('Import Movable Type and TypePad').'</h2>'; 
    1515    } 
    1616 
     
    433433$mt_import = new MT_Import(); 
    434434 
    435 register_importer('mt', __('Movable Type and Typepad'), __('Imports <strong>posts and comments</strong> from your Movable Type or Typepad blog'), array ($mt_import, 'dispatch')); 
     435register_importer('mt', __('Movable Type and Typepad'), __('Imports <strong>posts and comments</strong> from your Movable Type or TypePad blog'), array ($mt_import, 'dispatch')); 
    436436?> 
Note: See TracChangeset for help on using the changeset viewer.