WordPress.org

Making WordPress.org

Changeset 1200


Ignore:
Timestamp:
01/27/2015 08:41:54 PM (5 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Pluralize plural strings for 'Used by' and 'Uses' in archive listings. props ocean90

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-reference-archive.php

    r1196 r1200  
    2424    <div class="meta">
    2525        <?php printf(
    26             _n( 'Used by <a href="%s">1 function</a>', 'Used by <a href="%s">%d function</a>', $used_by, 'wporg' ),
     26            _n( 'Used by <a href="%s">1 function</a>', 'Used by <a href="%s">%d functions</a>', $used_by, 'wporg' ),
    2727            esc_url( apply_filters( 'the_permalink', get_permalink() ) ) . '#usage',
    2828            $used_by
     
    3030        |
    3131        <?php printf(
    32             _n( 'Uses <a href="%s">1 function</a>', 'Used by <a href="%s">%d function</a>', $uses, 'wporg' ),
     32            _n( 'Uses <a href="%s">1 function</a>', 'Uses <a href="%s">%d functions</a>', $uses, 'wporg' ),
    3333            esc_url( apply_filters( 'the_permalink', get_permalink() ) ) . '#usage',
    3434            $uses
Note: See TracChangeset for help on using the changeset viewer.