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
+48
View File
@@ -0,0 +1,48 @@
toggleMenu = "Показать/скрыть меню"
darkMode = "Тёмный режим"
[list]
section = "Раздел"
[list.page]
one = "{{ .Count }} страница"
few = "{{ .Count }} страницы"
many = "{{ .Count }} страниц"
other = "{{ .Count }} страниц"
[list.subsection]
one = "Подраздел"
few = "Подразделы"
many = "Подразделы"
other = "Подразделы"
[article]
back = "Назад"
relatedContent = "Также рекомендуем"
lastUpdatedOn = "Обновлено"
tableOfContents = "Содержание"
readingTime = "Время чтения: {{ .Count }} мин."
[notFound]
title = "Не найдено"
subtitle = "Запрашиваемая страница не существует"
[widget]
[widget.archives]
title = "Архивы"
more = "Ещё"
[widget.tagCloud]
title = "Теги"
[widget.categoriesCloud]
title = "Категории"
[search]
title = "Поиск"
placeholder = "Введите что-нибудь..."
resultTitle = "Найдено #PAGES_COUNT страниц (за #TIME_SECONDS с.)"
[footer]
builtWith = "Создано при помощи {{ .Generator }}"
designedBy = "Тема {{ .Theme }}, дизайн {{ .DesignedBy }}"