]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/import/jkw.php
Wordpress 2.8
[autoinstalls/wordpress.git] / wp-admin / import / jkw.php
index ba479528b91a22d485b8fd8d337571044631e3f5..d21d79a352e7ab6172dba1cc4c70897ba47fc6f9 100644 (file)
@@ -34,11 +34,11 @@ class JeromesKeyword_Import {
                echo '<p><strong>'.__('Don&#8217;t be stupid - backup your database before proceeding!').'</strong></p>';
                echo '<form action="admin.php?import=jkw&amp;step=1" method="post">';
                wp_nonce_field('import-jkw');
-               echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Import Version 1.x').'" /></p>';
+               echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Import Version 1.x').'" /></p>';
                echo '</form>';
                echo '<form action="admin.php?import=jkw&amp;step=3" method="post">';
                wp_nonce_field('import-jkw');
-               echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Import Version 2.0a').'" /></p>';
+               echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Import Version 2.0a').'" /></p>';
                echo '</form>';
                echo '</div>';
        }
@@ -98,7 +98,7 @@ class JeromesKeyword_Import {
                        return false;
                } else {
                        $count = count($metakeys);
-                       echo '<p>' . sprintf( __ngettext('Done! <strong>%s</strong> post with tags were read.', 'Done! <strong>%s</strong> posts with tags were read.', $count), $count ) . '<br /></p>';
+                       echo '<p>' . sprintf( _n('Done! <strong>%s</strong> post with tags were read.', 'Done! <strong>%s</strong> posts with tags were read.', $count), $count ) . '<br /></p>';
                        echo '<ul>';
                        foreach ( $metakeys as $post_meta ) {
                                if ( $post_meta->meta_value != '' ) {
@@ -120,7 +120,7 @@ class JeromesKeyword_Import {
 
                echo '<form action="admin.php?import=jkw&amp;step='.($precheck? 2:6).'" method="post">';
                wp_nonce_field('import-jkw');
-               echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Next').'" /></p>';
+               echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Next').'" /></p>';
                echo '</form>';
                echo '</div>';
        }
@@ -139,7 +139,7 @@ class JeromesKeyword_Import {
                        return false;
                } else {
                        $count = count($metakeys);
-                       echo '<p>' . sprintf( __ngettext('Done! <strong>%s</strong> tag were read.', 'Done! <strong>%s</strong> tags were read.', $count), $count ) . '<br /></p>';
+                       echo '<p>' . sprintf( _n('Done! <strong>%s</strong> tag were read.', 'Done! <strong>%s</strong> tags were read.', $count), $count ) . '<br /></p>';
                        echo '<ul>';
                        foreach ( $metakeys as $post_meta ) {
                                $keyword = addslashes(trim($post_meta->tag_name));
@@ -153,7 +153,7 @@ class JeromesKeyword_Import {
                }
                echo '<form action="admin.php?import=jkw&amp;step='.($precheck? 4:5).'" method="post">';
                wp_nonce_field('import-jkw');
-               echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Next').'" /></p>';
+               echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Next').'" /></p>';
                echo '</form>';
                echo '</div>';
        }