Making WordPress.org


Ignore:
Timestamp:
11/27/2016 08:07:40 AM (8 years ago)
Author:
dd32
Message:

Use _n() on some strings to aid with translation into languages such as Russian.

See #2268

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/header.php

    r3734 r4426  
    3232                    <p class="site-description">
    3333                        <?php
    34                         /* Translators: Total number of plugins. */
    35                         printf( __( 'Extend your WordPress experience with %s plugins.', 'wporg-plugins' ), number_format_i18n( wp_count_posts( 'plugin' )->publish ) );
     34                        $plugin_count = wp_count_posts( 'plugin' )->publish;
     35                        printf(
     36                            /* Translators: Total number of plugins. */
     37                            _n( 'Extend your WordPress experience with %s plugin.', 'Extend your WordPress experience with %s plugins.', $plugin_count, 'wporg-plugins' ),
     38                            number_format_i18n( $plugin_count )
     39                        );
    3640                        ?>
    3741                    </p>
Note: See TracChangeset for help on using the changeset viewer.