Localize the "you haven't installed WP yet" message. fixes #4370

git-svn-id: http://svn.automattic.com/wordpress/trunk@5606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-05-31 02:03:22 +00:00
parent ba3abf0733
commit 990ca286c1
1 changed files with 5 additions and 1 deletions

View File

@ -146,7 +146,11 @@ if ( !is_blog_installed() && (strpos($_SERVER['PHP_SELF'], 'install.php') === fa
$link = 'install.php'; $link = 'install.php';
else else
$link = 'wp-admin/install.php'; $link = 'wp-admin/install.php';
wp_die(sprintf("It doesn't look like you've installed WP yet. Try running <a href='%s'>install.php</a>.", $link));
wp_die( sprintf(
__( 'It doesn&#8217;t look like you&#8217;ve installed WP yet. Try running <a href="%s">install.php</a>.' ),
$link
) );
} }
require (ABSPATH . WPINC . '/formatting.php'); require (ABSPATH . WPINC . '/formatting.php');