Changeset 691
- Timestamp:
- 07/19/06 16:09:21 (2 years ago)
- Files:
-
- trunk/wp-settings.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-settings.php
r682 r691 52 52 53 53 if ( !(phpversion() >= '4.1') ) 54 die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.1');54 die(sprintf(__('Your server is running PHP version %s but WordPress requires at least 4.1'), phpversion())); 55 55 56 56 if ( !extension_loaded('mysql') ) 57 die( 'Your PHP installation appears to be missing the MySQL which is required for WordPress.');57 die(__('Your PHP installation appears to be missing the MySQL which is required for WordPress.')); 58 58 59 59 function timer_start() { … … 201 201 202 202 if ( '1' == $current_blog->deleted ) 203 graceful_fail( 'This user has elected to delete their account and the content is no longer available.');203 graceful_fail(__('This user has elected to delete their account and the content is no longer available.')); 204 204 205 205 if ( '2' == $current_blog->deleted ) 206 graceful_fail( "This blog has not been activated yet. If you are having problems activating your blog, please contact <a href='mailto:support@{$current_site->domain}'>support@{$current_site->domain}</a>.");206 graceful_fail(sprintf(__('This blog has not been activated yet. If you are having problems activating your blog, please contact <a href="mailto:support@{%1$s}">support@{%1$s}</a>.'), $current_site->domain)); 207 207 208 208 if( $current_blog->archived == '1' ) 209 graceful_fail( 'This blog has been archived or suspended.');209 graceful_fail(__('This blog has been archived or suspended.')); 210 210 211 211 if( $current_blog->spam == '1' ) 212 graceful_fail( 'This blog has been archived or suspended.');212 graceful_fail(__('This blog has been archived or suspended.')); 213 213 214 214 if (!strstr($_SERVER['PHP_SELF'], 'install.php') && !strstr($_SERVER['PHP_SELF'], 'wp-admin/import')) :
