WordPress.org

Making WordPress.org

Changeset 6096


Ignore:
Timestamp:
11/09/2017 01:46:18 AM (22 months ago)
Author:
obenland
Message:

Main: Make some links localizable.

H/t dd32.
See #2861.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/front-page.php

    r6092 r6096  
    8585                <p><?php
    8686                    /* translators: %s: Link to Plugin Directory. */
    87                     printf( __( 'Extend WordPress with over 45,000 plugins to help your website meet your needs. Add an online store, galleries, mailing lists, forums, analytics, and <a href="%s">much more</a>.', 'wporg' ), esc_url( 'https://wordpress.org/plugins/' ) ); ?></p>
     87                    printf( __( 'Extend WordPress with over 45,000 plugins to help your website meet your needs. Add an online store, galleries, mailing lists, forums, analytics, and <a href="%s">much more</a>.', 'wporg' ), esc_url( _x( 'https://wordpress.org/plugins/', 'Link to local plugin directory', 'wporg' ) ) ); ?></p>
    8888            </section>
    8989
     
    107107        <div id="home-below" class="home-below row gutters">
    108108            <div class="col-4">
    109                 <h4><a href="https://wordpress.org/news/"><?php _e( 'News From Our Blog', 'wporg' ); ?></a></h4>
     109                <h4><a href="<?php echo esc_url( _x( 'https://wordpress.org/news/', 'Link to local news blog', 'wporg' ) ); ?>"><?php _e( 'News From Our Blog', 'wporg' ); ?></a></h4>
    110110
    111111                <?php
     
    125125                <ol class="steps">
    126126                    <li class="one"><span></span><?php printf( __( '<a href="%s">Find a Web Host</a> and get great hosting while supporting WordPress at the same&nbsp;time.', 'wporg' ), esc_url( 'https://wordpress.org/hosting/' ) ); ?></li>
    127                     <li class="two"><span></span><?php printf( __( '<a href="%s">Download &amp; Install WordPress</a> with our famous 5-minute&nbsp;installation. Feel like a rock star.', 'wporg' ), esc_url( 'https://wordpress.org/download/' ) ); ?></li>
     127                    <li class="two"><span></span><?php printf( __( '<a href="%s">Download &amp; Install WordPress</a> with our famous 5-minute&nbsp;installation. Feel like a rock star.', 'wporg' ),  esc_url( _x( 'https://wordpress.org/downloads/', 'Link to local downloads page', 'wporg' ) ) ); ?></li>
    128128                    <li class="three"><span></span><?php printf( __( '<a href="%s">Read the Documentation</a> and become a WordPress expert yourself, impress your friends.', 'wporg' ), esc_url( 'https://developer.wordpress.org' ) ); ?></li>
    129129                </ol>
Note: See TracChangeset for help on using the changeset viewer.