Date: Wed, 18 May 2011 19:39:24 +0000
Subject: [PATCH] Allow Codex URLs to be translated. Don't offer wp.org/about/
URLs for translation. props zeo, xibe. fixes #17480.
git-svn-id: https://develop.svn.wordpress.org/trunk@17960 602fd350-edb4-49c9-b593-d223f7449a82
---
wp-admin/credits.php | 12 +++++-------
wp-admin/freedoms.php | 12 ++++++------
2 files changed, 11 insertions(+), 13 deletions(-)
diff --git a/wp-admin/credits.php b/wp-admin/credits.php
index a2e7e7fe8d..be1a391a55 100644
--- a/wp-admin/credits.php
+++ b/wp-admin/credits.php
@@ -34,7 +34,7 @@ function wp_credits() {
if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) )
return false;
-
+
$results = unserialize( wp_remote_retrieve_body( $response ) );
if ( !is_array( $results ) )
@@ -61,14 +61,12 @@ include( './admin-header.php' );
$results = wp_credits();
if ( !isset( $results['people'] ) ) {
- echo '' . sprintf( __( 'WordPress is created by a worldwide team of passionate individuals. Get involved in WordPress.' ),
- 'http://wordpress.org/about/',
- 'http://codex.wordpress.org/Contributing_to_WordPress' ) . '
';
+ echo '' . sprintf( __( 'WordPress is created by a worldwide team of passionate individuals. Get involved in WordPress.' ), 'http://wordpress.org/about/' ) . '
';
include( './admin-footer.php' );
exit;
}
-echo '' . __( "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:" ) . "
\n";
+echo '' . __( '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:' ) . "
\n";
$gravatar = is_ssl() ? 'https://secure.gravatar.com/avatar/' : 'http://0.gravatar.com/avatar/';
@@ -93,7 +91,7 @@ if ( isset( $results['props'] ) ) {
}
?>
-Get involved in WordPress.' ), 'http://codex.wordpress.org/Contributing_to_WordPress' ); ?>
+Get involved in WordPress.' ); ?>
\ No newline at end of file
+?>
diff --git a/wp-admin/freedoms.php b/wp-admin/freedoms.php
index 7c9d785107..cf7309a273 100644
--- a/wp-admin/freedoms.php
+++ b/wp-admin/freedoms.php
@@ -18,25 +18,25 @@ include( './admin-header.php' );
-license, the GPL.' ); ?>
+license, the GPL.' ), 'http://wordpress.org/about/license/' ); ?>
-
+
-
+
-check out our trademark guidelines first.' ); ?>
+check out our trademark guidelines first.' ), 'http://wordpressfoundation.org/trademark-policy/' ); ?>
plugins and themes there. If you get a plugin or theme from another source, make sure to ask them if it’s GPL first. If they don’t respect the WordPress license, we don’t recommend them.' ), $plugins_url, $themes_url ); ?>
+printf( __( 'Every plugin and theme in WordPress.org’s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding plugins and themes there. If you get a plugin or theme from another source, make sure to ask them if it’s GPL first. If they don’t respect the WordPress license, we don’t recommend them.' ), $plugins_url, $themes_url, 'http://wordpress.org/about/license/' ); ?>