Wrap transtable strings used in Network install in WP_I18N_SOMETHING, because translations still aren't loaded. Fixes #12357

git-svn-id: https://develop.svn.wordpress.org/trunk@13797 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Nikolay Bachiyski
2010-03-22 06:51:49 +00:00
parent eea330b58c
commit 7fcffb8d12
3 changed files with 22 additions and 27 deletions

View File

@@ -1831,7 +1831,7 @@ function is_blog_installed() {
if ( defined('WP_REPAIRING') )
return true;
// Die with a DB error.
$wpdb->error = __('One or more database tables are unavailable. The database may need to be <a href="maint/repair.php?referrer=is_blog_installed">repaired</a>.');
$wpdb->error = sprintf( /*WP_I18N_NO_TABLES*/'One or more database tables are unavailable. The database may need to be <a href="%s">repaired</a>.'/*/WP_I18N_NO_TABLES*/, 'maint/repair.php?referrer=is_blog_installed' );
dead_db();
}
}
@@ -4081,5 +4081,4 @@ function __return_true() {
*/
function __return_false() {
return false;
}
?>
}