From 6ec230ac18cf1b6447d735376f905f29fcdd87ed Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 18 Jul 2019 12:40:39 +0000 Subject: [PATCH] I18N: Make URLs to `https://wordpress.org/about/` and related pages translatable, as they can now be localized on Rosetta sites. Props mukesh27. Fixes #46386. git-svn-id: https://develop.svn.wordpress.org/trunk@45659 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/credits.php | 2 +- src/wp-admin/freedoms.php | 4 ++-- src/wp-admin/privacy.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/credits.php b/src/wp-admin/credits.php index 0f92802ad1..8c47501895 100644 --- a/src/wp-admin/credits.php +++ b/src/wp-admin/credits.php @@ -59,7 +59,7 @@ if ( ! $credits ) { printf( /* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */ __( 'WordPress is created by a worldwide team of passionate individuals. Get involved in WordPress.' ), - 'https://wordpress.org/about/', + __( 'https://wordpress.org/about/' ), __( 'https://make.wordpress.org/' ) ); echo '

'; diff --git a/src/wp-admin/freedoms.php b/src/wp-admin/freedoms.php index eae34a3409..142b878214 100644 --- a/src/wp-admin/freedoms.php +++ b/src/wp-admin/freedoms.php @@ -61,7 +61,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

license, the GPL.' ), 'https://wordpress.org/about/license/' ); + 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 license, the GPL.' ), __( 'https://wordpress.org/about/license/' ) ); ?>

@@ -102,7 +102,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' ); $plugins_url = current_user_can( 'activate_plugins' ) ? admin_url( 'plugins.php' ) : __( 'https://wordpress.org/plugins/' ); $themes_url = current_user_can( 'switch_themes' ) ? admin_url( 'themes.php' ) : __( 'https://wordpress.org/themes/' ); /* translators: %s: https://wordpress.org/about/license/ */ - 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, 'https://wordpress.org/about/license/' ); + 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, __( 'https://wordpress.org/about/license/' ) ); ?>

diff --git a/src/wp-admin/privacy.php b/src/wp-admin/privacy.php index 8caeddf643..b2edbc4414 100644 --- a/src/wp-admin/privacy.php +++ b/src/wp-admin/privacy.php @@ -54,14 +54,14 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

WordPress.org stats page.' ), 'https://wordpress.org/about/stats/' ); + printf( __( 'This data is used to provide general enhancements to WordPress, which includes helping to protect your site by finding and automatically installing new updates. It is also used to calculate statistics, such as those shown on the WordPress.org stats page.' ), __( 'https://wordpress.org/about/stats/' ) ); ?>

WordPress.org/about/privacy.' ), 'https://wordpress.org/about/privacy/' ); + printf( __( 'We take privacy and transparency very seriously. To learn more about what data we collect, and how we use it, please visit WordPress.org/about/privacy.' ), __( 'https://wordpress.org/about/privacy/' ) ); ?>