Make WordPress Core


Ignore:
Timestamp:
12/05/2006 07:15:12 AM (18 years ago)
Author:
ryan
Message:

Some string changes. Props MichaelH. fixes #2724

File:
1 edited

Legend:

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

    r4495 r4608  
    11<?php
    22/*
    3  * Dotclear import plugin
     3 * DotClear import plugin
    44 * by Thomas Quinot - http://thomas.quinot.org/
    55 */
     
    297297                $dcid2wpid[$user_id] = $ret_id;
    298298
    299                 // Set Dotclear-to-WordPress permissions translation
     299                // Set DotClear-to-WordPress permissions translation
    300300
    301301                // Update Usermeta Data
     
    346346                extract($post);
    347347
    348                 // Set Dotclear-to-WordPress status translation
     348                // Set DotClear-to-WordPress status translation
    349349                $stattrans = array(0 => 'draft', 1 => 'publish');
    350350                $comment_status_map = array (0 => 'closed', 1 => 'open');
     
    648648    {
    649649        echo '<table class="editform">';
    650         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="dbuser">%s</label></th><td><input type="text" name="dbuser" id="dbuser" /></td></tr>', __('DotClear Database User:'));
    651651        printf('<tr><th><label for="dbpass">%s</label></th><td><input type="password" name="dbpass" id="dbpass" /></td></tr>', __('DotClear Database Password:'));
    652         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="dbname">%s</label></th><td><input type="text" name="dbname" id="dbname" /></td></tr>', __('DotClear Database Name:'));
    653653        printf('<tr><th><label for="dbhost">%s</label></th><td><input type="text" name="dbhost" nameid="dbhost" value="localhost" /></td></tr>', __('DotClear Database Host:'));
    654654        printf('<tr><th><label for="dbprefix">%s</label></th><td><input type="text" name="dbprefix" id="dbprefix" value="dc_"/></td></tr>', __('DotClear Table prefix:'));
     
    745745
    746746$dc_import = new Dotclear_Import();
    747 register_importer('dotclear', __('DotClear'), __('Import posts from a DotClear Blog'), array ($dc_import, 'dispatch'));
     747register_importer('dotclear', __('DotClear'), __('Import categories, users, posts, comments, and links from a DotClear blog'), array ($dc_import, 'dispatch'));
    748748?>
Note: See TracChangeset for help on using the changeset viewer.