From 1fcca8dec5af037753e26328f53dc0fd0f871b79 Mon Sep 17 00:00:00 2001 From: Somrat <58769763+tfsomrat@users.noreply.github.com> Date: Sun, 12 May 2024 14:07:39 +0600 Subject: [PATCH 1/4] update i18n translation --- exampleSite/i18n/en.yaml | 55 ++++++--------------- layouts/blog/single.html | 6 +-- layouts/partials/components/blog-card.html | 2 +- layouts/partials/components/breadcrumb.html | 6 +-- layouts/partials/page-header.html | 2 +- layouts/partials/widgets/categories.html | 2 +- layouts/partials/widgets/tags.html | 2 +- package.json | 2 +- 8 files changed, 25 insertions(+), 52 deletions(-) diff --git a/exampleSite/i18n/en.yaml b/exampleSite/i18n/en.yaml index b0230eb..4e6722f 100755 --- a/exampleSite/i18n/en.yaml +++ b/exampleSite/i18n/en.yaml @@ -1,41 +1,14 @@ -- id: home - translation: Home - -- id: read_more - translation: Read More - -- id: send - translation: Send - -- id: related_posts - translation: Related Posts - -- id: categories - translation: Categories - -- id: tags - translation: Tags - -- id: toc - translation: Table of Contents - -- id: share - translation: Share - -- id: search_input_placeholder - translation: Search Post ... - -- id: search_no_results - translation: No results for - -- id: search_initial_message - translation: Type something to search.. - -- id: search_navigate - translation: to navigate - -- id: search_select - translation: to select - -- id: search_close - translation: to close +home: Home +read_more: Read More +send: Send +related_posts: Related Posts +categories: Categories +tags: Tags +toc: Table of Contents +share: Share +search_input_placeholder: Search Post... +search_no_results: No results for +search_initial_message: Type something to search.. +search_navigate: to navigate +search_select: to select +search_close: to close diff --git a/layouts/blog/single.html b/layouts/blog/single.html index 4cabd91..87dcbfc 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -47,7 +47,7 @@ {{ $tags:= .Params.tags }} {{ if $tags }}
{{ .Summary }}
- {{ i18n "read_more" }} + {{ T "read_more" }}Made with ♥ by Zeon Studio
If you find this project useful, please give it a ⭐ to show your support.
-From 428f3f591303c5f4a212f247d8da399e80b37dd0 Mon Sep 17 00:00:00 2001 From: Somrat <58769763+tfsomrat@users.noreply.github.com> Date: Wed, 15 May 2024 17:14:09 +0600 Subject: [PATCH 4/4] update readme file --- exampleSite/go.mod | 1 + readme.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/exampleSite/go.mod b/exampleSite/go.mod index 6879b04..9f1a275 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -26,4 +26,5 @@ require ( github.com/gethugothemes/hugo-modules/tab v0.0.0-20240504032439-79fc09d96848 // indirect github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20240504032439-79fc09d96848 // indirect github.com/gethugothemes/hugo-modules/videos v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/zeon-studio/hugoplate v0.0.0-20240513062835-d4274ad7e3df // indirect ) diff --git a/readme.md b/readme.md index 3e2d28d..27abcd2 100755 --- a/readme.md +++ b/readme.md @@ -9,8 +9,8 @@