WordPress.org

Make WordPress Core

Changeset 5955


Ignore:
Timestamp:
08/28/07 18:57:55 (7 years ago)
Author:
ryan
Message:

Gettext fixes from nbachiyski. fixes #4835

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-footer.php

    r5892 r5955  
    44 
    55$upgrade = apply_filters( 'update_footer', '' ); 
    6 printf( __( 'Thank you for creating with <a href="%s">WordPress</a> | <a href="%s">Documentation</a> | <a href="%s">Feedback</a> %s' ), 'http://wordpress.org/', 'http://codex.wordpress.org/', 'http://wordpress.org/support/forum/4', $upgrade )  
     6echo __('Thank you for creating with <a href="http://wordpress.org/">WordPress</a>').' | '.__('<a href="http://codex.wordpress.org/">Documentation</a>').' | '.__('<a href="http://wordpress.org/support/forum/4">Feedback</a>').' '.$upgrade;  
    77 
    88?></p> 
  • trunk/wp-admin/includes/update.php

    r5913 r5955  
    1111    switch ( $cur->response ) { 
    1212    case 'development' : 
    13         return sprintf( __( '| You are using a development version (%s). Cool! Please <a href="%s">stay updated</a>.' ), $GLOBALS['wp_version'], 'http://wordpress.org/download/svn/' ); 
     13        return sprintf( '| '.__( 'You are using a development version (%s). Cool! Please <a href="%s">stay updated</a>.' ), $GLOBALS['wp_version'], 'http://wordpress.org/download/svn/' ); 
    1414    break; 
    1515 
    1616    case 'upgrade' : 
    17         return sprintf( __( '| <strong>Your WordPress %s is out of date. <a href="%s">Please update</a>.</strong>' ), $GLOBALS['wp_version'], $cur->url ); 
     17        return sprintf( '| <strong>'.__( 'Your WordPress %s is out of date. <a href="%s">Please update</a>.' ).'</strong>', $GLOBALS['wp_version'], $cur->url ); 
    1818    break; 
    1919 
    2020 
    2121    case 'latest' : 
    22         return sprintf( __( '| Version %s' ), $GLOBALS['wp_version'] ); 
     22        return sprintf( '| '.__( 'Version %s' ), $GLOBALS['wp_version'] ); 
    2323    break; 
    2424    } 
Note: See TracChangeset for help on using the changeset viewer.