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,47 @@
|
||||
toggleMenu = "منو"
|
||||
darkMode = "حالت شب"
|
||||
|
||||
[list]
|
||||
section = "بخش"
|
||||
|
||||
[list.page]
|
||||
one = "{{ .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