WordPress.org

Make WordPress Core

Changeset 23075


Ignore:
Timestamp:
12/05/2012 07:03:38 PM (7 years ago)
Author:
nacin
Message:

Media: Use '%d selected' for the selection string, and offer a comment to translators to help them find a workable solution with this would-be plural string. fixes #22749. see #22229.

Location:
trunk/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/media-views.js

    r23072 r23075  
    37323732            this.$el.toggleClass( 'editing', editing );
    37333733
    3734             this.$('.count').text( collection.length + ' ' + l10n.selected );
     3734            this.$('.count').text( l10n.selected.replace('%d', collection.length) );
    37353735        },
    37363736
  • trunk/wp-includes/media.php

    r23072 r23075  
    14621462        'select'      => __( 'Select' ),
    14631463        'cancel'      => __( 'Cancel' ),
    1464         'selected'    => __( 'selected' ),
     1464        /* translators: This is a would-be plural string used in the media manager.
     1465           If there is not a word you can use in your language to avoid issues with the
     1466           lack of plural support here, turn it into "selected: %d" then translate it.
     1467         */
     1468        'selected'    => __( '%d selected' ),
    14651469        'dragInfo'    => __( 'Drag and drop to reorder images.' ),
    14661470
Note: See TracChangeset for help on using the changeset viewer.