From 497643b3633e91580d2f407469c0034ad385339e Mon Sep 17 00:00:00 2001 From: zhixuan <59254886+zhixuan2333@users.noreply.github.com> Date: Sun, 5 Dec 2021 05:05:53 +0900 Subject: [PATCH 1/3] feat: add alt message for archive & related contents images (#411) --- exampleSite/.gitignore | 7 +++++-- layouts/partials/article-list/compact.html | 1 + layouts/partials/article-list/tile.html | 5 +++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/exampleSite/.gitignore b/exampleSite/.gitignore index ca4d540..6db5459 100644 --- a/exampleSite/.gitignore +++ b/exampleSite/.gitignore @@ -22,6 +22,9 @@ _testmain.go *.exe *.test -/public -/themes +public +themes +resources + +assets/jsconfig.json .DS_Store diff --git a/layouts/partials/article-list/compact.html b/layouts/partials/article-list/compact.html index 0f5a216..376512a 100644 --- a/layouts/partials/article-list/compact.html +++ b/layouts/partials/article-list/compact.html @@ -29,6 +29,7 @@ {{ .Title }} {{ else }} Featured image of post {{ .Title }} diff --git a/layouts/partials/article-list/tile.html b/layouts/partials/article-list/tile.html index 0fbf812..4ec5d57 100644 --- a/layouts/partials/article-list/tile.html +++ b/layouts/partials/article-list/tile.html @@ -20,8 +20,9 @@ Featured image of post {{ .context.Title }} {{ else }} From 195b8d8076dde6ae6caa5832557d5e084ae3ef90 Mon Sep 17 00:00:00 2001 From: Paul-Henri Zimmerlin Date: Sat, 4 Dec 2021 21:10:42 +0100 Subject: [PATCH 2/3] fix(i18n/fr): add missing translations for reading time (#416) --- i18n/fr.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/i18n/fr.yaml b/i18n/fr.yaml index 9217ea3..ac2e51a 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -29,6 +29,10 @@ article: lastUpdatedOn: other: Dernière mise à jour le + readingTime: + one: "{{ .Count }} minute de lecture" + other: "{{ .Count }} minutes de lecture" + notFound: title: other: Page non trouvée From 359e4b34c1f96beeda472cddb54cea98522b2c14 Mon Sep 17 00:00:00 2001 From: HAHWUL Date: Sun, 5 Dec 2021 05:16:22 +0900 Subject: [PATCH 3/3] Update i18n(ko) (#418) Add dark mode, list-section, list-subsction, article-back, article-tableOfContents, article-readingTime --- i18n/ko.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/i18n/ko.yaml b/i18n/ko.yaml index d9916cd..b2202e6 100644 --- a/i18n/ko.yaml +++ b/i18n/ko.yaml @@ -1,15 +1,42 @@ toggleMenu: other: 메뉴 여닫기 +darkMode: + other: 다크 모드 + +list: + page: + one: "{{ .Count }} 페이지" + other: "{{ .Count }} 페이지" + + section: + other: 섹션 + + subsection: + one: 서브섹션 + other: 서브섹션 + article: + back: + other: 뒤로가기 + + tableOfContents: + other: 목차 + relatedContents: other: 관련 글 + lastUpdatedOn: other: "마지막 수정: " + + readingTime: + one: "{{ .Count }} 분 정도" + other: "{{ .Count }} 분 정도" notFound: title: other: 찾을 수 없음 + subtitle: other: 페이지를 찾을 수 없습니다. @@ -19,6 +46,7 @@ widget: other: 보관함 more: other: 더보기 + tagCloud: title: other: 태그 @@ -26,8 +54,10 @@ widget: search: title: other: 검색 + placeholder: other: 검색어를 입력하세요... + resultTitle: other: "#PAGES_COUNT 페이지 (#TIME_SECONDS 초)"