mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
i18n fixes from nbachiyski. #2006
git-svn-id: https://develop.svn.wordpress.org/trunk@3262 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -162,7 +162,7 @@ class Textpattern_Import {
|
||||
// Do the Magic
|
||||
if(is_array($categories))
|
||||
{
|
||||
echo __('<p>Importing Categories...<br /><br /></p>');
|
||||
echo '<p>'.__('Importing Categories...').'<br /><br /></p>';
|
||||
foreach ($categories as $category)
|
||||
{
|
||||
$count++;
|
||||
@@ -186,7 +186,7 @@ class Textpattern_Import {
|
||||
|
||||
// Store category translation for future use
|
||||
add_option('txpcat2wpcat',$txpcat2wpcat);
|
||||
echo __('<p>Done! <strong>'.$count.'</strong> categories imported.<br /><br /></p>');
|
||||
echo '<p>'.sprintf(__('Done! <strong>%1$s</strong> categories imported.'), $count).'<br /><br /></p>';
|
||||
return true;
|
||||
}
|
||||
echo __('No Categories to Import!');
|
||||
@@ -203,7 +203,7 @@ class Textpattern_Import {
|
||||
// Midnight Mojo
|
||||
if(is_array($users))
|
||||
{
|
||||
echo __('<p>Importing Users...<br /><br /></p>');
|
||||
echo '<p>'.__('Importing Users...').'<br /><br /></p>';
|
||||
foreach($users as $user)
|
||||
{
|
||||
$count++;
|
||||
@@ -258,7 +258,7 @@ class Textpattern_Import {
|
||||
add_option('txpid2wpid',$txpid2wpid);
|
||||
|
||||
|
||||
echo __('<p>Done! <strong>'.$count.'</strong> users imported.<br /><br /></p>');
|
||||
echo '<p>'.sprintf(__('Done! <strong>%1$s</strong> users imported.'), $count).'<br /><br /></p>';
|
||||
return true;
|
||||
}// End if(is_array($users)
|
||||
|
||||
@@ -278,7 +278,7 @@ class Textpattern_Import {
|
||||
// Do the Magic
|
||||
if(is_array($posts))
|
||||
{
|
||||
echo __('<p>Importing Posts...<br /><br /></p>');
|
||||
echo '<p>'.__('Importing Posts...').'<br /><br /></p>';
|
||||
foreach($posts as $post)
|
||||
{
|
||||
$count++;
|
||||
@@ -344,7 +344,7 @@ class Textpattern_Import {
|
||||
// Store ID translation for later use
|
||||
add_option('txpposts2wpposts',$txpposts2wpposts);
|
||||
|
||||
echo __('<p>Done! <strong>'.$count.'</strong> posts imported.<br /><br /></p>');
|
||||
echo '<p>'.sprintf(__('Done! <strong>%1$s</strong> posts imported.'), $count).'<br /><br /></p>';
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -359,7 +359,7 @@ class Textpattern_Import {
|
||||
// Magic Mojo
|
||||
if(is_array($comments))
|
||||
{
|
||||
echo __('<p>Importing Comments...<br /><br /></p>');
|
||||
echo '<p>'.__('Importing Comments...').'<br /><br /></p>';
|
||||
foreach($comments as $comment)
|
||||
{
|
||||
$count++;
|
||||
@@ -411,7 +411,7 @@ class Textpattern_Import {
|
||||
get_comment_count($ret_id);
|
||||
|
||||
|
||||
echo __('<p>Done! <strong>'.$count.'</strong> comments imported.<br /><br /></p>');
|
||||
echo '<p>'.sprintf(__('Done! <strong>%1$s</strong> comments imported.'), $count).'<br /><br /></p>';
|
||||
return true;
|
||||
}
|
||||
echo __('No Comments to Import!');
|
||||
@@ -551,7 +551,7 @@ class Textpattern_Import {
|
||||
{
|
||||
echo '<p>'.__('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.').'</p>';
|
||||
echo '<h3>'.__('Users').'</h3>';
|
||||
echo '<p>'.__('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. <strong>Every user has the same username, but their passwords are reset to password123.</strong> So <a href="/wp-login.php">Login</a> and change it.').'</p>';
|
||||
echo '<p>'.sprintf(__('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. <strong>Every user has the same username, but their passwords are reset to password123.</strong> So <a href="%1$s">Login</a> and change it.'), '/wp-login.php').'</p>';
|
||||
echo '<h3>'.__('Preserving Authors').'</h3>';
|
||||
echo '<p>'.__('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.').'</p>';
|
||||
echo '<h3>'.__('Textile').'</h3>';
|
||||
@@ -563,7 +563,7 @@ class Textpattern_Import {
|
||||
echo '<li>'.__('<a href="http://wordpress.org/support/">The WordPress support forums').'</li>';
|
||||
echo '<li>'.__('<a href="http://codex.wordpress.org">The Codex (In other words, the WordPress Bible)</a>').'</li>';
|
||||
echo '</ul>';
|
||||
echo '<p>'.__('That\'s it! What are you waiting for? Go <a href="/wp-login.php">login</a>!').'</p>';
|
||||
echo '<p>'.sprintf(__('That\'s it! What are you waiting for? Go <a href="%1$s">login</a>!'), '/wp-login.php').'</p>';
|
||||
}
|
||||
|
||||
function db_form()
|
||||
|
||||
Reference in New Issue
Block a user