Changeset 691

Show
Ignore:
Timestamp:
07/19/06 16:09:21 (2 years ago)
Author:
donncha
Message:

Language strings (#10)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-settings.php

    r682 r691  
    5252 
    5353if ( !(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())); 
    5555 
    5656if ( !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.')); 
    5858 
    5959function timer_start() { 
     
    201201 
    202202if ( '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.')); 
    204204 
    205205if ( '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)); 
    207207 
    208208if( $current_blog->archived == '1' ) 
    209     graceful_fail( 'This blog has been archived or suspended.' ); 
     209    graceful_fail(__('This blog has been archived or suspended.')); 
    210210 
    211211if( $current_blog->spam == '1' ) 
    212     graceful_fail( 'This blog has been archived or suspended.' ); 
     212    graceful_fail(__('This blog has been archived or suspended.')); 
    213213 
    214214if (!strstr($_SERVER['PHP_SELF'], 'install.php') && !strstr($_SERVER['PHP_SELF'], 'wp-admin/import')) :