From 1098ffddbac0f05e6f0ef7aef5deff6996bf39cd Mon Sep 17 00:00:00 2001 From: donncha Date: Wed, 19 Jul 2006 16:09:21 +0000 Subject: Language strings (#10) git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@691 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-settings.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'wp-settings.php') diff --git a/wp-settings.php b/wp-settings.php index 5da913e..9e05a1b 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -51,10 +51,10 @@ if ( empty($PHP_SELF) ) $_SERVER['PHP_SELF'] = $PHP_SELF = preg_replace("/(\?.*)?$/",'',$_SERVER["REQUEST_URI"]); if ( !(phpversion() >= '4.1') ) - die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.1' ); + die(sprintf(__('Your server is running PHP version %s but WordPress requires at least 4.1'), phpversion())); if ( !extension_loaded('mysql') ) - die( 'Your PHP installation appears to be missing the MySQL which is required for WordPress.' ); + die(__('Your PHP installation appears to be missing the MySQL which is required for WordPress.')); function timer_start() { global $timestart; @@ -200,16 +200,16 @@ if( is_array( $plugins ) ) { $wpdb->show_errors(); if ( '1' == $current_blog->deleted ) - graceful_fail('This user has elected to delete their account and the content is no longer available.'); + graceful_fail(__('This user has elected to delete their account and the content is no longer available.')); if ( '2' == $current_blog->deleted ) - graceful_fail("This blog has not been activated yet. If you are having problems activating your blog, please contact support@{$current_site->domain}."); + graceful_fail(sprintf(__('This blog has not been activated yet. If you are having problems activating your blog, please contact support@{%1$s}.'), $current_site->domain)); if( $current_blog->archived == '1' ) - graceful_fail( 'This blog has been archived or suspended.' ); + graceful_fail(__('This blog has been archived or suspended.')); if( $current_blog->spam == '1' ) - graceful_fail( 'This blog has been archived or suspended.' ); + graceful_fail(__('This blog has been archived or suspended.')); if (!strstr($_SERVER['PHP_SELF'], 'install.php') && !strstr($_SERVER['PHP_SELF'], 'wp-admin/import')) : // Used to guarantee unique hash cookies -- cgit