Changeset 8198
- Timestamp:
- 06/26/2008 05:23:07 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/index.php
r8141 r8198 92 92 } 93 93 94 $total_comments = sprintf( __( '%1$s total' ), $num_comm['total_comments']);95 $approved_comments = sprintf( __( '%1$s approved' ), $num_comm['approved']);96 $spam_comments = sprintf( __( '%1$s spam' ), $num_comm['spam']);97 $moderated_comments = sprintf( __( '%1$s awaiting moderation' ), $num_comm['awaiting_moderation']);94 $total_comments = sprintf( __( '%1$s total' ), number_format_i18n($num_comm['total_comments']) ); 95 $approved_comments = sprintf( __( '%1$s approved' ), number_format_i18n($num_comm['approved']) ); 96 $spam_comments = sprintf( __( '%1$s spam' ), number_format_i18n($num_comm['spam']) ); 97 $moderated_comments = sprintf( __( '%1$s awaiting moderation' ), number_format_i18n($num_comm['awaiting_moderation']) ); 98 98 99 99 if( current_user_can( 'moderate_comments' ) ) { … … 103 103 } 104 104 105 $comm_text = sprintf( __( ' Current comment break down: %1$s, %2$s, %3$s and %4$s.' ), $total_comments, $approved_comments, $spam_comments, $moderated_comments );105 $comm_text = sprintf( __( 'You have %1$s comments, %2$s, %3$s and %4$s.' ), $total_comments, $approved_comments, $spam_comments, $moderated_comments ); 106 106 107 107 $post_type_text = implode(', ', $post_type_texts);
Note: See TracChangeset
for help on using the changeset viewer.