Changeset 4165 for trunk/wp-admin/import/mt.php
- Timestamp:
- 09/05/2006 06:52:24 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/import/mt.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/mt.php
r3785 r4165 33 33 $users = $wpdb->get_results("SELECT * FROM $wpdb->users ORDER BY ID"); 34 34 ?><select name="userselect[<?php echo $n; ?>]"> 35 <option value="#NONE#"> - Select -</option>35 <option value="#NONE#"><?php _e('- Select -') ?></option> 36 36 <?php 37 37 … … 149 149 foreach ($authors as $author) { 150 150 ++ $j; 151 echo '<li> Current author: <strong>'.$author.'</strong><br />'.'Create user <input type="text" value="'.$author.'" name="'.'user[]'.'" maxlength="30"> <br /> or map to existing ';151 echo '<li>'.__('Current author:').' <strong>'.$author.'</strong><br />'.sprintf(__('Create user %1$s or map to existing'), ' <input type="text" value="'.$author.'" name="'.'user[]'.'" maxlength="30"> <br />'); 152 152 $this->users_form($j); 153 153 echo '</li>'; 154 154 } 155 155 156 echo '<input type="submit" value=" Submit">'.'<br/>';156 echo '<input type="submit" value="'.__('Submit').'">'.'<br/>'; 157 157 echo '</form>'; 158 158 echo '</ol></div>'; … … 164 164 if ( isset($file['error']) ) { 165 165 $this->header(); 166 echo '<p> Sorry, there has been an error.</p>';166 echo '<p>'.__('Sorry, there has been an error').'.</p>'; 167 167 echo '<p><strong>' . $file['error'] . '</strong></p>'; 168 168 $this->footer(); … … 335 335 } 336 336 if ( $num_comments ) 337 printf( __('(%s comments)'), $num_comments);337 printf(' '.__('(%s comments)'), $num_comments); 338 338 339 339 // Finally the pings … … 383 383 } 384 384 if ( $num_pings ) 385 printf( __('(%s pings)'), $num_pings);385 printf(' '.__('(%s pings)'), $num_pings); 386 386 387 387 echo "</li>"; … … 431 431 $mt_import = new MT_Import(); 432 432 433 register_importer('mt', 'Movable Type and Typepad', __('Imports <strong>posts and comments</strong> from your Movable Type or Typepad blog'), array ($mt_import, 'dispatch'));433 register_importer('mt', __('Movable Type and Typepad'), __('Imports <strong>posts and comments</strong> from your Movable Type or Typepad blog'), array ($mt_import, 'dispatch')); 434 434 ?>
Note: See TracChangeset
for help on using the changeset viewer.