mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
feat(locale): add Persian language (#2682)
Co-authored-by: Ali Zemani <ali.ze@arianatech.ir> Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
48
src/runtime/locale/fa_ir.ts
Normal file
48
src/runtime/locale/fa_ir.ts
Normal file
@@ -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: 'دادهای موجود نیست'
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user