Make WordPress Core

Changeset 59065


Ignore:
Timestamp:
09/19/2024 10:32:34 AM (7 weeks ago)
Author:
poena
Message:

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.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyfour/templates/index.html

    r56951 r59065  
    33<!-- wp:group {"tagName":"main","align":"full","layout":{"type":"constrained"}} -->
    44<main class="wp-block-group alignfull">
    5     <!-- wp:heading {"level":1,"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|50"}}}} -->
    6     <h1 class="wp-block-heading alignwide" style="padding-top:var(--wp--preset--spacing--50)">Posts</h1>
    7     <!-- /wp:heading -->
     5    <!-- wp:pattern {"slug":"twentytwentyfour/hidden-posts-heading"} /-->
    86    <!-- wp:pattern {"slug":"twentytwentyfour/posts-3-col"} /-->
    97</main>
  • trunk/src/wp-content/themes/twentytwentythree/templates/home.html

    r58459 r59065  
    33<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
    44<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--70)">
    5     <!-- wp:heading {"level":1,"align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|60"}}}} -->
    6     <h1 class="alignwide" style="margin-bottom:var(--wp--preset--spacing--60)">Mindblown: a blog about philosophy.</h1>
    7     <!-- /wp:heading -->
     5    <!-- wp:pattern {"slug":"twentytwentythree/hidden-heading"} /-->
    86
    97    <!-- 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"}} -->
Note: See TracChangeset for help on using the changeset viewer.