Make WordPress Core


Ignore:
Timestamp:
03/31/2015 06:44:46 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Decouple strings where the singular and plural form are not just the same string with different numbers, but essentially two different strings.

This allows for using proper plural forms in languages with more than two forms, and also resolves string conflicts when the same string is present in both singular and plural form.

fixes #28502.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r31897 r31941  
    380380        'id' => $comment_id,
    381381        'supplemental' => array(
    382             'total_items_i18n' => sprintf( _n( '1 item', '%s items', $total ), number_format_i18n( $total ) ),
     382            'total_items_i18n' => sprintf( _n( '%s item', '%s items', $total ), number_format_i18n( $total ) ),
    383383            'total_pages' => ceil( $total / $per_page ),
    384384            'total_pages_i18n' => number_format_i18n( ceil( $total / $per_page ) ),
Note: See TracChangeset for help on using the changeset viewer.