WordPress.org

Make WordPress Core

Ticket #47708: 47708.4.diff

File 47708.4.diff, 5.1 KB (added by SergeyBiryukov, 2 years ago)
  • src/wp-admin/about.php

     
    1515list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
    1616
    1717$version_label = sprintf(
    18         /* translators: The current WordPress version number */
     18        /* translators: %s: The current WordPress version number. */
    1919        __( 'WordPress %s' ),
    2020        $display_version
    2121);
     
    2727                        <div class="about__header-title">
    2828                                <h1 aria-label="<?php echo esc_attr( $version_label ); ?>">
    2929                                        <span><?php echo $display_version; ?></span>
    30                                         WordPress <?php /* @todo Does this need translation? */ ?>
     30                                        <?php _e( 'WordPress' ); ?>
    3131                                </h1>
    3232                        </div>
    3333
     
    4646                                        <?php
    4747                                        printf(
    4848                                                /* translators: %s: The current WordPress version number. */
    49                                                 __( 'Introducing our most refined user experience with the improved Block Editor in WordPress %s &#147;Name&#148;!' ),
     49                                                __( 'Introducing our most refined user experience with the improved block editor in WordPress %s!' ),
    5050                                                $display_version
    5151                                        );
    5252                                        ?>
     
    9090                <div class="about__section has-2-columns">
    9191                        <div class="column is-vertically-aligned-center">
    9292                                <h3><?php _e( 'Expanded Design Flexibility' ); ?></h3>
    93                                 <p><?php _e( '&#147;Name&#148; adds even more robust tools for creating amazing designs.' ); ?></p>
     93                                <p>
     94                                        <?php
     95                                        printf(
     96                                                /* translators: %s: The current WordPress version number. */
     97                                                __( 'WordPress %s adds even more robust tools for creating amazing designs.' ),
     98                                                $display_version
     99                                        );
     100                                        ?>
     101                                </p>
    94102                                <ul>
    95103                                        <li><?php _e( 'The new Group block lets you easily divide your page into colorful sections' ); ?></li>
    96104                                        <li><?php _e( 'The Columns block now supports fixed column widths' ); ?></li>
     
    112120                                <p><?php _e( 'As the Block Editor celebrates its first birthday, we are proud that Twenty Twenty is designed with flexibility at its core. Show off your services or products with a combination of columns, groups, and media blocks. Set your content to wide or full alignment for dynamic and engaging layouts. Or let your thoughts be the star with a centered content column!' ); ?></p>
    113121
    114122                                <p>
    115                                 <?php
     123                                        <?php
    116124                                        printf(
    117                                                 /* translators: 1: Link to the Inter font website. */
    118                                                 __( 'As befits a theme called Twenty Twenty, clarity and readability is also a big focus. The theme includes the typeface <a href="%1$s">Inter</a>, designed by Rasmus Andersson. Inter comes in a Variable Font version, a first for default themes, which keeps load times short by containing all weights and styles of Inter in just two font files.' ),
     125                                                /* translators: %s: Link to the Inter font website. */
     126                                                __( 'As befits a theme called Twenty Twenty, clarity and readability is also a big focus. The theme includes the typeface <a href="%s">Inter</a>, designed by Rasmus Andersson. Inter comes in a Variable Font version, a first for default themes, which keeps load times short by containing all weights and styles of Inter in just two font files.' ),
    119127                                                'https://rsms.me/inter/'
    120128                                        );
    121129                                        ?>
     
    171179                        <div class="column">
    172180                                <h4><?php _e( 'Time/Date Component Fixes' ); ?></h4>
    173181                                <p>
    174                                 <?php
     182                                        <?php
    175183                                        printf(
    176                                                 /* translators: 1: Link to the date/time developer notes. */
    177                                                 __( 'Developers can now work with <a href="%1$s">dates and timezones</a> in a more reliable way. Date and time functionality has received a number of new API functions for unified timezone retrieval and PHP interoperability, as well as many bug fixes.' ),
     184                                                /* translators: %s: Link to the date/time developer notes. */
     185                                                __( 'Developers can now work with <a href="%s">dates and timezones</a> in a more reliable way. Date and time functionality has received a number of new API functions for unified timezone retrieval and PHP interoperability, as well as many bug fixes.' ),
    178186                                                'https://make.wordpress.org/core/2019/09/23/date-time-improvements-wp-5-3/'
    179187                                        );
    180188                                        ?>
     
    183191                        <div class="column">
    184192                                <h4><?php _e( 'PHP 7.4 Compatibility' ); ?></h4>
    185193                                <p>
    186                                 <?php
     194                                        <?php
    187195                                        printf(
    188                                                 /* translators: 1: Link to the PHP 7 developer notes. */
    189                                                 __( 'The WordPress core team is actively preparing to support PHP 7.4 when it is released later this year. WordPress 5.3 contains <a href="%1$s">multiple changes</a> to remove deprecated functionality and ensure compatibility. Please test 5.3 with PHP 7.4 to ensure all functionality continues to work as expected and does not raise any new warnings.' ),
     196                                                /* translators: %s: Link to the PHP 7 developer notes. */
     197                                                __( 'The WordPress core team is actively preparing to support PHP 7.4 when it is released later this year. WordPress 5.3 contains <a href="%s">multiple changes</a> to remove deprecated functionality and ensure compatibility. Please test 5.3 with PHP 7.4 to ensure all functionality continues to work as expected and does not raise any new warnings.' ),
    190198                                                'https://make.wordpress.org/core/2019/10/11/wordpress-and-php-7-4/'
    191199                                        );
    192200                                        ?>