Changeset 8766 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/translation-row-editor.php
- Timestamp:
- 05/09/2019 09:59:52 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/translation-row-editor.php
r8751 r8766 111 111 </div> 112 112 113 <details class="source-details"> 114 <summary>Context</summary> 115 113 <div class="source-details"> 116 114 <?php if ( $t->context ): ?> 117 <d lclass="source-details__context">118 < dt><?php _e( 'Context:', 'glotpress' ); ?></dt>119 < dd><span class="context bubble"><?php echo esc_translation( $t->context ); ?></span></dd>120 </d l>115 <details open class="source-details__context"> 116 <summary>Context</summary> 117 <span class="context bubble"><?php echo esc_translation( $t->context ); ?></span> 118 </details> 121 119 <?php endif; ?> 122 120 <?php if ( $t->extracted_comments ) : 123 121 $comments = trim( preg_replace( '/^translators:/ ', '', $t->extracted_comments ) ); 124 122 ?> 125 <dl class="source-details__comments"> 126 <dt><?php _e( 'Comment:', 'glotpress' ); ?></dt> 127 <dd><?php echo make_clickable( esc_translation( $comments ) ); ?></dd> 128 </dl> 129 <?php endif; ?> 130 <?php references( $project, $t ); ?> 131 </details> 123 <details open class="source-details__comment"> 124 <summary><?php _e( 'Comment', 'glotpress' ); ?></summary> 125 <p><?php echo make_clickable( esc_translation( $comments ) ); ?></p> 126 </details> 127 <?php endif; ?> 128 <?php if ( $t->references ) : ?> 129 <details class="source-details__references"> 130 <summary>References</summary> 131 <?php wporg_references( $project, $t ); ?> 132 </details> 133 <?php endif; ?> 134 </div> 132 135 133 136 <div class="translation-wrapper">
Note: See TracChangeset
for help on using the changeset viewer.