Make WordPress Core


Ignore:
Timestamp:
11/13/2008 08:59:32 PM (16 years ago)
Author:
ryan
Message:

i18n plurals fixes from nbachiyski. fixes #8142

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upload.php

    r9631 r9668  
    452452        $('#doaction, #doaction2').click(function(e){
    453453            if ( $('select[name^="action"]').val() == 'delete' ) {
    454                 var n = $('#the-list input[type="checkbox"]:checked').length;
    455                 var m = n > 1 ? '<?php echo js_escape(__("You are about to delete the selected attachments.\n  'Cancel' to stop, 'OK' to delete.")); ?>' : '<?php echo js_escape(__("You are about to delete the selected attachment.\n  'Cancel' to stop, 'OK' to delete.")); ?>';
     454                var m = '<?php echo js_escape(__("You are about to delete the selected attachments.\n  'Cancel' to stop, 'OK' to delete.")); ?>';
    456455                return showNotice.warn(m);
    457456            } else if ( $('select[name^="action"]').val() == 'attach' ) {
Note: See TracChangeset for help on using the changeset viewer.