Changeset 7360 for trunk/src/templates/default/bbpress/form-reply.php
- Timestamp:
- 11/16/2025 10:43:01 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/templates/default/bbpress/form-reply.php
r7268 r7360 28 28 29 29 <fieldset class="bbp-form"> 30 <legend><?php printf( esc_html__( 'Reply To: %s', 'bbpress' ), ( bbp_get_form_reply_to() ) ? sprintf( esc_html__( 'Reply #%1$s in %2$s', 'bbpress' ), bbp_get_form_reply_to(), bbp_get_topic_title() ) : bbp_get_topic_title() ); ?></legend> 30 <legend> 31 <?php 32 if ( bbp_get_form_reply_to() ) { 33 34 printf( 35 /* translators: %s: Reply reference (includes reply number and topic title) */ 36 esc_html__( 'Reply To: %s', 'bbpress' ), 37 sprintf( 38 /* translators: 1: Reply number, 2: Topic title */ 39 esc_html__( 'Reply #%1$s in %2$s', 'bbpress' ), 40 bbp_get_form_reply_to(), 41 bbp_get_topic_title() 42 ) 43 ); 44 } else { 45 46 printf( 47 /* translators: %s: Topic title */ 48 esc_html__( 'Reply To: %s', 'bbpress' ), 49 bbp_get_topic_title() 50 ); 51 } 52 ?> 53 </legend> 31 54 32 55 <?php do_action( 'bbp_theme_before_reply_form_notices' ); ?> … … 191 214 <div class="bbp-template-notice"> 192 215 <ul> 193 <li><?php printf( esc_html__( 'The topic ‘%s’ is closed to new replies.', 'bbpress' ), bbp_get_topic_title() ); ?></li> 216 <li> 217 <?php 218 printf( 219 /* translators: %s: Topic title */ 220 esc_html__( 'The topic ‘%s’ is closed to new replies.', 'bbpress' ), 221 bbp_get_topic_title() 222 ); 223 ?> 224 </li> 194 225 </ul> 195 226 </div> … … 201 232 <div class="bbp-template-notice"> 202 233 <ul> 203 <li><?php printf( esc_html__( 'The forum ‘%s’ is closed to new topics and replies.', 'bbpress' ), bbp_get_forum_title( bbp_get_topic_forum_id() ) ); ?></li> 234 <li> 235 <?php 236 printf( 237 /* translators: %s: Forum title */ 238 esc_html__( 'The forum ‘%s’ is closed to new topics and replies.', 'bbpress' ), 239 bbp_get_forum_title( bbp_get_topic_forum_id() ) 240 ); 241 ?> 242 </li> 204 243 </ul> 205 244 </div>
Note: See TracChangeset
for help on using the changeset viewer.