mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-07 09:49:04 +00:00
i18n fixes from nbachiyski. fixes #8142
git-svn-id: https://develop.svn.wordpress.org/trunk@9589 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+2
-3
@@ -225,7 +225,7 @@ do_action('restrict_manage_posts');
|
||||
</div>
|
||||
|
||||
<?php if ( $page_links ) { ?>
|
||||
<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span>' . __( '%s' ),
|
||||
<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span>%s',
|
||||
number_format_i18n( ( $_GET['paged'] - 1 ) * $wp_query->query_vars['posts_per_page'] + 1 ),
|
||||
number_format_i18n( min( $_GET['paged'] * $wp_query->query_vars['posts_per_page'], $wp_query->found_posts ) ),
|
||||
number_format_i18n( $wp_query->found_posts ),
|
||||
@@ -326,8 +326,7 @@ endif; // posts;
|
||||
$(document).ready(function(){
|
||||
$('#doaction, #doaction2').click(function(){
|
||||
if ( $('select[name^="action"]').val() == 'delete' ) {
|
||||
var n = $('table.post input[type="checkbox"]:checked').length;
|
||||
var m = n > 1 ? '<?php echo js_escape(__("You are about to delete the selected posts.\n 'Cancel' to stop, 'OK' to delete.")); ?>' : '<?php echo js_escape(__("You are about to delete the selected post.\n 'Cancel' to stop, 'OK' to delete.")); ?>';
|
||||
var m = '<?php echo js_escape(__("You are about to delete the selected posts.\n 'Cancel' to stop, 'OK' to delete.")); ?>';
|
||||
return showNotice.warn(m);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user