refactor: migrate i18n files from YAML to TOML format and simplify structure (#1230)

* refactor: migrate i18n files from YAML to TOML format and simplify structure

* refactor: make translation file adjust to gohugoio/locales language code so date translation can work properly

* refactor: use hyphens instead of underscores for i18n, because that's how Hugo pick the translation file

* docs: update comments for i18n language availability and CJK language detection in hugo.toml.
This commit is contained in:
Jimmy
2026-01-25 21:01:32 +01:00
committed by GitHub
parent 406fcef7cd
commit c872a77edb
73 changed files with 1495 additions and 2303 deletions
+58
View File
@@ -0,0 +1,58 @@
toggleMenu = "Przełącz Menu"
darkMode = "Tryb ciemny"
[list]
section = "Sekcja"
[list.page]
one = "{{ .Count }} strona"
few = "{{ .Count }} strony"
many = "{{ .Count }} stron"
other = "{{ .Count }} stron"
[list.subsection]
one = "Podsekcja"
few = "Podsekcje"
many = "Podsekcji"
other = "Podsekcji"
[article]
back = "Wróć"
tableOfContents = "Spis treści"
relatedContent = "Powiązane artykuły"
lastUpdatedOn = "Ostatnio zaktualizowany"
[article.readingTime]
one = "Przeczytasz w {{ .Count }} minutę"
few = "Przeczytasz w {{ .Count }} minuty"
many = "Przeczytasz w {{ .Count }} minut"
other = "Przeczytasz w {{ .Count }} minut"
[notFound]
title = "Nie znaleziono"
subtitle = "Ta strona nie istnieje"
[widget]
[widget.archives]
title = "Archiwum"
more = "Więcej"
[widget.tagCloud]
title = "Tagi"
[widget.categoriesCloud]
title = "Kategorie"
[search]
title = "Szukaj"
placeholder = "Wpisz coś..."
[search.resultTitle]
one = "#PAGES_COUNT strona (#TIME_SECONDS sekund)"
few = "#PAGES_COUNT strony (#TIME_SECONDS sekund)"
many = "#PAGES_COUNT stron (#TIME_SECONDS sekund)"
other = "#PAGES_COUNT stron (#TIME_SECONDS sekund)"
[footer]
builtWith = "Zbudowano z {{ .Generator }}"
designedBy = "Motyw {{ .Theme }} zaprojektowany przez {{ .DesignedBy }}"