WordPress.org

Make WordPress Core

Ticket #4121: utw-importer-i18n.diff

File utw-importer-i18n.diff, 3.8 KB (added by nbachiyski, 7 years ago)
  • wp-admin/import/utw.php

     
    1818                echo '<div class="narrow">'; 
    1919                echo '<p>'.__('Howdy! This imports tags from an existing Ultimate Tag Warrior 3 installation into this blog using the new Wordpress-native tagging structure.').'</p>'; 
    2020                echo '<p>'.__('This has not been tested on any other versions of Ultimate Tag Warrior. Mileage may vary.').'</p>'; 
    21                 echo '<p>'.__('To accomodate larger databases for those tag-crazy authors out there, we\'ve made this into an easy 5-step program to help you kick that nasty UTW habit. Just keep clicking along and we\'ll let you know when you\'re in the clear!').'</p>'; 
    22                 echo '<p>'.__('<strong>Don\'t be stupid - backup your database before proceeding!</strong>').'</p>'; 
     21                echo '<p>'.__('To accomodate larger databases for those tag-crazy authors out there, we&#8217;ve made this into an easy 5-step program to help you kick that nasty UTW habit. Just keep clicking along and we&#8217;ll let you know when you&#8217;re in the clear!').'</p>'; 
     22                echo '<p><strong>'.__("Don&#8217;t be stupid - backup your database before proceeding!").'</strong></p>'; 
    2323                echo '<form action="admin.php?import=utw&amp;step=1" method="post">'; 
    24                 echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 1').' &raquo;" /></p>'; 
     24                echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 1 &raquo;').'" /></p>'; 
    2525                echo '</form>'; 
    2626                echo '</div>'; 
    2727        } 
     
    108108                         
    109109                        echo '<br />'; 
    110110                         
    111                         echo '<p>' . __('If you don\'t want to import any of these tags, you should delete them from the UTW tag management page and then re-run this import.') . '</p>'; 
     111                        echo '<p>' . __("If you don&#8217;t want to import any of these tags, you should delete them from the UTW tag management page and then re-run this import.") . '</p>'; 
    112112                         
    113113                         
    114114                } 
    115115                 
    116116                echo '<form action="admin.php?import=utw&amp;step=2" method="post">'; 
    117                 echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 2').' &raquo;" /></p>'; 
     117                echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 2 &raquo;').'" /></p>'; 
    118118                echo '</form>'; 
    119119                echo '</div>'; 
    120120                 
     
    151151                } 
    152152 
    153153                echo '<form action="admin.php?import=utw&amp;step=3" method="post">'; 
    154                 echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 3').' &raquo;" /></p>'; 
     154                echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 3 &raquo;').'" /></p>'; 
    155155                echo '</form>'; 
    156156                echo '</div>'; 
    157157 
     
    169169                echo '<p>' . sprintf( __('Done! <strong>%1$d</strong> tags where added!'), $tags_added ) . '<br /></p>'; 
    170170 
    171171                echo '<form action="admin.php?import=utw&amp;step=4" method="post">'; 
    172                 echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 4').' &raquo;" /></p>'; 
     172                echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 4 &raquo;').'" /></p>'; 
    173173                echo '</form>'; 
    174174                echo '</div>'; 
    175175 
     
    257257                echo '<div class="narrow">'; 
    258258                echo '<p><h3>'.__('Import Complete!').'</h3></p>'; 
    259259                 
    260                 echo '<p>' . __('OK, so we lied about this being a 5-step program! You\'re done!') . '</p>'; 
     260                echo '<p>' . __("OK, so we lied about this being a 5-step program! You&#8217;re done!") . '</p>'; 
    261261                 
    262                 echo '<p>' . __('Now wasn\'t that easy?') . '</p>'; 
     262                echo '<p>' . __("Now wasn&#8217;t that easy?") . '</p>'; 
    263263                 
    264264                echo '</div>'; 
    265265                 
     
    281281// add it to the import page! 
    282282register_importer('utw', 'Ultimate Tag Warrior', __('Import Ultimate Tag Warrior tags into the new native tagging structure.'), array ($utw_import, 'dispatch')); 
    283283 
    284 ?> 
    285  No newline at end of file 
     284?>