Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EmielH/tale-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Guiducci <stirner@gmail.com>2020-10-25 23:26:06 +0300
committerGitHub <noreply@github.com>2020-10-25 23:26:06 +0300
commit7ae342a359324e5fe2bb6e5810a727ddc196fed5 (patch)
treece078446b5d29e40eb3664eb631a40ec84818fad
parentc743559a4e8ec9ea53e2aa52f40ba87d426cc879 (diff)
Add Italian language
See #40
-rw-r--r--data/months_it.yaml12
-rw-r--r--i18n/it.toml11
2 files changed, 23 insertions, 0 deletions
diff --git a/data/months_it.yaml b/data/months_it.yaml
new file mode 100644
index 0000000..9f584cd
--- /dev/null
+++ b/data/months_it.yaml
@@ -0,0 +1,12 @@
+1: "gennaio"
+2: "febbraio"
+3: "marzo"
+4: "aprile"
+5: "maggio"
+6: "giugno"
+7: "luglio"
+8: "agosto"
+9: "settembre"
+10: "ottobre"
+11: "novembre"
+12: "dicembre"
diff --git a/i18n/it.toml b/i18n/it.toml
new file mode 100644
index 0000000..a0765a6
--- /dev/null
+++ b/i18n/it.toml
@@ -0,0 +1,11 @@
+[writtenBy]
+other = "Scritto da"
+
+[on]
+other = "il"
+
+[generator]
+other = "Creato con <a href='https://gohugo.io'>Hugo</a> usando il tema <a href='https://github.com/EmielH/tale-hugo/'>Tale</a>."
+
+[publishdate]
+other = "{{ .PublishDate.Day }} {{ index $.Site.Data.months_it (printf \"%d\" .PublishDate.Month) }} {{ .PublishDate.Year }}"