Bundled Themes: Make text strings translatable.
This changeset updates Twenty Twenty-Three and Twenty Twenty-Four and replaces text strings in HTML files with patterns to make the strings translatable. Follow-up to [58459]. Props sabernhardt, karmatosed, iflairwebtechnologies, poena. Fixes #61951. Built from https://develop.svn.wordpress.org/trunk@59065 git-svn-id: http://core.svn.wordpress.org/trunk@58461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2cc6bb80ef
commit
ec7041f1c2
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Title: Posts heading
|
||||||
|
* Slug: twentytwentyfour/hidden-posts-heading
|
||||||
|
* Categories: hidden
|
||||||
|
* Inserter: no
|
||||||
|
*/
|
||||||
|
?>
|
||||||
|
<!-- wp:heading {"level":1,"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|50"}}}} -->
|
||||||
|
<h1 class="wp-block-heading alignwide" style="padding-top:var(--wp--preset--spacing--50)"><?php esc_html_e( 'Posts', 'twentytwentyfour' ); ?></h1>
|
||||||
|
<!-- /wp:heading -->
|
|
@ -2,9 +2,7 @@
|
||||||
|
|
||||||
<!-- wp:group {"tagName":"main","align":"full","layout":{"type":"constrained"}} -->
|
<!-- wp:group {"tagName":"main","align":"full","layout":{"type":"constrained"}} -->
|
||||||
<main class="wp-block-group alignfull">
|
<main class="wp-block-group alignfull">
|
||||||
<!-- wp:heading {"level":1,"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|50"}}}} -->
|
<!-- wp:pattern {"slug":"twentytwentyfour/hidden-posts-heading"} /-->
|
||||||
<h1 class="wp-block-heading alignwide" style="padding-top:var(--wp--preset--spacing--50)">Posts</h1>
|
|
||||||
<!-- /wp:heading -->
|
|
||||||
<!-- wp:pattern {"slug":"twentytwentyfour/posts-3-col"} /-->
|
<!-- wp:pattern {"slug":"twentytwentyfour/posts-3-col"} /-->
|
||||||
</main>
|
</main>
|
||||||
<!-- /wp:group -->
|
<!-- /wp:group -->
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Title: Hidden Heading for Homepage
|
||||||
|
* Slug: twentytwentythree/hidden-heading
|
||||||
|
* Inserter: no
|
||||||
|
*/
|
||||||
|
?>
|
||||||
|
<!-- wp:heading {"level":1,"align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|60"}}}} -->
|
||||||
|
<h1 class="alignwide" style="margin-bottom:var(--wp--preset--spacing--60)"><?php echo esc_html_x( 'Mindblown: a blog about philosophy.', 'Main heading for homepage', 'twentytwentythree' ); ?></h1>
|
||||||
|
<!-- /wp:heading -->
|
|
@ -2,9 +2,7 @@
|
||||||
|
|
||||||
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
|
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
|
||||||
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--70)">
|
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--70)">
|
||||||
<!-- wp:heading {"level":1,"align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|60"}}}} -->
|
<!-- wp:pattern {"slug":"twentytwentythree/hidden-heading"} /-->
|
||||||
<h1 class="alignwide" style="margin-bottom:var(--wp--preset--spacing--60)">Mindblown: a blog about philosophy.</h1>
|
|
||||||
<!-- /wp:heading -->
|
|
||||||
|
|
||||||
<!-- wp:query {"query":{"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"displayLayout":{"type":"flex","columns":3},"align":"wide","layout":{"type":"constrained"}} -->
|
<!-- wp:query {"query":{"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"displayLayout":{"type":"flex","columns":3},"align":"wide","layout":{"type":"constrained"}} -->
|
||||||
<div class="wp-block-query alignwide">
|
<div class="wp-block-query alignwide">
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.7-alpha-59064';
|
$wp_version = '6.7-alpha-59065';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue