Changeset 1559:b6601f74bcd2 for plugins
- Timestamp:
- 08/24/13 11:25:47 (12 years ago)
- Branch:
- default
- Location:
- plugins/importExport/inc
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/importExport/inc/class.dc.export.flat.php
r1499 r1559 193 193 '<form action="'.$this->getURL(true).'" method="post" class="fieldset">'. 194 194 '<h3>'.__('Single blog').'</h3>'. 195 '<p>'.sprintf(__('This will create an export of your current blog: %s'), html::escapeHTML($this->core->blog->name)).'</p>'.195 '<p>'.sprintf(__('This will create an export of your current blog: %s'),'<strong>'.html::escapeHTML($this->core->blog->name)).'</strong>.</p>'. 196 196 197 197 '<p><label for="file_name">'.__('File name:').'</label>'. -
plugins/importExport/inc/class.dc.import.dc1.php
r1454 r1559 143 143 case 1: 144 144 echo 145 '<p>'.sprintf(__(' This will import your Dotclear 1.2 content as new contentin the current blog: %s.'),145 '<p>'.sprintf(__('Import the content of a Dotclear 1.2\'s blog in the current blog: %s.'), 146 146 '<strong>'.html::escapeHTML($this->core->blog->name).'</strong>').'</p>'. 147 '<p class="static-msg">'.__('Please note that this process '. 148 'will empty your categories, blogroll, entries and comments on the current blog.').'</p>'. 149 '<p>'.__('Depending on the size of your blog, it could take a few minutes.').'</p>'; 147 '<p class="form-note warn">'.__('Please note that this process '. 148 'will empty your categories, blogroll, entries and comments on the current blog.').'</p>'; 150 149 151 150 printf($this->imForm(1,__('General information'),__('Import my blog now')), 152 '<p class="form-note info">'.__('We first need some information about your old Dotclear 1.2 installation.').'</p>'.151 '<p>'.__('We first need some information about your old Dotclear 1.2 installation.').'</p>'. 153 152 '<p><label for="db_host">'.__('Database Host Name:').'</label> '. 154 153 form::field('db_host',30,255,html::escapeHTML($this->vars['db_host'])).'</p>'. … … 217 216 return 218 217 '<form action="'.$this->getURL(true).'" method="post">'. 219 '< fieldset><legend>'.$legend.'</legend>'.218 '<h3>'.$legend.'</h3>'. 220 219 $this->core->formNonce(). 221 220 form::hidden(array('do'),'step'.$step). 222 221 '%s'. 223 222 '<p><input type="submit" value="'.$submit_value.'" /></p>'. 224 '< /fieldset>'.223 '<p class="form-note info">'.__('Depending on the size of your blog, it could take a few minutes.').'</p>'. 225 224 '</form>'; 226 225 } -
plugins/importExport/inc/class.dc.import.feed.php
r1553 r1559 20 20 { 21 21 $this->type = 'import'; 22 $this->name = __(' Feed import');23 $this->description = __(' Imports a feed as new entries.');22 $this->name = __('RSS or Atom feed import'); 23 $this->description = __('Add a feed content to the blog.'); 24 24 } 25 25 … … 82 82 echo 83 83 '<form action="'.$this->getURL(true).'" method="post">'. 84 '<p>'.sprintf(__(' This will import a feed (RSS or Atom) a as new content in the current blog: %s.'),html::escapeHTML($this->core->blog->name)).'</p>'.84 '<p>'.sprintf(__('Add a feed content to the current blog: <strong>%s</strong>.'),html::escapeHTML($this->core->blog->name)).'</p>'. 85 85 86 86 '<p><label for="feed_url">'.__('Feed URL:').'</label>'. -
plugins/importExport/inc/class.dc.import.flat.php
r1499 r1559 142 142 if ($this->status == 'single') 143 143 { 144 dcPage:: message(__('Single blog successfully imported.'));144 dcPage::success(__('Single blog successfully imported.')); 145 145 return; 146 146 } 147 147 if ($this->status == 'full') 148 148 { 149 dcPage:: message(__('Content successfully imported.'));149 dcPage::success(__('Content successfully imported.')); 150 150 return; 151 151 } … … 184 184 '<p>'.sprintf(__('This will import a single blog backup as new content in the current blog: <strong>%s</strong>.'),html::escapeHTML($this->core->blog->name)).'</p>'. 185 185 186 '<p><label for="up_single_file" class="classic">'.__('Upload a backup file').187 ' ('.sprintf(__(' Maximum size %s'),files::size(DC_MAX_UPLOAD_SIZE)).')'.' </label>'.186 '<p><label for="up_single_file">'.__('Upload a backup file'). 187 ' ('.sprintf(__('maximum size %s'),files::size(DC_MAX_UPLOAD_SIZE)).')'.' </label>'. 188 188 ' <input type="file" id="up_single_file" name="up_single_file" size="20" />'. 189 189 '</p>'; … … 191 191 if ($has_files) { 192 192 echo 193 '<p><label for="public_single_file" class=" classic">'.__('or pick up a local file in your public directory').'</label> '.193 '<p><label for="public_single_file" class="">'.__('or pick up a local file in your public directory').' </label> '. 194 194 form::combo('public_single_file',$public_files). 195 195 '</p>'; … … 212 212 '<p class="warning">'.__('This will reset all the content of your database, except users.').'</p>'. 213 213 214 '<p><label for="up_full_file" class="classic">'.__('Upload a backup file').' '.215 ' ('.sprintf(__(' Maximum size %s'),files::size(DC_MAX_UPLOAD_SIZE)).')'.' </label>'.214 '<p><label for="up_full_file">'.__('Upload a backup file').' '. 215 ' ('.sprintf(__('maximum size %s'),files::size(DC_MAX_UPLOAD_SIZE)).')'.' </label>'. 216 216 '<input type="file" id="up_full_file" name="up_full_file" size="20" />'. 217 217 '</p>'; … … 219 219 if ($has_files) { 220 220 echo 221 '<p><label for="public_full_file" class="classic">'.__('or pick up a local file in your public directory').' </label>'.221 '<p><label for="public_full_file">'.__('or pick up a local file in your public directory').' </label>'. 222 222 form::combo('public_full_file',$public_files). 223 223 '</p>'; -
plugins/importExport/inc/class.dc.import.wp.php
r1454 r1559 176 176 '<p>'.sprintf(__('This will import your WordPress content as new content in the current blog: %s.'), 177 177 '<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>'; 181 180 182 181 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>'. 184 183 '<p><label for="db_host">'.__('Database Host Name:').'</label> '. 185 184 form::field('db_host',30,255,html::escapeHTML($this->vars['db_host'])).'</p>'. … … 199 198 'category per post and will chose the lowest numbered one. If you want to keep a trace of '. 200 199 '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>'. 205 205 206 206 '<p><label for="ignore_first_cat" class="classic">'.form::checkbox('ignore_first_cat',1,$this->vars['ignore_first_cat']).' '. … … 265 265 return 266 266 '<form action="'.$this->getURL(true).'" method="post">'. 267 '< fieldset><legend>'.$legend.'</legend>'.267 '<h3>'.$legend.'</h3>'. 268 268 $this->core->formNonce(). 269 269 form::hidden(array('do'),'step'.$step). 270 270 '%s'. 271 271 '<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>'. 273 273 '</form>'; 274 274 }
Note: See TracChangeset
for help on using the changeset viewer.