WordPress.org

Making WordPress.org

Changeset 7582


Ignore:
Timestamp:
08/02/2018 01:48:39 AM (3 years ago)
Author:
tellyworth
Message:

Gutenberg: content edits. Thanks @Presskopp and others.

See #3703

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/gutenfront-content.php

    r7572 r7582  
    66
    77$content = '<!-- wp:subhead -->
    8 <p class="wp-block-subhead">' . esc_html__( 'It&#8217;s a whole new way to use WordPress. We call it Gutenberg.', 'wporg' ) . '</p>
     8<p class="wp-block-subhead">' . esc_html__( 'It&#8217;s a whole new way to use WordPress. Try it right here!', 'wporg' ) . '</p>
    99<!-- /wp:subhead -->' . "\n\n";
    1010
     
    1414
    1515$content .= '<!-- wp:paragraph {"align":"left"} -->
    16 <p style="text-align:left">' . esc_html__( 'Gutenberg is the new editor for WordPress. It&#8217;s been completely rethought and rebuilt to make it easier for you to easily create rich, beautiful posts and pages&#8212;whether you write code for a living, or you&#8217;re building a website for the first time.', 'wporg' ) . '</p>
     16<p style="text-align:left">' . esc_html__( 'We call the new editor Gutenberg. The entire editing experience has been rebuilt for media rich pages and posts. Experience the flexibility that blocks will bring, whether you are building your first site, or write code for a living.', 'wporg' ) . '</p>
    1717<!-- /wp:paragraph -->' . "\n\n";
    1818
    1919$content .= '<!-- wp:gallery {"align":"wide","columns":4,"className":"gutenberg-landing\u002d\u002dfeatures-grid"} -->
    20 <ul class="wp-block-gallery alignwide columns-4 is-cropped gutenberg-landing--features-grid"><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Plugin-1-1.gif" alt=""/><figcaption>' . esc_html_x( 'Accomplish more with fewer plugins.', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Layout-3.gif" alt=""/><figcaption>' . esc_html_x( 'Easily create modern, multimedia-heavy layouts.', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Devices-1-1.gif" alt=""/><figcaption>' . esc_html_x( 'Work across all screen sizes and devices.', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Visual-1.gif" alt=""/><figcaption>' . esc_html_x( 'Trust that your editor looks like your actual website.', 'Image Caption', 'wporg' ) . '</figcaption></figure></li></ul>
     20<ul class="wp-block-gallery alignwide columns-4 is-cropped gutenberg-landing--features-grid"><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Plugin-1-1.gif" alt=""/><figcaption>' . esc_html_x( 'Do more with fewer plugins.', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Layout-3.gif" alt=""/><figcaption>' . esc_html_x( 'Create modern, multimedia-heavy layouts.', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Devices-1-1.gif" alt=""/><figcaption>' . esc_html_x( 'Work across all screen sizes and devices.', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Visual-1.gif" alt=""/><figcaption>' . esc_html_x( 'Trust that your editor looks like your website.', 'Image Caption', 'wporg' ) . '</figcaption></figure></li></ul>
    2121<!-- /wp:gallery -->' . "\n\n";
    2222
     
    3333    sprintf(
    3434        /* translators: %s: The URL to the Clasic Editor plugin. */
    35         wp_kses_post( __( 'Gutenberg is available as a plugin today, and will be included in version 5.0 of WordPress. The <a href="%s">classic editor</a> will be available as a plugin if needed.', 'wporg' ) ),
     35        wp_kses_post( __( 'Gutenberg is available as a plugin now, and soon by default in version 5.0 of WordPress. The <a href="%s">classic editor</a> will be available as a plugin if needed.', 'wporg' ) ),
    3636        esc_url( "https://{$localised_domain}/plugins/classic-editor/" )
    3737    ) . '</em></p>
     
    4343
    4444$content .= '<!-- wp:heading {"align":"left"} -->
    45 <h2 style="text-align:left">' . esc_html__( 'Meet your new best friend, Blocks', 'wporg' ) . '</h2>
     45<h2 style="text-align:left">' . esc_html__( 'Meet your new best friends, Blocks', 'wporg' ) . '</h2>
    4646<!-- /wp:heading -->' . "\n\n";
    4747
    4848$content .= '<!-- wp:paragraph {"align":"left"} -->
    49 <p style="text-align:left">' . esc_html__( 'Blocks allow you to insert, rearrange, and style rich content natively, instead of relying on a daunting list of separate features: shortcodes, embeds, widgets, post formats, custom post types, theme options, meta-boxes, and other formatting elements.', 'wporg' ) . '</p>
     49<p style="text-align:left">' . esc_html__( 'Blocks are a great new tool for building engaging content. With blocks, you can insert, rearrange, and style multimedia content with very little technical knowledge. Instead of using custom code, you can add a block and focus on your content.', 'wporg' ) . '</p>
    5050<!-- /wp:paragraph -->' . "\n\n";
    5151
     
    5555
    5656$content .= '<!-- wp:paragraph {"align":"left"} -->
    57 <p style="text-align:left">' . esc_html__( 'Blocks allow for rich customization without deep knowledge of code, and make good on the promise of WordPress: broad functionality with a clear, consistent user experience. Here&#8217;s just a selection of the default blocks included with Gutenberg:', 'wporg' ) . '</p>
     57<p style="text-align:left">' . esc_html__( 'Without being an expert developer, you can build your own custom posts and pages. Here&#8217;s a seletion of the default blocks included with Gutenberg:', 'wporg' ) . '</p>
    5858<!-- /wp:paragraph -->' . "\n\n";
    5959
     
    7171
    7272$content .= '<!-- wp:paragraph {"align":"left"} -->
    73 <p style="text-align:left">' . esc_html__( 'A single block is nice&#8212;solid, clear, discrete. But when you start building with blocks? That&#8217;s when the real excitement starts: endless combinations, endless layouts, endless possibility, all driven by your vision.', 'wporg' ) . '</p>
     73<p style="text-align:left">' . esc_html__( 'A single block is nice&#8212;reliable, clear, distinct. Discover the flexibility to use media and content, side by side, driven by your vision.', 'wporg' ) . '</p>
    7474<!-- /wp:paragraph -->' . "\n\n";
    7575
     
    9393
    9494$content .= '<!-- wp:paragraph {"align":"left"} -->
    95 <p style="text-align:left">' . esc_html__( 'Gutenberg was developed on GitHub and uses the WordPress REST API, Javascript, and React.', 'wporg' ) . '</p>
     95<p style="text-align:left">' . esc_html__( 'Gutenberg was developed on GitHub using the WordPress REST API, JavaScript, and React.', 'wporg' ) . '</p>
    9696<!-- /wp:paragraph -->' . "\n\n";
    9797
     
    107107
    108108$content .= '<!-- wp:paragraph {"align":"left"} -->
    109 <p style="text-align:left">' . esc_html__( 'We recommend migrating features to blocks when possible, but support for existing WordPress functionality will remain, and there will be transition paths for shortcodes, meta-boxes, and Custom Post Types.', 'wporg' ) . '</p>
     109<p style="text-align:left">' . esc_html__( 'We recommend migrating features to blocks, but support for existing WordPress functionality remains. There will be transition paths for shortcodes, meta-boxes, and Custom Post Types.', 'wporg' ) . '</p>
    110110<!-- /wp:paragraph -->' . "\n\n";
    111111
     
    129129
    130130$content .= '<!-- wp:quote {"align":"left","className":" is-style-large"} -->
    131 <blockquote style="text-align:left" class="wp-block-quote  is-style-large"><p>' . wp_kses_post( __( '"Once Gutenberg is capable of handling all the pieces that visually compose a site&#8212;with themes providing styles for all the blocks&#8212;we end up with an editor that looks <em>exactly like the front-end</em>."', 'wporg' ) ) . '</p><cite>&#8212; <a href="https://matiasventura.com/post/gutenberg-or-the-ship-of-theseus/">' . esc_html__( 'Matias Ventura', 'wporg' ) . '</a></cite></blockquote>
    132 <!-- /wp:quote -->' . "\n\n";
    133 
    134 $content .= '<!-- wp:quote {"align":"left","className":" is-style-large"} -->
    135 <blockquote style="text-align:left" class="wp-block-quote  is-style-large"><p>' . esc_html__( '"Suddenly, the chore of setting up a new website becomes effortless."', 'wporg' ) . '</p><cite>&#8212; <a href="https://loopconf.com/talk/customizing-the-future/">' . esc_html__( 'Mel Choyce', 'wporg' ) . '</a></cite></blockquote>
     131<blockquote style="text-align:left" class="wp-block-quote  is-style-large"><p>' . wp_kses_post( __( '"This will make running your own blog a viable alternative again."', 'wporg' ) ) . '</p><cite>&#8212; <a href="https://twitter.com/azumbrunnen_/status/1019347243084800005">' . esc_html__( 'Adrian Zumbrunnen', 'wporg' ) . '</a></cite></blockquote>
    136132<!-- /wp:quote -->' . "\n\n";
    137133
    138134$content .= '<!-- wp:quote {"align":"left","className":" is-style-large"} -->
    139135<blockquote style="text-align:left" class="wp-block-quote  is-style-large"><p>' . esc_html__( '"The web up until this point has been confined to some sort of rectangular screen. But that is not how it&#8217;s going to be. Gutenberg has the potential of moving us into the next time."', 'wporg' ) . '</p><cite>&#8212; <a href="https://wordpress.tv/2017/12/10/morten-rand-hendriksen-gutenberg-and-the-wordpress-of-tomorrow/">' . esc_html__( 'Morten Rand-Hendriksen', 'wporg' ) . '</a></cite></blockquote>
     136<!-- /wp:quote -->' . "\n\n";
     137
     138$content .= '<!-- wp:quote {"align":"left","className":" is-style-large"} -->
     139<blockquote style="text-align:left" class="wp-block-quote  is-style-large"><p>' . esc_html__( '"The Gutenberg editor has some great assets that could genuinely help people to write better texts."', 'wporg' ) . '</p><cite>&#8212; <a href="https://yoast.com/writing-with-gutenberg/">' . esc_html__( 'Marieke van de Rakt', 'wporg' ) . '</a></cite></blockquote>
    140140<!-- /wp:quote -->' . "\n\n";
    141141
Note: See TracChangeset for help on using the changeset viewer.