From 064fa4eee32974f3349537ce226568ab6a5c4c62 Mon Sep 17 00:00:00 2001 From: Carolina Nymark Date: Wed, 2 Oct 2024 13:23:34 +0200 Subject: [PATCH 01/32] Add translation functions to text strings --- patterns/banner-about-book.php | 6 +-- patterns/banner-cover-big-heading.php | 4 +- patterns/banner-intro-image.php | 2 +- patterns/banner-poster.php | 10 ++--- ...anner-with-description-and-images-grid.php | 14 +++++-- patterns/contact-info-locations.php | 24 +++++------ patterns/contact-location-and-link.php | 6 +-- patterns/cta-book-links.php | 28 ++++++++----- patterns/cta-book-locations.php | 36 ++++++++--------- patterns/cta-centered-heading.php | 6 +-- patterns/cta-events-list.php | 36 ++++++++--------- patterns/cta-grid-products-link.php | 28 ++++++------- patterns/cta-heading-search.php | 2 +- patterns/cta-newsletter.php | 6 +-- patterns/event-3-col.php | 6 +-- patterns/event-rsvp.php | 12 +++--- patterns/event-schedule.php | 40 +++++++++---------- patterns/footer-columns.php | 6 +-- patterns/footer-newsletter.php | 8 ++-- patterns/footer-social.php | 8 ++-- patterns/footer.php | 18 ++++----- patterns/format-audio.php | 8 ++-- patterns/format-link.php | 4 +- patterns/grid-videos.php | 4 +- patterns/grid-with-categories.php | 14 +++---- patterns/heading-and-paragraph-with-image.php | 2 +- patterns/hero-book.php | 2 +- .../hero-overlapped-book-cover-with-links.php | 3 +- patterns/hero-podcast.php | 4 +- patterns/hidden-404.php | 2 +- patterns/hidden-sidebar.php | 2 +- patterns/hidden-written-by.php | 4 +- patterns/logos.php | 2 +- patterns/media-instagram-grid.php | 18 ++++----- patterns/more-posts.php | 2 +- patterns/overlapped-images.php | 11 ++++- patterns/page-coming-soon.php | 10 ++--- patterns/page-cv-bio.php | 8 ++-- ...k-in-bio-heading-paragraph-links-image.php | 12 +++--- patterns/page-link-in-bio-wide-margins.php | 6 +-- .../page-link-in-bio-with-tight-margins.php | 10 ++--- patterns/page-portfolio-home.php | 16 ++++---- patterns/post-with-left-aligned-content.php | 4 +- patterns/pricing-2-col.php | 36 ++++++++--------- patterns/pricing-3-col.php | 32 +++++++-------- patterns/services-3-col.php | 20 +++++----- patterns/services-subscriber-only-section.php | 20 +++++----- patterns/services-team-photos.php | 12 +++--- patterns/template-home-news-blog.php | 14 +++---- patterns/template-home-photo-blog.php | 4 +- .../template-home-posts-grid-news-blog.php | 12 +++--- .../template-home-with-sidebar-news-blog.php | 10 ++--- patterns/template-query-loop-news-blog.php | 8 ++-- patterns/template-query-loop-photo-blog.php | 2 +- patterns/template-query-loop-text-blog.php | 2 +- ...mplate-query-loop-vertical-header-blog.php | 2 +- patterns/template-single-news-blog.php | 2 +- patterns/template-single-photo-blog.php | 4 +- 58 files changed, 327 insertions(+), 307 deletions(-) diff --git a/patterns/banner-about-book.php b/patterns/banner-about-book.php index be83dbb2..b56b0f18 100644 --- a/patterns/banner-about-book.php +++ b/patterns/banner-about-book.php @@ -19,11 +19,11 @@
-

About the book

+

-

This exquisite compilation showcases a diverse array of photographs that capture the essence of different eras and cultures, reflecting the unique styles and perspectives of each artist. Fleckenstein’s evocative imagery, Strand’s groundbreaking modernist approach, and Kōno’s meticulous documentation of Japanese life come together in a harmonious blend that celebrates the art of photography. Each image in “The Stories Book” is accompanied by insightful commentary, providing historical context and revealing the stories behind the photographs. This collection is not only a visual feast but also a tribute to the power of photography to preserve and narrate the multifaceted experiences of humanity.

+

@@ -31,7 +31,7 @@
-
Image of a book
+
<?php esc_attr_e( 'Image of a book', 'twentytwentyfive' ); ?>
diff --git a/patterns/banner-cover-big-heading.php b/patterns/banner-cover-big-heading.php index 292619d6..64478f3f 100644 --- a/patterns/banner-cover-big-heading.php +++ b/patterns/banner-cover-big-heading.php @@ -17,14 +17,14 @@
- Photo of a field full of flowers, a blue sky and a tree. + <?php esc_attr_e( 'Photo of a field full of flowers, a blue sky and a tree.', 'twentytwentyfive' ); ?>
-

Stories

+

diff --git a/patterns/banner-intro-image.php b/patterns/banner-intro-image.php index 0c5e0069..38500f71 100644 --- a/patterns/banner-intro-image.php +++ b/patterns/banner-intro-image.php @@ -19,7 +19,7 @@
- <?php echo esc_attr_x( 'Picture of a flower', 'Alt text for intro picture', 'twentytwentyfive' ); ?> + <?php echo esc_attr_x( 'Picture of a flower', 'Alt text for intro picture', 'twentytwentyfive' ); ?>
diff --git a/patterns/banner-poster.php b/patterns/banner-poster.php index e4d684a2..85940198 100644 --- a/patterns/banner-poster.php +++ b/patterns/banner-poster.php @@ -12,7 +12,7 @@ ?> -