Changeset 8751 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/translation-row-preview.php
- Timestamp:
- 05/08/2019 07:33:18 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-preview.php
r8386 r8751 22 22 </td> 23 23 <td class="original"> 24 < ?php echo prepare_original( esc_translation( $t->singular ) ); ?>24 <span class="original-text"><?php echo esc_translation( $t->singular ); ?></span> 25 25 <?php if ( $t->context ): ?> 26 26 <span class="context bubble" title="<?php printf( __( 'Context: %s', 'glotpress' ), esc_html($t->context) ); ?>"><?php echo esc_html($t->context); ?></span> … … 44 44 echo $missing_text; 45 45 elseif ( ! $t->plural ) : 46 echo esc_translation( $t->translations[0] );46 echo '<span class="translation-text">' . esc_translation( $t->translations[0] ) . '</span>'; 47 47 else: ?> 48 48 <ul> … … 50 50 foreach( $t->translations as $translation ): 51 51 ?> 52 <li><?php echo gp_is_empty_string( $translation ) ? $missing_text : esc_translation( $translation ); ?></li>52 <li><?php echo gp_is_empty_string( $translation ) ? $missing_text : '<span class="translation-text">' . esc_translation( $translation ) . '</span>' ; ?></li> 53 53 <?php 54 54 endforeach;
Note: See TracChangeset
for help on using the changeset viewer.