WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/03/2020 09:20:45 PM (5 months ago)
Author:
SergeyBiryukov
Message:

Help/About: Add strings for 5.4 About page.

Props elmastudio, chanthaboune, francina, marybaum, audrasjb.
See #49295.

File:
1 edited

Legend:

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

    r47198 r47422  
    3131            <div class="about__header-text">
    3232                <p>
    33                     <?php
    34                     printf(
    35                         /* translators: %s: The current WordPress version number. */
    36                         __( 'Introducing our most refined user experience with the improved block editor in WordPress %s!' ),
    37                         $display_version
    38                     );
    39                     ?>
     33                    <?php _e( 'Building more with blocks, faster and easier.' ); ?>
    4034                </p>
    4135            </div>
     
    5044
    5145        <div class="about__section is-feature">
    52             <p>
    53                 <?php _e( '5.3 expands and refines the block editor introduced in WordPress 5.0 with a new block, more intuitive interactions, and improved accessibility. New features in the editor increase design freedoms, provide additional layout options and style variations to allow designers complete control over the look of a site. This release also introduces the Twenty Twenty theme giving the user more design flexibility and integration with the block editor. Creating beautiful web pages and advanced layouts has never been easier.' ); ?>
     46            <?php _e( 'Say hello to more and better.' ); ?>
     47            <br />
     48            <?php _e( 'More ways to make your pages come alive. With easier ways to get it all done and looking better than ever—and boosts in speed you can feel.' ); ?>
     49        </div>
     50
     51        <div class="about__section is-feature">
     52            <p>
     53                <?php
     54                printf(
     55                    /* translators: %s: The current WordPress version number. */
     56                    __( 'Welcome to WordPress %s.' ),
     57                    $display_version
     58                );
     59                ?>
     60            </p>
     61            <p>
     62                <?php _e( 'Every major release adds more to the block editor.' ); ?>
     63            </p>
     64            <p>
     65                <?php _e( 'More ways to make posts and pages come alive with your best images.' ); ?>
     66            </p>
     67            <p>
     68                <?php _e( 'More ways to bring your visitors in, and keep them engaged, with the richness of embedded media from the web’s top services.' ); ?>
     69            </p>
     70            <p>
     71                <?php _e( 'More ways to make your vision real, and put blocks in the perfect place — even if a particular kind of block is new to you. More efficient processes.' ); ?>
     72            </p>
     73            <p>
     74                <?php _e( 'And more speed everywhere, so as you build sections or galleries, or just type in a line of prose, you can feel how much faster your work flows.' ); ?>
    5475            </p>
    5576        </div>
     
    6485            </div>
    6586            <div class="column is-vertically-aligned-center">
    66                 <h2><?php _e( 'Block Editor Improvements' ); ?></h2>
    67                 <p>
    68                     <?php _e( 'This enhancement-focused update introduces over 150 new features and usability improvements, including improved large image support for uploading non-optimized, high-resolution pictures taken from your smartphone or other high-quality cameras. Combined with larger default image sizes, pictures always look their best.' ); ?>
    69                 </p>
    70 
    71                 <p>
    72                     <?php _e( 'Accessibility improvements include the integration of block editor styles in the admin interface. These improved styles fix many accessibility issues: color contrast on form fields and buttons, consistency between editor and admin interfaces, new snackbar notices, standardizing to the default WordPress color scheme, and the introduction of Motion to make interacting with your blocks feel swift and natural. For people who use a keyboard to navigate the dashboard, the block editor now has a Navigation mode. This lets you jump from block to block without tabbing through every part of the block controls.' ); ?>
    73                 </p>
     87                <h2><?php _e( 'Two new blocks. And better blocks overall.' ); ?></h2>
     88                <ul>
     89                    <li><?php _e( 'Two brand-new blocks: Social Links and Buttons make adding interactive features fast and easy.' ); ?></li>
     90                    <li><?php _e( 'New ways with color: Gradients in the Buttons and Cover block, toolbar access to color options in Rich Text blocks, and for the first time, color options in the Group and Columns blocks.' ); ?></li>
     91                    <li><?php _e( 'Guess a whole lot less! Version 5.4 streamlines the whole process for placing and replacing multimedia in every block. Now it works the same way in almost every block!' ); ?></li>
     92                    <li><?php _e( 'And if you’ve ever thought your image in the Media+Text block should link to something else — perhaps a picture of a brochure should download that brochure as a document? Well, now it can.' ); ?></li>
     93                </ul>
    7494            </div>
    7595        </div>
     
    7797        <div class="about__section has-2-columns">
    7898            <div class="column is-vertically-aligned-center">
    79                 <h2><?php _e( 'Expanded Design Flexibility' ); ?></h2>
    80                 <p>
    81                     <?php
    82                     printf(
    83                         /* translators: %s: The current WordPress version number. */
    84                         __( 'WordPress %s adds even more robust tools for creating amazing designs.' ),
    85                         $display_version
    86                     );
    87                     ?>
    88                 </p>
    89                 <ul>
    90                     <li><?php _e( 'The new Group block lets you easily divide your page into colorful sections' ); ?></li>
    91                     <li><?php _e( 'The Columns block now supports fixed column widths' ); ?></li>
    92                     <li><?php _e( 'The new Predefined layouts make it a cinch to arrange content into advanced designs' ); ?></li>
    93                     <li><?php _e( 'Heading blocks now offer controls for text color' ); ?></li>
    94                     <li><?php _e( 'Additional style options allow you to set your preferred style for any block that supports this feature' ); ?></li>
    95                 </ul>
     99                <h2><?php _e( 'Cleaner UI, clearer navigation—and easier tabbing!' ); ?></h2>
     100                <ul>
     101                    <li><?php _e( 'Clearer block navigation with block breadcrumbs. And easier selection once you get there.' ); ?></li>
     102                    <li><?php _e( 'For when you need to navigate with the keyboard, better tabbing and focus. Plus, you can tab over to the sidebar of nearly any block.' ); ?></li>
     103                    <li><?php _e( 'Speed! 14% faster loading of the editor, 51% faster time-to-type!' ); ?></li>
     104                    <li><?php _e( 'Tips are gone. In their place, a Welcome Guide window you can bring up when you need it—and only when you need it—again and again.' ); ?></li>
     105                    <li><?php _e( 'Know at a glance whether you’re in a block’s Edit or Navigation mode. Or, if you have restricted vision, your screen reader will tell you which mode you’re in.' ); ?></li>
     106                </ul>
     107                <p><?php _e( 'Of course, if you want to work with the very latest tools and features, install the <a href="https://wordpress.org/plugins/gutenberg/">Gutenberg plugin</a>. You’ll get to be the first to use new and exciting features in the block editor, before anyone else has seen them!' ); ?></p>
    96108            </div>
    97109            <div class="column is-edge-to-edge has-accent-background-color">
     
    102114        </div>
    103115
     116        <div class="about__section has-2-columns">
     117            <div class="column is-edge-to-edge has-accent-background-color">
     118                <div class="about__image aligncenter">
     119                    <img src="data:image/svg+xml;charset=utf8,%3Csvg width='660' height='818' viewbox='0 0 660 818' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='99' y='178' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='231' y='310' width='99' height='99' fill='%2344141E'/%3E%3Crect x='330' y='409' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='462' y='541' width='99' height='99' fill='%2344141E'/%3E%3C/svg%3E" alt="" />
     120                </div>
     121            </div>
     122            <div class="column is-vertically-aligned-center">
     123                <h2><?php _e( 'Your fundamental right: privacy' ); ?></h2>
     124                <p><?php _e( '5.4 helps with a variety of privacy issues around the world. So when users and stakeholders ask about regulatory compliance, or how your team handles user data, the answers should be a lot easier to get right.' ); ?></p>
     125                <p><?php _e( 'Take a look:' ); ?></p>
     126                <ul>
     127                    <li><?php _e( 'Personal Data Exports include more useful data about what you’ve done in sessions. Plus, a table of contents!' ); ?></li>
     128                    <li><?php _e( 'See where you are when you use Privacy Tools Tables, whether you’re erasing or exporting.' ); ?></li>
     129                    <li><?php _e( 'Plus, little enhancements throughout give the Privacy tools a little cleaner look. Your eyes will thank you!' ); ?></li>
     130                </ul>
     131            </div>
     132        </div>
     133
     134        <hr />
     135
    104136        <div class="about__section has-2-columns has-subtle-background-color">
    105             <div class="column is-vertically-aligned-center">
    106                 <h2><?php _e( 'Introducing Twenty Twenty' ); ?></h2>
    107                 <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>
    108 
     137            <h2 class="is-section-header"><?php _e( 'Just for developers' ); ?></h2>
     138
     139            <div class="column">
     140                <h3><?php _e( 'Add custom fields to menu items—natively' ); ?></h3>
     141                <p>
     142                    <?php _e( 'Two new actions let you add custom fields to menu items—without a plugin and without writing custom walkers.' ); ?>
     143                </p>
    109144                <p>
    110145                    <?php
    111146                    printf(
    112                         /* translators: %s: Link to the Inter font website. */
    113                         __( '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.' ),
    114                         'https://rsms.me/inter/'
     147                        /* translators: %s: 'wp_nav_menu_item_custom_fields' action name. */
     148                        __( 'On the Menus admin screen, %s fires just before the move buttons of a nav menu item in the menu editor.' ),
     149                        '<code>wp_nav_menu_item_custom_fields</code>'
    115150                    );
    116151                    ?>
    117152                </p>
    118             </div>
    119             <div class="column is-edge-to-edge">
    120                 <div class="about__image aligncenter">
    121                     <img src="https://s.w.org/images/core/5.3/twentytwenty-mobile.png" alt="" />
    122                 </div>
    123             </div>
    124         </div>
    125 
    126         <div class="about__section has-subtle-background-color">
    127             <div class="column is-edge-to-edge">
    128                 <div class="about__image aligncenter">
    129                     <img src="https://s.w.org/images/core/5.3/twentytwenty-desktop.png" alt="" />
    130                 </div>
    131             </div>
    132         </div>
    133 
    134         <hr />
    135 
    136         <div class="about__section has-3-columns">
    137             <h2 class="is-section-header"><?php _e( 'Improvements for Everyone' ); ?></h2>
    138 
    139             <div class="column">
    140                 <h3><?php _e( 'Automatic Image Rotation' ); ?></h3>
    141                 <p><?php _e( 'Your images will be correctly rotated upon upload according to the embedded orientation data. This feature was first proposed nine years ago and made possible through the perserverance of many dedicated contributors.' ); ?></p>
    142             </div>
    143             <div class="column">
    144                 <h3><?php _e( 'Site Health Checks' ); ?></h3>
    145                 <p><?php _e( 'The improvements introduced in 5.3 make it even easier to identify issues. Expanded recommendations highlight areas that may need troubleshooting on your site from the Health Check screen.' ); ?></p>
    146             </div>
    147             <div class="column">
    148                 <h3><?php _e( 'Admin Email Verification' ); ?></h3>
    149                 <p><?php _e( 'You’ll now be periodically asked to confirm that your admin email address is up to date when you log in as an administrator. This reduces the chance of getting locked out of your site if you change your email address.' ); ?></p>
    150             </div>
    151         </div>
    152 
    153         <div class="about__section">
    154             <div class="column is-edge-to-edge">
    155                 <div class="about__image aligncenter">
    156                     <img src="data:image/svg+xml;charset=utf8,%3Csvg width='1000' height='498' viewbox='0 0 1000 498' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='865.463' y='36.8596' width='133.8' height='132.326' fill='%23942F44'/%3E%3Crect x='865.463' y='180.98' width='133.8' height='132.326' fill='%23942F44'/%3E%3Crect x='866.2' y='328.05' width='133.8' height='132.694' fill='%23942F44'/%3E%3Crect y='331.736' width='405.455' height='134.169' fill='%234E1521'/%3E%3Crect y='36.8596' width='405.455' height='129.008' fill='%234E1521'/%3E%3Crect y='184.298' width='387.025' height='133.8' fill='%234E1521'/%3E%3Crect x='719.13' y='34.6479' width='133.8' height='428.677' fill='%23BD3854'/%3E%3Crect x='571.323' y='18.4297' width='133.8' height='423.885' fill='%23BD3854'/%3E%3Crect x='423.516' y='35.0164' width='133.8' height='425.728' fill='%23BD3854'/%3E%3C/svg%3E" alt="" />
    157                 </div>
    158             </div>
    159         </div>
    160 
    161         <hr />
    162 
    163         <div class="about__section has-2-columns has-subtle-background-color">
    164             <h2 class="is-section-header"><?php _e( 'For Developers' ); ?></h2>
    165 
    166             <div class="column">
    167                 <h3><?php _e( 'Date/Time Component Fixes' ); ?></h3>
    168153                <p>
    169154                    <?php
    170155                    printf(
    171                         /* translators: %s: Link to the date/time developer notes. */
    172                         __( '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.' ),
    173                         'https://make.wordpress.org/core/2019/09/23/date-time-improvements-wp-5-3/'
     156                        /* translators: %s: 'wp_nav_menu_item_custom_fields_customize_template' action name. */
     157                        __( 'In the Customizer, %s fires at the end of the menu-items form-fields template.' ),
     158                        '<code>wp_nav_menu_item_custom_fields_customize_template</code>'
    174159                    );
    175160                    ?>
    176161                </p>
     162                <p>
     163                    <?php _e( 'Check your code and see where these new actions can replace your custom code, and if you’re concerned about duplication, add a check for the WordPress version.' ); ?>
     164                </p>
    177165            </div>
    178166            <div class="column">
    179                 <h3><?php _e( 'PHP 7.4 Compatibility' ); ?></h3>
    180                 <p>
    181                     <?php
    182                     printf(
    183                         /* translators: %s: Link to the PHP 7 developer notes. */
    184                         __( 'WordPress 5.3 aims to fully support PHP 7.4. This release contains <a href="%s">multiple changes</a> to remove deprecated functionality and ensure compatibility. WordPress continues to encourage all users to run the latest and greatest versions of PHP.' ),
    185                         'https://make.wordpress.org/core/2019/10/11/wordpress-and-php-7-4/'
    186                     );
    187                     ?>
    188                 </p>
    189             </div>
     167                <h3><?php _e( 'Blocks! Simpler styling, new APIs and embeds' ); ?></h3>
     168                <ul>
     169                    <li><?php _e( '<strong>Radically</strong> simpler block styling. Negative margins and default padding are gone! Now you can style blocks the way you need them. And, a refactor got rid of four redundant wrapper divs.' ); ?></li>
     170                    <li><?php _e( 'If you build plugins, now you can register collections of your blocks by namespace across categories—a great way to get more brand visibility.' ); ?></li>
     171                    <li><?php _e( 'Let users do more with two new APIs: block variations and gradients.' ); ?></li>
     172                    <li><?php _e( 'In embeds, now the block editor supports TikTok—and CollegeHumor is gone.' ); ?></li>
     173                </ul>
     174            </div>
     175        </div>
     176
     177        <div class="about__section is-feature">
     178            <p>
     179                <?php
     180                printf(
     181                    /* translators: %s: WordPress 5.4 Field Guide link. */
     182                    __( 'There’s lots more for developers to love in WordPress 5.4. To discover more and learn how to make these changes shine on your on your sites, themes, plugins and more, check the <a href="%s">WordPress 5.4 Field Guide.</a>' ),
     183                    'https://make.wordpress.org/core/?p=80034'
     184                );
     185                ?>
     186            </p>
     187            <p>
     188                <?php _e( 'Finally, a note about tooling. If you’re a Composer fan, version 5.4 supports this more modern tooling for PHPUnit and external libraries.' ); ?>
     189            </p>
    190190        </div>
    191191
Note: See TracChangeset for help on using the changeset viewer.