WordPress.org

Make WordPress Core

Ticket #30435: 30435.patch

File 30435.patch, 7.1 KB (added by ramiy, 6 years ago)

translation ready text

  • about.php

     
    4242</h2>
    4343
    4444<div class="changelog">
    45         <h2 class="about-headline-callout"><?php echo ( 'Introducing Twenty Fifteen' ); ?></h2>
     45        <h2 class="about-headline-callout"><?php _e( 'Introducing Twenty Fifteen' ); ?></h2>
    4646        <div class="about-overview">
    4747                <img class="about-overview-img" src="//s.w.org/images/core/3.8/twentyfourteen.jpg?1" />
    4848        </div>
     
    4949
    5050        <div class="feature-section col three-col">
    5151                <div class="col-1">
    52                         <p><?php echo ( 'Our 2015 default theme is blog-focused and designed for clarity. Twenty Fifteen&#8127;s straightforward typography is readable on any screen size.' ); ?></p>
     52                        <p><?php _e( 'Our 2015 default theme is blog-focused and designed for clarity. Twenty Fifteen&#8127;s straightforward typography is readable on any screen size.' ); ?></p>
    5353                </div>
    5454                <div class="col-2">
    55                         <p><?php echo ( 'Your content always takes center stage, whether viewed on a phone, tablet, laptop, or desktop computer.' ); ?></p>
     55                        <p><?php _e( 'Your content always takes center stage, whether viewed on a phone, tablet, laptop, or desktop computer.' ); ?></p>
    5656                </div>
    5757                <div class="col-3 last-feature">
    58                         <p><?php printf( ( 'Twenty Fifteen has great language support, with help from <a href="%s">Google&#8217;s Noto font family</a>.' ), 'https://www.google.com/get/noto/' ); ?></p>
     58                        <p><?php printf( __( 'Twenty Fifteen has great language support, with help from <a href="%s">Google&#8217;s Noto font family</a>.' ), 'https://www.google.com/get/noto/' ); ?></p>
    5959                </div>
    6060        </div>
    6161
     
    6464<hr />
    6565
    6666<div class="changelog">
    67         <h2 class="about-headline-callout"><?php echo ( 'Distraction-free writing' ); ?></h2>
     67        <h2 class="about-headline-callout"><?php _e( 'Distraction-free writing' ); ?></h2>
    6868        <div class="feature-section">
    69                 <p><?php echo ( '<em>Just write.</em> Sometimes, you just need to concentrate on putting your thoughts into words. Try turning on <strong>writing mode</strong>. When you start typing, all the distractions will fade away, letting you focus solely on your writing. All your editing tools instantly return when you need them.' ); ?></p>
     69                <p><?php _e( '<em>Just write.</em> Sometimes, you just need to concentrate on putting your thoughts into words. Try turning on <strong>writing mode</strong>. When you start typing, all the distractions will fade away, letting you focus solely on your writing. All your editing tools instantly return when you need them.' ); ?></p>
    7070        </div>
    7171</div>
    7272
     
    7373<hr />
    7474
    7575<div class="changelog under-the-hood">
    76         <h3><?php echo ( 'The Finer Points' ); ?></h3>
     76        <h3><?php _e( 'The Finer Points' ); ?></h3>
    7777
    7878        <div class="feature-section col two-col">
    7979                <div>
    80                         <h4><?php echo ( 'Choose a language' ); ?></h4>
    81                         <p><?php printf( ( 'Right now, WordPress %1$s is already translated into %2$d languages, with more always in progress. You can switch to any translation on the <a href="%3$s">General Settings</a> screen.' ), $display_version, 40, admin_url( 'options-general.php' ) ); ?></p>
     80                        <h4><?php _e( 'Choose a language' ); ?></h4>
     81                        <p><?php printf( __( 'Right now, WordPress %1$s is already translated into %2$d languages, with more always in progress. You can switch to any translation on the <a href="%3$s">General Settings</a> screen.' ), $display_version, 40, admin_url( 'options-general.php' ) ); ?></p>
    8282
    83                         <h4><?php echo ( 'Log out everywhere' ); ?></h4>
    84                         <p><?php printf( ( 'There&#8217;s a new tool on <a href="%s">your profile</a> that logs you out everywhere, for those times you forget to log off a shared computer.' ), get_edit_profile_url() ); ?></p>
     83                        <h4><?php _e( 'Log out everywhere' ); ?></h4>
     84                        <p><?php printf( __( 'There&#8217;s a new tool on <a href="%s">your profile</a> that logs you out everywhere, for those times you forget to log off a shared computer.' ), get_edit_profile_url() ); ?></p>
    8585                </div>
    8686                <div class="last-feature">
    87                         <h4><?php echo ( 'Vine embeds' ); ?></h4>
    88                         <p><?php printf( ( 'Embedding videos from Vine is as simple as pasting a URL onto its own line in a post. For more, see the Codex article on <a href="%s">Embeds</a>.' ), 'http://codex.wordpress.org/Embeds' ); ?></p>
     87                        <h4><?php _e( 'Vine embeds' ); ?></h4>
     88                        <p><?php printf( __( 'Embedding videos from Vine is as simple as pasting a URL onto its own line in a post. For more, see the Codex article on <a href="%s">Embeds</a>.' ), 'http://codex.wordpress.org/Embeds' ); ?></p>
    8989
    90                         <h4><?php echo ( 'Plugin recommendations' ); ?></h4>
    91                         <p><?php printf( ( 'The <a href="%s">plugin installer</a> now offers a list of plugins you may want to try, based on others who have similar plugins installed as you.' ), network_admin_url( 'plugin-install.php?tab=recommended' ) ); ?></p>
     90                        <h4><?php _e( 'Plugin recommendations' ); ?></h4>
     91                        <p><?php printf( __( 'The <a href="%s">plugin installer</a> now offers a list of plugins you may want to try, based on others who have similar plugins installed as you.' ), network_admin_url( 'plugin-install.php?tab=recommended' ) ); ?></p>
    9292                </div>
    9393        </div>
    9494</div>
     
    100100
    101101        <div class="feature-section col two-col">
    102102                <div>
    103                         <h4><?php echo ( 'Complex Queries' ); ?></h4>
    104                         <p><?php printf( ( 'Metadata, date, and term queries now support advanced conditional logic, like nested clauses and multiple operators &mdash; <code>%s</code>.' ), 'A&nbsp;AND&nbsp;(&nbsp;B&nbsp;OR&nbsp;C&nbsp;)' ); ?></p>
     103                        <h4><?php _e( 'Complex Queries' ); ?></h4>
     104                        <p><?php printf( __( 'Metadata, date, and term queries now support advanced conditional logic, like nested clauses and multiple operators &mdash; <code>%s</code>.' ), 'A&nbsp;AND&nbsp;(&nbsp;B&nbsp;OR&nbsp;C&nbsp;)' ); ?></p>
    105105
    106                         <h4><?php echo ( 'Customizer API' ); ?></h4>
    107                         <p><?php echo ( 'The customizer now supports conditionally showing panels and sections based on the page being previewed.' ); ?></p>
     106                        <h4><?php _e( 'Customizer API' ); ?></h4>
     107                        <p><?php _e( 'The customizer now supports conditionally showing panels and sections based on the page being previewed.' ); ?></p>
    108108                </div>
    109109                <div class="last-feature">
    110                         <h4><?php printf( ( '%s tags in themes' ), '<code>&lt;title&gt;</code>' ); ?></h4>
     110                        <h4><?php printf( __( '%s tags in themes' ), '<code>&lt;title&gt;</code>' ); ?></h4>
    111111                        <p><?php
    112                                 printf( ( '%s tells WordPress to handle the complexities of document titles.' ), "<code>add_theme_support( 'title-tag' )</code>" );
     112                                printf( __( '%s tells WordPress to handle the complexities of document titles.' ), "<code>add_theme_support( 'title-tag' )</code>" );
    113113                        ?></p>
    114114
    115                         <h4><?php echo ( 'Developer Reference' ); ?></h4>
    116                         <p><?php printf( ( 'Continued improvements to inline code documentation have made the <a href="%s">developer reference</a> more complete than ever.' ), 'https://developer.wordpress.org/reference/' ); ?></p>
     115                        <h4><?php _e( 'Developer Reference' ); ?></h4>
     116                        <p><?php printf( __( 'Continued improvements to inline code documentation have made the <a href="%s">developer reference</a> more complete than ever.' ), 'https://developer.wordpress.org/reference/' ); ?></p>
    117117                </div>
    118118        </div>
    119119