Help/About: Add strings for 5.4 About page.

Props elmastudio, chanthaboune, francina, marybaum, audrasjb.
See #49295.
Built from https://develop.svn.wordpress.org/trunk@47422


git-svn-id: http://core.svn.wordpress.org/trunk@47209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-03-03 21:22:07 +00:00
parent 86bafc002d
commit 293bc81bf6
5 changed files with 103 additions and 121 deletions

View File

@ -30,13 +30,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="about__header-text">
<p>
<?php
printf(
/* translators: %s: The current WordPress version number. */
__( 'Introducing our most refined user experience with the improved block editor in WordPress %s!' ),
$display_version
);
?>
<?php _e( 'Building more with blocks, faster and easier.' ); ?>
</p>
</div>
@ -48,9 +42,36 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</nav>
</div>
<div class="about__section is-feature">
<?php _e( 'Say hello to more and better.' ); ?>
<br />
<?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.' ); ?>
</div>
<div class="about__section is-feature">
<p>
<?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.' ); ?>
<?php
printf(
/* translators: %s: The current WordPress version number. */
__( 'Welcome to WordPress %s.' ),
$display_version
);
?>
</p>
<p>
<?php _e( 'Every major release adds more to the block editor.' ); ?>
</p>
<p>
<?php _e( 'More ways to make posts and pages come alive with your best images.' ); ?>
</p>
<p>
<?php _e( 'More ways to bring your visitors in, and keep them engaged, with the richness of embedded media from the webs top services.' ); ?>
</p>
<p>
<?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.' ); ?>
</p>
<p>
<?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.' ); ?>
</p>
</div>
@ -63,36 +84,27 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</div>
</div>
<div class="column is-vertically-aligned-center">
<h2><?php _e( 'Block Editor Improvements' ); ?></h2>
<p>
<?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.' ); ?>
</p>
<p>
<?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.' ); ?>
</p>
<h2><?php _e( 'Two new blocks. And better blocks overall.' ); ?></h2>
<ul>
<li><?php _e( 'Two brand-new blocks: Social Links and Buttons make adding interactive features fast and easy.' ); ?></li>
<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>
<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>
<li><?php _e( 'And if youve 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>
</ul>
</div>
</div>
<div class="about__section has-2-columns">
<div class="column is-vertically-aligned-center">
<h2><?php _e( 'Expanded Design Flexibility' ); ?></h2>
<p>
<?php
printf(
/* translators: %s: The current WordPress version number. */
__( 'WordPress %s adds even more robust tools for creating amazing designs.' ),
$display_version
);
?>
</p>
<h2><?php _e( 'Cleaner UI, clearer navigation—and easier tabbing!' ); ?></h2>
<ul>
<li><?php _e( 'The new Group block lets you easily divide your page into colorful sections' ); ?></li>
<li><?php _e( 'The Columns block now supports fixed column widths' ); ?></li>
<li><?php _e( 'The new Predefined layouts make it a cinch to arrange content into advanced designs' ); ?></li>
<li><?php _e( 'Heading blocks now offer controls for text color' ); ?></li>
<li><?php _e( 'Additional style options allow you to set your preferred style for any block that supports this feature' ); ?></li>
<li><?php _e( 'Clearer block navigation with block breadcrumbs. And easier selection once you get there.' ); ?></li>
<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>
<li><?php _e( 'Speed! 14% faster loading of the editor, 51% faster time-to-type!' ); ?></li>
<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>
<li><?php _e( 'Know at a glance whether youre in a blocks Edit or Navigation mode. Or, if you have restricted vision, your screen reader will tell you which mode youre in.' ); ?></li>
</ul>
<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>. Youll get to be the first to use new and exciting features in the block editor, before anyone else has seen them!' ); ?></p>
</div>
<div class="column is-edge-to-edge has-accent-background-color">
<div class="about__image aligncenter">
@ -101,94 +113,82 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</div>
</div>
<div class="about__section has-2-columns has-subtle-background-color">
<div class="about__section has-2-columns">
<div class="column is-edge-to-edge has-accent-background-color">
<div class="about__image aligncenter">
<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="" />
</div>
</div>
<div class="column is-vertically-aligned-center">
<h2><?php _e( 'Introducing Twenty Twenty' ); ?></h2>
<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>
<p>
<?php
printf(
/* translators: %s: Link to the Inter font website. */
__( '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.' ),
'https://rsms.me/inter/'
);
?>
</p>
</div>
<div class="column is-edge-to-edge">
<div class="about__image aligncenter">
<img src="https://s.w.org/images/core/5.3/twentytwenty-mobile.png" alt="" />
</div>
</div>
</div>
<div class="about__section has-subtle-background-color">
<div class="column is-edge-to-edge">
<div class="about__image aligncenter">
<img src="https://s.w.org/images/core/5.3/twentytwenty-desktop.png" alt="" />
</div>
</div>
</div>
<hr />
<div class="about__section has-3-columns">
<h2 class="is-section-header"><?php _e( 'Improvements for Everyone' ); ?></h2>
<div class="column">
<h3><?php _e( 'Automatic Image Rotation' ); ?></h3>
<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>
</div>
<div class="column">
<h3><?php _e( 'Site Health Checks' ); ?></h3>
<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>
</div>
<div class="column">
<h3><?php _e( 'Admin Email Verification' ); ?></h3>
<p><?php _e( 'Youll 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>
</div>
</div>
<div class="about__section">
<div class="column is-edge-to-edge">
<div class="about__image aligncenter">
<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="" />
</div>
<h2><?php _e( 'Your fundamental right: privacy' ); ?></h2>
<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>
<p><?php _e( 'Take a look:' ); ?></p>
<ul>
<li><?php _e( 'Personal Data Exports include more useful data about what youve done in sessions. Plus, a table of contents!' ); ?></li>
<li><?php _e( 'See where you are when you use Privacy Tools Tables, whether youre erasing or exporting.' ); ?></li>
<li><?php _e( 'Plus, little enhancements throughout give the Privacy tools a little cleaner look. Your eyes will thank you!' ); ?></li>
</ul>
</div>
</div>
<hr />
<div class="about__section has-2-columns has-subtle-background-color">
<h2 class="is-section-header"><?php _e( 'For Developers' ); ?></h2>
<h2 class="is-section-header"><?php _e( 'Just for developers' ); ?></h2>
<div class="column">
<h3><?php _e( 'Date/Time Component Fixes' ); ?></h3>
<h3><?php _e( 'Add custom fields to menu items—natively' ); ?></h3>
<p>
<?php _e( 'Two new actions let you add custom fields to menu items—without a plugin and without writing custom walkers.' ); ?>
</p>
<p>
<?php
printf(
/* translators: %s: Link to the date/time developer notes. */
__( '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.' ),
'https://make.wordpress.org/core/2019/09/23/date-time-improvements-wp-5-3/'
/* translators: %s: 'wp_nav_menu_item_custom_fields' action name. */
__( 'On the Menus admin screen, %s fires just before the move buttons of a nav menu item in the menu editor.' ),
'<code>wp_nav_menu_item_custom_fields</code>'
);
?>
</p>
<p>
<?php
printf(
/* translators: %s: 'wp_nav_menu_item_custom_fields_customize_template' action name. */
__( 'In the Customizer, %s fires at the end of the menu-items form-fields template.' ),
'<code>wp_nav_menu_item_custom_fields_customize_template</code>'
);
?>
</p>
<p>
<?php _e( 'Check your code and see where these new actions can replace your custom code, and if youre concerned about duplication, add a check for the WordPress version.' ); ?>
</p>
</div>
<div class="column">
<h3><?php _e( 'PHP 7.4 Compatibility' ); ?></h3>
<p>
<?php
printf(
/* translators: %s: Link to the PHP 7 developer notes. */
__( '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.' ),
'https://make.wordpress.org/core/2019/10/11/wordpress-and-php-7-4/'
);
?>
</p>
<h3><?php _e( 'Blocks! Simpler styling, new APIs and embeds' ); ?></h3>
<ul>
<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>
<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>
<li><?php _e( 'Let users do more with two new APIs: block variations and gradients.' ); ?></li>
<li><?php _e( 'In embeds, now the block editor supports TikTok—and CollegeHumor is gone.' ); ?></li>
</ul>
</div>
</div>
<div class="about__section is-feature">
<p>
<?php
printf(
/* translators: %s: WordPress 5.4 Field Guide link. */
__( 'Theres 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>' ),
'https://make.wordpress.org/core/?p=80034'
);
?>
</p>
<p>
<?php _e( 'Finally, a note about tooling. If youre a Composer fan, version 5.4 supports this more modern tooling for PHPUnit and external libraries.' ); ?>
</p>
</div>
<hr />
<div class="return-to-dashboard">

View File

@ -32,13 +32,7 @@ $credits = wp_credits();
<div class="about__header-text">
<p>
<?php
printf(
/* translators: %s: The current WordPress version number. */
__( 'Introducing our most refined user experience with the improved block editor in WordPress %s!' ),
$display_version
);
?>
<?php _e( 'Building more with blocks, faster and easier.' ); ?>
</p>
</div>

View File

@ -35,13 +35,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="about__header-text">
<p>
<?php
printf(
/* translators: %s: The current WordPress version number. */
__( 'Introducing our most refined user experience with the improved block editor in WordPress %s!' ),
$display_version
);
?>
<?php _e( 'Building more with blocks, faster and easier.' ); ?>
</p>
</div>

View File

@ -29,13 +29,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="about__header-text">
<p>
<?php
printf(
/* translators: %s: The current WordPress version number. */
__( 'Introducing our most refined user experience with the improved block editor in WordPress %s!' ),
$display_version
);
?>
<?php _e( 'Building more with blocks, faster and easier.' ); ?>
</p>
</div>

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.4-beta3-47421';
$wp_version = '5.4-beta3-47422';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.