Make WordPress Core


Ignore:
Timestamp:
11/10/2008 05:42:51 PM (17 years ago)
Author:
ryan
Message:

i18n fixes from nbachiyski. fixes #8142

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-comments.php

    r9565 r9589  
    191191
    192192<?php if ( $page_links ) : ?>
    193 <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s&#8211;%s of %s' ) . '</span>' . __( '%s' ),
     193<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s&#8211;%s of %s' ) . '</span>%s',
    194194    number_format_i18n( $start + 1 ),
    195195    number_format_i18n( min( $page * $comments_per_page, $total ) ),
     
    345345        $('#doaction, #doaction2').click(function(){
    346346            if ( $('select[name^="action"]').val() == 'delete' ) {
    347                 var n = $('#the-comment-list input[type="checkbox"]:checked').length;
    348                 var m = n > 1 ? '<?php echo js_escape(__("You are about to delete the selected comments.\n  'Cancel' to stop, 'OK' to delete.")); ?>' : '<?php echo js_escape(__("You are about to delete the selected comment.\n  'Cancel' to stop, 'OK' to delete.")); ?>';
     347                var m = '<?php echo js_escape(__("You are about to delete the selected comments.\n  'Cancel' to stop, 'OK' to delete.")); ?>';
    349348                return showNotice.warn(m);
    350349            }
Note: See TracChangeset for help on using the changeset viewer.