WordPress.org

Making WordPress.org

Changeset 7526


Ignore:
Timestamp:
07/30/2018 06:26:31 AM (3 years ago)
Author:
dd32
Message:

Gutenberg: Mark default content up for eventual translation.

See #3703.

File:
1 edited

Legend:

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

    r7524 r7526  
    11<?php
    2 $title = 'Say Hello to the New Editor';
     2$title = __( 'Say Hello to the New Editor', 'gutenbergtheme' );
    33
    4 $content = <<<EOPOST
    5 <!-- wp:subhead -->
    6 <p class="wp-block-subhead">It’s a whole new way to use WordPress. We call it Gutenberg.</p>
    7 <!-- /wp:subhead -->
     4$content = '<!-- wp:subhead -->
     5<p class="wp-block-subhead">' . __( 'It’s a whole new way to use WordPress. We call it Gutenberg.', 'gutenbergtheme' ) . '</p>
     6<!-- /wp:subhead -->' . "\n\n";
    87
    9 <!-- wp:image {"id":351,"align":"full"} -->
     8$content .= '<!-- wp:image {"id":351,"align":"full"} -->
    109<figure class="wp-block-image alignfull"><img src="https://wordpress.org/gutenberg/wp-content/uploads/2018/07/Screenshot-4.png" alt="" class="wp-image-351"/></figure>
    11 <!-- /wp:image -->
     10<!-- /wp:image -->' . "\n\n";
    1211
    13 <!-- wp:image {"id":97629,"align":"full"} -->
     12$content .= '<!-- wp:image {"id":97629,"align":"full"} -->
    1413<figure class="wp-block-image alignfull"><img src="https://wordpress.org/gutenberg/files/2018/07/Screenshot-4-1.png" alt="" class="wp-image-97629"/></figure>
    15 <!-- /wp:image -->
     14<!-- /wp:image -->' . "\n\n";
    1615
    17 <!-- wp:paragraph {"align":"left"} -->
    18 <p style="text-align:left">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.</p>
    19 <!-- /wp:paragraph -->
     16$content .= '<!-- wp:paragraph {"align":"left"} -->
     17<p style="text-align:left">' . __( "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.", 'gutenbergtheme' ) . '</p>
     18<!-- /wp:paragraph -->' . "\n\n";
    2019
    21 <!-- wp:gallery {"align":"wide","columns":4,"className":"gutenberg-landing\u002d\u002dfeatures-grid"} -->
    22 <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/Visual-1.gif" alt=""/><figcaption>Trust that your editor looks like your actual website.</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Layout-3.gif" alt=""/><figcaption>Easily create modern, multimedia-heavy layouts.</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Plugin-1-1.gif" alt=""/><figcaption>Accomplish more with fewer plugins.</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Devices-1-1.gif" alt=""/><figcaption>Work across all screen sizes and devices.</figcaption></figure></li></ul>
    23 <!-- /wp:gallery -->
     20$content .= '<!-- wp:gallery {"align":"wide","columns":4,"className":"gutenberg-landing\u002d\u002dfeatures-grid"} -->
     21<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/Visual-1.gif" alt=""/><figcaption>' . _x( 'Trust that your editor looks like your actual website.', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Layout-3.gif" alt=""/><figcaption>' . _x( 'Easily create modern, multimedia-heavy layouts.', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Plugin-1-1.gif" alt=""/><figcaption>' . _x( 'Accomplish more with fewer plugins.', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Devices-1-1.gif" alt=""/><figcaption>' . _x( 'Work across all screen sizes and devices.', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li></ul>
     22<!-- /wp:gallery -->' . "\n\n";
    2423
    25 <!-- wp:spacer -->
     24$content .= '<!-- wp:spacer -->
    2625<div style="height:100px" class="wp-block-spacer" aria-hidden="true"></div>
    27 <!-- /wp:spacer -->
     26<!-- /wp:spacer -->' . "\n\n";
    2827
    29 <!-- wp:button {"align":"center","backgroundColor":"dark-blue"} -->
    30 <div class="wp-block-button aligncenter"><a class="wp-block-button__link has-background has-dark-blue-background-color" href="https://wordpress.org/plugins/gutenberg/">Download Gutenberg Today</a></div>
    31 <!-- /wp:button -->
     28$content .= '<!-- wp:button {"align":"center","backgroundColor":"dark-blue"} -->
     29<div class="wp-block-button aligncenter"><a class="wp-block-button__link has-background has-dark-blue-background-color" href="https://wordpress.org/plugins/gutenberg/">' . __( "Download Gutenberg Today", 'gutenbergtheme' ) . '</a></div>
     30<!-- /wp:button -->' . "\n\n";
    3231
    33 <!-- wp:paragraph {"align":"center","fontSize":"small","className":"gutenberg-landing\u002d\u002dbutton-disclaimer"} -->
    34 <p style="text-align:center" class="is-small-text gutenberg-landing--button-disclaimer"><em>Gutenberg is available as a plugin today, and will be included in version 5.0 of WordPress. The <a href="https://wordpress.org/plugins/classic-editor/">classic editor</a> will <em>be available as a plugin if needed.</em></em></p>
    35 <!-- /wp:paragraph -->
     32$content .= '<!-- wp:paragraph {"align":"center","fontSize":"small","className":"gutenberg-landing\u002d\u002dbutton-disclaimer"} -->
     33<p style="text-align:center" class="is-small-text gutenberg-landing--button-disclaimer"><em>' .
     34    sprintf(
     35        /* translators: %s: The URL to the Clasic Editor plugin. */
     36        __( "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.", 'gutenbergtheme' ),
     37        '/plugins/classic-editor/'
     38    ) . '</em></p>
     39<!-- /wp:paragraph -->' . "\n\n";
    3640
    37 <!-- wp:spacer -->
     41$content .= '<!-- wp:spacer -->
    3842<div style="height:100px" class="wp-block-spacer" aria-hidden="true"></div>
    39 <!-- /wp:spacer -->
     43<!-- /wp:spacer -->' . "\n\n";
    4044
    41 <!-- wp:heading {"align":"center"} -->
    42 <h2 style="text-align:center">Meet your new best friend, Blocks</h2>
    43 <!-- /wp:heading -->
     45$content .= '<!-- wp:heading {"align":"center"} -->
     46<h2 style="text-align:center">' . __( 'Meet your new best friend, Blocks', 'gutenbergtheme' ) . '</h2>
     47<!-- /wp:heading -->' . "\n\n";
    4448
    45 <!-- wp:paragraph {"align":"left"} -->
    46 <p style="text-align:left">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.</p>
    47 <!-- /wp:paragraph -->
     49$content .= '<!-- wp:paragraph {"align":"left"} -->
     50<p style="text-align:left">' . __( '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.', 'gutenbergtheme' ) . '</p>
     51<!-- /wp:paragraph -->' . "\n\n";
    4852
    49 <!-- wp:image {"id":358} -->
     53$content .= '<!-- wp:image {"id":358} -->
    5054<figure class="wp-block-image"><img src="https://wordpress.org/gutenberg/files/2018/07/Insert-Block-2-1.gif" alt="" class="wp-image-358"/></figure>
    51 <!-- /wp:image -->
     55<!-- /wp:image -->' . "\n\n";
    5256
    53 <!-- wp:image {"id":358} -->
     57$content .= '<!-- wp:image {"id":358} -->
    5458<figure class="wp-block-image"><img src="https://wordpress.org/gutenberg/wp-content/uploads/2018/07/Insert-Block-2-1.gif" alt="" class="wp-image-358"/></figure>
    55 <!-- /wp:image -->
     59<!-- /wp:image -->' . "\n\n";
    5660
    57 <!-- wp:paragraph {"align":"left"} -->
    58 <p style="text-align:left">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:</p>
    59 <!-- /wp:paragraph -->
     61$content .= '<!-- wp:paragraph {"align":"left"} -->
     62<p style="text-align:left">' . __( "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:", 'gutenbergtheme' ) . '</p>
     63<!-- /wp:paragraph -->' . "\n\n";
    6064
    61 <!-- wp:gallery {"align":"full","columns":8} -->
    62 <ul class="wp-block-gallery alignfull columns-8 is-cropped"><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon.png" alt=""/><figcaption>Paragraph</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Heading.png" alt=""/><figcaption>Heading</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Subheading.png" alt=""/><figcaption>Subheading</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Quote.png" alt=""/><figcaption>Quote</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Image.png" alt=""/><figcaption>Image</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Gallery.png" alt=""/><figcaption>Gallery</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Cover-Image.png" alt=""/><figcaption>Cover Image</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Video.png" alt=""/><figcaption>Video</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Audio.png" alt=""/><figcaption>Audio</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Column.png" alt=""/><figcaption>Columns</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-File.png" alt=""/><figcaption>File</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Code.png" alt=""/><figcaption>Code</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-List.png" alt=""/><figcaption>List</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Button.png" alt=""/><figcaption>Button</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Embeds.png" alt=""/><figcaption>Embeds</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-More.png" alt=""/><figcaption>More</figcaption></figure></li></ul>
    63 <!-- /wp:gallery -->
     65$content .= '<!-- wp:gallery {"align":"full","columns":8} -->
     66<ul class="wp-block-gallery alignfull columns-8 is-cropped"><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon.png" alt=""/><figcaption>' . _x( 'Paragraph', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Heading.png" alt=""/><figcaption>' . _x( 'Heading', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Subheading.png" alt=""/><figcaption>' . _x( 'Subheading', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Quote.png" alt=""/><figcaption>' . _x( 'Quote', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Image.png" alt=""/><figcaption>' . _x( 'Image', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Gallery.png" alt=""/><figcaption>' . _x( 'Gallery', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Cover-Image.png" alt=""/><figcaption>' . _x( 'Cover Image', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Video.png" alt=""/><figcaption>' . _x( 'Video', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Audio.png" alt=""/><figcaption>' . _x( 'Audio', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Column.png" alt=""/><figcaption>' . _x( 'Columns', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-File.png" alt=""/><figcaption>' . _x( 'File', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Code.png" alt=""/><figcaption>' . _x( 'Code', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-List.png" alt=""/><figcaption>' . _x( 'List', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Button.png" alt=""/><figcaption>' . _x( 'Button', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Embeds.png" alt=""/><figcaption>' . _x( 'Embeds', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-More.png" alt=""/><figcaption>' . _x( 'More', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li></ul>
     67<!-- /wp:gallery -->' . "\n\n";
    6468
    65 <!-- wp:spacer -->
     69$content .= '<!-- wp:spacer -->
    6670<div style="height:100px" class="wp-block-spacer" aria-hidden="true"></div>
    67 <!-- /wp:spacer -->
     71<!-- /wp:spacer -->' . "\n\n";
    6872
    69 <!-- wp:heading {"align":"center"} -->
    70 <h2 style="text-align:center">Be your own builder</h2>
    71 <!-- /wp:heading -->
     73$content .= '<!-- wp:heading {"align":"center"} -->
     74<h2 style="text-align:center">' . __( 'Be your own builder', 'gutenbergtheme' ) . '</h2>
     75<!-- /wp:heading -->' . "\n\n";
    7276
    73 <!-- wp:paragraph {"align":"left"} -->
    74 <p style="text-align:left">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, all driven by your vision.</p>
    75 <!-- /wp:paragraph -->
     77$content .= '<!-- wp:paragraph {"align":"left"} -->
     78<p style="text-align:left">' . __( '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, all driven by your vision.', 'gutenbergtheme' ) . '</p>
     79<!-- /wp:paragraph -->' . "\n\n";
    7680
    77 <!-- wp:image {"id":359} -->
     81$content .= '<!-- wp:image {"id":359} -->
    7882<figure class="wp-block-image"><img src="https://wordpress.org/gutenberg/wp-content/uploads/2018/07/Builder-2-1.gif" alt="" class="wp-image-359"/></figure>
    79 <!-- /wp:image -->
     83<!-- /wp:image -->' . "\n\n";
    8084
    81 <!-- wp:image {"id":359} -->
     85$content .= '<!-- wp:image {"id":359} -->
    8286<figure class="wp-block-image"><img src="https://wordpress.org/gutenberg/files/2018/07/Builder-2-1.gif" alt="" class="wp-image-359"/></figure>
    83 <!-- /wp:image -->
     87<!-- /wp:image -->' . "\n\n";
    8488
    85 <!-- wp:spacer -->
     89$content .= '<!-- wp:spacer -->
    8690<div style="height:100px" class="wp-block-spacer" aria-hidden="true"></div>
    87 <!-- /wp:spacer -->
     91<!-- /wp:spacer -->' . "\n\n";
    8892
    89 <!-- wp:heading {"align":"center"} -->
    90 <h2 style="text-align:center">Gutenberg ❤️ Developers</h2>
    91 <!-- /wp:heading -->
     93$content .= '<!-- wp:heading {"align":"center"} -->
     94<h2 style="text-align:center">' . __( 'Gutenberg ❤️ Developers', 'gutenbergtheme' ) . '</h2>
     95<!-- /wp:heading -->' . "\n\n";
    9296
    93 <!-- wp:columns {"className":"gutenberg-landing\u002d\u002ddevelopers-columns"} -->
     97$content .= '<!-- wp:columns {"className":"gutenberg-landing\u002d\u002ddevelopers-columns"} -->
    9498<div class="wp-block-columns has-2-columns gutenberg-landing--developers-columns"><!-- wp:column -->
    9599<div class="wp-block-column"><!-- wp:heading {"level":3,"align":"left"} -->
    96 <h3 style="text-align:left">Built with modern technology.</h3>
    97 <!-- /wp:heading -->
     100<h3 style="text-align:left">' . __( 'Built with modern technology.', 'gutenbergtheme' ) . '</h3>
     101<!-- /wp:heading -->' . "\n\n";
    98102
    99 <!-- wp:paragraph {"align":"left"} -->
    100 <p style="text-align:left">Gutenberg was developed on GitHub and uses the WordPress REST API, Javascript, and React.</p>
    101 <!-- /wp:paragraph -->
     103$content .= '<!-- wp:paragraph {"align":"left"} -->
     104<p style="text-align:left">' . __( 'Gutenberg was developed on GitHub and uses the WordPress REST API, Javascript, and React.', 'gutenbergtheme' ) . '</p>
     105<!-- /wp:paragraph -->' . "\n\n";
    102106
    103 <!-- wp:paragraph {"align":"left","fontSize":"small"} -->
    104 <p style="text-align:left" class="is-small-text"><a href="https://wordpress.org/gutenberg/handbook/language/">Learn more</a></p>
     107$content .= '<!-- wp:paragraph {"align":"left","fontSize":"small"} -->
     108<p style="text-align:left" class="is-small-text"><a href="https://wordpress.org/gutenberg/handbook/language/">' . __( 'Learn more', 'gutenbergtheme' ) . '</a></p>
    105109<!-- /wp:paragraph --></div>
    106 <!-- /wp:column -->
     110<!-- /wp:column -->' . "\n\n";
    107111
    108 <!-- wp:column -->
     112$content .= '<!-- wp:column -->
    109113<div class="wp-block-column"><!-- wp:heading {"level":3,"align":"left"} -->
    110 <h3 style="text-align:left">Designed for compatibility.</h3>
    111 <!-- /wp:heading -->
     114<h3 style="text-align:left">' . __( 'Designed for compatibility.', 'gutenbergtheme' ) . '</h3>
     115<!-- /wp:heading -->' . "\n\n";
    112116
    113 <!-- wp:paragraph {"align":"left"} -->
    114 <p style="text-align:left">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.</p>
    115 <!-- /wp:paragraph -->
     117$content .= '<!-- wp:paragraph {"align":"left"} -->
     118<p style="text-align:left">' . __( '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.', 'gutenbergtheme' ) . '</p>
     119<!-- /wp:paragraph -->' . "\n\n";
    116120
    117 <!-- wp:paragraph {"align":"left","fontSize":"small"} -->
    118 <p style="text-align:left" class="is-small-text"><a href="https://wordpress.org/gutenberg/handbook/reference/faq/">Learn more</a></p>
     121$content .= '<!-- wp:paragraph {"align":"left","fontSize":"small"} -->
     122<p style="text-align:left" class="is-small-text"><a href="https://wordpress.org/gutenberg/handbook/reference/faq/">' . __( 'Learn more', 'gutenbergtheme' ) . '</a></p>
    119123<!-- /wp:paragraph --></div>
    120124<!-- /wp:column --></div>
    121 <!-- /wp:columns -->
     125<!-- /wp:columns -->' . "\n\n";
    122126
    123 <!-- wp:spacer -->
     127$content .= '<!-- wp:spacer -->
    124128<div style="height:100px" class="wp-block-spacer" aria-hidden="true"></div>
    125 <!-- /wp:spacer -->
     129<!-- /wp:spacer -->' . "\n\n";
    126130
    127 <!-- wp:heading {"align":"center"} -->
    128 <h2 style="text-align:center">The editor is just the beginning</h2>
    129 <!-- /wp:heading -->
     131$content .= '<!-- wp:heading {"align":"center"} -->
     132<h2 style="text-align:center">' . __( 'The editor is just the beginning', 'gutenbergtheme' ) . '</h2>
     133<!-- /wp:heading -->' . "\n\n";
    130134
    131 <!-- wp:paragraph {"align":"left"} -->
    132 <p style="text-align:left">Gutenberg is more than an editor. It's also the foundation that'll revolutionize customization and site building in WordPress.</p>
    133 <!-- /wp:paragraph -->
     135$content .= '<!-- wp:paragraph {"align":"left"} -->
     136<p style="text-align:left">' . __( "Gutenberg is more than an editor. It's also the foundation that'll revolutionize customization and site building in WordPress.", 'gutenbergtheme' ) . '</p>
     137<!-- /wp:paragraph -->' . "\n\n";
    134138
    135 <!-- wp:quote {"align":"left","className":" is-style-large"} -->
    136 <blockquote style="text-align:left" class="wp-block-quote  is-style-large"><p>"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>."</p><cite>— <a href="https://matiasventura.com/post/gutenberg-or-the-ship-of-theseus/">Matias Ventura</a></cite></blockquote>
    137 <!-- /wp:quote -->
     139$content .= '<!-- wp:quote {"align":"left","className":" is-style-large"} -->
     140<blockquote style="text-align:left" class="wp-block-quote  is-style-large"><p>' . __( '"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>."', 'gutenbergtheme' ) . '</p><cite>— <a href="https://matiasventura.com/post/gutenberg-or-the-ship-of-theseus/">' . __( 'Matias Ventura', 'gutenbergtheme' ) . '</a></cite></blockquote>
     141<!-- /wp:quote -->' . "\n\n";
    138142
    139 <!-- wp:quote {"align":"left","className":" is-style-large"} -->
    140 <blockquote style="text-align:left" class="wp-block-quote  is-style-large"><p>"Suddenly, the chore of setting up a new website becomes effortless."</p><cite>— <a href="https://loopconf.com/talk/customizing-the-future/">Mel Choyce</a></cite></blockquote>
    141 <!-- /wp:quote -->
     143$content .= '<!-- wp:quote {"align":"left","className":" is-style-large"} -->
     144<blockquote style="text-align:left" class="wp-block-quote  is-style-large"><p>' . __( '"Suddenly, the chore of setting up a new website becomes effortless."', 'gutenbergtheme' ) . '</p><cite>— <a href="https://loopconf.com/talk/customizing-the-future/"' . __( '>Mel Choyce', 'gutenbergtheme' ) . '</a></cite></blockquote>
     145<!-- /wp:quote -->' . "\n\n";
    142146
    143 <!-- wp:quote {"align":"left","className":" is-style-large"} -->
    144 <blockquote style="text-align:left" class="wp-block-quote  is-style-large"><p>"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."</p><cite>— <a href="https://wordpress.tv/2017/12/10/morten-rand-hendriksen-gutenberg-and-the-wordpress-of-tomorrow/">Morten Rand-Hendriksen</a> </cite></blockquote>
    145 <!-- /wp:quote -->
     147$content .= '<!-- wp:quote {"align":"left","className":" is-style-large"} -->
     148<blockquote style="text-align:left" class="wp-block-quote  is-style-large"><p>' . __( '"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."', 'gutenbergtheme' ) . '</p><cite>— <a href="https://wordpress.tv/2017/12/10/morten-rand-hendriksen-gutenberg-and-the-wordpress-of-tomorrow/">' . __( 'Morten Rand-Hendriksen', 'gutenbergtheme' ) . '</a> </cite></blockquote>
     149<!-- /wp:quote -->' . "\n\n";
    146150
    147 <!-- wp:spacer -->
     151$content .= '<!-- wp:spacer -->
    148152<div style="height:100px" class="wp-block-spacer" aria-hidden="true"></div>
    149 <!-- /wp:spacer -->
     153<!-- /wp:spacer -->' . "\n\n";
    150154
    151 <!-- wp:button {"align":"center","backgroundColor":"dark-blue"} -->
    152 <div class="wp-block-button aligncenter"><a class="wp-block-button__link has-background has-dark-blue-background-color" href="https://wordpress.org/plugins/gutenberg/">Download Gutenberg Today</a></div>
    153 <!-- /wp:button -->
     155$content .= '<!-- wp:button {"align":"center","backgroundColor":"dark-blue"} -->
     156<div class="wp-block-button aligncenter"><a class="wp-block-button__link has-background has-dark-blue-background-color" href="https://wordpress.org/plugins/gutenberg/">' . __( 'Download Gutenberg Today', 'gutenbergtheme' ) . '</a></div>
     157<!-- /wp:button -->' . "\n\n";
    154158
    155 <!-- wp:paragraph {"align":"center","fontSize":"small","className":"gutenberg-landing\u002d\u002dbutton-disclaimer"} -->
    156 <p style="text-align:center" class="is-small-text gutenberg-landing--button-disclaimer"><em>Gutenberg is available as a plugin today, and will be included in version 5.0 of WordPress. <em>The <a href="https://wordpress.org/plugins/classic-editor/">classic editor</a> will be available as a plugin if needed. </em></em></p>
    157 <!-- /wp:paragraph -->
     159$content .= '<!-- wp:paragraph {"align":"center","fontSize":"small","className":"gutenberg-landing\u002d\u002dbutton-disclaimer"} -->
     160<p style="text-align:center" class="is-small-text gutenberg-landing--button-disclaimer"><em>' .
     161    sprintf(
     162        /* translators: %s: The URL to the Clasic Editor plugin. */
     163        __( "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.", 'gutenbergtheme' ),
     164        '/plugins/classic-editor/'
     165    ) . '</em></p>
     166<!-- /wp:paragraph -->' . "\n\n";
    158167
    159 <!-- wp:spacer -->
     168$content .= '<!-- wp:spacer -->
    160169<div style="height:100px" class="wp-block-spacer" aria-hidden="true"></div>
    161 <!-- /wp:spacer -->
     170<!-- /wp:spacer -->' . "\n\n";
    162171
    163 <!-- wp:heading {"align":"center"} -->
    164 <h2 style="text-align:center">Dig in deeper</h2>
    165 <!-- /wp:heading -->
     172$content .= '<!-- wp:heading {"align":"center"} -->
     173<h2 style="text-align:center">' . __( 'Dig in deeper', 'gutenbergtheme' ) . '</h2>
     174<!-- /wp:heading -->' . "\n\n";
    166175
    167 <!-- wp:list -->
     176$content .= '<!-- wp:list -->
    168177<ul>
    169     <li><a href="https://make.wordpress.org/core/2017/01/17/editor-technical-overview">Gutenberg Editor Technical Overview</a></li>
    170     <li><a href="http://gutenberg-devdoc.surge.sh/reference/design-principles/">Gutenberg Design Principles</a></li>
    171     <li><a href="https://make.wordpress.org/core/tag/gutenberg/">Development updates on make.wordpress.org</a></li>
    172     <li><a href="https://wordpress.tv/?s=gutenberg">WordPress.tv Talks about Gutenberg</a></li>
    173     <li><a href="https://wordpress.org/gutenberg/handbook/reference/faq/">FAQs</a></li>
     178    <li><a href="https://make.wordpress.org/core/2017/01/17/editor-technical-overview">' . __( 'Gutenberg Editor Technical Overview', 'gutenbergtheme' ) . '</a></li>
     179    <li><a href="http://gutenberg-devdoc.surge.sh/reference/design-principles/">' . __( 'Gutenberg Design Principles', 'gutenbergtheme' ) . '</a></li>
     180    <li><a href="https://make.wordpress.org/core/tag/gutenberg/">' . __( 'Development updates on make.wordpress.org', 'gutenbergtheme' ) . '</a></li>
     181    <li><a href="https://wordpress.tv/?s=gutenberg">' . __( 'WordPress.tv Talks about Gutenberg', 'gutenbergtheme' ) . '</a></li>
     182    <li><a href="https://wordpress.org/gutenberg/handbook/reference/faq/">' . __( 'FAQs', 'gutenbergtheme' ) . '</a></li>
    174183</ul>
    175 <!-- /wp:list -->
    176 EOPOST;
     184<!-- /wp:list -->' . "\n\n";
    177185
    178186return compact( 'title', 'content' );
Note: See TracChangeset for help on using the changeset viewer.