WordPress.org

Make WordPress Core

Changeset 51034


Ignore:
Timestamp:
05/26/2021 04:54:39 PM (3 weeks ago)
Author:
ryelle
Message:

Twenty Thirteen: Fix missing translations in block patterns, add image credits.

Props audrasjb, melchoyce.
Follow-up to [51012].
Fixes #51104.

Location:
trunk/src/wp-content/themes/twentythirteen
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentythirteen/inc/block-patterns.php

    r51012 r51034  
    7373            <div class="wp-block-columns alignwide"><!-- wp:column -->
    7474            <div class="wp-block-column"><!-- wp:cover {"overlayColor":"yellow"} -->
    75             <div class="wp-block-cover has-yellow-background-color has-background-dim"><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"center","placeholder":"Write title…","textColor":"medium-brown","fontSize":"large"} -->
     75            <div class="wp-block-cover has-yellow-background-color has-background-dim"><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"center","placeholder":"' . esc_attr__( 'Write title…', 'twentythirteen' ) . '","textColor":"medium-brown","fontSize":"large"} -->
    7676            <p class="has-text-align-center has-medium-brown-color has-text-color has-large-font-size">' . esc_html__( 'Space', 'twentythirteen' ) . '</p>
    7777            <!-- /wp:paragraph --></div></div>
     
    8181            <!-- wp:column -->
    8282            <div class="wp-block-column"><!-- wp:cover {"url":"' . esc_url( get_template_directory_uri() ) . '/images/block-patterns/torus-interior.jpg","dimRatio":0,"focalPoint":{"x":"0.63","y":"0.33"}} -->
    83             <div class="wp-block-cover"><img class="wp-block-cover__image-background" alt="" src="' . esc_url( get_template_directory_uri() ) . '/images/block-patterns/torus-interior.jpg" style="object-position:63% 33%" data-object-fit="cover" data-object-position="63% 33%"/><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"center","placeholder":"Write title…","fontSize":"large"} -->
     83            <div class="wp-block-cover"><img class="wp-block-cover__image-background" alt="" src="' . esc_url( get_template_directory_uri() ) . '/images/block-patterns/torus-interior.jpg" style="object-position:63% 33%" data-object-fit="cover" data-object-position="63% 33%"/><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"center","placeholder":"' . esc_attr__( 'Write title…', 'twentythirteen' ) . '","fontSize":"large"} -->
    8484            <p class="has-text-align-center has-large-font-size"></p>
    8585            <!-- /wp:paragraph --></div></div>
     
    8989            <!-- wp:column -->
    9090            <div class="wp-block-column"><!-- wp:cover {"overlayColor":"yellow"} -->
    91             <div class="wp-block-cover has-yellow-background-color has-background-dim"><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"center","placeholder":"Write title…","textColor":"medium-brown","fontSize":"large"} -->
     91            <div class="wp-block-cover has-yellow-background-color has-background-dim"><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"center","placeholder":"' . esc_attr__( 'Write title…', 'twentythirteen' ) . '","textColor":"medium-brown","fontSize":"large"} -->
    9292            <p class="has-text-align-center has-medium-brown-color has-text-color has-large-font-size">' . esc_html__( 'Colonies', 'twentythirteen' ) . '</p>
    9393            <!-- /wp:paragraph --></div></div>
  • trunk/src/wp-content/themes/twentythirteen/readme.txt

    r51012 r51034  
    4444License: GNU GPL, Version 2 (or later)
    4545Source: http://www.genericons.com
     46
     47Images
     48Cylinder Interior: https://www.flickr.com/photos/nasacommons/14052998066/in/album-72157644439092941/. Rick Guidice, NASA Ames Research Center.
     49Bernal Cutaway: https://www.flickr.com/photos/nasacommons/14052996976/in/album-72157644439092941/ Don Davis, NASA Ames Research Center.
     50Torus Interior: https://www.flickr.com/photos/nasacommons/14076102195/in/album-72157644439092941/ Rick Guidice, NASA Ames Research Center.
     51Toroidal Colony: https://www.flickr.com/photos/nasacommons/13889485757/in/album-72157644439092941/ Rick Guidice, NASA Ames Research Center.
    4652
    4753== Changelog ==
Note: See TracChangeset for help on using the changeset viewer.