Changeset 7582
- Timestamp:
- 08/02/2018 01:48:39 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/gutenfront-content.php
r7572 r7582 6 6 7 7 $content = '<!-- wp:subhead --> 8 <p class="wp-block-subhead">' . esc_html__( 'It’s a whole new way to use WordPress. We call it Gutenberg.', 'wporg' ) . '</p>8 <p class="wp-block-subhead">' . esc_html__( 'It’s a whole new way to use WordPress. Try it right here!', 'wporg' ) . '</p> 9 9 <!-- /wp:subhead -->' . "\n\n"; 10 10 … … 14 14 15 15 $content .= '<!-- wp:paragraph {"align":"left"} --> 16 <p style="text-align:left">' . esc_html__( ' Gutenberg is the new editor for WordPress. It’s been completely rethought and rebuilt to make it easier for you to easily create rich, beautiful posts and pages—whether you write code for a living, or you’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> 17 17 <!-- /wp:paragraph -->' . "\n\n"; 18 18 19 19 $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 actualwebsite.', '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> 21 21 <!-- /wp:gallery -->' . "\n\n"; 22 22 … … 33 33 sprintf( 34 34 /* translators: %s: The URL to the Clasic Editor plugin. */ 35 wp_kses_post( __( 'Gutenberg is available as a plugin today, and will be includedin 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' ) ), 36 36 esc_url( "https://{$localised_domain}/plugins/classic-editor/" ) 37 37 ) . '</em></p> … … 43 43 44 44 $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> 46 46 <!-- /wp:heading -->' . "\n\n"; 47 47 48 48 $content .= '<!-- wp:paragraph {"align":"left"} --> 49 <p style="text-align:left">' . esc_html__( 'Blocks a llow 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> 50 50 <!-- /wp:paragraph -->' . "\n\n"; 51 51 … … 55 55 56 56 $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’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’s a seletion of the default blocks included with Gutenberg:', 'wporg' ) . '</p> 58 58 <!-- /wp:paragraph -->' . "\n\n"; 59 59 … … 71 71 72 72 $content .= '<!-- wp:paragraph {"align":"left"} --> 73 <p style="text-align:left">' . esc_html__( 'A single block is nice— solid, clear, discrete. But when you start building with blocks? That’s when the real excitement starts: endless combinations, endless layouts, endless possibility, alldriven by your vision.', 'wporg' ) . '</p>73 <p style="text-align:left">' . esc_html__( 'A single block is nice—reliable, clear, distinct. Discover the flexibility to use media and content, side by side, driven by your vision.', 'wporg' ) . '</p> 74 74 <!-- /wp:paragraph -->' . "\n\n"; 75 75 … … 93 93 94 94 $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> 96 96 <!-- /wp:paragraph -->' . "\n\n"; 97 97 … … 107 107 108 108 $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> 110 110 <!-- /wp:paragraph -->' . "\n\n"; 111 111 … … 129 129 130 130 $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—with themes providing styles for all the blocks—we end up with an editor that looks <em>exactly like the front-end</em>."', 'wporg' ) ) . '</p><cite>— <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>— <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>— <a href="https://twitter.com/azumbrunnen_/status/1019347243084800005">' . esc_html__( 'Adrian Zumbrunnen', 'wporg' ) . '</a></cite></blockquote> 136 132 <!-- /wp:quote -->' . "\n\n"; 137 133 138 134 $content .= '<!-- wp:quote {"align":"left","className":" is-style-large"} --> 139 135 <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’s going to be. Gutenberg has the potential of moving us into the next time."', 'wporg' ) . '</p><cite>— <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>— <a href="https://yoast.com/writing-with-gutenberg/">' . esc_html__( 'Marieke van de Rakt', 'wporg' ) . '</a></cite></blockquote> 140 140 <!-- /wp:quote -->' . "\n\n"; 141 141
Note: See TracChangeset
for help on using the changeset viewer.