From 9c2cca8d17ba2b04a9a38328d3ee02ff1859d3f5 Mon Sep 17 00:00:00 2001 From: prajwal yashasvi Date: Mon, 1 Jun 2020 11:12:15 +0530 Subject: [PATCH 001/111] =?UTF-8?q?added=20=E0=B0=A4=E0=B1=86=E0=B0=B2?= =?UTF-8?q?=E0=B1=81=E0=B0=97=E0=B1=81=20translate=20initial=20strings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- i18n/te.toml | 197 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 197 insertions(+) create mode 100644 i18n/te.toml diff --git a/i18n/te.toml b/i18n/te.toml new file mode 100644 index 0000000..ea29f15 --- /dev/null +++ b/i18n/te.toml @@ -0,0 +1,197 @@ +# Translations for Telugu +# https://gohugo.io/content-management/multilingual/#translation-of-strings + +# === baseof == +[backToTop] +other = "Back to Top" + +[viewComments] +other = "View Comments" +# === baseof == + +# === Post === +[posts] +other = "Posts" +# === Post === + +# === Taxonomy === +[allSome] +other = "All {{ .Some }}" + +[tag] +other = "Tag" + +[tags] +other = "Tags" + +[category] +other = "విభాగం" + +[categories] +other = "విభాగాలు" +# === Taxonomy === + +# === Pagination === +[more] +other = "More" +# === Pagination === + +# === partials/header.html === +[selectLanguage] +other = "భాష ఎంపిక" + +[switchTheme] +other = "Switch Theme" +# === partials/header.html === + +# === partials/footer.html === +[poweredBySome] +other = "Powered by {{ .Hugo }} | Theme - {{ .Theme }}" +# === partials/footer.html === + +# === partials/comment.html === +[valineLang] +# not supported +# other = "en" + +[valinePlaceholder] +other = "మీ వాఖ్యనం ..." + +[facebookLanguageCode] +other = "te_IN" +# === partials/comment.html === + +# === partials/assets.html === +[search] +other = "Search" + +[searchPlaceholder] +other = "Search titles or contents..." + +[clear] +other = "Clear" + +[cancel] +other = "Cancel" + +[noResultsFound] +other = "No results found" + +[lunrLanguageCode] +# not supported +# other = "en" + +[copyToClipboard] +other = "Copy to clipboard" + +[cookieconsentMessage] +other = "This website uses Cookies to improve your experience." + +[cookieconsentDismiss] +other = "Got it!" + +[cookieconsentLink] +other = "Learn more" +# === partials/assets.html === + +# === partials/plugin/share.html === +[shareOn] +other = "Share on" +# === partials/plugin/share.html === + +# === posts/single.html === +[contents] +other = "Contents" + +[publishedOnDate] +other = "published on {{ .Date }}" + +[includedInCategories] +other = "included in {{ .Categories }}" + +[wordCount] +one = "One word" +other = "{{ .Count }} words" + +[readingTime] +one = "One minute" +other = "{{ .Count }} minutes" + +[views] +other = "views" + +[author] +other = "Author" + +[updatedOnDate] +other = "Updated on {{ .Date }}" + +[readMarkdown] +other = "Read Markdown" + +[back] +other = "Back" + +[home] +other = "Home" + +[readMore] +other = "Read More" +# === posts/single.html === + +# === 404.html === +[pageNotFound] +other = "Page not found" + +[pageNotFoundText] +other = "The page you're looking for doesn't exist. Sorry." +# === 404.html === + +# === shortcodes/admonition.html === +[note] +other = "Note" + +[abstract] +other = "Abstract" + +[info] +other = "Info" + +[tip] +other = "Tip" + +[success] +other = "Success" + +[question] +other = "Question" + +[warning] +other = "Warning" + +[failure] +other = "Failure" + +[danger] +other = "Danger" + +[bug] +other = "Bug" + +[example] +other = "Example" + +[quote] +other = "Quote" +# === shortcodes/admonition.html === + +# === shortcodes/version.html === +[new] +other = "NEW" + +[changed] +other = "CHANGED" + +[deleted] +other = "DELETED" +# === shortcodes/version.html === \ No newline at end of file From 9d9e4197246ffcf36e54b8d373754b05e7f91ee6 Mon Sep 17 00:00:00 2001 From: prajwal yashasvi Date: Mon, 1 Jun 2020 13:04:29 +0530 Subject: [PATCH 002/111] =?UTF-8?q?added=20=E0=B0=A4=E0=B1=86=E0=B0=B2?= =?UTF-8?q?=E0=B1=81=E0=B0=97=E0=B1=81=20translate=20initial=20strings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- i18n/te.toml | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/i18n/te.toml b/i18n/te.toml index ea29f15..efbba5b 100644 --- a/i18n/te.toml +++ b/i18n/te.toml @@ -16,7 +16,7 @@ other = "Posts" # === Taxonomy === [allSome] -other = "All {{ .Some }}" +other = "అన్ని {{ .Some }}" [tag] other = "Tag" @@ -63,10 +63,10 @@ other = "te_IN" # === partials/assets.html === [search] -other = "Search" +other = "శోధించు" [searchPlaceholder] -other = "Search titles or contents..." +other = "శోధన శీర్షికలు మరియు విషయాలు..." [clear] other = "Clear" @@ -118,10 +118,10 @@ one = "One minute" other = "{{ .Count }} minutes" [views] -other = "views" +other = "వీక్షణలు" [author] -other = "Author" +other = "రచయత" [updatedOnDate] other = "Updated on {{ .Date }}" @@ -149,49 +149,49 @@ other = "The page you're looking for doesn't exist. Sorry." # === shortcodes/admonition.html === [note] -other = "Note" +other = "గమనిక" [abstract] -other = "Abstract" +other = "సారంశం" [info] -other = "Info" +other = "సమాచారం" [tip] -other = "Tip" +other = "సూచన" [success] -other = "Success" +other = "విజయం" [question] -other = "Question" +other = "ప్రశ్న" [warning] -other = "Warning" +other = "హెచ్చరిక" [failure] -other = "Failure" +other = "అపజయం" [danger] -other = "Danger" +other = "అపాయం" [bug] -other = "Bug" +other = "తప్పిదం" [example] -other = "Example" +other = "ఉదాహరణ" [quote] -other = "Quote" +other = "సంగుహణ" # === shortcodes/admonition.html === # === shortcodes/version.html === [new] -other = "NEW" +other = "కొత్త" [changed] -other = "CHANGED" +other = "మార్చబడింది" [deleted] -other = "DELETED" +other = "తొలగించిన" # === shortcodes/version.html === \ No newline at end of file From c6f3b1ca04797c3f1a3fee85b2bed31df5e16d77 Mon Sep 17 00:00:00 2001 From: prajwal yashasvi Date: Mon, 1 Jun 2020 21:37:59 +0530 Subject: [PATCH 003/111] =?UTF-8?q?updated=20=E0=B0=A4=E0=B1=86=E0=B0=B2?= =?UTF-8?q?=E0=B1=81=E0=B0=97=E0=B1=81=20translate=20strings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- i18n/te.toml | 58 ++++++++++++++++++++++++++-------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/i18n/te.toml b/i18n/te.toml index efbba5b..84b2f38 100644 --- a/i18n/te.toml +++ b/i18n/te.toml @@ -3,10 +3,10 @@ # === baseof == [backToTop] -other = "Back to Top" +other = "పైకి" [viewComments] -other = "View Comments" +other = "వ్యాఖ్యలను వీక్షించండి" # === baseof == # === Post === @@ -33,7 +33,7 @@ other = "విభాగాలు" # === Pagination === [more] -other = "More" +other = "మరిన్ని" # === Pagination === # === partials/header.html === @@ -41,18 +41,18 @@ other = "More" other = "భాష ఎంపిక" [switchTheme] -other = "Switch Theme" +other = "నేపథ్యాన్ని మార్చండి" # === partials/header.html === # === partials/footer.html === [poweredBySome] -other = "Powered by {{ .Hugo }} | Theme - {{ .Theme }}" +other = "{{ .Hugo }} ద్వారా ఆధారితం | నేపథ్యాం - {{ .Theme }}" # === partials/footer.html === # === partials/comment.html === [valineLang] # not supported -# other = "en" +other = "te" [valinePlaceholder] other = "మీ వాఖ్యనం ..." @@ -69,29 +69,29 @@ other = "శోధించు" other = "శోధన శీర్షికలు మరియు విషయాలు..." [clear] -other = "Clear" +other = "తొలగించు" [cancel] -other = "Cancel" +other = "రద్దు" [noResultsFound] -other = "No results found" +other = "ఎటువంటి ఫలితాలు లభించలేదు" [lunrLanguageCode] # not supported -# other = "en" +other = "te" [copyToClipboard] -other = "Copy to clipboard" +other = "క్లిప్‌బోర్డ్‌కు కాపీ చేయండి" [cookieconsentMessage] -other = "This website uses Cookies to improve your experience." +other = "ఈ వెబ్‌సైట్ మీ అనుభవాన్ని మెరుగుపరచడానికి కుకీలను ఉపయోగిస్తుంది." [cookieconsentDismiss] -other = "Got it!" +other = "అర్థమైంది" [cookieconsentLink] -other = "Learn more" +other = "మరింత తెలుసుకోండి" # === partials/assets.html === # === partials/plugin/share.html === @@ -101,21 +101,21 @@ other = "Share on" # === posts/single.html === [contents] -other = "Contents" +other = "విషయ సూచిక" [publishedOnDate] -other = "published on {{ .Date }}" +other = "{{ .Date }} న ప్రచురితమై" [includedInCategories] -other = "included in {{ .Categories }}" +other = "{{ .Categories }} లో జతచేయనైనది" [wordCount] -one = "One word" -other = "{{ .Count }} words" +one = "ఒక్క పదం" +other = "{{ .Count }} పదాలు" [readingTime] -one = "One minute" -other = "{{ .Count }} minutes" +one = "ఒక్క నిమిషం" +other = "{{ .Count }} నిమిషాలు" [views] other = "వీక్షణలు" @@ -124,27 +124,27 @@ other = "వీక్షణలు" other = "రచయత" [updatedOnDate] -other = "Updated on {{ .Date }}" +other = "{{ .Date }} న నవీకరించబడింది" [readMarkdown] -other = "Read Markdown" +other = "మార్క్‌డౌన్ చదవండి" [back] -other = "Back" +other = "పూర్వం" [home] -other = "Home" +other = "ప్రథమ" [readMore] -other = "Read More" +other = "ఇంకా చదవండి" # === posts/single.html === # === 404.html === [pageNotFound] -other = "Page not found" +other = "పేజీ గుర్తింపులో లేదు" [pageNotFoundText] -other = "The page you're looking for doesn't exist. Sorry." +other = "మీరు వెతుకుతున్న పేజీ మనుగడలో లేదు, మన్నించండి." # === 404.html === # === shortcodes/admonition.html === @@ -182,7 +182,7 @@ other = "తప్పిదం" other = "ఉదాహరణ" [quote] -other = "సంగుహణ" +other = "సంగ్రహణ" # === shortcodes/admonition.html === # === shortcodes/version.html === From 296f589df001d52dab55d25b77fa1dc48227d9fd Mon Sep 17 00:00:00 2001 From: prajwal yashasvi Date: Mon, 1 Jun 2020 23:18:12 +0530 Subject: [PATCH 004/111] =?UTF-8?q?complete=20=E0=B0=A4=E0=B1=86=E0=B0=B2?= =?UTF-8?q?=E0=B1=81=E0=B0=97=E0=B1=81=20translate=20strings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- i18n/te.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/i18n/te.toml b/i18n/te.toml index 84b2f38..0005ca1 100644 --- a/i18n/te.toml +++ b/i18n/te.toml @@ -11,7 +11,7 @@ other = "వ్యాఖ్యలను వీక్షించండి" # === Post === [posts] -other = "Posts" +other = "శీర్షికలు" # === Post === # === Taxonomy === @@ -19,10 +19,10 @@ other = "Posts" other = "అన్ని {{ .Some }}" [tag] -other = "Tag" +other = "ఉపస్థితి" [tags] -other = "Tags" +other = "హష్ టాగ్స్" [category] other = "విభాగం" @@ -96,7 +96,7 @@ other = "మరింత తెలుసుకోండి" # === partials/plugin/share.html === [shareOn] -other = "Share on" +other = "షేర్ ఆన్" # === partials/plugin/share.html === # === posts/single.html === From e33a9a4b6822063712d4cc9080820a70bf0d5054 Mon Sep 17 00:00:00 2001 From: HSoeren Date: Tue, 2 Jun 2020 12:27:18 +0200 Subject: [PATCH 005/111] i18n translation for german updated Some mistranslations and capitalization corrected. I'd be happy if it were to be adopted. --- i18n/de.toml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/i18n/de.toml b/i18n/de.toml index 1c731d1..4781eb4 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -4,7 +4,7 @@ # === baseof == [backToTop] -other = "nach oben" +other = "Nach oben" [viewComments] other = "Kommentare anzeigen" @@ -42,12 +42,12 @@ other = "Mehr" other = "Sprache wählen" [switchTheme] -other = "Thema wechseln" +other = "Darstellung ändern" # === partials/header.html === # === partials/footer.html === [poweredBySome] -other = "Ermöglicht durch {{ .Hugo }} | Thema - {{ .Theme }}" +other = "Realisiert durch {{ .Hugo }} | Thema - {{ .Theme }}" # === partials/footer.html === # === partials/comment.html === @@ -106,21 +106,21 @@ other = "Teilen auf" other = "Inhalt" [publishedOnDate] -other = "veröffentlicht auf {{ .Date }}" +other = "veröffentlicht an {{ .Date }}" [includedInCategories] other = "enthalten in {{ .Categories }}" [wordCount] -one = "Ein wort" -other = "{{ .Count }} wörter" +one = "Ein Wort" +other = "{{ .Count }} Wörter" [readingTime] -one = "Eine minute" -other = "{{ .Count }} minuten" +one = "Eine Minute" +other = "{{ .Count }} Minuten" [views] -other = "aufrufe" +other = "Aufrufe" [author] other = "Autor" @@ -154,13 +154,13 @@ other = "Leider konnte die von Ihnen angeforderte Seite nicht aufgerufen werden. other = "Notiz" [abstract] -other = "Ausblick" +other = "Kurzfassung" [info] other = "Info" [tip] -other = "Tip" +other = "Tipp" [success] other = "Erfolg" @@ -175,7 +175,7 @@ other = "Warnung" other = "Fehler" [danger] -other = "Gefahr" +other = "Vorsicht" [bug] other = "Bug" From 002b6472f63719db80b0315c74e455cf32892a3f Mon Sep 17 00:00:00 2001 From: Xavier Krantz Date: Thu, 4 Jun 2020 17:03:33 +0200 Subject: [PATCH 006/111] feat: Add discord to social media list --- assets/data/social.yml | 8 ++++++++ exampleSite/config.toml | 1 + 2 files changed, 9 insertions(+) diff --git a/assets/data/social.yml b/assets/data/social.yml index c2cc2b6..7505b9d 100644 --- a/assets/data/social.yml +++ b/assets/data/social.yml @@ -509,3 +509,11 @@ rss: Newtab: true Icon: Class: fas fa-rss fa-fw + +# 065: Discord +discord: + Weight: 65 + Prefix: https://discord.gg/ + Title: Discord + Icon: + Class: fab fa-discord fa-fw diff --git a/exampleSite/config.toml b/exampleSite/config.toml index d87632c..0c2e900 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -222,6 +222,7 @@ enableEmoji = true Bilibili = "" Email = "xxxx@xxxx.com" RSS = true + Discord = "" [languages.en.params.social.Mastodon] id = "@xxxx" prefix = "https://mastodon.technology/" From 37e0e4afe188e962a3a5d8f50451fb65cdf297c1 Mon Sep 17 00:00:00 2001 From: prajwal yashasvi Date: Sun, 7 Jun 2020 19:27:32 +0530 Subject: [PATCH 007/111] fix stackoverflow icon codepen bug #400 --- assets/data/social.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/data/social.yml b/assets/data/social.yml index c2cc2b6..5fb4665 100644 --- a/assets/data/social.yml +++ b/assets/data/social.yml @@ -156,7 +156,7 @@ stackoverflow: Prefix: https://stackoverflow.com/users/ Title: Stack Overflow Icon: - Class: fab fa-codepen fa-fw + Class: fab fa-stack-overflow fa-fw # 021: 微博 weibo: From 38980c040c4cad600be08db880101d72141feed9 Mon Sep 17 00:00:00 2001 From: anbuchelva Date: Sun, 12 Jul 2020 18:39:28 +0530 Subject: [PATCH 008/111] fix: wrap date in posts page --- assets/css/_partial/_archive/_terms.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/css/_partial/_archive/_terms.scss b/assets/css/_partial/_archive/_terms.scss index 1f63a47..aed6bff 100644 --- a/assets/css/_partial/_archive/_terms.scss +++ b/assets/css/_partial/_archive/_terms.scss @@ -68,7 +68,7 @@ } .archive-item-date { - width: 4em; + width: 6em; text-align: right; color: $global-font-secondary-color; From c069c4d2e025f09e96633c1007202b5e7d7874e3 Mon Sep 17 00:00:00 2001 From: Khusika Dhamar Gusti Date: Sun, 21 Jun 2020 15:23:28 +0700 Subject: [PATCH 009/111] fix(header): Use search-dropdown if search is enabled Signed-off-by: Khusika Dhamar Gusti --- layouts/partials/header.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index de3f955..8c0821b 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -175,9 +175,11 @@ +{{- if .Site.Params.search.enable -}}
+{{- end -}} From 3807bf5915ab199ad08df47aa4068de479c9f343 Mon Sep 17 00:00:00 2001 From: Nimrod Gutman Date: Fri, 17 Jul 2020 12:15:40 +0300 Subject: [PATCH 010/111] add support for Plausible Analytics --- README.md | 1 + exampleSite/config.toml | 3 +++ layouts/partials/plugin/analytics.html | 5 +++++ 3 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 76a9d14..1c25b18 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ I hope you will LoveIt ❤️! * Optimized SEO performance with a correct **SEO SCHEMA** based on JSON-LD * **[Google Analytics](https://analytics.google.com/analytics)** supported * **[Fathom Analytics](https://usefathom.com/)** supported +* **[Plausible Analytics](https://plausible.io/)** supported * Search engine **verification** supported (Google, Bind, Yandex and Baidu) * **CDN** for third-party libraries supported * Automatically converted images with **Lazy Load** by [lazysizes](https://github.com/aFarkas/lazysizes) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index d87632c..e49be1c 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -999,6 +999,9 @@ enableEmoji = true # server url for your tracker if you're self hosting # 自行托管追踪器时的主机路径 server = "" + # Plausible Analytics + [params.analytics.plausible] + dataDomain = "" # Cookie consent config # Cookie 许可配置 diff --git a/layouts/partials/plugin/analytics.html b/layouts/partials/plugin/analytics.html index c4c21fa..944d3d6 100644 --- a/layouts/partials/plugin/analytics.html +++ b/layouts/partials/plugin/analytics.html @@ -19,4 +19,9 @@ {{- dict "Source" ($analytics.fathom.server | default "cdn.usefathom.com" | printf "https://%v/tracker.js") "Async" true "Attr" "id=fathom-script" | partial "plugin/script.html" -}} {{- end -}} + + {{- /* Plausible Analytics */ -}} + {{- with $analytics.plausible.dataDomain -}} + + {{- end -}} {{- end -}} From 54652c00128de5bde0526147ca29217c225ca895 Mon Sep 17 00:00:00 2001 From: mochamadboval Date: Wed, 5 Aug 2020 14:05:11 +0700 Subject: [PATCH 011/111] Add file 'id.toml' that includes Indonesian translation. --- i18n/id.toml | 195 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 195 insertions(+) create mode 100644 i18n/id.toml diff --git a/i18n/id.toml b/i18n/id.toml new file mode 100644 index 0000000..eafd843 --- /dev/null +++ b/i18n/id.toml @@ -0,0 +1,195 @@ +# Terjemahan untuk Bahasa Indonesia +# https://gohugo.io/content-management/multilingual/#translation-of-strings + +# === baseof == +[backToTop] +other = "Kembali ke Atas" + +[viewComments] +other = "Lihat Komentar" +# === baseof == + +# === Post === +[posts] +other = "Pos" +# === Post === + +# === Taxonomy === +[allSome] +other = "Semua {{ .Some }}" + +[tag] +other = "Label" + +[tags] +other = "Label" + +[category] +other = "Kategori" + +[categories] +other = "Kategori" +# === Taxonomy === + +# === Pagination === +[more] +other = "Lainnya" +# === Pagination === + +# === partials/header.html === +[selectLanguage] +other = "Pilih Bahasa" + +[switchTheme] +other = "Ganti Tema" +# === partials/header.html === + +# === partials/footer.html === +[poweredBySome] +other = "Ditenagai oleh {{ .Hugo }} | Tema - {{ .Theme }}" +# === partials/footer.html === + +# === partials/comment.html === +[valineLang] +other = "en" + +[valinePlaceholder] +other = "Komentarmu ..." + +[facebookLanguageCode] +other = "id" +# === partials/comment.html === + +# === partials/assets.html === +[search] +other = "Pencarian" + +[searchPlaceholder] +other = "Cari judul atau konten ..." + +[clear] +other = "Bersihkan" + +[cancel] +other = "Batal" + +[noResultsFound] +other = "Hasil tidak ditemukan" + +[lunrLanguageCode] +other = "en" + +[copyToClipboard] +other = "Salin ke papan klip" + +[cookieconsentMessage] +other = "Situs ini menggunakan Cookies untuk meningkatkan pengalaman Anda." + +[cookieconsentDismiss] +other = "Mengerti!" + +[cookieconsentLink] +other = "Pelajari lebih lanjut" +# === partials/assets.html === + +# === partials/plugin/share.html === +[shareOn] +other = "Bagikan ke" +# === partials/plugin/share.html === + +# === posts/single.html === +[contents] +other = "Daftar Isi" + +[publishedOnDate] +other = "diterbitkan pada {{ .Date }}" + +[includedInCategories] +other = "di {{ .Categories }}" + +[wordCount] +one = "Satu kata" +other = "{{ .Count }} kata" + +[readingTime] +one = "Satu menit" +other = "{{ .Count }} menit" + +[views] +other = "dilihat" + +[author] +other = "Penulis" + +[updatedOnDate] +other = "Diperbarui pada {{ .Date }}" + +[readMarkdown] +other = "Lihat versi Markdown" + +[back] +other = "Kembali" + +[home] +other = "Beranda" + +[readMore] +other = "Baca Selengkapnya" +# === posts/single.html === + +# === 404.html === +[pageNotFound] +other = "Halaman tidak ditemukan" + +[pageNotFoundText] +other = "Maaf, halaman yang Anda cari tidak ada." +# === 404.html === + +# === shortcodes/admonition.html === +[note] +other = "Catatan" + +[abstract] +other = "Abstrak" + +[info] +other = "Info" + +[tip] +other = "Kiat" + +[success] +other = "Sukses" + +[question] +other = "Pertanyaan" + +[warning] +other = "Peringatan" + +[failure] +other = "Kegagalan" + +[danger] +other = "Bahaya" + +[bug] +other = "Bug" + +[example] +other = "Contoh" + +[quote] +other = "Kutipan" +# === shortcodes/admonition.html === + +# === shortcodes/version.html === +[new] +other = "BARU" + +[changed] +other = "BERUBAH" + +[deleted] +other = "DIHAPUS" +# === shortcodes/version.html === From 083077aaca1cca1eff38126d3024730fac33f907 Mon Sep 17 00:00:00 2001 From: mochamadboval Date: Wed, 5 Aug 2020 23:27:57 +0700 Subject: [PATCH 012/111] Change some translations in 'id.toml'. --- i18n/id.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/i18n/id.toml b/i18n/id.toml index eafd843..8d8a6a8 100644 --- a/i18n/id.toml +++ b/i18n/id.toml @@ -54,15 +54,15 @@ other = "Ditenagai oleh {{ .Hugo }} | Tema - {{ .Theme }}" other = "en" [valinePlaceholder] -other = "Komentarmu ..." +other = "Komentar Anda ..." [facebookLanguageCode] -other = "id" +other = "id_ID" # === partials/comment.html === # === partials/assets.html === [search] -other = "Pencarian" +other = "Cari" [searchPlaceholder] other = "Cari judul atau konten ..." @@ -125,7 +125,7 @@ other = "Penulis" other = "Diperbarui pada {{ .Date }}" [readMarkdown] -other = "Lihat versi Markdown" +other = "Baca Markdown" [back] other = "Kembali" From 7cfb2569661a21aec81d7840acaf08d312089bc5 Mon Sep 17 00:00:00 2001 From: mochamadboval Date: Sat, 8 Aug 2020 13:05:49 +0700 Subject: [PATCH 013/111] Change 'Powered by' translation. --- i18n/id.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/id.toml b/i18n/id.toml index 8d8a6a8..8b05d27 100644 --- a/i18n/id.toml +++ b/i18n/id.toml @@ -46,7 +46,7 @@ other = "Ganti Tema" # === partials/footer.html === [poweredBySome] -other = "Ditenagai oleh {{ .Hugo }} | Tema - {{ .Theme }}" +other = "Dipersembahkan oleh {{ .Hugo }} | Tema - {{ .Theme }}" # === partials/footer.html === # === partials/comment.html === From f3d980c58553f9537fd97dbc9173b3c49bc1b2ce Mon Sep 17 00:00:00 2001 From: LeiHao Date: Wed, 19 Aug 2020 17:05:10 +0800 Subject: [PATCH 014/111] Add Traditional Chinese in i18n --- .../theme-documentation-basics/index.en.md | 1 + .../theme-documentation-basics/index.fr.md | 1 + .../theme-documentation-basics/index.zh-cn.md | 1 + i18n/zh-TW.toml | 200 ++++++++++++++++++ 4 files changed, 203 insertions(+) create mode 100644 i18n/zh-TW.toml diff --git a/exampleSite/content/posts/theme-documentation-basics/index.en.md b/exampleSite/content/posts/theme-documentation-basics/index.en.md index 5a0cd13..ca73cd2 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.en.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.en.md @@ -836,6 +836,7 @@ In `assets/css/_custom.scss`, you can add some css style code to customize the s |:-------------------- |:---------:|:---------------------:|:-----------------------------:|:-----------------------------:| | English | `en` | `en` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): | | Simplified Chinese | `zh-cn` | `zh-CN` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): | +| Traditional Chinese | `zh-tw` | `zh-TW` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | | French | `fr` | `fr` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | | Polish | `pl` | `pl` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | | Brazilian Portuguese | `pt-br` | `pt-BR` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | diff --git a/exampleSite/content/posts/theme-documentation-basics/index.fr.md b/exampleSite/content/posts/theme-documentation-basics/index.fr.md index 9ec5107..686aac9 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.fr.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.fr.md @@ -841,6 +841,7 @@ In `assets/css/_custom.scss`, you can add some css style code to customize the s |:-------------------- |:---------:|:---------------------:|:-----------------------------:|:-----------------------------:| | English | `en` | `en` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): | | Simplified Chinese | `zh-cn` | `zh-CN` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): | +| Traditional Chinese | `zh-tw` | `zh-TW` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | | French | `fr` | `fr` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | | Polish | `pl` | `pl` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | | Brazilian Portuguese | `pt-br` | `pt-BR` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | diff --git a/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md index 884e367..f7083f6 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md @@ -840,6 +840,7 @@ $code-font-family: Fira Mono, Source Code Pro, Menlo, Consolas, Monaco, monospac |:---- |:----:|:----:|:----:|:----:| | 英语 | `en` | `en` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): | | 简体中文 | `zh-cn` | `zh-CN` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): | +| 繁體中文 | `zh-tw` | `zh-TW` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | | 法语 | `fr` | `fr` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | | 波兰语 | `pl` | `pl` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | | 巴西葡萄牙语 | `pt-br` | `pt-BR` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | diff --git a/i18n/zh-TW.toml b/i18n/zh-TW.toml new file mode 100644 index 0000000..05a25e5 --- /dev/null +++ b/i18n/zh-TW.toml @@ -0,0 +1,200 @@ +# Translations for Simplified Chinese +# 簡體中文的翻譯 +# https://gohugo.io/content-management/multilingual/#translation-of-strings + +# === baseof == +[backToTop] +other = "回到頂部" + +[viewComments] +other = "查看評論" +# === baseof == + +# === Post === +[posts] +other = "文章" +# === Post === + +# === Taxonomy === +[allSome] +other = "所有{{ .Some }}" + +[tag] +other = "標籤" + +[tags] +other = "標籤" + +[category] +other = "分類" + +[categories] +other = "分類" +# === Taxonomy === + +# === Pagination === +[more] +other = "更多" +# === Pagination === + +# === partials/header.html === +[selectLanguage] +other = "選擇語言" + +[switchTheme] +other = "切換主題" +# === partials/header.html === + +# === partials/footer.html === +[poweredBySome] +other = "由 {{ .Hugo }} 強力驅動 | 主題 - {{ .Theme }}" +# === partials/footer.html === + +# === partials/comment.html === +[valineLang] +other = "zh-tw" + +[valinePlaceholder] +other = "你的評論 ..." + +[facebookLanguageCode] +other = "zh_TW" +# === partials/comment.html === + +# === partials/assets.html === +[search] +other = "搜索" + +[searchPlaceholder] +other = "搜索文章標題或內容..." + +[clear] +other = "清空" + +[cancel] +other = "取消" + +[noResultsFound] +other = "沒有找到結果" + +[lunrLanguageCode] +other = "zh" + +[lunrLanguageLib] +other = "lib/lunr/lunr.zh.js" + +[lunrSegmentitLib] +other = "lib/lunr/lunr.segmentit.js" + +[copyToClipboard] +other = "複製到剪貼板" + +[cookieconsentMessage] +other = "本網站使用 Cookies 來改善您的瀏覽體驗." + +[cookieconsentDismiss] +other = "同意" + +[cookieconsentLink] +other = "了解更多" +# === partials/assets.html === + +# === partials/plugin/share.html === +[shareOn] +other = "分享到" +# === partials/plugin/share.html === + +# === posts/single.html === +[contents] +other = "目錄" + +[publishedOnDate] +other = "發佈於 {{ .Date }}" + +[includedInCategories] +other = "收錄於 {{ .Categories }}" + +[wordCount] +other = "約 {{ .Count }} 字" + +[readingTime] +other = "預計閱讀 {{ .Count }} 分鐘" + +[views] +other = "次閱讀" + +[author] +other = "作者" + +[updatedOnDate] +other = "更新於 {{ .Date }}" + +[readMarkdown] +other = "閱讀原始文檔" + +[back] +other = "返回" + +[home] +other = "主頁" + +[readMore] +other = "閱讀全文" +# === posts/single.html === + +# === 404.html === +[pageNotFound] +other = "頁面沒找到" + +[pageNotFoundText] +other = "抱歉,您要查找的頁面不存在。" +# === 404.html === + +# === shortcodes/admonition.html === +[note] +other = "注意" + +[abstract] +other = "摘要" + +[info] +other = "信息" + +[tip] +other = "技巧" + +[success] +other = "成功" + +[question] +other = "問題" + +[warning] +other = "警告" + +[failure] +other = "失敗" + +[danger] +other = "危險" + +[bug] +other = "Bug" + +[example] +other = "示例" + +[quote] +other = "引用" +# === shortcodes/admonition.html === + +# === shortcodes/version.html === +[new] +other = "新增" + +[changed] +other = "更改" + +[deleted] +other = "刪除" +# === shortcodes/version.html === From 3249f108da9f22768f1a3762530def9ce3f73908 Mon Sep 17 00:00:00 2001 From: Evgeny Kuznetsov Date: Mon, 14 Sep 2020 20:14:41 +0300 Subject: [PATCH 015/111] fix(function): error with newer Hugo versions --- layouts/partials/function/content.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/function/content.html b/layouts/partials/function/content.html index f1d7ce8..a3bef1e 100644 --- a/layouts/partials/function/content.html +++ b/layouts/partials/function/content.html @@ -1,5 +1,7 @@ {{- $content := .Content -}} +{{- if ne "" $content -}} + {{- if .Ruby -}} {{- $content = partial "function/ruby.html" $content -}} {{- end -}} @@ -16,4 +18,6 @@ {{- $content = partial "function/escape.html" $content -}} +{{- end -}} + {{- return $content -}} From 8073888dd899a9ee120212d49015eaaa16cc7fc6 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Thu, 17 Sep 2020 12:01:48 -0500 Subject: [PATCH 016/111] `.params` -> `$params` This was causing the authors of all RSS items to render as "Author". --- layouts/partials/rss/item.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/rss/item.html b/layouts/partials/rss/item.html index 28256b4..7af54d2 100644 --- a/layouts/partials/rss/item.html +++ b/layouts/partials/rss/item.html @@ -10,7 +10,7 @@ {{- .Page.Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" -}} - {{- .params.author | default (T "author") -}} + {{- $params.author | default (T "author") -}} {{- .Page.Permalink -}} @@ -33,4 +33,4 @@ {{- $content | replaceRE `]*>.*` "" | replaceRE `]*( /)?>` "" | safeHTML -}} {{- "]]>" | safeHTML -}} - \ No newline at end of file + From 8eb46b216d0ac5597fc999821a074c097bea6e20 Mon Sep 17 00:00:00 2001 From: Khusika Dhamar Gusti Date: Wed, 22 Jul 2020 22:47:44 +0700 Subject: [PATCH 017/111] fix(footer): Guard post-info-license Show license information if it is mentioned in the markdown. Signed-off-by: Khusika Dhamar Gusti --- layouts/partials/single/footer.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/partials/single/footer.html b/layouts/partials/single/footer.html index c5b682f..caf9edc 100644 --- a/layouts/partials/single/footer.html +++ b/layouts/partials/single/footer.html @@ -17,13 +17,13 @@ {{- end -}} + {{- with $params.license | string -}} + {{- end -}}