WordPress.org

Making WordPress.org

Changeset 1140


Ignore:
Timestamp:
01/14/2015 12:26:40 PM (7 years ago)
Author:
ocean90
Message:

i18n Teams: On details page use english name of the locale.

fixes #795.
see #340.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/views/locale-details.php

    r1068 r1140  
    3535            <li class="button download-button">
    3636                <a href="<?php echo esc_url( $locale_data['localized_core_url'] ); ?>" role="button">
    37                     <?php printf( __( 'Download WordPress in %s', 'wporg' ), $locale->native_name ); ?>
     37                    <?php printf( __( 'Download WordPress in %s', 'wporg' ), $locale->english_name ); ?>
    3838                </a>
    3939            </li>
     
    5555
    5656<?php if ( empty( $locale_data['validators'] ) ) : ?>
    57     <p><?php printf( __( '%s does not have any validators yet.', 'wporg' ), $locale->native_name ); ?></p>
     57    <p><?php printf( __( '%s does not have any validators yet.', 'wporg' ), $locale->english_name ); ?></p>
    5858<?php else : ?>
    5959    <ul class="validators">
     
    7373
    7474<?php if ( empty( $locale_data['translators'] ) ) : ?>
    75     <p><?php printf( __( '%s does not have any translators yet.', 'wporg' ), $locale->native_name ); ?></p>
     75    <p><?php printf( __( '%s does not have any translators yet.', 'wporg' ), $locale->english_name ); ?></p>
    7676<?php else : ?>
    7777    <ul>
     
    8888<p class="alert alert-info" role="alert">
    8989    <a href="https://translate.wordpress.org/languages/<?php echo esc_attr( $locale->slug ); ?>">
    90         <?php printf( __( 'Become a translator yourself, check if %s needs some help!', 'wporg' ), $locale->native_name ); ?>
     90        <?php printf( __( 'Become a translator yourself, check if %s needs some help!', 'wporg' ), $locale->english_name ); ?>
    9191    </a>
    9292</p>
    93 
Note: See TracChangeset for help on using the changeset viewer.