diff options
author | Paweł Miech <pawelmhm@users.noreply.github.com> | 2021-01-30 13:22:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-30 13:22:23 +0300 |
commit | 92e70ee37570f06385517444755560b49fff0b80 (patch) | |
tree | 97c939a33b48e2e643cb6092d66c9ef6fb9926f5 | |
parent | 7ae342a359324e5fe2bb6e5810a727ddc196fed5 (diff) |
Add Polish language support
-rw-r--r-- | data/months_pl.yaml | 12 | ||||
-rw-r--r-- | i18n/pl.toml | 11 |
2 files changed, 23 insertions, 0 deletions
diff --git a/data/months_pl.yaml b/data/months_pl.yaml new file mode 100644 index 0000000..d5f3756 --- /dev/null +++ b/data/months_pl.yaml @@ -0,0 +1,12 @@ +1: "stycznia" +2: "lutego" +3: "marca" +4: "kwietnia" +5: "maja" +6: "czerwca" +7: "lipca" +8: "sierpnia" +9: "września" +10: "października" +11: "listopada" +12: "grudnia" diff --git a/i18n/pl.toml b/i18n/pl.toml new file mode 100644 index 0000000..44b5ffa --- /dev/null +++ b/i18n/pl.toml @@ -0,0 +1,11 @@ +[writtenBy] +other = "Autor" + +[on] +other = "opublikowano" + +[generator] +other = "Made with <a href='https://gohugo.io'>Hugo</a> using the <a href='https://github.com/EmielH/tale-hugo/'>Tale</a> theme." + +[publishdate] +other = "{{ .PublishDate.Day }}. {{ index $.Site.Data.months_pl (printf \"%d\" .PublishDate.Month) }} {{ .PublishDate.Year }}" |