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:
@@ -0,0 +1,48 @@
|
||||
toggleMenu = "Показати меню"
|
||||
darkMode = "Темна тема"
|
||||
|
||||
[list]
|
||||
section = "Секція"
|
||||
|
||||
[list.page]
|
||||
one = "{{ .Count }} сторінка"
|
||||
few = "{{ .Count }} сторінки"
|
||||
other = "{{ .Count }} сторінок"
|
||||
|
||||
[list.subsection]
|
||||
one = "Підсекція"
|
||||
other = "Підсекції"
|
||||
|
||||
[article]
|
||||
back = "Назад"
|
||||
tableOfContents = "Зміст"
|
||||
relatedContent = "Схожі матеріали"
|
||||
lastUpdatedOn = "Востаннє оновлено"
|
||||
|
||||
[article.readingTime]
|
||||
one = "Час читання: {{ .Count }} хв"
|
||||
other = "Час читання: {{ .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 }}"
|
||||
Reference in New Issue
Block a user