diff --git a/data/months_pl.yaml b/data/months_pl.yaml new file mode 100644 index 00000000..d5f3756d --- /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 00000000..44b5ffaa --- /dev/null +++ b/i18n/pl.toml @@ -0,0 +1,11 @@ +[writtenBy] +other = "Autor" + +[on] +other = "opublikowano" + +[generator] +other = "Made with Hugo using the Tale theme." + +[publishdate] +other = "{{ .PublishDate.Day }}. {{ index $.Site.Data.months_pl (printf \"%d\" .PublishDate.Month) }} {{ .PublishDate.Year }}"