Making WordPress.org

Changeset 1791


Ignore:
Timestamp:
07/27/2015 08:19:51 PM (10 years ago)
Author:
ocean90
Message:

i18n Teams: Link to the new locale pages to avoid a redirect.

props SergeyBiryukov.
fixes #1148.

Location:
sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/views
Files:
2 edited

Legend:

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

    r1163 r1791  
    8888                    </td>
    8989                    <td class="right no-right-border">
    90                         <a href="https://translate.wordpress.org/languages/<?php echo $locale->slug; ?>">
     90                        <a href="https://translate.wordpress.org/locale/<?php echo $locale->slug; ?>">
    9191                            <?php echo ( isset( $percentages[ $locale->wp_locale ] ) ) ? $percentages[ $locale->wp_locale ] . '%' : '&mdash;'; ?>
    9292                        </a>
    9393                    </td>
    9494                    <td class="no-left-border nowrap">
    95                         <a href="https://translate.wordpress.org/languages/<?php echo $locale->slug; ?>">
     95                        <a href="https://translate.wordpress.org/locale/<?php echo $locale->slug; ?>">
    9696                            <?php echo $locale->slug; ?>
    9797                        </a>
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/views/locale-details.php

    r1418 r1791  
    8888
    8989<p class="alert alert-info" role="alert">
    90     <a href="https://translate.wordpress.org/languages/<?php echo esc_attr( $locale->slug ); ?>">
     90    <a href="https://translate.wordpress.org/locale/<?php echo esc_attr( $locale->slug ); ?>">
    9191        <?php printf( __( 'Become a translator yourself, check if %s needs some help!', 'wporg' ), $locale->english_name ); ?>
    9292    </a>
Note: See TracChangeset for help on using the changeset viewer.