Changeset 7360 for trunk/src/includes/admin/metaboxes.php
- Timestamp:
- 11/16/2025 10:43:01 PM (4 months ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/metaboxes.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/metaboxes.php
r7357 r7360 41 41 if ( isset( $r['user_count'] ) ) { 42 42 $link = admin_url( 'users.php' ); 43 /* translators: %s: Number of users */ 43 44 $text = sprintf( _n( '%s User', '%s Users', $r['user_count_int'], 'bbpress' ), $r['user_count'] ); 44 45 $elements[] = current_user_can( 'edit_users' ) … … 50 51 if ( isset( $r['forum_count'] ) ) { 51 52 $link = add_query_arg( array( 'post_type' => bbp_get_forum_post_type() ), admin_url( 'edit.php' ) ); 53 /* translators: %s: Number of forums */ 52 54 $text = sprintf( _n( '%s Forum', '%s Forums', $r['forum_count_int'], 'bbpress' ), $r['forum_count'] ); 53 55 $elements[] = current_user_can( 'publish_forums' ) … … 59 61 if ( isset( $r['topic_count'] ) ) { 60 62 $link = add_query_arg( array( 'post_type' => bbp_get_topic_post_type() ), admin_url( 'edit.php' ) ); 63 /* translators: %s: Number of topics */ 61 64 $text = sprintf( _n( '%s Topic', '%s Topics', $r['topic_count_int'], 'bbpress' ), $r['topic_count'] ); 62 65 $elements[] = current_user_can( 'publish_topics' ) … … 68 71 if ( isset( $r['reply_count'] ) ) { 69 72 $link = add_query_arg( array( 'post_type' => bbp_get_reply_post_type() ), admin_url( 'edit.php' ) ); 73 /* translators: %s: Number of replies */ 70 74 $text = sprintf( _n( '%s Reply', '%s Replies', $r['reply_count_int'], 'bbpress' ), $r['reply_count'] ); 71 75 $elements[] = current_user_can( 'publish_replies' ) … … 77 81 if ( bbp_allow_topic_tags() && isset( $r['topic_tag_count'] ) ) { 78 82 $link = add_query_arg( array( 'taxonomy' => bbp_get_topic_tag_tax_id(), 'post_type' => bbp_get_topic_post_type() ), admin_url( 'edit-tags.php' ) ); 83 /* translators: %s: Number of topic tags */ 79 84 $text = sprintf( _n( '%s Topic Tag', '%s Topic Tags', $r['topic_tag_count_int'], 'bbpress' ), $r['topic_tag_count'] ); 80 85 $elements[] = current_user_can( 'manage_topic_tags' ) … … 283 288 284 289 <span id="wp-version-message"> 285 <?php printf( __( 'You are using <span class="b">bbPress %s</span>.', 'bbpress' ), bbp_get_version() ); ?> 290 <?php 291 printf( 292 /* translators: %s: bbPress version */ 293 __( 'You are using <span class="b">bbPress %s</span>.', 'bbpress' ), bbp_get_version() 294 ); 295 ?> 286 296 </span> 287 297
Note: See TracChangeset
for help on using the changeset viewer.