Make WordPress Core

Changeset 17960


Ignore:
Timestamp:
05/18/2011 07:39:24 PM (13 years ago)
Author:
nacin
Message:

Allow Codex URLs to be translated. Don't offer wp.org/about/ URLs for translation. props zeo, xibe. fixes #17480.

Location:
trunk/wp-admin
Files:
2 edited

Legend:

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

    r17948 r17960  
    3535        if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) )
    3636            return false;
    37    
     37
    3838        $results = unserialize( wp_remote_retrieve_body( $response ) );
    3939
     
    6262
    6363if ( !isset( $results['people'] ) ) {
    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         'http://codex.wordpress.org/Contributing_to_WordPress' ) . '</p>';
     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>';
    6765    include( './admin-footer.php' );
    6866    exit;
    6967}
    7068
    71 echo '<p>' . __( "WordPress is created by a worldwide team of passionate individuals. We couldn't possibly list them all, but here some of the most influential people currently involved with the project:" ) . "</p>\n";
     69echo '<p>' . __( 'WordPress is created by a worldwide team of passionate individuals. We couldn&#8217;t possibly list them all, but here some of the most influential people currently involved with the project:' ) . "</p>\n";
    7270
    7371$gravatar = is_ssl() ? 'https://secure.gravatar.com/avatar/' : 'http://0.gravatar.com/avatar/';
     
    9492
    9593?>
    96 <p class="clear"><?php printf( __( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ), 'http://codex.wordpress.org/Contributing_to_WordPress' ); ?></p>
     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>
    9795
    9896</div>
  • trunk/wp-admin/freedoms.php

    r17933 r17960  
    1919<h2><?php _e( 'Freedoms' ); ?></h2>
    2020
    21 <p><?php _e( 'WordPress is Free and open source software, built by a distributed community of mostly volunteer developers from around the world. WordPress comes with some awesome, worldview-changing rights courtesy of its <a href="http://wordpress.org/about/license/">license</a>, the GPL.' ); ?></p>
     21<p><?php printf( __( 'WordPress is Free and open source software, built by a distributed community of mostly volunteer developers from around the world. WordPress comes with some awesome, worldview-changing rights courtesy of its <a href="%s">license</a>, the GPL.' ), 'http://wordpress.org/about/license/' ); ?></p>
    2222
    2323<ol start="0">
    2424    <li><?php _e( 'You have the freedom to run the program, for any purpose.' ); ?></li>
    25     <li><?php _e( 'You have access to the source code, the freedom to study how the program works, and the freedom to change it to make it do what you wish.' ); ?></li> 
     25    <li><?php _e( 'You have access to the source code, the freedom to study how the program works, and the freedom to change it to make it do what you wish.' ); ?></li>
    2626    <li><?php _e( 'You have the freedom to redistribute copies of the original program so you can help your neighbor.' ); ?></li>
    2727    <li><?php _e( 'You have the freedom to distribute copies of your modified versions to others. By doing this you can give the whole community a chance to benefit from your changes.' ); ?></li>
    28 </ol> 
     28</ol>
    2929
    30 <p><?php _e( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. We&#8217;re flattered every time someone spreads the good word, just make sure to <a href="http://wordpressfoundation.org/trademark-policy/">check out our trademark guidelines</a> first.' ); ?></p>
     30<p><?php printf( __( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. We&#8217;re flattered every time someone spreads the good word, just make sure to <a href="%s">check out our trademark guidelines</a> first.' ), 'http://wordpressfoundation.org/trademark-policy/' ); ?></p>
    3131
    3232<p><?php
     
    3535$themes_url = current_user_can( 'switch_themes' ) ? admin_url( 'themes.php' ) : 'http://wordpress.org/extend/themes/';
    3636
    37 printf( __( 'Every plugin and theme in WordPress.org&#8217;s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding <a href="%1$s">plugins</a> and <a href="%2$s">themes</a> there. If you get a plugin or theme from another source, make sure to <a href="http://wordpress.org/about/license/">ask them if it&#8217;s GPL</a> first. If they don&#8217;t respect the WordPress license, we don&#8217;t recommend them.' ), $plugins_url, $themes_url ); ?></p>
     37printf( __( 'Every plugin and theme in WordPress.org&#8217;s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding <a href="%1$s">plugins</a> and <a href="%2$s">themes</a> there. If you get a plugin or theme from another source, make sure to <a href="%3$s">ask them if it&#8217;s GPL</a> first. If they don&#8217;t respect the WordPress license, we don&#8217;t recommend them.' ), $plugins_url, $themes_url, 'http://wordpress.org/about/license/' ); ?></p>
    3838
    3939<p><?php _e( 'Don&#8217;t you wish all software came with these freedoms? So do we! For more information, check out the <a href="http://www.fsf.org/">Free Software Foundation</a>.' ); ?></p>
Note: See TracChangeset for help on using the changeset viewer.