Make WordPress Core

Ticket #49306: 49306.diff

File 49306.diff, 929 bytes (added by audrasjb, 6 years ago)

i18n: add context to Posts string located in Export Tool screen.

  • src/wp-admin/export.php

    diff --git a/src/wp-admin/export.php b/src/wp-admin/export.php
    index 759723456e..61142961fd 100644
    a b function export_date_options( $post_type = 'post' ) { 
    180180<p><label><input type="radio" name="content" value="all" checked="checked" aria-describedby="all-content-desc" /> <?php _e( 'All content' ); ?></label></p>
    181181<p class="description" id="all-content-desc"><?php _e( 'This will contain all of your posts, pages, comments, custom fields, terms, navigation menus, and custom posts.' ); ?></p>
    182182
    183 <p><label><input type="radio" name="content" value="posts" /> <?php _e( 'Posts' ); ?></label></p>
     183<p><label><input type="radio" name="content" value="posts" /> <?php _ex( 'Posts', 'post type general name' ); ?></label></p>
    184184<ul id="post-filters" class="export-filters">
    185185        <li>
    186186                <label><span class="label-responsive"><?php _e( 'Categories:' ); ?></span>