Making WordPress.org

Changeset 6027


Ignore:
Timestamp:
10/13/2017 11:56:23 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Plugin Directory: Improve terminology used when referring to active installations of a plugin.

"Install" is not a noun, and while it might be acceptable to use the verb as a noun, it is not correct. Using the correct noun, "installation", increases clarity, especially for non-native English speakers.

Props Ipstenu, presskopp.
Fixes #3062.

Location:
sites/trunk/wordpress.org/public_html/wp-content
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php

    r6001 r6027  
    133133
    134134    /**
    135      * Returns a string representing the number of active installs for an item.
    136      *
    137      * @static
    138      *
    139      * @param bool              $full Optional. Whether to include "active installs" suffix. Default: true.
     135     * Returns a string representing the number of active installations for an item.
     136     *
     137     * @static
     138     *
     139     * @param bool              $full Optional. Whether to include "active installations" suffix. Default: true.
    140140     * @param int|\WP_Post|null $post Optional. Post ID or post object. Defaults to global $post.
    141      * @return string "1+ million" or "1+ million active installs" depending on $full.
     141     * @return string "1+ million" or "1+ million active installations" depending on $full.
    142142     */
    143143    public static function active_installs( $full = true, $post = null ) {
     
    155155        }
    156156
    157         return $full ? sprintf( __( '%s active installs', 'wporg-plugins' ), $text ) : $text;
     157        return $full ? sprintf( __( '%s active installations', 'wporg-plugins' ), $text ) : $text;
    158158    }
    159159
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-meta.php

    r5928 r6027  
    4949                ?>
    5050            </li>
    51             <li><?php printf( __( 'Active installs: %s', 'wporg-plugins' ), '<strong>' . Template::active_installs( false ) . '</strong>' ); ?></li>
     51            <li><?php printf( __( 'Active installations: %s', 'wporg-plugins' ), '<strong>' . Template::active_installs( false ) . '</strong>' ); ?></li>
    5252
    5353            <?php if ( $requires = (string) get_post_meta( $post->ID, 'requires', true ) ) : ?>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin.php

    r5225 r6027  
    3434        </span>
    3535        <span class="active-installs">
    36             <i class="dashicons dashicons-chart-area"></i> <?php printf( __( '%s active installs', 'wporg-plugins' ), Template::active_installs(false) ); ?>
     36            <i class="dashicons dashicons-chart-area"></i> <?php printf( __( '%s active installations', 'wporg-plugins' ), Template::active_installs(false) ); ?>
    3737        </span>
    3838        <span class="tested-with">
Note: See TracChangeset for help on using the changeset viewer.