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
This commit is contained in:
parent
0a76772117
commit
ac658e2d93
|
@ -69,9 +69,17 @@ if ( current_user_can( 'edit_posts' ) )
|
||||||
if ( is_blog_admin() && current_user_can( 'edit_posts' ) )
|
if ( is_blog_admin() && current_user_can( 'edit_posts' ) )
|
||||||
$help .= '<p>' . __( "<strong>Quick Draft</strong> — 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." ) . '</p>';
|
$help .= '<p>' . __( "<strong>Quick Draft</strong> — 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." ) . '</p>';
|
||||||
if ( ! is_multisite() && current_user_can( 'install_plugins' ) )
|
if ( ! is_multisite() && current_user_can( 'install_plugins' ) )
|
||||||
$help .= '<p>' . __( '<strong>WordPress News</strong> — Latest news from the official WordPress project, the <a href="https://planet.wordpress.org/">WordPress Planet</a>, and popular and recent plugins.' ) . '</p>';
|
$help .= '<p>' . sprintf(
|
||||||
|
/* translators: %s: WordPress Planet URL */
|
||||||
|
__( '<strong>WordPress News</strong> — Latest news from the official WordPress project, the <a href="%s">WordPress Planet</a>, and popular plugins.' ),
|
||||||
|
__( 'https://planet.wordpress.org/' )
|
||||||
|
) . '</p>';
|
||||||
else
|
else
|
||||||
$help .= '<p>' . __( '<strong>WordPress News</strong> — Latest news from the official WordPress project, the <a href="https://planet.wordpress.org/">WordPress Planet</a>.' ) . '</p>';
|
$help .= '<p>' . sprintf(
|
||||||
|
/* translators: %s: WordPress Planet URL */
|
||||||
|
__( '<strong>WordPress News</strong> — Latest news from the official WordPress project and the <a href="%s">WordPress Planet</a>.' ),
|
||||||
|
__( 'https://planet.wordpress.org/' )
|
||||||
|
) . '</p>';
|
||||||
if ( current_user_can( 'edit_theme_options' ) )
|
if ( current_user_can( 'edit_theme_options' ) )
|
||||||
$help .= '<p>' . __( '<strong>Welcome</strong> — Shows links for some of the most common tasks when setting up a new site.' ) . '</p>';
|
$help .= '<p>' . __( '<strong>Welcome</strong> — Shows links for some of the most common tasks when setting up a new site.' ) . '</p>';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue