Make WordPress Core

Changeset 35769

Timestamp:
12/04/2015 06:08:21 PM (9 years ago)
Author:
DrewAPicture
Message:

About page: Make strings translatable.

See #34663.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/about.php

    r35768 r35769  
    4444
    4545        <div class="headline-feature feature-section one-col">
    46             <h2><?php echo ( 'Twenty Sixteen' ); ?></h2>
     46            <h2><?php ( 'Twenty Sixteen' ); ?></h2>
    4747            <div class="media-container">
    4848                <img src="https://cldup.com/K6k4JfS2nW.png" alt="" />
     
    5050            <div class="two-col">
    5151                <div class="col">
    52                     <h3><?php echo ( 'Introducing Twenty Sixteen' ); ?></h3>
    53                     <p><?php echo ( 'Our newest default theme, Twenty Sixteen, is a modern take on a classic blog design.' ); ?></p>
    54                     <p><?php echo ( 'Twenty Sixteen was built to look great on any device. A fluid grid design, fun color schemes, a flexible header, and more, will make your content shine.' ); ?></p>
     52                    <h3><?php ( 'Introducing Twenty Sixteen' ); ?></h3>
     53                    <p><?php ( 'Our newest default theme, Twenty Sixteen, is a modern take on a classic blog design.' ); ?></p>
     54                    <p><?php , and more, will make your content shine.' ); ?></p>
    5555                    <div class="horizontal-image">
    5656                        <div class="content">
     
    7474            </div>
    7575            <div class="col">
    76                 <h3><?php echo ( 'Responsive images' ); ?></h3>
    77                 <p><?php echo ( 'WordPress now takes a smarter approach to displaying appropriate image sizes on any device, ensuring a perfect fit every time. You don&#8217;t need to do anything to your theme, it just works.' ); ?></p>
     76                <h3><?php ( 'Responsive images' ); ?></h3>
     77                <p><?php ( 'WordPress now takes a smarter approach to displaying appropriate image sizes on any device, ensuring a perfect fit every time. You don&#8217;t need to do anything to your theme, it just works.' ); ?></p>
    7878            </div>
    7979        </div>
     
    8686                    <?php echo wp_oembed_get( 'https://make.wordpress.org/core/2015/10/28/new-embeds-feature-in-wordpress-4-4/' ); ?>
    8787                </div>
    88                 <h3><?php echo ( 'Embed your WordPress content' ); ?></h3>
    89                 <p><?php echo ( 'Now you can embed your posts on other sites, even other WordPress sites. Simply drop a post URL into the editor and see an instant embed preview, complete with the title, excerpt, and featured image if you&#8217;ve set one. We&#8217;ll even include your site icon and links for comments and sharing.' ); ?></p>
     88                <h3><?php ( 'Embed your WordPress content' ); ?></h3>
     89                <p><?php ( 'Now you can embed your posts on other sites, even other WordPress sites. Simply drop a post URL into the editor and see an instant embed preview, complete with the title, excerpt, and featured image if you&#8217;ve set one. We&#8217;ll even include your site icon and links for comments and sharing.' ); ?></p>
    9090            </div>
    9191            <div class="col">
     
    9393                    <?php echo wp_oembed_get( '' ); ?>
    9494                </div>
    95                 <h3><?php echo ( 'Even more embed providers' ); ?></h3>
    96                 <p><?php echo ( 'In addition to post embeds, WordPress 4.4 also adds support for five new oEmbed providers: Cloudup, Reddit&nbsp;Comments, ReverbNation, Speaker&nbsp;Deck, and VideoPress.' ); ?></p>
     95                <h3><?php ( 'Even more embed providers' ); ?></h3>
     96                <p><?php ( 'In addition to post embeds, WordPress 4.4 also adds support for five new oEmbed providers: Cloudup, Reddit&nbsp;Comments, ReverbNation, Speaker&nbsp;Deck, and VideoPress.' ); ?></p>
    9797            </div>
    9898        </div>
     
    105105            <div class="feature-section under-the-hood one-col">
    106106                <div class="col">
    107                     <h4><?php echo ( 'REST API infrastructure' ); ?></h4>
     107                    <h4><?php ( 'REST API infrastructure' ); ?></h4>
    108108                    <div class="two-col-text">
    109                         <p><?php echo ( 'Infrastructure for the REST API has been integrated into core, marking a new era in developing with WordPress. The REST API serves to provide developers with a path forward for building and extending RESTful APIs on top of WordPress.' ); ?></p>
     109                        <p><?php ( 'Infrastructure for the REST API has been integrated into core, marking a new era in developing with WordPress. The REST API serves to provide developers with a path forward for building and extending RESTful APIs on top of WordPress.' ); ?></p>
    110110                        <p><?php
    111111                            if ( current_user_can( 'install_plugins' ) ) {
     
    124124
    125125                            /* translators: WordPress REST API plugin link */
    126                             printf( ( 'Infrastructure is the first part of a multi-stage rollout for the REST API. Inclusion of core endpoints is targeted for an upcoming release. To get a sneak peek of the core endpoints, and for more information on extending the REST API, check out the official %s plugin.' ), $plugin_link );
     126                            printf( ( 'Infrastructure is the first part of a multi-stage rollout for the REST API. Inclusion of core endpoints is targeted for an upcoming release. To get a sneak peek of the core endpoints, and for more information on extending the REST API, check out the official %s plugin.' ), $plugin_link );
    127127                        ?></p>
    128128                    </div>
     
    132132            <div class="feature-section under-the-hood three-col">
    133133                <div class="col">
    134                     <h4><?php echo ( 'Term meta' ); ?></h4>
     134                    <h4><?php ( 'Term meta' ); ?></h4>
    135135                    <p><?php
    136136                        /* translators: 1: add_term_meta() docs link, 2: get_term_meta() docs link, 3: update_term_meta() docs link */
    137                         printf( ( 'Terms now support metadata, just like posts. See %1$s, %2$s, and %3$s for more information.' ),
     137                        printf( ( 'Terms now support metadata, just like posts. See %1$s, %2$s, and %3$s for more information.' ),
    138138                            '<a href="https://developer.wordpress.org/reference/functions/add_term_meta"><code>add_term_meta()</code></a>',
    139139                            '<a href="https://developer.wordpress.org/reference/functions/get_term_meta"><code>get_term_meta()</code></a>',
     
    143143                </div>
    144144                <div class="col">
    145                     <h4><?php echo ( 'Comment query improvements' ); ?></h4>
     145                    <h4><?php ( 'Comment query improvements' ); ?></h4>
    146146                    <p><?php
    147147                        /* translators: WP_Comment_Query class name */
    148                         printf( ( 'Comment queries now have cache handling to improve performance. New arguments in %s make crafting robust comment queries simpler.' ), '<code>WP_Comment_Query</code>' );
     148                        printf( ( 'Comment queries now have cache handling to improve performance. New arguments in %s make crafting robust comment queries simpler.' ), '<code>WP_Comment_Query</code>' );
    149149                    ?></p>
    150150                </div>
    151151                <div class="col">
    152                     <h4><?php echo ( 'Term, comment, and network objects' ); ?></h4>
     152                    <h4><?php ( 'Term, comment, and network objects' ); ?></h4>
    153153                    <p><?php
    154154                        /* translators: 1: WP_Term class name, WP_Comment class name, WP_Network class name */
    155                         printf( ( 'New %1$s, %2$s, and %3$s objects make interacting with terms, comments, and networks more predictable and intuitive in code.' ),
     155                        printf( ( 'New %1$s, %2$s, and %3$s objects make interacting with terms, comments, and networks more predictable and intuitive in code.' ),
    156156                            '<code>WP_Term</code>',
    157157                            '<code>WP_Comment</code>',
Note: See TracChangeset for help on using the changeset viewer.