From 96364cea94e5bded1f8f9ff5fc22c45a8f211c88 Mon Sep 17 00:00:00 2001 From: Spence Churchill Date: Wed, 23 Mar 2022 18:04:18 -0700 Subject: [PATCH] Merge branch 'master' of https://github.com/splch/hugo-theme-stack --- README.md | 2 +- assets/scss/partials/layout/article.scss | 41 ------- exampleSite/config.yaml | 2 +- exampleSite/content/page/about/index.cn.md | 5 - exampleSite/content/page/about/index.zh-cn.md | 10 ++ .../{index.cn.md => index.zh-cn.md} | 0 i18n/ar.yaml | 4 +- i18n/ca.yaml | 73 +++++++++++++ i18n/el.yaml | 88 +++++++-------- i18n/en.yaml | 92 ++++++++-------- i18n/es.yaml | 90 ++++++++-------- i18n/fr.yaml | 86 +++++++-------- i18n/id.yaml | 90 ++++++++-------- i18n/it.yaml | 86 +++++++-------- i18n/ja.yaml | 74 ++++++------- i18n/ko.yaml | 100 +++++++++--------- i18n/nl.yaml | 72 ++++++------- i18n/pl.yaml | 92 ++++++++-------- i18n/pt-br.yaml | 86 +++++++-------- i18n/ru.yaml | 92 ++++++++-------- i18n/th.yaml | 86 +++++++-------- i18n/tr.yaml | 72 ++++++------- i18n/uk.yaml | 88 +++++++-------- i18n/zh-cn.yaml | 74 ++++++------- i18n/zh-hk.yaml | 73 +++++++++++++ i18n/zh-tw.yaml | 60 +++++------ layouts/partials/comments/provider/vssue.html | 2 +- layouts/partials/footer/footer.html | 2 +- 28 files changed, 882 insertions(+), 760 deletions(-) delete mode 100644 exampleSite/content/page/about/index.cn.md create mode 100644 exampleSite/content/page/about/index.zh-cn.md rename exampleSite/content/post/chinese-test/{index.cn.md => index.zh-cn.md} (100%) create mode 100644 i18n/ca.yaml create mode 100644 i18n/zh-hk.yaml diff --git a/README.md b/README.md index 1c59619..4289b30 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ It's necessary to use **Hugo Extended ≥ 0.87.0**. ## Installation -* Route 1: Clone / Download this repository to `theme` folder +* Route 1: Clone / Download this repository to `themes` folder * Route 2: Turn your site into a hugo module and add this theme as a module dependency Edit your site config following `exampleSite/config.yaml`. diff --git a/assets/scss/partials/layout/article.scss b/assets/scss/partials/layout/article.scss index b5cceaa..d789e10 100644 --- a/assets/scss/partials/layout/article.scss +++ b/assets/scss/partials/layout/article.scss @@ -77,47 +77,6 @@ } } -#article-toolbar { - display: flex; - align-items: center; - margin: 20px 0; - - @include respond(md) { - display: none; - } - - .back-home { - background: var(--card-background); - border-radius: var(--tag-border-radius); - color: var(--card-text-color-tertiary); - margin-right: 30px; - display: inline-flex; - align-items: center; - font-size: 1.4rem; - text-transform: uppercase; - padding: 10px 20px 10px 15px; - - transition: box-shadow 0.3s ease; - - box-shadow: var(--shadow-l1); - - &:hover { - box-shadow: var(--shadow-l2); - } - - svg { - margin-right: 5px; - width: 20px; - height: 20px; - } - - span { - font-weight: 500; - white-space: nowrap; - } - } -} - .widget--toc { background-color: var(--card-background); border-radius: var(--card-border-radius); diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 545116d..ea576c2 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -26,7 +26,7 @@ disqusShortname: hugo-theme-stack googleAnalytics: # Theme i18n support -# Available values: en, fr, id, ja, ko, pt-br, zh-cn, zh-tw, es, de, nl, it, th, el, uk, ar +# Available values: ar, ca, de, el, en, es, fr, id, it, ja, ko, nl, pt-br, th, uk, zh-cn, zh-hk, zh-tw DefaultContentLanguage: en # Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko] diff --git a/exampleSite/content/page/about/index.cn.md b/exampleSite/content/page/about/index.cn.md deleted file mode 100644 index 060c006..0000000 --- a/exampleSite/content/page/about/index.cn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: 关于 ---- - -This is a test page for i18n support. \ No newline at end of file diff --git a/exampleSite/content/page/about/index.zh-cn.md b/exampleSite/content/page/about/index.zh-cn.md new file mode 100644 index 0000000..0284003 --- /dev/null +++ b/exampleSite/content/page/about/index.zh-cn.md @@ -0,0 +1,10 @@ +--- +title: 关于 +menu: + main: + weight: -90 + params: + icon: user +--- + +This is a test page for i18n support. \ No newline at end of file diff --git a/exampleSite/content/post/chinese-test/index.cn.md b/exampleSite/content/post/chinese-test/index.zh-cn.md similarity index 100% rename from exampleSite/content/post/chinese-test/index.cn.md rename to exampleSite/content/post/chinese-test/index.zh-cn.md diff --git a/i18n/ar.yaml b/i18n/ar.yaml index 6a8d1fa..b2970b1 100644 --- a/i18n/ar.yaml +++ b/i18n/ar.yaml @@ -30,8 +30,8 @@ article: other: التعديل الاخير readingTime: - one: "قرائة {{ .Count }} دقيقة" - other: "قرائة {{ .Count }} دقائق" + one: "تُقرأ خلال دقيقة" + other: "تُقرأ خلال {{ .Count }} دقائق" notFound: title: diff --git a/i18n/ca.yaml b/i18n/ca.yaml new file mode 100644 index 0000000..af4167e --- /dev/null +++ b/i18n/ca.yaml @@ -0,0 +1,73 @@ +toggleMenu: + other: Toggle Menu + +darkMode: + other: Mode fosc + +list: + page: + one: "{{ .Count }} pàgina" + other: "{{ .Count }} pàgines" + + section: + other: Secció + + subsection: + one: Subsecció + other: Subseccions + +article: + back: + other: Tornar + + tableOfContents: + other: Taula de contingut + + relatedContent: + other: Continguts relacionats + + lastUpdatedOn: + other: Última vegada actualitzat + + readingTime: + one: "{{ .Count }} minut a llegir" + other: "{{ .Count }} minuts a llegir" + +notFound: + title: + other: No Trobat + + subtitle: + other: Aquesta pàgina no existeix + +widget: + archives: + title: + other: Arxiu + + more: + other: Més + + tagCloud: + title: + other: Etiquetes + categoriesCloud: + title: + other: Categories + +search: + title: + other: Cerca + + placeholder: + other: Tecleja alguna cosa... + + resultTitle: + other: "#PAGES_COUNT pàgines en (#TIME_SECONDS segons)" + +footer: + builtWith: + other: Creat amb {{ .Generator }} + + designedBy: + other: Tema {{ .Theme }} dissenyat per {{ .DesignedBy }} diff --git a/i18n/el.yaml b/i18n/el.yaml index d6a03f3..27a147d 100644 --- a/i18n/el.yaml +++ b/i18n/el.yaml @@ -1,70 +1,70 @@ toggleMenu: - other: Εναλλαγή Μενού + other: Εναλλαγή Μενού darkMode: - other: Σκοτεινό θέμα + other: Σκοτεινό θέμα list: - page: - one: "{{ .Count }} σελιδα" - other: "{{ .Count }} σελιδες" + page: + one: "{{ .Count }} σελιδα" + other: "{{ .Count }} σελιδες" - section: - other: Ενότητα + section: + other: Ενότητα - subsection: - one: Υποενότητα - other: Υποενότητες + subsection: + one: Υποενότητα + other: Υποενότητες article: - back: - other: Πισω + back: + other: Πισω - tableOfContents: - other: Πινακας περιεχομενων + tableOfContents: + other: Πινακας περιεχομενων - relatedContent: - other: Σχετικο περιεχομενο + relatedContent: + other: Σχετικο περιεχομενο - lastUpdatedOn: - other: Τελευταια τροποποιηση στις + lastUpdatedOn: + other: Τελευταια τροποποιηση στις - readingTime: - one: "{{ .Count }} λεπτό ανάγνωσης" - ### Seems that there's no need to add 's' even if it's plural in English - other: "{{ .Count }} λεπτά ανάγνωσης" + readingTime: + one: "{{ .Count }} λεπτό ανάγνωσης" + ### Seems that there's no need to add 's' even if it's plural in English + other: "{{ .Count }} λεπτά ανάγνωσης" notFound: - title: - other: Δε βρέθηκε - subtitle: - other: Η σελίδα δε βρέθηκε. + title: + other: Δε βρέθηκε + subtitle: + other: Η σελίδα δε βρέθηκε. widget: - archives: - title: - other: Αρχειο + archives: + title: + other: Αρχειο - more: - other: Περισσότερα + more: + other: Περισσότερα - tagCloud: - title: - other: Tags + tagCloud: + title: + other: Tags search: - title: - other: Αναζήτηση + title: + other: Αναζήτηση - placeholder: - other: Πληκτρολογήστε κάτι... + placeholder: + other: Πληκτρολογήστε κάτι... - resultTitle: - other: "#PAGES_COUNT σελιδες (#TIME_SECONDS δευτερολεπτα)" + resultTitle: + other: "#PAGES_COUNT σελιδες (#TIME_SECONDS δευτερολεπτα)" footer: - builtWith: - other: Δημιουργήθηκε με τη χρήση {{ .Generator }} + builtWith: + other: Δημιουργήθηκε με τη χρήση {{ .Generator }} - designedBy: - other: Το θέμα {{ .Theme }} σχεδιάστηκε από το {{ .DesignedBy }} + designedBy: + other: Το θέμα {{ .Theme }} σχεδιάστηκε από το {{ .DesignedBy }} diff --git a/i18n/en.yaml b/i18n/en.yaml index a6c4339..fb07328 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -1,73 +1,73 @@ toggleMenu: - other: Toggle Menu + other: Toggle Menu darkMode: - other: Dark Mode + other: Dark Mode list: - page: - one: "{{ .Count }} page" - other: "{{ .Count }} pages" + page: + one: "{{ .Count }} page" + other: "{{ .Count }} pages" - section: - other: Section + section: + other: Section - subsection: - one: Subsection - other: Subsections + subsection: + one: Subsection + other: Subsections article: - back: - other: Back + back: + other: Back - tableOfContents: - other: Table of contents + tableOfContents: + other: Table of contents - relatedContent: - other: Related content + relatedContent: + other: Related content - lastUpdatedOn: - other: Last updated on + lastUpdatedOn: + other: Last updated on - readingTime: - one: "{{ .Count }} minute read" - other: "{{ .Count }} minute read" + readingTime: + one: "{{ .Count }} minute read" + other: "{{ .Count }} minute read" notFound: - title: - other: Not Found + title: + other: Not Found - subtitle: - other: This page does not exist + subtitle: + other: This page does not exist widget: - archives: - title: - other: Archives + archives: + title: + other: Archives - more: - other: More + more: + other: More - tagCloud: - title: - other: Tags - categoriesCloud: - title: - other: Categories + tagCloud: + title: + other: Tags + categoriesCloud: + title: + other: Categories search: - title: - other: Search + title: + other: Search - placeholder: - other: Type something... + placeholder: + other: Type something... - resultTitle: - other: "#PAGES_COUNT pages (#TIME_SECONDS seconds)" + resultTitle: + other: "#PAGES_COUNT pages (#TIME_SECONDS seconds)" footer: - builtWith: - other: Built with {{ .Generator }} + builtWith: + other: Built with {{ .Generator }} - designedBy: - other: Theme {{ .Theme }} designed by {{ .DesignedBy }} + designedBy: + other: Theme {{ .Theme }} designed by {{ .DesignedBy }} diff --git a/i18n/es.yaml b/i18n/es.yaml index 0151490..8c4565a 100644 --- a/i18n/es.yaml +++ b/i18n/es.yaml @@ -1,70 +1,74 @@ toggleMenu: - other: Toggle Menu + other: Toggle Menu darkMode: - other: Modo oscuro + other: Modo oscuro list: - page: - one: "{{ .Count }} página" - other: "{{ .Count }} páginas" + page: + one: "{{ .Count }} página" + other: "{{ .Count }} páginas" - section: - other: Sección + section: + other: Sección - subsection: - one: Subsección - other: Subsecciones + subsection: + one: Subsección + other: Subsecciones article: - back: - other: Volver + back: + other: Volver - tableOfContents: - other: Tabla de contenido + tableOfContents: + other: Tabla de contenido - relatedContent: - other: Contenidos relacionados + relatedContent: + other: Contenidos relacionados - lastUpdatedOn: - other: Última vez actualizado + lastUpdatedOn: + other: Última vez actualizado - readingTime: - one: "{{ .Count }} minuto a leer" - other: "{{ .Count }} minutos a leer" + readingTime: + one: "{{ .Count }} minuto a leer" + other: "{{ .Count }} minutos a leer" notFound: - title: - other: No Encontrado + title: + other: No Encontrado - subtitle: - other: Esta página no existe + subtitle: + other: Esta página no existe widget: - archives: - title: - other: Archivo + archives: + title: + other: Archivo - more: - other: Más + more: + other: Más - tagCloud: - title: - other: Etiquetas + tagCloud: + title: + other: Etiquetas + + categoriesCloud: + title: + other: Categorías search: - title: - other: Búsqueda + title: + other: Búsqueda - placeholder: - other: Teclea algo... + placeholder: + other: Teclea algo... - resultTitle: - other: "#PAGES_COUNT páginas en (#TIME_SECONDS segundos)" + resultTitle: + other: "#PAGES_COUNT páginas en (#TIME_SECONDS segundos)" footer: - builtWith: - other: Creado con {{ .Generator }} + builtWith: + other: Creado con {{ .Generator }} - designedBy: - other: Tema {{ .Theme }} diseñado por {{ .DesignedBy }} + designedBy: + other: Tema {{ .Theme }} diseñado por {{ .DesignedBy }} diff --git a/i18n/fr.yaml b/i18n/fr.yaml index 891f81a..c3feb1d 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -1,69 +1,69 @@ toggleMenu: - other: Afficher le menu + other: Afficher le menu darkMode: - other: Mode sombre + other: Mode sombre list: - page: - one: "{{ .Count }} page" - other: "{{ .Count }} pages" + page: + one: "{{ .Count }} page" + other: "{{ .Count }} pages" - section: - other: Section + section: + other: Section - subsection: - one: Sous-section - other: Sous-sections + subsection: + one: Sous-section + other: Sous-sections article: - back: - other: Retour + back: + other: Retour - tableOfContents: - other: Table des matières + tableOfContents: + other: Table des matières - relatedContent: - other: Contenus liés + relatedContent: + other: Contenus liés - lastUpdatedOn: - other: Dernière mise à jour le + lastUpdatedOn: + other: Dernière mise à jour le - readingTime: - one: "{{ .Count }} minute de lecture" - other: "{{ .Count }} minutes de lecture" + readingTime: + one: "{{ .Count }} minute de lecture" + other: "{{ .Count }} minutes de lecture" notFound: - title: - other: Page non trouvée - subtitle: - other: Cette page n'existe pas. + title: + other: Page non trouvée + subtitle: + other: Cette page n'existe pas. widget: - archives: - title: - other: Archives + archives: + title: + other: Archives - more: - other: Autres + more: + other: Autres - tagCloud: - title: - other: Mots clés + tagCloud: + title: + other: Mots clés search: - title: - other: Rechercher + title: + other: Rechercher - placeholder: - other: Cherchez un article, une publication, etc. + placeholder: + other: Cherchez un article, une publication, etc. - resultTitle: - other: "#PAGES_COUNT pages (#TIME_SECONDS secondes)" + resultTitle: + other: "#PAGES_COUNT pages (#TIME_SECONDS secondes)" footer: - builtWith: - other: Généré avec {{ .Generator }} + builtWith: + other: Généré avec {{ .Generator }} - designedBy: - other: Thème {{ .Theme }} conçu par {{ .DesignedBy }} + designedBy: + other: Thème {{ .Theme }} conçu par {{ .DesignedBy }} diff --git a/i18n/id.yaml b/i18n/id.yaml index da33fa7..8104351 100644 --- a/i18n/id.yaml +++ b/i18n/id.yaml @@ -1,69 +1,73 @@ toggleMenu: - other: Tampilkan Menu + other: Tampilkan Menu darkMode: - other: Mode Gelap + other: Mode Gelap list: - page: - one: "{{ .Count }} halaman" - other: "{{ .Count }} halaman" + page: + one: "{{ .Count }} halaman" + other: "{{ .Count }} halaman" - section: - other: Bagian + section: + other: Bagian - subsection: - one: Subbagian - other: Subbagian + subsection: + one: Subbagian + other: Subbagian article: - back: - other: Kembali + back: + other: Kembali - tableOfContents: - other: Daftar Isi + tableOfContents: + other: Daftar Isi - relatedContent: - other: Konten terkait + relatedContent: + other: Konten terkait - lastUpdatedOn: - other: Terakhir diperbarui pada + lastUpdatedOn: + other: Terakhir diperbarui pada - readingTime: - one: "Waktu Membaca: {{ .Count }} menit" - other: "Waktu Membaca: {{ .Count }} menit" + readingTime: + one: "Waktu Membaca: {{ .Count }} menit" + other: "Waktu Membaca: {{ .Count }} menit" notFound: - title: - other: Tidak ditemukan - subtitle: - other: Halaman yang Anda akses tidak ditemukan. + title: + other: Tidak ditemukan + subtitle: + other: Halaman yang Anda akses tidak ditemukan. widget: - archives: - title: - other: Arsip + archives: + title: + other: Arsip - more: - other: Lebih + more: + other: Lebih - tagCloud: - title: - other: Tag + tagCloud: + title: + other: Tag + + categoriesCloud: + title: + other: Kategori search: - title: - other: Cari + title: + other: Cari - placeholder: - other: Ketik sesuatu... + placeholder: + other: Ketik sesuatu... - resultTitle: - other: "#PAGES_COUNT halaman (#TIME_SECONDS detik)" + resultTitle: + other: "#PAGES_COUNT halaman (#TIME_SECONDS detik)" footer: - builtWith: - other: Dibangun dengan {{ .Generator }} + builtWith: + other: Dibangun dengan {{ .Generator }} - designedBy: - other: Tema {{ .Theme }} dirancang oleh {{ .DesignedBy }} + designedBy: + other: Tema {{ .Theme }} dirancang oleh {{ .DesignedBy }} diff --git a/i18n/it.yaml b/i18n/it.yaml index f66de71..a7fa521 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -1,69 +1,69 @@ toggleMenu: - other: Toggle Menu + other: Toggle Menu darkMode: - other: Dark Mode + other: Dark Mode list: - page: - one: "{{ .Count }} pagina" - other: "{{ .Count }} pagine" + page: + one: "{{ .Count }} pagina" + other: "{{ .Count }} pagine" - section: - other: Sezione + section: + other: Sezione - subsection: - one: Sottosezione - other: Sottosezioni + subsection: + one: Sottosezione + other: Sottosezioni article: - back: - other: Indietro + back: + other: Indietro - tableOfContents: - other: Indice + tableOfContents: + other: Indice - relatedContent: - other: Contenuti correlati + relatedContent: + other: Contenuti correlati - lastUpdatedOn: - other: Aggiornato il + lastUpdatedOn: + other: Aggiornato il - readingTime: - one: "{{ .Count }} min per leggere" - other: "{{ .Count }} min per leggere" + readingTime: + one: "{{ .Count }} min per leggere" + other: "{{ .Count }} min per leggere" notFound: - title: - other: Non trovato - subtitle: - other: Questa pagina non esiste. + title: + other: Non trovato + subtitle: + other: Questa pagina non esiste. widget: - archives: - title: - other: Archivi + archives: + title: + other: Archivi - more: - other: Di più + more: + other: Di più - tagCloud: - title: - other: Tags + tagCloud: + title: + other: Tags search: - title: - other: Cerca + title: + other: Cerca - placeholder: - other: Scrivi qualcosa... + placeholder: + other: Scrivi qualcosa... - resultTitle: - other: "#PAGES_COUNT pagine (#TIME_SECONDS secondi)" + resultTitle: + other: "#PAGES_COUNT pagine (#TIME_SECONDS secondi)" footer: - builtWith: - other: Realizzato con {{ .Generator }} + builtWith: + other: Realizzato con {{ .Generator }} - designedBy: - other: Tema {{ .Theme }} realizzato da {{ .DesignedBy }} + designedBy: + other: Tema {{ .Theme }} realizzato da {{ .DesignedBy }} diff --git a/i18n/ja.yaml b/i18n/ja.yaml index a1f563c..40380fd 100644 --- a/i18n/ja.yaml +++ b/i18n/ja.yaml @@ -1,60 +1,60 @@ toggleMenu: - other: メニューを開く・閉じる + other: メニューを開く・閉じる darkMode: - other: ダークモード + other: ダークモード article: - back: - other: 前のページ + back: + other: 前のページ - tableOfContents: - other: 目次 + tableOfContents: + other: 目次 - relatedContent: - other: 関連するコンテンツ + relatedContent: + other: 関連するコンテンツ - lastUpdatedOn: - other: 最終更新 + lastUpdatedOn: + other: 最終更新 - readingTime: - other: "読了時間: {{ .Count }}分" + readingTime: + other: "読了時間: {{ .Count }}分" notFound: - title: - other: 404 Not Found - subtitle: - other: 指定されたページは存在しません。 + title: + other: 404 Not Found + subtitle: + other: 指定されたページは存在しません。 widget: - archives: - title: - other: アーカイブ + archives: + title: + other: アーカイブ - more: - other: さらに見る + more: + other: さらに見る - tagCloud: - title: - other: タグ + tagCloud: + title: + other: タグ - categoriesCloud: - title: - other: カテゴリ + categoriesCloud: + title: + other: カテゴリ search: - title: - other: 検索 + title: + other: 検索 - placeholder: - other: 入力... + placeholder: + other: 入力... - resultTitle: - other: "#PAGES_COUNT 件 (#TIME_SECONDS 秒)" + resultTitle: + other: "#PAGES_COUNT 件 (#TIME_SECONDS 秒)" footer: - builtWith: - other: Built with {{ .Generator }} + builtWith: + other: Built with {{ .Generator }} - designedBy: - other: テーマ {{ .Theme }} は {{ .DesignedBy }} によって設計されています。 + designedBy: + other: テーマ {{ .Theme }} は {{ .DesignedBy }} によって設計されています。 diff --git a/i18n/ko.yaml b/i18n/ko.yaml index 55a04ce..5ded2b0 100644 --- a/i18n/ko.yaml +++ b/i18n/ko.yaml @@ -1,68 +1,68 @@ toggleMenu: - other: 메뉴 여닫기 + other: 메뉴 여닫기 darkMode: - other: 다크 모드 + other: 다크 모드 list: - page: - one: "{{ .Count }} 페이지" - other: "{{ .Count }} 페이지" + page: + one: "{{ .Count }} 페이지" + other: "{{ .Count }} 페이지" - section: - other: 섹션 + section: + other: 섹션 - subsection: - one: 서브섹션 - other: 서브섹션 + subsection: + one: 서브섹션 + other: 서브섹션 article: - back: - other: 뒤로가기 + back: + other: 뒤로가기 - tableOfContents: - other: 목차 - - relatedContent: - other: 관련 글 - - lastUpdatedOn: - other: "마지막 수정: " - - readingTime: - one: "{{ .Count }} 분 정도" - other: "{{ .Count }} 분 정도" + tableOfContents: + other: 목차 + + relatedContent: + other: 관련 글 + + lastUpdatedOn: + other: "마지막 수정: " + + readingTime: + one: "{{ .Count }} 분 정도" + other: "{{ .Count }} 분 정도" notFound: - title: - other: 찾을 수 없음 - - subtitle: - other: 페이지를 찾을 수 없습니다. + title: + other: 찾을 수 없음 + + subtitle: + other: 페이지를 찾을 수 없습니다. widget: - archives: - title: - other: 보관함 - more: - other: 더보기 - - tagCloud: - title: - other: 태그 + archives: + title: + other: 보관함 + more: + other: 더보기 + + tagCloud: + title: + other: 태그 search: - title: - other: 검색 - - placeholder: - other: 검색어를 입력하세요... - - resultTitle: - other: "#PAGES_COUNT 페이지 (#TIME_SECONDS 초)" + title: + other: 검색 + + placeholder: + other: 검색어를 입력하세요... + + resultTitle: + other: "#PAGES_COUNT 페이지 (#TIME_SECONDS 초)" footer: - builtWith: - other: "{{ .Generator }}로 만듦" - designedBy: - other: "{{ .DesignedBy }}의 {{ .Theme }} 테마 사용 중" + builtWith: + other: "{{ .Generator }}로 만듦" + designedBy: + other: "{{ .DesignedBy }}의 {{ .Theme }} 테마 사용 중" diff --git a/i18n/nl.yaml b/i18n/nl.yaml index 0d981da..80f1f0c 100644 --- a/i18n/nl.yaml +++ b/i18n/nl.yaml @@ -1,53 +1,53 @@ toggleMenu: - other: Open Menu + other: Open Menu darkMode: - other: Donkere modus + other: Donkere modus list: - page: - one: "{{ .Count }} pagina" - other: "{{ .Count }} pagina's" + page: + one: "{{ .Count }} pagina" + other: "{{ .Count }} pagina's" - section: - other: Sectie + section: + other: Sectie - subsection: - one: Subsectie - other: Subsecties + subsection: + one: Subsectie + other: Subsecties article: - relatedContent: - other: Gerelateerde inhoud - lastUpdatedOn: - other: Laatst bijgewerkt op + relatedContent: + other: Gerelateerde inhoud + lastUpdatedOn: + other: Laatst bijgewerkt op notFound: - title: - other: Niet gevonden - subtitle: - other: Deze pagina bestaat niet. + title: + other: Niet gevonden + subtitle: + other: Deze pagina bestaat niet. widget: - archives: - title: - other: Archief - more: - other: Meer - tagCloud: - title: - other: Tags + archives: + title: + other: Archief + more: + other: Meer + tagCloud: + title: + other: Tags search: - title: - other: Zoeken - placeholder: - other: Typ iets - resultTitle: - other: "#PAGES_COUNT pagina's (#TIME_SECONDS seconden)" + title: + other: Zoeken + placeholder: + other: Typ iets + resultTitle: + other: "#PAGES_COUNT pagina's (#TIME_SECONDS seconden)" footer: - builtWith: - other: Gemaakt met {{ .Generator }} - designedBy: - other: Theme {{ .Theme }} ontworpen door {{ .DesignedBy }} + builtWith: + other: Gemaakt met {{ .Generator }} + designedBy: + other: Theme {{ .Theme }} ontworpen door {{ .DesignedBy }} diff --git a/i18n/pl.yaml b/i18n/pl.yaml index 69172ba..e44a140 100644 --- a/i18n/pl.yaml +++ b/i18n/pl.yaml @@ -1,69 +1,73 @@ toggleMenu: - other: Przełącz Menu + other: Przełącz Menu darkMode: - other: Tryb ciemny + other: Tryb ciemny list: - page: - one: "{{ .Count }} strona" - other: "{{ .Count }} stron" + page: + one: "{{ .Count }} strona" + other: "{{ .Count }} stron" - section: - other: Sekcja + section: + other: Sekcja - subsection: - one: Podsekcja - other: Podsekcje + subsection: + one: Podsekcja + other: Podsekcje article: - back: - other: Wróć + back: + other: Wróć - tableOfContents: - other: Spis treści + tableOfContents: + other: Spis treści - relatedContent: - other: Powiązane artykuły + relatedContent: + other: Powiązane artykuły - lastUpdatedOn: - other: Ostatnio zaktualizowany - - readingTime: - one: "Przeczytasz w {{ .Count }} minutę" - other: "Przeczytasz w {{ .Count }} minut" + lastUpdatedOn: + other: Ostatnio zaktualizowany + + readingTime: + one: "Przeczytasz w {{ .Count }} minutę" + other: "Przeczytasz w {{ .Count }} minut" notFound: - title: - other: Nie znaleziono - subtitle: - other: Ta strona nie istnieje + title: + other: Nie znaleziono + subtitle: + other: Ta strona nie istnieje widget: - archives: - title: - other: Archiwum + archives: + title: + other: Archiwum - more: - other: Więcej + more: + other: Więcej - tagCloud: - title: - other: Tagi + tagCloud: + title: + other: Tagi + + categoriesCloud: + title: + other: Kategorie search: - title: - other: Szukaj + title: + other: Szukaj - placeholder: - other: Wpisz coś... + placeholder: + other: Wpisz coś... - resultTitle: - other: "#PAGES_COUNT stron (#TIME_SECONDS sekund)" + resultTitle: + other: "#PAGES_COUNT stron (#TIME_SECONDS sekund)" footer: - builtWith: - other: Zbudowano z {{ .Generator }} + builtWith: + other: Zbudowano z {{ .Generator }} - designedBy: - other: Motyw {{ .Theme }} zaprojektowany przez {{ .DesignedBy }} + designedBy: + other: Motyw {{ .Theme }} zaprojektowany przez {{ .DesignedBy }} diff --git a/i18n/pt-br.yaml b/i18n/pt-br.yaml index 03de3e6..e3cf582 100644 --- a/i18n/pt-br.yaml +++ b/i18n/pt-br.yaml @@ -1,64 +1,64 @@ toggleMenu: - other: Alternar Menu + other: Alternar Menu darkMode: - other: Modo Escuro + other: Modo Escuro list: - page: - one: "{{ .Count }} página" - other: "{{ .Count }} páginas" + page: + one: "{{ .Count }} página" + other: "{{ .Count }} páginas" - section: - other: Seção + section: + other: Seção - subsection: - one: Subseção - other: Subseções + subsection: + one: Subseção + other: Subseções article: - back: - other: Voltar + back: + other: Voltar - tableOfContents: - other: Índice + tableOfContents: + other: Índice - relatedContent: - other: Conteúdo relacionado + relatedContent: + other: Conteúdo relacionado - lastUpdatedOn: - other: Última atualização em + lastUpdatedOn: + other: Última atualização em - readingTime: - one: "{{ .Count }} minuto de leitura" - other: "{{ .Count }} minutos de leitura" + readingTime: + one: "{{ .Count }} minuto de leitura" + other: "{{ .Count }} minutos de leitura" notFound: - title: - other: Não Encontrado - subtitle: - other: Esta página não existe. + title: + other: Não Encontrado + subtitle: + other: Esta página não existe. widget: - archives: - title: - other: Arquivos - more: - other: Mais - tagCloud: - title: - other: Tags + archives: + title: + other: Arquivos + more: + other: Mais + tagCloud: + title: + other: Tags search: - title: - other: Busca - placeholder: - other: Digite algo... - resultTitle: - other: "#PAGES_COUNT páginas (#TIME_SECONDS segundos)" + title: + other: Busca + placeholder: + other: Digite algo... + resultTitle: + other: "#PAGES_COUNT páginas (#TIME_SECONDS segundos)" footer: - builtWith: - other: Criado com {{ .Generator }} - designedBy: - other: Tema {{ .Theme }} desenvolvido por {{ .DesignedBy }} + builtWith: + other: Criado com {{ .Generator }} + designedBy: + other: Tema {{ .Theme }} desenvolvido por {{ .DesignedBy }} diff --git a/i18n/ru.yaml b/i18n/ru.yaml index ff19795..b1f1e51 100644 --- a/i18n/ru.yaml +++ b/i18n/ru.yaml @@ -1,63 +1,63 @@ toggleMenu: - other: Показать/скрыть меню + other: Показать/скрыть меню darkMode: - other: Тёмный режим + other: Тёмный режим list: - page: - one: "{{ .Count }} страница" - few: "{{ .Count }} страницы" - many: "{{ .Count }} страниц" - other: "{{ .Count }} страниц" + page: + one: "{{ .Count }} страница" + few: "{{ .Count }} страницы" + many: "{{ .Count }} страниц" + other: "{{ .Count }} страниц" - section: - other: Раздел + section: + other: Раздел - subsection: - one: Подраздел - few: Подразделы - many: Подразделы - other: Подразделы + subsection: + one: Подраздел + few: Подразделы + many: Подразделы + other: Подразделы article: - back: - other: Назад - relatedContent: - other: Также рекомендуем - lastUpdatedOn: - other: Обновлено - tableOfContents: - other: Содержание - readingTime: - other: "Время чтения: {{ .Count }} мин." + back: + other: Назад + relatedContent: + other: Также рекомендуем + lastUpdatedOn: + other: Обновлено + tableOfContents: + other: Содержание + readingTime: + other: "Время чтения: {{ .Count }} мин." notFound: - title: - other: Не найдено - subtitle: - other: Запрашиваемая страница не существует + title: + other: Не найдено + subtitle: + other: Запрашиваемая страница не существует widget: - archives: - title: - other: Архивы - more: - other: Ещё - tagCloud: - title: - other: Теги + archives: + title: + other: Архивы + more: + other: Ещё + tagCloud: + title: + other: Теги search: - title: - other: Поиск - placeholder: - other: Введите что-нибудь... - resultTitle: - other: "Найдено #PAGES_COUNT страниц (за #TIME_SECONDS с.)" + title: + other: Поиск + placeholder: + other: Введите что-нибудь... + resultTitle: + other: "Найдено #PAGES_COUNT страниц (за #TIME_SECONDS с.)" footer: - builtWith: - other: Создано при помощи {{ .Generator }} - designedBy: - other: Тема {{ .Theme }}, дизайн {{ .DesignedBy }} + builtWith: + other: Создано при помощи {{ .Generator }} + designedBy: + other: Тема {{ .Theme }}, дизайн {{ .DesignedBy }} diff --git a/i18n/th.yaml b/i18n/th.yaml index 23ac65d..9982c06 100644 --- a/i18n/th.yaml +++ b/i18n/th.yaml @@ -1,70 +1,70 @@ toggleMenu: - other: สลับเมนู + other: สลับเมนู darkMode: - other: ธีมมืด + other: ธีมมืด list: - page: - one: "{{ .Count }} หน้า" - other: "{{ .Count }} หน้า" + page: + one: "{{ .Count }} หน้า" + other: "{{ .Count }} หน้า" - section: - other: หมวดหมู่ + section: + other: หมวดหมู่ - subsection: - one: หมวดหมู่ย่อย - other: หมวดหมู่ย่อยอื่นๆ + subsection: + one: หมวดหมู่ย่อย + other: หมวดหมู่ย่อยอื่นๆ article: - back: - other: กลับไป + back: + other: กลับไป - tableOfContents: - other: สารบัญ + tableOfContents: + other: สารบัญ - relatedContent: - other: เนื้อหาคล้ายคลึงกัน + relatedContent: + other: เนื้อหาคล้ายคลึงกัน - lastUpdatedOn: - other: อัปเดตล่าสุดเมื่อ + lastUpdatedOn: + other: อัปเดตล่าสุดเมื่อ - readingTime: - one: "น่าจะใช้เวลา {{ .Count }} นาทีในการอ่าน" - other: "น่าจะใช้เวลา {{ .Count }} นาทีในการอ่าน" + readingTime: + one: "น่าจะใช้เวลา {{ .Count }} นาทีในการอ่าน" + other: "น่าจะใช้เวลา {{ .Count }} นาทีในการอ่าน" notFound: - title: - other: ไม่พบหัวข้อ + title: + other: ไม่พบหัวข้อ - subtitle: - other: ไม่พบหน้านี้ในระบบ + subtitle: + other: ไม่พบหน้านี้ในระบบ widget: - archives: - title: - other: เนื้อหาที่เก็บถาวรแล้ว + archives: + title: + other: เนื้อหาที่เก็บถาวรแล้ว - more: - other: อื่นๆ นอกจากนี้ + more: + other: อื่นๆ นอกจากนี้ - tagCloud: - title: - other: แท็ก + tagCloud: + title: + other: แท็ก search: - title: - other: ค้นหา + title: + other: ค้นหา - placeholder: - other: พิมพ์เพื่อค้นหา ... + placeholder: + other: พิมพ์เพื่อค้นหา ... - resultTitle: - other: "#PAGES_COUNT pages (#TIME_SECONDS seconds)" + resultTitle: + other: "#PAGES_COUNT pages (#TIME_SECONDS seconds)" footer: - builtWith: - other: ถูกสร้างด้วย {{ .Generator }} + builtWith: + other: ถูกสร้างด้วย {{ .Generator }} - designedBy: - other: ธีม {{ .Theme }} ออกแบบโดย {{ .DesignedBy }} + designedBy: + other: ธีม {{ .Theme }} ออกแบบโดย {{ .DesignedBy }} diff --git a/i18n/tr.yaml b/i18n/tr.yaml index a45384a..2dbb9d5 100644 --- a/i18n/tr.yaml +++ b/i18n/tr.yaml @@ -1,53 +1,53 @@ toggleMenu: - other: Menüyü Gizle + other: Menüyü Gizle darkMode: - other: Koyu Mod + other: Koyu Mod list: - page: - one: "{{ .Count }} makale" - other: "{{ .Count }} makale" + page: + one: "{{ .Count }} makale" + other: "{{ .Count }} makale" - section: - other: Bölüm + section: + other: Bölüm - subsection: - one: Alt bölüm - other: Alt bölümler + subsection: + one: Alt bölüm + other: Alt bölümler article: - relatedContent: - other: Alakalı içerikler - lastUpdatedOn: - other: Son güncelleme + relatedContent: + other: Alakalı içerikler + lastUpdatedOn: + other: Son güncelleme notFound: - title: - other: Bulunamadı - subtitle: - other: Aradığınız sayfa mevcut değil. + title: + other: Bulunamadı + subtitle: + other: Aradığınız sayfa mevcut değil. widget: - archives: - title: - other: Arşiv - more: - other: Daha fazla - tagCloud: - title: - other: Etiketler + archives: + title: + other: Arşiv + more: + other: Daha fazla + tagCloud: + title: + other: Etiketler search: - title: - other: Arama - placeholder: - other: Birşeyler yazın... - resultTitle: - other: "#PAGES_COUNT sayfa (#TIME_SECONDS saniye)" + title: + other: Arama + placeholder: + other: Birşeyler yazın... + resultTitle: + other: "#PAGES_COUNT sayfa (#TIME_SECONDS saniye)" footer: - builtWith: - other: "{{ .Generator }} ile oluşturuldu." - designedBy: - other: "{{ .Theme }} teması {{ .DesignedBy }} tarafından tasarlandı" + builtWith: + other: "{{ .Generator }} ile oluşturuldu." + designedBy: + other: "{{ .Theme }} teması {{ .DesignedBy }} tarafından tasarlandı" diff --git a/i18n/uk.yaml b/i18n/uk.yaml index 0d59f26..3bd4f71 100644 --- a/i18n/uk.yaml +++ b/i18n/uk.yaml @@ -1,71 +1,71 @@ toggleMenu: - other: Показати меню + other: Показати меню darkMode: - other: Темна тема + other: Темна тема list: - page: - one: "{{ .Count }} сторінка" - few: "{{ .Count }} сторінки" - other: "{{ .Count }} сторінок" + page: + one: "{{ .Count }} сторінка" + few: "{{ .Count }} сторінки" + other: "{{ .Count }} сторінок" - section: - other: Секція + section: + other: Секція - subsection: - one: Підсекція - other: Підсекції + subsection: + one: Підсекція + other: Підсекції article: - back: - other: Назад + back: + other: Назад - tableOfContents: - other: Зміст + tableOfContents: + other: Зміст - relatedContent: - other: Схожі матеріали + relatedContent: + other: Схожі матеріали - lastUpdatedOn: - other: Востаннє оновлено + lastUpdatedOn: + other: Востаннє оновлено - readingTime: - one: "Час читання: {{ .Count }} хв" - other: "Час читання: {{ .Count }} хв" + readingTime: + one: "Час читання: {{ .Count }} хв" + other: "Час читання: {{ .Count }} хв" notFound: - title: - other: Не знайдено + title: + other: Не знайдено - subtitle: - other: Ця сторінка не існує + subtitle: + other: Ця сторінка не існує widget: - archives: - title: - other: Архіви + archives: + title: + other: Архіви - more: - other: Більше + more: + other: Більше - tagCloud: - title: - other: Теґи + tagCloud: + title: + other: Теґи search: - title: - other: Пошук + title: + other: Пошук - placeholder: - other: Напишіть що-небудь... + placeholder: + other: Напишіть що-небудь... - resultTitle: - other: "#PAGES_COUNT сторінок (#TIME_SECONDS секунд)" + resultTitle: + other: "#PAGES_COUNT сторінок (#TIME_SECONDS секунд)" footer: - builtWith: - other: Створено з {{ .Generator }} + builtWith: + other: Створено з {{ .Generator }} - designedBy: - other: Тема {{ .Theme }}, дизайн {{ .DesignedBy }} + designedBy: + other: Тема {{ .Theme }}, дизайн {{ .DesignedBy }} diff --git a/i18n/zh-cn.yaml b/i18n/zh-cn.yaml index 98d885a..9350c2b 100644 --- a/i18n/zh-cn.yaml +++ b/i18n/zh-cn.yaml @@ -1,60 +1,60 @@ toggleMenu: - other: 切换菜单 + other: 切换菜单 darkMode: - other: 暗色模式 + other: 暗色模式 article: - back: - other: 返回 + back: + other: 返回 - tableOfContents: - other: 目录 + tableOfContents: + other: 目录 - relatedContent: - other: 相关文章 + relatedContent: + other: 相关文章 - lastUpdatedOn: - other: 最后更新于 + lastUpdatedOn: + other: 最后更新于 - readingTime: - other: "阅读时长: {{ .Count }} 分钟" + readingTime: + other: "阅读时长: {{ .Count }} 分钟" notFound: - title: - other: 404 错误 - subtitle: - other: 页面不存在 + title: + other: 404 错误 + subtitle: + other: 页面不存在 widget: - archives: - title: - other: 归档 + archives: + title: + other: 归档 - more: - other: 更多 + more: + other: 更多 - tagCloud: - title: - other: 标签云 + tagCloud: + title: + other: 标签云 - categoriesCloud: - title: - other: 分类 + categoriesCloud: + title: + other: 分类 search: - title: - other: 搜索 + title: + other: 搜索 - placeholder: - other: 输入关键词... + placeholder: + other: 输入关键词... - resultTitle: - other: "#PAGES_COUNT 个结果 (用时 #TIME_SECONDS 秒)" + resultTitle: + other: "#PAGES_COUNT 个结果 (用时 #TIME_SECONDS 秒)" footer: - builtWith: - other: Built with {{ .Generator }} + builtWith: + other: Built with {{ .Generator }} - designedBy: - other: 主题 {{ .Theme }} 由 {{ .DesignedBy }} 设计 + designedBy: + other: 主题 {{ .Theme }} 由 {{ .DesignedBy }} 设计 diff --git a/i18n/zh-hk.yaml b/i18n/zh-hk.yaml new file mode 100644 index 0000000..9e3c246 --- /dev/null +++ b/i18n/zh-hk.yaml @@ -0,0 +1,73 @@ +toggleMenu: + other: 切換選單 + +darkMode: + other: 深色模式 + +list: + page: + one: "第 {{ .Count }} 頁" + other: "第 {{ .Count }} 頁" + + section: + other: Section + + subsection: + one: Subsection + other: Subsections + +article: + back: + other: 返回 + + tableOfContents: + other: 目錄 + + relatedContent: + other: 相關內容 + + lastUpdatedOn: + other: 上次改過於 + + readingTime: + one: "需要 {{ .Count }} 分鐘閱讀" + other: "需要 {{ .Count }} 分鐘閱讀" + +notFound: + title: + other: Not Found + + subtitle: + other: 頁面不存在 + +widget: + archives: + title: + other: Archives + + more: + other: 更多 + + tagCloud: + title: + other: Tags + categoriesCloud: + title: + other: Categories + +search: + title: + other: 搜尋 + + placeholder: + other: Type 關鍵字... + + resultTitle: + other: "#PAGES_COUNT pages (#TIME_SECONDS seconds)" + +footer: + builtWith: + other: Built with {{ .Generator }} + + designedBy: + other: 主題 {{ .Theme }} 由 {{ .DesignedBy }} 設計 diff --git a/i18n/zh-tw.yaml b/i18n/zh-tw.yaml index 8a03a6a..d9e124e 100644 --- a/i18n/zh-tw.yaml +++ b/i18n/zh-tw.yaml @@ -1,49 +1,49 @@ toggleMenu: - other: 切換選單 + other: 切換選單 darkMode: - other: 夜晚模式 + other: 夜晚模式 article: - back: - other: 返回 + back: + other: 返回 - tableOfContents: - other: 目錄 + tableOfContents: + other: 目錄 - relatedContent: - other: 相關文章 + relatedContent: + other: 相關文章 - lastUpdatedOn: - other: 最後更新 + lastUpdatedOn: + other: 最後更新 - readingTime: - other: "閱讀時間: {{ .Count }} 分鐘" + readingTime: + other: "閱讀時間: {{ .Count }} 分鐘" notFound: - title: - other: 404 錯誤 - subtitle: - other: 頁面不存在 + title: + other: 404 錯誤 + subtitle: + other: 頁面不存在 widget: - archives: - title: - other: 紀錄 + archives: + title: + other: 紀錄 - more: - other: 更多 + more: + other: 更多 - tagCloud: - title: - other: 標籤雲 + tagCloud: + title: + other: 標籤雲 search: - title: - other: 搜尋 + title: + other: 搜尋 - placeholder: - other: 輸入關鍵字... + placeholder: + other: 輸入關鍵字... - resultTitle: - other: "#PAGES_COUNT 個結果 (用時 #TIME_SECONDS 秒)" + resultTitle: + other: "#PAGES_COUNT 個結果 (用時 #TIME_SECONDS 秒)" diff --git a/layouts/partials/comments/provider/vssue.html b/layouts/partials/comments/provider/vssue.html index 0a9ea56..79ac381 100644 --- a/layouts/partials/comments/provider/vssue.html +++ b/layouts/partials/comments/provider/vssue.html @@ -3,7 +3,7 @@
- +