WordPress.org

Making WordPress.org

Changeset 6092


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

Main: Add missing textdomains.

Fixes a bug where translated strings would not be shown, due to the missing text domain.

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

    r6068 r6092  
    2121            <p class="site-title"><?php _e( 'Meet WordPress', 'wporg' ); ?></p>
    2222
    23             <p class="site-description"><?php _e( 'WordPress is open source software you can use to create a beautiful website, blog, or app' ); ?></p>
     23            <p class="site-description"><?php _e( 'WordPress is open source software you can use to create a beautiful website, blog, or app', 'wporg' ); ?></p>
    2424        </div><!-- .site-branding -->
    2525    </header><!-- #masthead -->
     
    3030
    3131            <section class="intro">
    32                 <p class="subheading"><?php _e( 'Beautiful designs, powerful features, and the freedom to build anything you want. WordPress is both free and priceless at the same time.' ); ?></p>
     32                <p class="subheading"><?php _e( 'Beautiful designs, powerful features, and the freedom to build anything you want. WordPress is both free and priceless at the same time.', 'wporg' ); ?></p>
    3333                <div class="screenshots">
    3434                    <img src="https://s.w.org/images/home/screen-themes.png?3" class="dashboard" />
     
    3838
    3939            <section class="showcase">
    40                 <h2><?php _e( 'Trusted by the Best' ); ?></h2>
    41                 <p class="subheading"><?php _e( '28% of the web uses WordPress, from hobby blogs to the biggest news sites online.' ); ?></p>
     40                <h2><?php _e( 'Trusted by the Best', 'wporg' ); ?></h2>
     41                <p class="subheading"><?php _e( '28% of the web uses WordPress, from hobby blogs to the biggest news sites online.', 'wporg' ); ?></p>
    4242                <div class="collage">
    4343
    4444                </div>
    45                 <p class="cta-link"><a href="https://wordpress.org/showcase/"><?php _e( 'Discover more sites built with WordPress' ); ?></a>.</p>
     45                <p class="cta-link"><a href="https://wordpress.org/showcase/"><?php _e( 'Discover more sites built with WordPress', 'wporg' ); ?></a>.</p>
    4646            </section>
    4747
    4848            <section class="features">
    49                 <h2><?php _e( 'Powerful Features' ); ?></h2>
    50                 <p class="subheading"><?php _e( 'Limitless possibilities. What will you create?' ); ?></p>
     49                <h2><?php _e( 'Powerful Features', 'wporg' ); ?></h2>
     50                <p class="subheading"><?php _e( 'Limitless possibilities. What will you create?', 'wporg' ); ?></p>
    5151                <ul>
    5252                    <li>
    5353                        <span class="dashicons dashicons-admin-customizer"></span>
    54                         <?php _e( 'Customizable<br />Designs' ); ?>
     54                        <?php _e( 'Customizable<br />Designs', 'wporg' ); ?>
    5555                    </li>
    5656                    <li>
    5757                        <span class="dashicons dashicons-welcome-widgets-menus"></span>
    58                         <?php _e( 'SEO<br />Friendly' ); ?>
     58                        <?php _e( 'SEO<br />Friendly', 'wporg' ); ?>
    5959                    </li>
    6060                    <li>
    6161                        <span class="dashicons dashicons-smartphone"></span>
    62                         <?php _e( 'Responsive<br />Mobile Sites' ); ?>
     62                        <?php _e( 'Responsive<br />Mobile Sites', 'wporg' ); ?>
    6363                    </li>
    6464                    <li>
    6565                        <span class="dashicons dashicons-chart-line"></span>
    66                         <?php _e( 'High<br />Performance' ); ?>
     66                        <?php _e( 'High<br />Performance', 'wporg' ); ?>
    6767                    </li>
    6868                    <li>
    6969                        <a href="https://wordpress.org/mobile/"><img src="https://s.w.org/images/home/icon-run-blue.svg" />
    70                             <?php _e( 'Manage<br />on the Go' ); ?></a>
     70                            <?php _e( 'Manage<br />on the Go', 'wporg' ); ?></a>
    7171                    </li>
    7272                    <li>
    7373                        <span class="dashicons dashicons-lock"></span>
    74                         <?php _e( 'High<br />Security' ); ?>
     74                        <?php _e( 'High<br />Security', 'wporg' ); ?>
    7575                    </li>
    7676                    <li>
    7777                        <span class="dashicons dashicons-images-alt2"></span>
    78                         <?php _e( 'Powerful<br />Media Management' ); ?>
     78                        <?php _e( 'Powerful<br />Media Management', 'wporg' ); ?>
    7979                    </li>
    8080                    <li>
    8181                        <span class="dashicons dashicons-universal-access"></span>
    82                         <?php _e( 'Easy and<br />Accessible' ); ?>
     82                        <?php _e( 'Easy and<br />Accessible', 'wporg' ); ?>
    8383                    </li>
    8484                </ul>
    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>.' ), 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( 'https://wordpress.org/plugins/' ) ); ?></p>
    8888            </section>
    8989
     
    9191                <div class="screen"></div>
    9292                <div class="container">
    93                     <h2><?php _e( 'Community' ); ?></h2>
    94                     <p class="subheading"><?php _e( 'Hundreds of thousands of developers, content creators, and site owners gather at monthly meetups in 436 cities worldwide' ); ?>.</p>
     93                    <h2><?php _e( 'Community', 'wporg' ); ?></h2>
     94                    <p class="subheading"><?php _e( 'Hundreds of thousands of developers, content creators, and site owners gather at monthly meetups in 436 cities worldwide', 'wporg' ); ?>.</p>
    9595                </div>
    9696            </section>
    9797
    9898            <section class="get">
    99                 <h2><?php _e( 'Get Started with WordPress' ); ?></h2>
    100                 <p class="subheading"><?php _e( 'Over 60 million people have chosen WordPress to power the place on the web they call &ldquo;home&rdquo; &mdash; join the family.' ); ?></p>
     99                <h2><?php _e( 'Get Started with WordPress', 'wporg' ); ?></h2>
     100                <p class="subheading"><?php _e( 'Over 60 million people have chosen WordPress to power the place on the web they call &ldquo;home&rdquo; &mdash; join the family.', 'wporg' ); ?></p>
    101101                <div class="cta-wrapper">
    102                     <a href="https://wordpress.org/download/" class="button button-primary button-xl"><?php _e( 'Get WordPress' ); ?></a>
     102                    <a href="https://wordpress.org/download/" class="button button-primary button-xl"><?php _e( 'Get WordPress', 'wporg' ); ?></a>
    103103                </div>
    104104            </section>
     
    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' ); ?></a></h4>
     109                <h4><a href="https://wordpress.org/news/"><?php _e( 'News From Our Blog', 'wporg' ); ?></a></h4>
    110110
    111111                <?php
     
    121121
    122122            <div class="col-4">
    123                 <h4><?php _e( 'It&rsquo;s Easy&nbsp;As&hellip;' ); ?></h4>
     123                <h4><?php _e( 'It&rsquo;s Easy&nbsp;As&hellip;', 'wporg' ); ?></h4>
    124124
    125125                <ol class="steps">
    126                     <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.' ), 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.' ), esc_url( 'https://wordpress.org/download/' ) ); ?></li>
    128                     <li class="three"><span></span><?php printf( __( '<a href="%s">Read the Documentation</a> and become a WordPress expert yourself, impress your friends.' ), esc_url( 'https://developer.wordpress.org' ) ); ?></li>
     126                    <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>
     128                    <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>
    130130            </div>
    131131
    132132            <div class="col-2 first">
    133                 <h4><a href="https://wordpress.org/about/swag/"><?php _e( 'WordPress&nbsp;Swag' ); ?></a></h4>
    134                 <a href="https://wordpress.org/about/swag/"><img width="132" height="177" src="https://wpdotorg.files.wordpress.com/2015/10/gray-tshirt-swag.jpg" alt="<?php esc_attr_e( 'WordPress Swag' ); ?>" /></a>
     133                <h4><a href="https://wordpress.org/about/swag/"><?php _e( 'WordPress&nbsp;Swag', 'wporg' ); ?></a></h4>
     134                <a href="https://wordpress.org/about/swag/"><img width="132" height="177" src="https://wpdotorg.files.wordpress.com/2015/10/gray-tshirt-swag.jpg" alt="<?php esc_attr_e( 'WordPress Swag', 'wporg' ); ?>" /></a>
    135135            </div>
    136136
    137137            <div class="col-2">
    138                 <h4><a href="https://wordpress.org/showcase/"><?php _e( 'WordPress&nbsp;Users' ); ?></a></h4>
     138                <h4><a href="https://wordpress.org/showcase/"><?php _e( 'WordPress&nbsp;Users', 'wporg' ); ?></a></h4>
    139139
    140140                <ul id="notable-users" class="notable-users">
     
    160160                    ?>
    161161                </ul>
    162                 <a class="showcase-link" href="https://wordpress.org/showcase/"><?php _e( '&hellip; and hundreds more' ); ?></a>
     162                <a class="showcase-link" href="https://wordpress.org/showcase/"><?php _e( '&hellip; and hundreds more', 'wporg' ); ?></a>
    163163            </div>
    164164        </div>
Note: See TracChangeset for help on using the changeset viewer.