From b36055bef3c7e0359a3c4cf1760d17b259c3234d Mon Sep 17 00:00:00 2001 From: Carolina Nymark Date: Thu, 19 Sep 2024 10:32:34 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@59065 602fd350-edb4-49c9-b593-d223f7449a82 --- .../patterns/hidden-posts-heading.php | 11 +++++++++++ .../themes/twentytwentyfour/templates/index.html | 4 +--- .../twentytwentythree/patterns/hidden-heading.php | 10 ++++++++++ .../themes/twentytwentythree/templates/home.html | 4 +--- 4 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 src/wp-content/themes/twentytwentyfour/patterns/hidden-posts-heading.php create mode 100644 src/wp-content/themes/twentytwentythree/patterns/hidden-heading.php diff --git a/src/wp-content/themes/twentytwentyfour/patterns/hidden-posts-heading.php b/src/wp-content/themes/twentytwentyfour/patterns/hidden-posts-heading.php new file mode 100644 index 0000000000..9b2811568a --- /dev/null +++ b/src/wp-content/themes/twentytwentyfour/patterns/hidden-posts-heading.php @@ -0,0 +1,11 @@ + + +

+ diff --git a/src/wp-content/themes/twentytwentyfour/templates/index.html b/src/wp-content/themes/twentytwentyfour/templates/index.html index fd93725de8..363f49aa57 100644 --- a/src/wp-content/themes/twentytwentyfour/templates/index.html +++ b/src/wp-content/themes/twentytwentyfour/templates/index.html @@ -2,9 +2,7 @@
- -

Posts

- +
diff --git a/src/wp-content/themes/twentytwentythree/patterns/hidden-heading.php b/src/wp-content/themes/twentytwentythree/patterns/hidden-heading.php new file mode 100644 index 0000000000..542f9bed1a --- /dev/null +++ b/src/wp-content/themes/twentytwentythree/patterns/hidden-heading.php @@ -0,0 +1,10 @@ + + +

+ diff --git a/src/wp-content/themes/twentytwentythree/templates/home.html b/src/wp-content/themes/twentytwentythree/templates/home.html index 23fc5cf415..54c5101492 100644 --- a/src/wp-content/themes/twentytwentythree/templates/home.html +++ b/src/wp-content/themes/twentytwentythree/templates/home.html @@ -2,9 +2,7 @@
- -

Mindblown: a blog about philosophy.

- +