forked from jackyzha0/quartz
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(i18n): add Arabic translation (jackyzha0#837)
* feat(i18n): add Arabic translation * chore: format
- Loading branch information
Showing
2 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
import { Translation } from "./definition" | ||
|
||
export default { | ||
propertyDefaults: { | ||
title: "غير معنون", | ||
description: "لم يتم تقديم أي وصف", | ||
}, | ||
components: { | ||
backlinks: { | ||
title: "وصلات العودة", | ||
noBacklinksFound: "لا يوجد وصلات عودة", | ||
}, | ||
themeToggle: { | ||
lightMode: "الوضع النهاري", | ||
darkMode: "الوضع الليلي", | ||
}, | ||
explorer: { | ||
title: "المستعرض", | ||
}, | ||
footer: { | ||
createdWith: "أُنشئ باستخدام", | ||
}, | ||
graph: { | ||
title: "التمثيل التفاعلي", | ||
}, | ||
recentNotes: { | ||
title: "آخر الملاحظات", | ||
seeRemainingMore: ({ remaining }) => `تصفح ${remaining} أكثر →`, | ||
}, | ||
transcludes: { | ||
transcludeOf: ({ targetSlug }) => `مقتبس من ${targetSlug}`, | ||
linkToOriginal: "وصلة للملاحظة الرئيسة", | ||
}, | ||
search: { | ||
title: "بحث", | ||
searchBarPlaceholder: "ابحث عن شيء ما", | ||
}, | ||
tableOfContents: { | ||
title: "فهرس المحتويات", | ||
}, | ||
}, | ||
pages: { | ||
rss: { | ||
recentNotes: "آخر الملاحظات", | ||
lastFewNotes: ({ count }) => `آخر ${count} ملاحظة`, | ||
}, | ||
error: { | ||
title: "غير موجود", | ||
notFound: "إما أن هذه الصفحة خاصة أو غير موجودة.", | ||
}, | ||
folderContent: { | ||
folder: "مجلد", | ||
itemsUnderFolder: ({ count }) => | ||
count === 1 ? "يوجد عنصر واحد فقط تحت هذا المجلد" : `يوجد ${count} عناصر تحت هذا المجلد.`, | ||
}, | ||
tagContent: { | ||
tag: "الوسم", | ||
tagIndex: "مؤشر الوسم", | ||
itemsUnderTag: ({ count }) => | ||
count === 1 ? "يوجد عنصر واحد فقط تحت هذا الوسم" : `يوجد ${count} عناصر تحت هذا الوسم.`, | ||
showingFirst: ({ count }) => `إظهار أول ${count} أوسمة.`, | ||
totalTags: ({ count }) => `يوجد ${count} أوسمة.`, | ||
}, | ||
}, | ||
} as const satisfies Translation |