From 6df9f43e71c1cbbb32951d3c2d2e6eaa5519a5e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CAmjad?= Date: Tue, 28 Nov 2023 00:18:42 +0500 Subject: [PATCH 1/4] Add support for internalized strings --- patterns/hidden-no-results.php | 10 +++++++ patterns/posts-1-col.php | 54 ++++++++++++++++++++++++++++++++++ templates/archive.html | 50 ++----------------------------- templates/home.html | 9 +++--- templates/index.html | 7 ++--- 5 files changed, 74 insertions(+), 56 deletions(-) create mode 100644 patterns/hidden-no-results.php create mode 100644 patterns/posts-1-col.php diff --git a/patterns/hidden-no-results.php b/patterns/hidden-no-results.php new file mode 100644 index 00000000..a4025958 --- /dev/null +++ b/patterns/hidden-no-results.php @@ -0,0 +1,10 @@ + + +

+ diff --git a/patterns/posts-1-col.php b/patterns/posts-1-col.php new file mode 100644 index 00000000..70bf17a3 --- /dev/null +++ b/patterns/posts-1-col.php @@ -0,0 +1,54 @@ + + + +
+ + +
+ + + +
+ + + +
+ + + +
+ +
+ + + +
+ + + + + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/templates/archive.html b/templates/archive.html index 72b2099c..1aaf5cb0 100644 --- a/templates/archive.html +++ b/templates/archive.html @@ -1,60 +1,16 @@ -
+

- -
- - -
- + - -
- - - -
- - - -
- -
- - - -
- - - - - - - - - - - - - - - - - -

- - - -
-
diff --git a/templates/home.html b/templates/home.html index 0582aced..38517e9d 100644 --- a/templates/home.html +++ b/templates/home.html @@ -1,7 +1,8 @@ -
+
@@ -39,12 +40,10 @@ - -

- +
- + \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 8c252ade..38517e9d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,7 +1,8 @@ -
+
@@ -39,9 +40,7 @@ - -

- +
From 7d8af25792c8b76cbcf8226a6c142f5a9e355b60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CAmjad?= Date: Tue, 28 Nov 2023 01:21:55 +0500 Subject: [PATCH 2/4] Updated more strings for localization --- patterns/hidden-search.php | 9 ++++++ patterns/posts-1-col.php | 2 +- templates/home.html | 46 +-------------------------- templates/index.html | 46 +-------------------------- templates/search.html | 64 +++++++++++++++++++------------------- 5 files changed, 44 insertions(+), 123 deletions(-) create mode 100644 patterns/hidden-search.php diff --git a/patterns/hidden-search.php b/patterns/hidden-search.php new file mode 100644 index 00000000..2a005ff0 --- /dev/null +++ b/patterns/hidden-search.php @@ -0,0 +1,9 @@ + + + diff --git a/patterns/posts-1-col.php b/patterns/posts-1-col.php index 70bf17a3..cba4fd72 100644 --- a/patterns/posts-1-col.php +++ b/patterns/posts-1-col.php @@ -7,7 +7,7 @@ */ ?> - +
diff --git a/templates/home.html b/templates/home.html index 38517e9d..1896346c 100644 --- a/templates/home.html +++ b/templates/home.html @@ -1,49 +1,5 @@ - -
- - -
- - - -
- - - -
- - - -
- -
- - - -
- - - - - - - - - - - - - - - - - - - -
- + \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 38517e9d..1896346c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,49 +1,5 @@ - -
- - -
- - - -
- - - -
- - - -
- -
- - - -
- - - - - - - - - - - - - - - - - - - -
- + \ No newline at end of file diff --git a/templates/search.html b/templates/search.html index be8ce274..4ddcdcda 100644 --- a/templates/search.html +++ b/templates/search.html @@ -3,53 +3,53 @@
+
- -
+ +
+ +
+ - -
- + +
+ - + +
+ - -
- -
- - - -
- - - -
-
- +
- - - - - +
+ +
+ + + + + - - + + - + - + -
- + + + - +
+ + \ No newline at end of file From c688508d5a42aacc7aa4a824c0237f3605f74def Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CAmjad?= Date: Tue, 28 Nov 2023 16:02:24 +0500 Subject: [PATCH 3/4] Add internalization support to a string --- patterns/header-title-nav-button.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patterns/header-title-nav-button.php b/patterns/header-title-nav-button.php index 29d5bcc3..f604c316 100644 --- a/patterns/header-title-nav-button.php +++ b/patterns/header-title-nav-button.php @@ -29,7 +29,7 @@ From 38e67e70d9f2a6f2c0481e204998153102364769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CAmjad?= Date: Tue, 28 Nov 2023 16:21:32 +0500 Subject: [PATCH 4/4] update search page string --- patterns/hidden-404.php | 9 ++++----- patterns/hidden-search.php | 2 +- templates/search.html | 1 - 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/patterns/hidden-404.php b/patterns/hidden-404.php index 712d5f07..5ae17d72 100644 --- a/patterns/hidden-404.php +++ b/patterns/hidden-404.php @@ -9,15 +9,14 @@
- -

+ +

-

+

- - +
diff --git a/patterns/hidden-search.php b/patterns/hidden-search.php index 2a005ff0..8616b207 100644 --- a/patterns/hidden-search.php +++ b/patterns/hidden-search.php @@ -6,4 +6,4 @@ */ ?> - + \ No newline at end of file diff --git a/templates/search.html b/templates/search.html index 4ddcdcda..520a709a 100644 --- a/templates/search.html +++ b/templates/search.html @@ -2,7 +2,6 @@
-