Making WordPress.org

Ticket #3062: 3062.diff

File 3062.diff, 2.9 KB (added by Ipstenu, 7 years ago)

Change install to installations

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

     
    136136         *
    137137         * @static
    138138         *
    139          * @param bool              $full Optional. Whether to include "active installs" suffix. Default: true.
     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.
    141141         * @return string "1+ million" or "1+ million active installs" depending on $full.
    142142         */
     
    154154                        $text = number_format_i18n( $count ) . '+';
    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
    160160        /**
  • trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-meta.php

     
    4848                                );
    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 ) ) : ?>
    5454                                <li><?php
  • trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin.php

     
    3333                        <i class="dashicons dashicons-admin-users"></i> <?php echo esc_html( strip_tags( get_post_meta( get_the_ID(), 'header_author', true ) ) ?: get_the_author() ); ?>
    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">
    3939                        <?php if ( $tested_up_to = (string) get_post_meta( $post->ID, 'tested', true ) ) { ?>