1
0
Fork 0
mirror of https://github.com/dillonzq/LoveIt.git synced 2025-03-30 10:59:15 +02:00

Merge pull request from mustafaalbazy/patch-1

Add Arabic translation
This commit is contained in:
Dillon 2022-05-17 23:03:46 +08:00 committed by GitHub
commit c2b35c746b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 199 additions and 0 deletions
README.mdREADME.zh-cn.md
exampleSite/content/posts/theme-documentation-basics
i18n

View file

@ -141,6 +141,7 @@ LoveIt supports the following languages:
* Russian
* Romanian
* Vietnamese
* Arabic
* [Contribute with a new language](https://github.com/dillonzq/LoveIt/pulls)
[Languages Compatibility](https://hugoloveit.com/theme-documentation-basics/#language-compatibility)

View file

@ -136,6 +136,7 @@ LoveIt 支持下列语言:
* 俄语
* 罗马尼亚语
* 越南语
* 阿拉伯语
* [贡献一种新的语言](https://github.com/dillonzq/LoveIt/pulls)
[语言兼容性](https://hugoloveit.com/zh-cn/theme-documentation-basics/#language-compatibility)

View file

@ -843,6 +843,7 @@ In `assets/css/_custom.scss`, you can add some css style code to customize the s
| Russian | `ru` | `ru` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
| Romanian | `ro` | `ro` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
| Vietnamese | `vi` | `vi` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
| Arabic | `ar` | `ar` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
### 4.2 Basic Configuration

View file

@ -845,6 +845,7 @@ $code-font-family: Fira Mono, Source Code Pro, Menlo, Consolas, Monaco, monospac
| 俄语 | `ru` | `ru` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
| 罗马尼亚语 | `ro` | `ro` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
| 越南语 | `vi` | `vi` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
| 阿拉伯语 | `ar` | `ar` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
### 4.2 基本配置

195
i18n/ar.toml Normal file
View file

@ -0,0 +1,195 @@
# Translations for Arabic
# https://gohugo.io/content-management/multilingual/#translation-of-strings
# === baseof ==
[backToTop]
other = "الرجوع للأعلى"
[viewComments]
other = "عرض التعليقات"
# === baseof ==
# === Post ===
[posts]
other = "التدوينات"
# === Post ===
# === Taxonomy ===
[allSome]
other = "كُل {{ .Some }}"
[tag]
other = "وسم"
[tags]
other = "وسوم"
[category]
other = "تصنيف"
[categories]
other = "التصانيف"
# === Taxonomy ===
# === Pagination ===
[more]
other = "المزيد"
# === Pagination ===
# === partials/header.html ===
[selectLanguage]
other = "إختيار اللغة"
[switchTheme]
other = "تغيير القالب"
# === partials/header.html ===
# === partials/footer.html ===
[poweredBySome]
other = "يعمل الموقع بنظام {{ .Hugo }} | التصميم مقدم من {{ .Theme }}"
# === partials/footer.html ===
# === partials/comment.html ===
[valineLang]
other = "ar"
[valinePlaceholder]
other = "تعليقك..."
[facebookLanguageCode]
other = "ar_AR"
# === partials/comment.html ===
# === partials/assets.html ===
[search]
other = "بحث"
[searchPlaceholder]
other = "ابحث في العناوين او المحتوى..."
[clear]
other = "مسح"
[cancel]
other = "إلغاء"
[noResultsFound]
other = "لا يوجد نتائج"
[lunrLanguageCode]
other = "ar"
[copyToClipboard]
other = "نسخ"
[cookieconsentMessage]
other = "هذا الموقع يستخدم الكوكيز لتجربة تصفح افضل."
[cookieconsentDismiss]
other = "حسنًا"
[cookieconsentLink]
other = "معرفة المزيد"
# === partials/assets.html ===
# === partials/plugin/share.html ===
[shareOn]
other = "مشاركة الرابط"
# === partials/plugin/share.html ===
# === posts/single.html ===
[contents]
other = "المحتويات"
[publishedOnDate]
other = "نُشرت في {{ .Date }}"
[includedInCategories]
other = "في تصنيف {{ .Categories }}"
[wordCount]
one = "كلمة واحدة"
other = "{{ .Count }} كلمة"
[readingTime]
one = "دقيقة واحدة"
other = "{{ .Count }} دقيقة"
[views]
other = "مشاهدات"
[author]
other = "الكاتب"
[updatedOnDate]
other = "تم التحديث في {{ .Date }}"
[readMarkdown]
other = "قراءة نص المارك داون"
[back]
other = "الرجوع"
[home]
other = "الرئيسية"
[readMore]
other = "قراءة المزيد"
# === posts/single.html ===
# === 404.html ===
[pageNotFound]
other = "لم يتم العثور على الصفحة"
[pageNotFoundText]
other = "الصفحة التي تحاول الوصول اليها لم يتم العثور عليها."
# === 404.html ===
# === shortcodes/admonition.html ===
[note]
other = "ملاحظة"
[abstract]
other = "مقدمة"
[info]
other = "معلومات"
[tip]
other = "نصيحة"
[success]
other = "نجح"
[question]
other = "سؤال"
[warning]
other = "تحذير"
[failure]
other = "فشل"
[danger]
other = "خطر"
[bug]
other = "خطئ برمجي"
[example]
other = "مثال"
[quote]
other = "إقتباس"
# === shortcodes/admonition.html ===
# === shortcodes/version.html ===
[new]
other = "جديد"
[changed]
other = "تم تعديله"
[deleted]
other = "حُذف"
# === shortcodes/version.html ===