Skip to content

Commit

Permalink
feat(locale): add support for Arabic (#2582)
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadM1998 authored Nov 9, 2024
1 parent febda5c commit 602a667
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
37 changes: 37 additions & 0 deletions src/runtime/locale/ar.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import { defineLocale } from '../composables/defineLocale'

export default defineLocale('العربية', {
inputMenu: {
noMatch: 'لا توجد نتائج مطابقة',
noData: 'لا توجد بيانات'
},
commandPalette: {
noMatch: 'لا توجد نتائج مطابقة',
noData: 'لا توجد بيانات',
close: 'إغلاق'
},
selectMenu: {
noMatch: 'لا توجد نتائج مطابقة',
noData: 'لا توجد بيانات'
},
toast: {
close: 'إغلاق'
},
carousel: {
prev: 'السابق',
next: 'التالي',
goto: 'الذهاب إلي شريحة {slide}'
},
modal: {
close: 'إغلاق'
},
slideover: {
close: 'إغلاق'
},
alert: {
close: 'إغلاق'
},
table: {
noData: 'لا توجد بيانات'
}
})
1 change: 1 addition & 0 deletions src/runtime/locale/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export { default as ar } from './ar'
export { default as de } from './de'
export { default as en } from './en'
export { default as fr } from './fr'
Expand Down

0 comments on commit 602a667

Please sign in to comment.