WordPress.org

Making WordPress.org

Changeset 4704


Ignore:
Timestamp:
01/17/2017 05:42:20 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: Internationalize info boxes in page-homepage.php template.

See #2151.

File:
1 edited

Legend:

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

    r4248 r4704  
    2020            <div>
    2121                <div class="info-box">
    22                     <span class="dashicons dashicons-sos"></span>
    23                     <h3>Welcome to Support</h3>
    24                     <p>Our community-based Support Forums are a great place to learn, share, and troubleshoot.</p>
    25                     <p><a href="https://codex.wordpress.org/Getting_Started_with_WordPress">Start learning</a></p>
     22                    <span class="dashicons <?php
     23                        /* translators: dashicon class name for 'Welcome to Support' section. Do not translate into your own language. */
     24                        esc_attr_e( 'dashicons-sos', 'wporg-forums' );
     25                    ?>"></span>
     26                    <h3><?php _e( 'Welcome to Support', 'wporg-forums' ); ?></h3>
     27                    <p><?php _e( 'Our community-based Support Forums are a great place to learn, share, and troubleshoot.', 'wporg-forums' ); ?></p>
     28                    <p><?php _e( '<a href="https://codex.wordpress.org/Getting_Started_with_WordPress">Start learning</a>', 'wporg-forums' ); ?></p>
    2629                </div>
    2730            </div>
    2831            <div>
    2932                <div class="info-box">
    30                     <span class="dashicons dashicons-portfolio"></span>
    31                     <h3>Documentation</h3>
    32                     <p>Your first stop where you'll find information on everything from installing to creating plugins.</p>
    33                     <p><a href="https://codex.wordpress.org/">Explore documentation</a></p>
     33                    <span class="dashicons <?php
     34                        /* translators: dashicon class name for 'Documentation' section. Do not translate into your own language. */
     35                        esc_attr_e( 'dashicons-portfolio', 'wporg-forums' );
     36                    ?>"></span>
     37                    <h3><?php _e( 'Documentation', 'wporg-forums' ); ?></h3>
     38                    <p><?php _e( 'Your first stop where you\'ll find information on everything from installing to creating plugins.', 'wporg-forums' ); ?></p>
     39                    <p><?php _e( '<a href="https://codex.wordpress.org/">Explore documentation</a>', 'wporg-forums' ); ?></p>
    3440                </div>
    3541            </div>
    3642            <div>
    3743                <div class="info-box">
    38                     <span class="dashicons dashicons-hammer"></span>
    39                     <h3>Get Involved</h3>
    40                     <p>The Support Handbook is great for tips, tricks, and advice regarding giving the best support possible.</p>
    41                     <p><a href="https://make.wordpress.org/support/handbook/">Explore the Handbook</a></p>
     44                    <span class="dashicons <?php
     45                        /* translators: dashicon class name for 'Get Involved' section. Do not translate into your own language. */
     46                        esc_attr_e( 'dashicons-hammer', 'wporg-forums' );
     47                    ?>"></span>
     48                    <h3><?php _e( 'Get Involved', 'wporg-forums' ); ?></h3>
     49                    <p><?php _e( 'The Support Handbook is great for tips, tricks, and advice regarding giving the best support possible.', 'wporg-forums' ); ?></p>
     50                    <p><?php _e( '<a href="https://make.wordpress.org/support/handbook/">Explore the Handbook</a>', 'wporg-forums' ); ?></p>
    4251                </div>
    4352            </div>
Note: See TracChangeset for help on using the changeset viewer.