WordPress.org

Make WordPress Core

Ticket #22749: 22749.typo.fixed.diff

File 22749.typo.fixed.diff, 1.2 KB (added by westi, 17 months ago)

Fixes the typo in the phpdoc.

  • wp-includes/js/media-views.js

     
    37003700                        this.$el.toggleClass( 'one', 1 === collection.length ); 
    37013701                        this.$el.toggleClass( 'editing', editing ); 
    37023702 
    3703                         this.$('.count').text( collection.length + ' ' + l10n.selected ); 
     3703                        this.$('.count').text( l10n.selected.replace('%d', collection.length) ); 
    37043704                }, 
    37053705 
    37063706                edit: function( event ) { 
  • wp-includes/media.php

     
    14611461                'search'      => __( 'Search' ), 
    14621462                'select'      => __( 'Select' ), 
    14631463                'cancel'      => __( 'Cancel' ), 
    1464                 'selected'    => __( 'selected' ), 
     1464                /* translators: This is a would-be plural string used in the media manager. If 
     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 
    14671471                // Upload