Make WordPress Core

Changeset 17967


Ignore:
Timestamp:
05/19/2011 08:11:10 AM (13 years ago)
Author:
westi
Message:

Move the codex link into a seperate translation so you don't have to translate it if you have not got a version in your language and you only have to translate it once. Fixes #17480

File:
1 edited

Legend:

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

    r17960 r17967  
    6262
    6363if ( !isset( $results['people'] ) ) {
    64     echo '<p>' . sprintf( __( 'WordPress is created by a <a href="%s">worldwide team</a> of passionate individuals. <a href="http://codex.wordpress.org/Contributing_to_WordPress">Get involved in WordPress</a>.' ), 'http://wordpress.org/about/' ) . '</p>';
     64    echo '<p>' . sprintf( __( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),
     65        'http://wordpress.org/about/',
     66        _x( 'http://codex.wordpress.org/Contributing_to_WordPress', 'Url to the codex documentation on contributing to WordPress used on the credits page' ) ) . '</p>';
    6567    include( './admin-footer.php' );
    6668    exit;
     
    9294
    9395?>
    94 <p class="clear"><?php _e( 'Want to see your name in lights on this page? <a href="http://codex.wordpress.org/Contributing_to_WordPress">Get involved in WordPress</a>.' ); ?></p>
     96<p class="clear"><?php printf( __( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
     97                                _x( 'http://codex.wordpress.org/Contributing_to_WordPress', 'Url to the codex documentation on contributing to WordPress used on the credits page' ) ); ?></p>
    9598
    9699</div>
Note: See TracChangeset for help on using the changeset viewer.