From 910d93b4ceb8a74e223fb4f34ab2021f67246eaf Mon Sep 17 00:00:00 2001 From: giacomocarrozzo <6900557+giacomocarrozzo@users.noreply.github.com> Date: Thu, 29 Jul 2021 15:59:15 +0200 Subject: [PATCH 1/2] feat(i18n): Italian translation (#281) --- exampleSite/config.yaml | 2 +- i18n/it.yaml | 69 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 i18n/it.yaml diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 2ff6a1e..ac30c01 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -11,7 +11,7 @@ disqusShortname: hugo-theme-stack googleAnalytics: # Theme i18n support -# Available values: en, fr, id, ja, ko, pt-br, zh-cn, es, de, nl +# Available values: en, fr, id, ja, ko, pt-br, zh-cn, es, de, nl, it DefaultContentLanguage: en permalinks: diff --git a/i18n/it.yaml b/i18n/it.yaml new file mode 100644 index 0000000..6c4114c --- /dev/null +++ b/i18n/it.yaml @@ -0,0 +1,69 @@ +toggleMenu: + other: Toggle Menu + +darkMode: + other: Dark Mode + +list: + page: + one: "{{ .Count }} pagina" + other: "{{ .Count }} pagine" + + section: + other: Sezione + + subsection: + one: Sottosezione + other: Sottosezioni + +article: + back: + other: Indietro + + tableOfContents: + other: Indice + + relatedContents: + other: Contenuti correlati + + lastUpdatedOn: + other: Aggiornato il + + readingTime: + one: "{{ .Count }} min per leggere" + other: "{{ .Count }} min per leggere" + +notFound: + title: + other: Non trovato + subtitle: + other: Questa pagina non esiste. + +widget: + archives: + title: + other: Archivi + + more: + other: Di più + + tagCloud: + title: + other: Tags + +search: + title: + other: Cerca + + placeholder: + other: Scrivi qualcosa... + + resultTitle: + other: "#PAGES_COUNT pagine (#TIME_SECONDS secondi)" + +footer: + builtWith: + other: Realizzato con {{ .Generator }} + + designedBy: + other: Tema {{ .Theme }} realizzato da {{ .DesignedBy }} From 5f1a5ab83f5f706f2472701a7f32fbc1dda42eeb Mon Sep 17 00:00:00 2001 From: zhixuan <59254886+zhixuan666@users.noreply.github.com> Date: Thu, 5 Aug 2021 03:39:01 +0900 Subject: [PATCH 2/2] feat(i18n): add translation for `.readingTime` in Chinese & Japanese (#285) --- i18n/ja.yaml | 3 +++ i18n/zh-CN.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/i18n/ja.yaml b/i18n/ja.yaml index 1331fb1..3f9978d 100644 --- a/i18n/ja.yaml +++ b/i18n/ja.yaml @@ -17,6 +17,9 @@ article: lastUpdatedOn: other: 最終更新 + readingTime: + other: "読了時間: {{ .Count }}分" + notFound: title: other: 404 Not Found diff --git a/i18n/zh-CN.yaml b/i18n/zh-CN.yaml index 551e0a3..0f08310 100644 --- a/i18n/zh-CN.yaml +++ b/i18n/zh-CN.yaml @@ -17,6 +17,9 @@ article: lastUpdatedOn: other: 最后更新于 + readingTime: + other: "阅读时长: {{ .Count }} 分钟" + notFound: title: other: 404 错误