diff options
Diffstat (limited to 'wp-admin/link-import.php')
-rw-r--r-- | wp-admin/link-import.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/wp-admin/link-import.php b/wp-admin/link-import.php index 98bdc87..9f1e0c0 100644 --- a/wp-admin/link-import.php +++ b/wp-admin/link-import.php @@ -16,7 +16,7 @@ switch ($step) { { include_once('admin-header.php'); if ( !current_user_can('manage_links') ) - die (__("Cheatin’ uh?")); + wp_die(__('Cheatin’ uh?')); $opmltype = 'blogrolling'; // default. ?> @@ -26,7 +26,7 @@ switch ($step) { <form enctype="multipart/form-data" action="link-import.php" method="post" name="blogroll"> <?php wp_nonce_field('import-bookmarks') ?> -<p><?php _e('If a program or website you use allows you to export your bookmarks or subscriptions as OPML you may import them here.'); ?> +<p><?php _e('If a program or website you use allows you to export your links or subscriptions as OPML you may import them here.'); ?> <div style="width: 70%; margin: auto; height: 8em;"> <input type="hidden" name="step" value="1" /> <input type="hidden" name="MAX_FILE_SIZE" value="30000" /> @@ -43,7 +43,7 @@ switch ($step) { </div> -<p style="clear: both; margin-top: 1em;"><?php _e('Now select a category you want to put these bookmarks in.') ?><br /> +<p style="clear: both; margin-top: 1em;"><?php _e('Now select a category you want to put these links in.') ?><br /> <?php _e('Category:') ?> <select name="cat_id"> <?php $categories = get_categories('hide_empty=0'); @@ -68,7 +68,7 @@ foreach ($categories as $category) { include_once('admin-header.php'); if ( !current_user_can('manage_links') ) - die (__("Cheatin' uh ?")); + wp_die(__('Cheatin’ uh?')); ?> <div class="wrap"> @@ -111,7 +111,7 @@ foreach ($categories as $category) { echo sprintf('<p>'.__('Inserted <strong>%s</strong>').'</p>', $names[$i]); } ?> - <p><?php printf(__('Inserted %1$d bookmarks into category %2$s. All done! Go <a href="%3$s">manage those bookmarks</a>.'), $link_count, $cat_id, 'link-manager.php') ?></p> + <p><?php printf(__('Inserted %1$d links into category %2$s. All done! Go <a href="%3$s">manage those links</a>.'), $link_count, $cat_id, 'link-manager.php') ?></p> <?php } // end if got url else |