Making WordPress.org

Changeset 7568


Ignore:
Timestamp:
07/31/2018 07:30:13 AM (6 years ago)
Author:
obenland
Message:

Gutenberg: Make strings translatable.

Fixes #3703.

File:
1 edited

Legend:

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

    r7567 r7568  
    11<?php
    22
    3 $localised_domain = parse_url( home_url('/'), PHP_URL_HOST );
     3$localised_domain = parse_url( home_url( '/' ), PHP_URL_HOST );
    44
    5 $title = __( 'Say Hello to the New Editor', 'gutenbergtheme' );
     5$title = __( 'Say Hello to the New Editor', 'wporg' );
    66
    77$content = '<!-- wp:subhead -->
    8 <p class="wp-block-subhead">' . __( 'It’s a whole new way to use WordPress. We call it Gutenberg.', 'gutenbergtheme' ) . '</p>
     8<p class="wp-block-subhead">' . esc_html__( 'It&#8217;s a whole new way to use WordPress. We call it Gutenberg.', 'wporg' ) . '</p>
    99<!-- /wp:subhead -->' . "\n\n";
    1010
     
    1414
    1515$content .= '<!-- wp:paragraph {"align":"left"} -->
    16 <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>
     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>
    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>' . _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/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/Devices-1-1.gif" alt=""/><figcaption>' . _x( 'Work across all screen sizes and devices.', 'Image Caption', 'gutenbergtheme' ) . '</figcaption></figure></li><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></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( '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>
    2121<!-- /wp:gallery -->' . "\n\n";
    2222
     
    2626
    2727$content .= '<!-- wp:wporg/download-button -->
    28 <div class="wp-block-wporg-download-button wp-block-button aligncenter"><a class="wp-block-button__link has-background has-strong-blue-background-color" href="' . "https://{$localised_domain}/plugins/gutenberg/" . '" style="background-color:rgb(0,115,170)">' . __( "Download Gutenberg Today", 'gutenbergtheme' ) . '</a></div>
     28<div class="wp-block-wporg-download-button wp-block-button aligncenter"><a class="wp-block-button__link has-background has-strong-blue-background-color" href="' . "https://{$localised_domain}/plugins/gutenberg/" . '" style="background-color:rgb(0,115,170)">' . esc_html__( 'Download Gutenberg Today', 'wporg' ) . '</a></div>
    2929<!-- /wp:wporg/download-button -->' . "\n\n";
    3030
     
    3333    sprintf(
    3434        /* translators: %s: The URL to the Clasic Editor plugin. */
    35         __( "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' ),
    36         "https://{$localised_domain}/plugins/classic-editor/"
     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' ) ),
     36        esc_url( "https://{$localised_domain}/plugins/classic-editor/" )
    3737    ) . '</em></p>
    3838<!-- /wp:paragraph -->' . "\n\n";
     
    4343
    4444$content .= '<!-- wp:heading {"align":"left"} -->
    45 <h2 style="text-align:left">' . __( 'Meet your new best friend, Blocks', 'gutenbergtheme' ) . '</h2>
     45<h2 style="text-align:left">' . esc_html__( 'Meet your new best friend, Blocks', 'wporg' ) . '</h2>
    4646<!-- /wp:heading -->' . "\n\n";
    4747
    4848$content .= '<!-- wp:paragraph {"align":"left"} -->
    49 <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>
     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>
    5050<!-- /wp:paragraph -->' . "\n\n";
    5151
     
    5555
    5656$content .= '<!-- wp:paragraph {"align":"left"} -->
    57 <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>
     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>
    5858<!-- /wp:paragraph -->' . "\n\n";
    5959
    6060$content .= '<!-- wp:gallery {"align":"full","columns":8} -->
    61 <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>
     61<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>' . esc_html_x( 'Paragraph', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Heading.png" alt=""/><figcaption>' . esc_html_x( 'Heading', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Subheading.png" alt=""/><figcaption>' . esc_html_x( 'Subheading', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Quote.png" alt=""/><figcaption>' . esc_html_x( 'Quote', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Image.png" alt=""/><figcaption>' . esc_html_x( 'Image', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Gallery.png" alt=""/><figcaption>' . esc_html_x( 'Gallery', 'Image Caption', 'wporg' ) . '</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>' . esc_html_x( 'Cover Image', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Video.png" alt=""/><figcaption>' . esc_html_x( 'Video', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Audio.png" alt=""/><figcaption>' . esc_html_x( 'Audio', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Column.png" alt=""/><figcaption>' . esc_html_x( 'Columns', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-File.png" alt=""/><figcaption>' . esc_html_x( 'File', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Code.png" alt=""/><figcaption>' . esc_html_x( 'Code', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-List.png" alt=""/><figcaption>' . esc_html_x( 'List', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Button.png" alt=""/><figcaption>' . esc_html_x( 'Button', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Embeds.png" alt=""/><figcaption>' . esc_html_x( 'Embeds', 'Image Caption', 'wporg' ) . '</figcaption></figure></li><li class="blocks-gallery-item"><figure><img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-More.png" alt=""/><figcaption>' . esc_html_x( 'More', 'Image Caption', 'wporg' ) . '</figcaption></figure></li></ul>
    6262<!-- /wp:gallery -->' . "\n\n";
    6363
     
    6767
    6868$content .= '<!-- wp:heading {"align":"left"} -->
    69 <h2 style="text-align:left">' . __( 'Be your own builder', 'gutenbergtheme' ) . '</h2>
     69<h2 style="text-align:left">' . esc_html__( 'Be your own builder', 'wporg' ) . '</h2>
    7070<!-- /wp:heading -->' . "\n\n";
    7171
    7272$content .= '<!-- wp:paragraph {"align":"left"} -->
    73 <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>
     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>
    7474<!-- /wp:paragraph -->' . "\n\n";
    7575
     
    8383
    8484$content .= '<!-- wp:heading {"align":"left"} -->
    85 <h2 style="text-align:left">' . __( 'Gutenberg ❤️ Developers', 'gutenbergtheme' ) . '</h2>
     85<h2 style="text-align:left">' . esc_html__( 'Gutenberg ❤️ Developers', 'wporg' ) . '</h2>
    8686<!-- /wp:heading -->' . "\n\n";
    8787
     
    8989<div class="wp-block-columns has-2-columns gutenberg-landing--developers-columns"><!-- wp:column -->
    9090<div class="wp-block-column"><!-- wp:paragraph {"align":"left"} -->
    91 <p style="text-align:left"><strong>' . __( 'Built with modern technology.', 'gutenbergtheme' ) . '</strong></p>
     91<p style="text-align:left"><strong>' . esc_html__( 'Built with modern technology.', 'wporg' ) . '</strong></p>
    9292<!-- /wp:paragraph -->' . "\n\n";
    9393
    9494$content .= '<!-- wp:paragraph {"align":"left"} -->
    95 <p style="text-align:left">' . __( 'Gutenberg was developed on GitHub and uses the WordPress REST API, Javascript, and React.', 'gutenbergtheme' ) . '</p>
     95<p style="text-align:left">' . esc_html__( 'Gutenberg was developed on GitHub and uses the WordPress REST API, Javascript, and React.', 'wporg' ) . '</p>
    9696<!-- /wp:paragraph -->' . "\n\n";
    9797
    9898$content .= '<!-- wp:paragraph {"align":"left","fontSize":"small"} -->
    99 <p style="text-align:left" class="is-small-text"><a href="https://wordpress.org/gutenberg/handbook/language/">' . __( 'Learn more', 'gutenbergtheme' ) . '</a></p>
     99<p style="text-align:left" class="is-small-text"><a href="https://wordpress.org/gutenberg/handbook/language/">' . esc_html__( 'Learn more', 'wporg' ) . '</a></p>
    100100<!-- /wp:paragraph --></div>
    101101<!-- /wp:column -->' . "\n\n";
     
    103103$content .= '<!-- wp:column -->
    104104<div class="wp-block-column"><!-- wp:paragraph {"align":"left"} -->
    105 <p style="text-align:left"><strong>' . __( 'Designed for compatibility.', 'gutenbergtheme' ) . '</strong></p>
     105<p style="text-align:left"><strong>' . esc_html__( 'Designed for compatibility.', 'wporg' ) . '</strong></p>
    106106<!-- /wp:paragraph -->' . "\n\n";
    107107
    108108$content .= '<!-- wp:paragraph {"align":"left"} -->
    109 <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>
     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>
    110110<!-- /wp:paragraph -->' . "\n\n";
    111111
    112112$content .= '<!-- wp:paragraph {"align":"left","fontSize":"small"} -->
    113 <p style="text-align:left" class="is-small-text"><a href="https://wordpress.org/gutenberg/handbook/reference/faq/">' . __( 'Learn more', 'gutenbergtheme' ) . '</a></p>
     113<p style="text-align:left" class="is-small-text"><a href="https://wordpress.org/gutenberg/handbook/reference/faq/">' . esc_html__( 'Learn more', 'wporg' ) . '</a></p>
    114114<!-- /wp:paragraph --></div>
    115115<!-- /wp:column --></div>
     
    121121
    122122$content .= '<!-- wp:heading {"align":"left"} -->
    123 <h2 style="text-align:left">' . __( 'The editor is just the beginning', 'gutenbergtheme' ) . '</h2>
     123<h2 style="text-align:left">' . esc_html__( 'The editor is just the beginning', 'wporg' ) . '</h2>
    124124<!-- /wp:heading -->' . "\n\n";
    125125
    126126$content .= '<!-- wp:paragraph {"align":"left"} -->
    127 <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>
     127<p style="text-align:left">' . esc_html__( 'Gutenberg is more than an editor. It&#8217;s also the foundation that&#8217;ll revolutionize customization and site building in WordPress.', 'wporg' ) . '</p>
    128128<!-- /wp:paragraph -->' . "\n\n";
    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>' . __( '"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>
     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>
    132132<!-- /wp:quote -->' . "\n\n";
    133133
    134134$content .= '<!-- wp:quote {"align":"left","className":" is-style-large"} -->
    135 <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>
     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>
    136136<!-- /wp:quote -->' . "\n\n";
    137137
    138138$content .= '<!-- wp:quote {"align":"left","className":" is-style-large"} -->
    139 <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>
     139<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>
    140140<!-- /wp:quote -->' . "\n\n";
    141141
     
    145145
    146146$content .= '<!-- wp:wporg/download-button -->
    147 <div class="wp-block-wporg-download-button wp-block-button aligncenter"><a class="wp-block-button__link has-background has-strong-blue-background-color" href="' . "https://{$localised_domain}/plugins/gutenberg/" . '" style="background-color:rgb(0,115,170)">' . __( "Download Gutenberg Today", 'gutenbergtheme' ) . '</a></div>
     147<div class="wp-block-wporg-download-button wp-block-button aligncenter"><a class="wp-block-button__link has-background has-strong-blue-background-color" href="' . "https://{$localised_domain}/plugins/gutenberg/" . '" style="background-color:rgb(0,115,170)">' . esc_html__( 'Download Gutenberg Today', 'wporg' ) . '</a></div>
    148148<!-- /wp:wporg/download-button -->' . "\n\n";
    149149
     
    152152    sprintf(
    153153        /* translators: %s: The URL to the Clasic Editor plugin. */
    154         __( "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' ),
    155         "https://{$localised_domain}/plugins/classic-editor/"
     154        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' ) ),
     155        esc_url( "https://{$localised_domain}/plugins/classic-editor/" )
    156156    ) . '</em></p>
    157157<!-- /wp:paragraph -->' . "\n\n";
     
    162162
    163163$content .= '<!-- wp:heading {"align":"left"} -->
    164 <h2 style="text-align:left">' . __( 'Dig in deeper', 'gutenbergtheme' ) . '</h2>
     164<h2 style="text-align:left">' . esc_html__( 'Dig in deeper', 'wporg' ) . '</h2>
    165165<!-- /wp:heading -->' . "\n\n";
    166166
    167167$content .= '<!-- wp:list -->
    168168<ul>
    169     <li><a href="https://make.wordpress.org/core/2017/01/17/editor-technical-overview">' . __( 'Gutenberg Editor Technical Overview', 'gutenbergtheme' ) . '</a></li>
    170     <li><a href="http://gutenberg-devdoc.surge.sh/reference/design-principles/">' . __( 'Gutenberg Design Principles', 'gutenbergtheme' ) . '</a></li>
    171     <li><a href="https://make.wordpress.org/core/tag/gutenberg/">' . __( 'Development updates on make.wordpress.org', 'gutenbergtheme' ) . '</a></li>
    172     <li><a href="https://wordpress.tv/?s=gutenberg">' . __( 'WordPress.tv Talks about Gutenberg', 'gutenbergtheme' ) . '</a></li>
    173     <li><a href="https://wordpress.org/gutenberg/handbook/reference/faq/">' . __( 'FAQs', 'gutenbergtheme' ) . '</a></li>
     169    <li><a href="https://make.wordpress.org/core/2017/01/17/editor-technical-overview">' . esc_html__( 'Gutenberg Editor Technical Overview', 'wporg' ) . '</a></li>
     170    <li><a href="http://gutenberg-devdoc.surge.sh/reference/design-principles/">' . esc_html__( 'Gutenberg Design Principles', 'wporg' ) . '</a></li>
     171    <li><a href="https://make.wordpress.org/core/tag/gutenberg/">' . esc_html__( 'Development updates on make.wordpress.org', 'wporg' ) . '</a></li>
     172    <li><a href="https://wordpress.tv/?s=gutenberg">' . esc_html__( 'WordPress.tv Talks about Gutenberg', 'wporg' ) . '</a></li>
     173    <li><a href="https://wordpress.org/gutenberg/handbook/reference/faq/">' . esc_html__( 'FAQs', 'wporg' ) . '</a></li>
    174174</ul>
    175175<!-- /wp:list -->' . "\n\n";
Note: See TracChangeset for help on using the changeset viewer.