Skip to content

Commit

Permalink
feat(locale): add Persian language (#2682)
Browse files Browse the repository at this point in the history
Co-authored-by: Ali Zemani <[email protected]>
Co-authored-by: Benjamin Canac <[email protected]>
  • Loading branch information
3 people authored Nov 19, 2024
1 parent 25091ba commit 14fb21b
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
48 changes: 48 additions & 0 deletions src/runtime/locale/fa_ir.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import { defineLocale } from '../composables/defineLocale'

export default defineLocale({
name: 'فارسی',
code: 'fa-IR',
dir: 'rtl',
messages: {
inputMenu: {
noMatch: 'داده‌ای یافت نشد',
noData: 'داده‌ای موجود نیست',
create: 'ایجاد "{label}"'
},
inputNumber: {
increment: 'افزایش',
decrement: 'کاهش'
},
commandPalette: {
noMatch: 'داده‌ای یافت نشد',
noData: 'داده‌ای موجود نیست',
close: 'بستن'
},
selectMenu: {
noMatch: 'داده‌ای یافت نشد',
noData: 'داده‌ای موجود نیست',
create: 'ایجاد "{label}"'
},
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
Expand Up @@ -4,6 +4,7 @@ export { default as de } from './de'
export { default as en } from './en'
export { default as es } from './es'
export { default as fr } from './fr'
export { default as fa_ir } from './fa_ir'
export { default as it } from './it'
export { default as pl } from './pl'
export { default as ru } from './ru'
Expand Down

0 comments on commit 14fb21b

Please sign in to comment.