-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(locale): add Persian language (#2682)
Co-authored-by: Ali Zemani <[email protected]> Co-authored-by: Benjamin Canac <[email protected]>
- Loading branch information
1 parent
25091ba
commit 14fb21b
Showing
2 changed files
with
49 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
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: 'دادهای موجود نیست' | ||
} | ||
} | ||
}) |
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