From ac658e2d9320292c9c3749e1dbc66dca9845305a Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Tue, 24 May 2016 21:21:59 +0000 Subject: [PATCH] Dashboard: Improve grammar for WordPress News help text. Also, move planet URL to a separate string to match the URL which is used for the feed. Props ramiy for initial patch. Fixes #35681. git-svn-id: https://develop.svn.wordpress.org/trunk@37553 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/index.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/index.php b/src/wp-admin/index.php index 40e74bb273..adbfe25ccd 100644 --- a/src/wp-admin/index.php +++ b/src/wp-admin/index.php @@ -69,9 +69,17 @@ if ( current_user_can( 'edit_posts' ) ) if ( is_blog_admin() && current_user_can( 'edit_posts' ) ) $help .= '

' . __( "Quick Draft — Allows you to create a new post and save it as a draft. Also displays links to the 5 most recent draft posts you've started." ) . '

'; if ( ! is_multisite() && current_user_can( 'install_plugins' ) ) - $help .= '

' . __( 'WordPress News — Latest news from the official WordPress project, the WordPress Planet, and popular and recent plugins.' ) . '

'; + $help .= '

' . sprintf( + /* translators: %s: WordPress Planet URL */ + __( 'WordPress News — Latest news from the official WordPress project, the WordPress Planet, and popular plugins.' ), + __( 'https://planet.wordpress.org/' ) + ) . '

'; else - $help .= '

' . __( 'WordPress News — Latest news from the official WordPress project, the WordPress Planet.' ) . '

'; + $help .= '

' . sprintf( + /* translators: %s: WordPress Planet URL */ + __( 'WordPress News — Latest news from the official WordPress project and the WordPress Planet.' ), + __( 'https://planet.wordpress.org/' ) + ) . '

'; if ( current_user_can( 'edit_theme_options' ) ) $help .= '

' . __( 'Welcome — Shows links for some of the most common tasks when setting up a new site.' ) . '

';