From d77b5659aa76b48561e36028aa2e97c053d0ed8a Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 2 Dec 2005 17:42:12 +0000 Subject: [PATCH] i18n updates from nbachiyski. #2006 git-svn-id: http://svn.automattic.com/wordpress/trunk@3260 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/import/blogger.php | 2 +- wp-admin/import/textpattern.php | 94 +++++++++++++++++---------------- 2 files changed, 49 insertions(+), 47 deletions(-) diff --git a/wp-admin/import/blogger.php b/wp-admin/import/blogger.php index bc9cdc24c3..e14aa788df 100644 --- a/wp-admin/import/blogger.php +++ b/wp-admin/import/blogger.php @@ -341,7 +341,7 @@ class Blogger_Import { $form = "
"; $form.= $body; $form.= "
"; - $output.= "

$blog_opt in progress, please wait...

\n"; + $output.= '

'.sprintf('%s in progress, please wait...', $blog_opt)."

\n"; } else { $output.= "

$blog_opt

\n"; } diff --git a/wp-admin/import/textpattern.php b/wp-admin/import/textpattern.php index e4be99acff..6bf50a0235 100644 --- a/wp-admin/import/textpattern.php +++ b/wp-admin/import/textpattern.php @@ -42,7 +42,7 @@ class Textpattern_Import { { echo '
'; echo '

'.__('Import Textpattern').'

'; - echo '

'.__('Steps may take a few minutes depending on the size of your database. Please be patient.

'); + echo '

'.__('Steps may take a few minutes depending on the size of your database. Please be patient.').'

'; } function footer() @@ -52,12 +52,12 @@ class Textpattern_Import { function greet() { - _e('

Howdy! This importer allows you to extract posts from any Textpattern 4.0.2+ into your blog. This has not been tested on previous versions of Textpattern. Mileage may vary.

'); - _e('

Your Textpattern Configuration settings are as follows:

'); - _e('
'); + echo '

'.__('Howdy! This importer allows you to extract posts from any Textpattern 4.0.2+ into your blog. This has not been tested on previous versions of Textpattern. Mileage may vary.').'

'; + echo '

'.__('Your Textpattern Configuration settings are as follows:').'

'; + echo ''; $this->db_form(); - _e(''); - _e('
'); + echo ''; + echo ''; } function get_txp_cats() @@ -427,7 +427,7 @@ class Textpattern_Import { // Deal with the links if(is_array($links)) { - echo __('

Importing Links...

'); + echo '

'.__('Importing Links...').'

'; foreach($links as $link) { $count++; @@ -462,7 +462,9 @@ class Textpattern_Import { $txplinks2wplinks[$link_id] = $ret_id; } add_option('txplinks2wplinks',$txplinks2wplinks); - echo __('

Done! '.$count.' Links imported.

'); + echo '

'; + printf(__('Done! %s Links imported'), $count); + echo '

'; return true; } echo __('No Links to Import!'); @@ -478,9 +480,9 @@ class Textpattern_Import { - _e('
'); - _e(''); - _e('
'); + echo '
'; + printf('', __('Import Users')); + echo '
'; } @@ -490,9 +492,9 @@ class Textpattern_Import { $users = $this->get_txp_users(); $this->users2wp($users); - _e('
'); - _e(''); - _e('
'); + echo '
'; + printf('', __('Import Posts')); + echo '
'; } function import_posts() @@ -501,9 +503,9 @@ class Textpattern_Import { $posts = $this->get_txp_posts(); $this->posts2wp($posts); - _e('
'); - _e(''); - _e('
'); + echo '
'; + printf('', __('Import Comments')); + echo '
'; } function import_comments() @@ -512,9 +514,9 @@ class Textpattern_Import { $comments = $this->get_txp_comments(); $this->comments2wp($comments); - _e('
'); - _e(''); - _e('
'); + echo '
'; + printf('', __('Import Links')); + echo '
'; } function import_links() @@ -524,9 +526,9 @@ class Textpattern_Import { $this->links2wp($links); add_option('txp_links', $links); - _e('
'); - _e(''); - _e('
'); + echo '
'; + printf('', __('Finish')); + echo '
'; } function cleanup_txpimport() @@ -547,32 +549,32 @@ class Textpattern_Import { function tips() { - echo __('

Welcome to WordPress. We hope (and expect!) that you will find this platform incredibly rewarding! As a new WordPress user coming from Textpattern, there are some things that we would like to point out. Hopefully, they will help your transition go as smoothly as possible.

'); - echo __('

Users

'); - echo __('

You have already setup WordPress and have been assigned an administrative login and password. Forget it. You didn\'t have that login in Textpattern, why should you have it here? Instead we have taken care to import all of your users into our system. Unfortunately there is one downside. Because both WordPress and Textpattern uses a strong encryption hash with passwords, it is impossible to decrypt it and we are forced to assign temporary passwords to all your users. Every user has the same username, but their passwords are reset to password123. So Login and change it.

'); - echo __('

Preserving Authors

'); - echo __('

Secondly, we have attempted to preserve post authors. If you are the only author or contributor to your blog, then you are safe. In most cases, we are successful in this preservation endeavor. However, if we cannot ascertain the name of the writer due to discrepancies between database tables, we assign it to you, the administrative user.

'); - echo __('

Textile

'); - echo __('

Also, since you\'re coming from Textpattern, you probably have been using Textile to format your comments and posts. If this is the case, we recommend downloading and installing Textile for WordPress. Trust me... You\'ll want it.

'); - echo __('

WordPress Resources

'); - echo __('

Finally, there are numerous WordPress resources around the internet. Some of them are:

'); - echo __(''); - echo __('

That\'s it! What are you waiting for? Go login!

'); + echo '

'.__('Welcome to WordPress. We hope (and expect!) that you will find this platform incredibly rewarding! As a new WordPress user coming from Textpattern, there are some things that we would like to point out. Hopefully, they will help your transition go as smoothly as possible.').'

'; + echo '

'.__('Users').'

'; + echo '

'.__('You have already setup WordPress and have been assigned an administrative login and password. Forget it. You didn\'t have that login in Textpattern, why should you have it here? Instead we have taken care to import all of your users into our system. Unfortunately there is one downside. Because both WordPress and Textpattern uses a strong encryption hash with passwords, it is impossible to decrypt it and we are forced to assign temporary passwords to all your users. Every user has the same username, but their passwords are reset to password123. So Login and change it.').'

'; + echo '

'.__('Preserving Authors').'

'; + echo '

'.__('Secondly, we have attempted to preserve post authors. If you are the only author or contributor to your blog, then you are safe. In most cases, we are successful in this preservation endeavor. However, if we cannot ascertain the name of the writer due to discrepancies between database tables, we assign it to you, the administrative user.').'

'; + echo '

'.__('Textile').'

'; + echo '

'.__('Also, since you\'re coming from Textpattern, you probably have been using Textile to format your comments and posts. If this is the case, we recommend downloading and installing Textile for WordPress. Trust me... You\'ll want it.').'

'; + echo '

'.__('WordPress Resources').'

'; + echo '

'.__('Finally, there are numerous WordPress resources around the internet. Some of them are:').'

'; + echo ''; + echo '

'.__('That\'s it! What are you waiting for? Go login!').'

'; } function db_form() { - _e(''); + echo ''; } function dispatch() @@ -658,4 +660,4 @@ class Textpattern_Import { $txp_import = new Textpattern_Import(); register_importer('textpattern', 'Textpattern', __('Import posts from a Textpattern Blog'), array ($txp_import, 'dispatch')); -?> \ No newline at end of file +?>