feat(i18n): add Arabic translation (#837)
* feat(i18n): add Arabic translation * chore: format
This commit is contained in:
		@@ -6,6 +6,7 @@ import de from "./locales/de-DE"
 | 
			
		||||
import nl from "./locales/nl-NL"
 | 
			
		||||
import ro from "./locales/ro-RO"
 | 
			
		||||
import es from "./locales/es-ES"
 | 
			
		||||
import ar from "./locales/ar-SA"
 | 
			
		||||
import uk from "./locales/uk-UA"
 | 
			
		||||
 | 
			
		||||
export const TRANSLATIONS = {
 | 
			
		||||
@@ -17,6 +18,26 @@ export const TRANSLATIONS = {
 | 
			
		||||
  "ro-RO": ro,
 | 
			
		||||
  "ro-MD": ro,
 | 
			
		||||
  "es-ES": es,
 | 
			
		||||
  "ar-SA": ar,
 | 
			
		||||
  "ar-AE": ar,
 | 
			
		||||
  "ar-QA": ar,
 | 
			
		||||
  "ar-BH": ar,
 | 
			
		||||
  "ar-KW": ar,
 | 
			
		||||
  "ar-OM": ar,
 | 
			
		||||
  "ar-YE": ar,
 | 
			
		||||
  "ar-IR": ar,
 | 
			
		||||
  "ar-SY": ar,
 | 
			
		||||
  "ar-IQ": ar,
 | 
			
		||||
  "ar-JO": ar,
 | 
			
		||||
  "ar-PL": ar,
 | 
			
		||||
  "ar-LB": ar,
 | 
			
		||||
  "ar-EG": ar,
 | 
			
		||||
  "ar-SD": ar,
 | 
			
		||||
  "ar-LY": ar,
 | 
			
		||||
  "ar-MA": ar,
 | 
			
		||||
  "ar-TN": ar,
 | 
			
		||||
  "ar-DZ": ar,
 | 
			
		||||
  "ar-MR": ar,
 | 
			
		||||
  "uk-UA": uk,
 | 
			
		||||
} as const
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										65
									
								
								quartz/i18n/locales/ar-SA.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										65
									
								
								quartz/i18n/locales/ar-SA.ts
									
									
									
									
									
										Normal file
									
								
							@@ -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
 | 
			
		||||
		Reference in New Issue
	
	Block a user