Ticket #8142: i18n-2.7.diff
| File i18n-2.7.diff, 11.2 KB (added by , 18 years ago) |
|---|
-
wp-admin/edit-link-categories.php
229 229 $(document).ready(function(){ 230 230 $('#doaction, #doaction2').click(function(){ 231 231 if ( $('select[name^="action"]').val() == 'delete' ) { 232 var n = $('#the-list input[type="checkbox"]:checked').length; 233 var m = n > 1 ? '<?php echo js_escape(__("You are about to delete the selected link categories.\n 'Cancel' to stop, 'OK' to delete.")); ?>' : '<?php echo js_escape(__("You are about to delete the selected link category.\n 'Cancel' to stop, 'OK' to delete.")); ?>'; 232 var m = '<?php echo js_escape(__("You are about to delete the selected link categories.\n 'Cancel' to stop, 'OK' to delete.")); ?>'; 234 233 return showNotice.warn(m); 235 234 } 236 235 }); -
wp-admin/edit-comments.php
190 190 <div class="tablenav"> 191 191 192 192 <?php if ( $page_links ) : ?> 193 <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span> ' . __( '%s' ),193 <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span>%s', 194 194 number_format_i18n( $start + 1 ), 195 195 number_format_i18n( min( $page * $comments_per_page, $total ) ), 196 196 number_format_i18n( $total ), … … 344 344 $(document).ready(function(){ 345 345 $('#doaction, #doaction2').click(function(){ 346 346 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.")); ?>'; 349 348 return showNotice.warn(m); 350 349 } 351 350 }); -
wp-admin/includes/user.php
666 666 'add_args' => $args 667 667 ) ); 668 668 if ( $this->paging_text ) { 669 $this->paging_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span> ' . __( '%s' ),669 $this->paging_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span>%s', 670 670 number_format_i18n( ( $this->page - 1 ) * $this->users_per_page + 1 ), 671 671 number_format_i18n( min( $this->page * $this->users_per_page, $this->total_users_for_query ) ), 672 672 number_format_i18n( $this->total_users_for_query ), -
wp-admin/edit-tags.php
286 286 $(document).ready(function(){ 287 287 $('#doaction, #doaction2').click(function(){ 288 288 if ( $('select[name^="action"]').val() == 'delete' ) { 289 var n = $('#the-list input[type="checkbox"]:checked').length; 290 var m = n > 1 ? '<?php echo js_escape(__("You are about to delete the selected tags.\n 'Cancel' to stop, 'OK' to delete.")); ?>' : '<?php echo js_escape(__("You are about to delete the selected tag.\n 'Cancel' to stop, 'OK' to delete.")); ?>'; 289 var m = '<?php echo js_escape(__("You are about to delete the selected tags.\n 'Cancel' to stop, 'OK' to delete.")); ?>'; 291 290 return showNotice.warn(m); 292 291 } 293 292 }); -
wp-admin/options-general.php
153 153 154 154 echo ' <label><input type="radio" name="date_format" id="date_format_custom_radio" value="\c\u\s\t\o\m"'; 155 155 checked( $custom, TRUE ); 156 echo '/> ' . __('Custom ') . ':</label><input type="text" name="date_format_custom" value="' . attribute_escape( get_option('date_format') ) . '" class="small-text" /> ' . gmdate( get_option('date_format'), current_time('timestamp') ) . "\n";156 echo '/> ' . __('Custom:') . ' </label><input type="text" name="date_format_custom" value="' . attribute_escape( get_option('date_format') ) . '" class="small-text" /> ' . gmdate( get_option('date_format'), current_time('timestamp') ) . "\n"; 157 157 158 158 echo "\t<p>" . __('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date formatting</a>. Click "Save Changes" to update sample output.') . "</p>\n"; 159 159 ?> … … 185 185 186 186 echo ' <label><input type="radio" name="time_format" id="time_format_custom_radio" value="\c\u\s\t\o\m"'; 187 187 checked( $custom, TRUE ); 188 echo '/> ' . __('Custom ') . ':</label><input type="text" name="time_format_custom" value="' . attribute_escape( get_option('time_format') ) . '" class="small-text" /> ' . gmdate( get_option('time_format'), current_time('timestamp') ) . "\n";188 echo '/> ' . __('Custom:') . ' </label><input type="text" name="time_format_custom" value="' . attribute_escape( get_option('time_format') ) . '" class="small-text" /> ' . gmdate( get_option('time_format'), current_time('timestamp') ) . "\n"; 189 189 ?> 190 190 </fieldset> 191 191 </td> -
wp-admin/upload.php
236 236 )); 237 237 238 238 if ( $page_links ) : ?> 239 <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span> ' . __( '%s' ),239 <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span>%s', 240 240 number_format_i18n( ( $_GET['paged'] - 1 ) * $wp_query->query_vars['posts_per_page'] + 1 ), 241 241 number_format_i18n( min( $_GET['paged'] * $wp_query->query_vars['posts_per_page'], $wp_query->found_posts ) ), 242 242 number_format_i18n( $wp_query->found_posts ), -
wp-admin/edit.php
225 225 </div> 226 226 227 227 <?php if ( $page_links ) { ?> 228 <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span> ' . __( '%s' ),228 <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span>%s', 229 229 number_format_i18n( ( $_GET['paged'] - 1 ) * $wp_query->query_vars['posts_per_page'] + 1 ), 230 230 number_format_i18n( min( $_GET['paged'] * $wp_query->query_vars['posts_per_page'], $wp_query->found_posts ) ), 231 231 number_format_i18n( $wp_query->found_posts ), … … 326 326 $(document).ready(function(){ 327 327 $('#doaction, #doaction2').click(function(){ 328 328 if ( $('select[name^="action"]').val() == 'delete' ) { 329 var n = $('table.post input[type="checkbox"]:checked').length; 330 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.")); ?>'; 329 var m = '<?php echo js_escape(__("You are about to delete the selected posts.\n 'Cancel' to stop, 'OK' to delete.")); ?>'; 331 330 return showNotice.warn(m); 332 331 } 333 332 }); -
wp-admin/press-this.php
522 522 <div class="editor-container"> 523 523 <textarea name="content" id="content" style="width:100%;" class="mceEditor" rows="15"> 524 524 <?php if ($selection) echo wp_richedit_pre($selection); ?> 525 <?php if ($url) { ?><p><?php if($selection) _e('via'); ?> <a href="<?php echo $url ?>"><?php echo $title; ?></a>.</p><?php} ?>525 <?php if ($url) { echo '<p>'; if($selection) printf( __('via %s.'), "<a href='$url'>$title</a>" ); echo '</p>'; } ?> 526 526 </textarea> 527 527 </div> 528 528 </div> -
wp-admin/edit-pages.php
187 187 )); 188 188 189 189 if ( $page_links ) : ?> 190 <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span> ' . __( '%s' ),190 <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span>%s', 191 191 number_format_i18n( ( $pagenum - 1 ) * $per_page + 1 ), 192 192 number_format_i18n( min( $pagenum * $per_page, $wp_query->post_count ) ), 193 193 number_format_i18n( $wp_query->post_count ), … … 311 311 $(document).ready(function(){ 312 312 $('#doaction, #doaction2').click(function(){ 313 313 if ( $('select[name^="action"]').val() == 'delete' ) { 314 var n = $('table.post input[type="checkbox"]:checked').length; 315 var m = n > 1 ? '<?php echo js_escape(__("You are about to delete the selected pages.\n 'Cancel' to stop, 'OK' to delete.")); ?>' : '<?php echo js_escape(__("You are about to delete the selected page.\n 'Cancel' to stop, 'OK' to delete.")); ?>'; 314 var m = '<?php echo js_escape(__("You are about to delete the selected pages.\n 'Cancel' to stop, 'OK' to delete.")); ?>'; 316 315 return showNotice.warn(m); 317 316 } 318 317 }); -
wp-admin/categories.php
295 295 $(document).ready(function(){ 296 296 $('#doaction, #doaction2').click(function(){ 297 297 if ( $('select[name^="action"]').val() == 'delete' ) { 298 var n = $('#the-list input[type="checkbox"]:checked').length; 299 var m = n > 1 ? '<?php echo js_escape(__("You are about to delete the selected categories.\n 'Cancel' to stop, 'OK' to delete.")); ?>' : '<?php echo js_escape(__("You are about to delete the selected category.\n 'Cancel' to stop, 'OK' to delete.")); ?>'; 298 var m = '<?php echo js_escape(__("You are about to delete the selected categories.\n 'Cancel' to stop, 'OK' to delete.")); ?>'; 300 299 return showNotice.warn(m); 301 300 } 302 301 }); -
wp-admin/themes.php
125 125 <div class="clear"></div> 126 126 127 127 <?php if ( $page_links ) : ?> 128 <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span> ' . __( '%s' ),128 <div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span>%s', 129 129 number_format_i18n( $start + 1 ), 130 130 number_format_i18n( min( $page * $per_page, $theme_total ) ), 131 131 number_format_i18n( $theme_total ),
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)