Making WordPress.org


Ignore:
Timestamp:
03/01/2017 11:48:02 PM (8 years ago)
Author:
coffee2code
Message:

Plugin Directory: More i18n cleanup.

  • Add some missing text domains
  • Add missing _n() call for Read all %s reviews

Props SergeyBiryukov.
Fixes #2534.

File:
1 edited

Legend:

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

    r4433 r5037  
    5454
    5555        <a class="reviews-link" href="<?php echo esc_url( 'https://wordpress.org/support/plugin/' . get_post()->post_name . '/reviews/' ); ?>">
    56             <?php printf( __( 'Read all %s reviews', 'wporg-plugins' ), number_format_i18n( $review_count ) ); ?>
     56            <?php
     57                /* translators: %s: number of reviews */
     58                printf( _n( 'Read all %s review', 'Read all %s reviews', $review_count, 'wporg-plugins' ), number_format_i18n( $review_count ) );
     59            ?>
    5760        </a>
    5861
Note: See TracChangeset for help on using the changeset viewer.