Make WordPress Core

Changeset 37553


Ignore:
Timestamp:
05/24/2016 09:21:59 PM (9 years ago)
Author:
ocean90
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/index.php

    r37342 r37553  
    7070    $help .= '<p>' . __( "<strong>Quick Draft</strong> &mdash; 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>';
    7171if ( ! is_multisite() && current_user_can( 'install_plugins' ) )
    72     $help .= '<p>' . __( '<strong>WordPress News</strong> &mdash; Latest news from the official WordPress project, the <a href="https://planet.wordpress.org/">WordPress Planet</a>, and popular and recent plugins.' ) . '</p>';
     72    $help .= '<p>' . sprintf(
     73        /* translators: %s: WordPress Planet URL */
     74        __( '<strong>WordPress News</strong> &mdash; Latest news from the official WordPress project, the <a href="%s">WordPress Planet</a>, and popular plugins.' ),
     75        __( 'https://planet.wordpress.org/' )
     76    ) . '</p>';
    7377else
    74     $help .= '<p>' . __( '<strong>WordPress News</strong> &mdash; Latest news from the official WordPress project, the <a href="https://planet.wordpress.org/">WordPress Planet</a>.' ) . '</p>';
     78    $help .= '<p>' . sprintf(
     79        /* translators: %s: WordPress Planet URL */
     80        __( '<strong>WordPress News</strong> &mdash; Latest news from the official WordPress project and the <a href="%s">WordPress Planet</a>.' ),
     81        __( 'https://planet.wordpress.org/' )
     82    ) . '</p>';
    7583if ( current_user_can( 'edit_theme_options' ) )
    7684    $help .= '<p>' . __( '<strong>Welcome</strong> &mdash; Shows links for some of the most common tasks when setting up a new site.' ) . '</p>';
Note: See TracChangeset for help on using the changeset viewer.