From c9062a5ecb40a727fedd8ca17473c55945a6aac4 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sun, 25 Apr 2004 23:25:31 +0000 Subject: [PATCH] Mark strings for translation. git-svn-id: https://develop.svn.wordpress.org/trunk@1174 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/link-import.php | 54 ++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/wp-admin/link-import.php b/wp-admin/link-import.php index 4e1ed027f5..4ac2a9013f 100644 --- a/wp-admin/link-import.php +++ b/wp-admin/link-import.php @@ -5,7 +5,7 @@ require_once('../wp-config.php'); $parent_file = 'link-manager.php'; -$title = 'Import Blogroll'; +$title = __('Import Blogroll'); $this_file = 'link-import.php'; $step = $_POST['step']; @@ -18,45 +18,45 @@ switch ($step) { $standalone = 0; include_once('admin-header.php'); if ($user_level < get_settings('links_minadminlevel')) - die ("Cheatin’ uh?"); + die (__("Cheatin’ uh?")); $opmltype = 'blogrolling'; // default. ?>
-

Import your blogroll from another system

+

    -
  1. Go to Blogrolling.com - and sign in. Once you've done that, click on Get Code, and then +
  2. Blogrolling.com + and sign in. Once you’ve done that, click on Get Code, and then look for the OPML - code.
  3. -
  4. Or go to Blo.gs and sign in. Once you've done - that in the 'Welcome Back' box on the right, click on share, and then + code') ?>.
  5. +
  6. Blo.gs and sign in. Once you’ve done + that in the \'Welcome Back\' box on the right, click on share, and then look for the OPML - link (favorites.opml).
  7. -
  8. Select that text and copy it or copy the link/shortcut into the box below.
    + link (favorites.opml).') ?>
  9. +

  10. - Your OPML URL: +
  11. - or you can upload an OPML file from your desktop aggregator:
    + or you can upload an OPML file from your desktop aggregator:') ?>
    - +
  12. -
  13. Now select a category you want to put these links in.
    - Category: get_results("SELECT cat_id, cat_name, auto_toggle FROM $tablelinkcategories ORDER BY cat_id"); foreach ($categories as $category) { @@ -69,7 +69,7 @@ switch ($step) {
  14. -
  15. +
@@ -82,11 +82,11 @@ switch ($step) { $standalone = 0; include_once('admin-header.php'); if ($user_level < get_settings('links_minadminlevel')) - die ("Cheatin' uh ?"); + die (__("Cheatin' uh ?")); ?>
-

Importing...

+

"; + echo __("Upload error

"); } } @@ -125,15 +125,15 @@ switch ($step) { $query = "INSERT INTO $tablelinks (link_url, link_name, link_target, link_category, link_description, link_owner, link_rss) VALUES('{$urls[$i]}', '".addslashes($names[$i])."', '', $cat_id, '".addslashes($descriptions[$i])."', $user_ID, '{$feeds[$i]}')\n"; $result = $wpdb->query($query); - echo "

Inserted {$names[$i]}

"; + echo sprintf(__("

Inserted %s

"), $names[$i]); } ?> -

Inserted links into category . All done! Go manage those links.

+

manage those links.'), $link_count, $cat_id, 'link-manager.php') ?>

You need to supply your OPML url. Press back on your browser and try again

\n"; + echo "

" . __("You need to supply your OPML url. Press back on your browser and try again") . "

\n"; } // end else ?> @@ -144,4 +144,4 @@ switch ($step) { ?>
- \ No newline at end of file +