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:
authorFernando G. Vilar <dev@polygonal.tech>2018-11-28 11:02:48 +0300
committerEmiel Hollander <EmielH@users.noreply.github.com>2018-11-28 11:02:48 +0300
commit96b488b992865242ea44f684d3fc3068de7d5dcf (patch)
treed744104caa15b46b138e89d0f15a30f192d6f4df
parent792b4cb3a3ed27a56279f9f62c5b0a9745eb0090 (diff)
Add translation to Spanish (#8)
-rw-r--r--data/months_es.yaml12
-rw-r--r--i18n/es.toml17
2 files changed, 29 insertions, 0 deletions
diff --git a/data/months_es.yaml b/data/months_es.yaml
new file mode 100644
index 0000000..e2fc147
--- /dev/null
+++ b/data/months_es.yaml
@@ -0,0 +1,12 @@
+1: "enero"
+2: "febrero"
+3: "marzo"
+4: "abril"
+5: "mayo"
+6: "junio"
+7: "julio"
+8: "agosto"
+9: "septiembre"
+10: "octubre"
+11: "noviembre"
+12: "diciembre"
diff --git a/i18n/es.toml b/i18n/es.toml
new file mode 100644
index 0000000..1383118
--- /dev/null
+++ b/i18n/es.toml
@@ -0,0 +1,17 @@
+[posts]
+other = "Artículos"
+
+[about]
+other = "Acerca"
+
+[writtenBy]
+other = "Escrito por"
+
+[on]
+other = "el"
+
+[generator]
+other = "Hecho con <a href='https://gohugo.io'>Hugo</a> usando el tema <a href='https://github.com/EmielH/tale-hugo/'>Tale</a>."
+
+[publishdate]
+other = "{{ .PublishDate.Day }} de {{ index $.Site.Data.months_es (printf \"%d\" .PublishDate.Month) }} de {{ .PublishDate.Year }}" \ No newline at end of file