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 = "تُقرأ خلال دقيقة"
|
||||
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