From de3892ce29275ba0b33b91ce6385355aae2e6afb Mon Sep 17 00:00:00 2001 From: Devercises Date: Fri, 19 Mar 2021 11:52:32 +0100 Subject: Add Polish Language Support --- exampleSite/config.toml | 2 +- i18n/pl.toml | 55 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 i18n/pl.toml diff --git a/exampleSite/config.toml b/exampleSite/config.toml index bfcfe94..1de2eae 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -10,7 +10,7 @@ ignoreErrors = ["error-disable-taxonomy"] ## Change this two to switch between different language languageCode = "en" # For RSS, view https://www.rssboard.org/rss-language-codes -defaultContentLanguage = "en" # For HTML page, now support: en, zh-hans, zh-hant, ja, nl +defaultContentLanguage = "en" # For HTML page, now support: en, zh-hans, zh-hant, ja, nl, pl summaryLength = 100 # Custom summary length, add in post file to custom split point paginate = 10 diff --git a/i18n/pl.toml b/i18n/pl.toml new file mode 100644 index 0000000..3afda23 --- /dev/null +++ b/i18n/pl.toml @@ -0,0 +1,55 @@ +[sidebarToc] + other = "Spis Treści" + +[sidebarPages] + other = "Strony" + +[sidebarTags] + other = "Tagi" + +[sidebarLinks] + other = "Linki" + +[sidebarBangumiChart] + other = "Bangumi" + +[footerPoweredFront] + other = "Wspierane Przez " + +[footerPoweredEnd] + other = " " + +[postMetaNoTag] + other = "Bez Tagu" + +[postMetaWordCount] + one = "{{.Count}} słowo" + other = "{{.Count}} słowa" + +[postMetaReadingTime] + one = "{{.Count}} minuta" + other = "{{.Count}} minut" + +[postCopyrightFront] + other = "O ile nie zaznaczono inaczej, zawartość tej witryny jest objęta licencją " + +[postCopyrightEnd] + other = "." + +[postComment] + other = "wczytaj komentarze" + +[archivesTotalPages] + other = "Wszystkie posty: " + +[tagsCurrentTag] + other = "Posty z tagiem {{ .Title }}: " + +[searchSuccess] + other = "[NUM] wyników ([TIME] milisekund)" + +[searchNotFound] + other = "Nieznaleziono wyników" + +[searchFailed] + other = "Nieudało się znaleźć pliku index" \ No newline at end of file -- cgit v1.2.3