Making WordPress.org


Ignore:
Timestamp:
11/05/2021 05:09:07 AM (4 years ago)
Author:
dd32
Message:

Translate: Apply prepare_original() to the originals display in the translation editor.

Props vladytimy.
Fixes #5923.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/translation-row-editor.php

    r11070 r11316  
    8888                            <div class="source-string__singular">
    8989                                <small>Singular:</small>
    90                                 <span class="original"><?php echo $singular; ?></span>
     90                                <span class="original"><?php echo prepare_original( $singular ); ?></span>
    9191                                <span aria-hidden="true" class="original-raw"><?php echo esc_translation( $translation->singular ); ?></span>
    9292                            </div>
    9393                            <div class="source-string__plural">
    9494                                <small>Plural:</small>
    95                                 <span class="original"><?php echo $plural; ?></span>
     95                                <span class="original"><?php echo prepare_original( $plural ); ?></span>
    9696                                <span aria-hidden="true" class="original-raw"><?php echo esc_translation( $translation->plural ); ?></span>
    9797                            </div>
Note: See TracChangeset for help on using the changeset viewer.