Dotclear


Ignore:
Timestamp:
08/24/13 11:25:47 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Import/Export? enhancements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/importExport/inc/class.dc.import.wp.php

    r1454 r1559  
    176176                    '<p>'.sprintf(__('This will import your WordPress content as new content in the current blog: %s.'), 
    177177                    '<strong>'.html::escapeHTML($this->core->blog->name).'</strong>').'</p>'. 
    178                     '<p class="static-msg">'.__('Please note that this process '. 
    179                     'will empty your categories, blogroll, entries and comments on the current blog.').'</p>'. 
    180                     '<p>'.__('Depending on the size of your blog, it could take a few minutes.').'</p>'; 
     178                    '<p class="form-note warn">'.__('Please note that this process '. 
     179                    'will empty your categories, blogroll, entries and comments on the current blog.').'</p>'; 
    181180                     
    182181                    printf($this->imForm(1,__('General information'),__('Import my blog now')), 
    183                     '<h3>'.__('We first need some information about your old WordPress installation.').'</h3>'. 
     182                    '<p>'.__('We first need some information about your old WordPress installation.').'</p>'. 
    184183                    '<p><label for="db_host">'.__('Database Host Name:').'</label> '. 
    185184                    form::field('db_host',30,255,html::escapeHTML($this->vars['db_host'])).'</p>'. 
     
    199198                    'category per post and will chose the lowest numbered one. If you want to keep a trace of '. 
    200199                    'every category, you can import them as tags, with an optional prefix.').'</p>'. 
    201                     '<p>'.__('On the other hand, in WordPress, a post can not be uncategorized, and a default '. 
    202                     'installation has a first category labelised <i>"Uncategorized"</i>. If you did not change that '. 
    203                     'category, you can just ignore it while importing your blog, as Dotclear allows you to '. 
    204                     'actually keep your posts uncategorized.').'</p>'. 
     200                    '<p>'.__('On the other hand, in WordPress, a post can not be uncategorized, and a '. 
     201                    'default installation has a first category labelised <i>"Uncategorized"</i>.'. 
     202                    'If you did not change that category, you can just ignore it while '. 
     203                    'importing your blog, as Dotclear allows you to actually keep your posts '. 
     204                    'uncategorized.').'</p>'. 
    205205 
    206206                    '<p><label for="ignore_first_cat" class="classic">'.form::checkbox('ignore_first_cat',1,$this->vars['ignore_first_cat']).' '. 
     
    265265          return 
    266266          '<form action="'.$this->getURL(true).'" method="post">'. 
    267           '<fieldset><legend>'.$legend.'</legend>'. 
     267          '<h3>'.$legend.'</h3>'. 
    268268          $this->core->formNonce(). 
    269269          form::hidden(array('do'),'step'.$step). 
    270270          '%s'. 
    271271          '<p><input type="submit" value="'.$submit_value.'" /></p>'. 
    272           '</fieldset>'. 
     272          '<p class="form-note info">'.__('Depending on the size of your blog, it could take a few minutes.').'</p>'. 
    273273          '</form>'; 
    274274     } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map