Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(locales): Created fa_IR locale to add support of Persian languag…
…e in Rsuite locals (#2061) * Created fa_IR locale to add support of persian language in rsuite locals * ort mistake & add fa_IR to locale tests page in docs
- Loading branch information
Sina Farhadi
committed
Oct 28, 2021
1 parent
a8baa61
commit 14e5946
Showing
5 changed files
with
83 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
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
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
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,78 @@ | ||
import faIR from 'date-fns/locale/fa-IR'; | ||
|
||
const Calendar = { | ||
sunday: 'یکشنبه', | ||
monday: 'دوشنبه', | ||
tuesday: 'سه شنبه', | ||
wednesday: 'چهارشنبه', | ||
thursday: 'پنجشنبه', | ||
friday: 'جمعه', | ||
saturday: 'شنبه', | ||
ok: 'خوب', | ||
today: 'امروز', | ||
yesterday: 'دیروز', | ||
hours: 'ساعت', | ||
minutes: 'دقیقه', | ||
seconds: 'ثانیه', | ||
formattedMonthPattern: 'MMM, yyyy', | ||
formattedDayPattern: 'MMM dd, yyyy', | ||
dateLocale: faIR as any | ||
}; | ||
|
||
export default { | ||
common: { | ||
loading: 'در حال بارگذاری...', | ||
emptyMessage: 'داده ایی پیدا نشد' | ||
}, | ||
Plaintext: { | ||
unfilled: 'خالی', | ||
notSelected: 'انتخاب نشده', | ||
notUploaded: 'اپلود نشده' | ||
}, | ||
Pagination: { | ||
more: 'بیشتر', | ||
prev: 'قبلی', | ||
next: 'بعدی', | ||
first: 'اول', | ||
last: 'اخر', | ||
limit: '{0} / صفحه', | ||
total: 'مجموع ردیف ها: {0}', | ||
skip: 'برو به{0}' | ||
}, | ||
Calendar, | ||
DatePicker: { | ||
...Calendar | ||
}, | ||
DateRangePicker: { | ||
...Calendar, | ||
last7Days: '7 روز اخر' | ||
}, | ||
Picker: { | ||
noResultsText: 'نتیجه ایی یافت نشد', | ||
placeholder: 'انتخاب', | ||
searchPlaceholder: 'جستجو', | ||
checkAll: 'همه' | ||
}, | ||
InputPicker: { | ||
newItem: 'گزینه جدید', | ||
createOption: 'ساخت گزینه "{0}"' | ||
}, | ||
Uploader: { | ||
inited: 'اولیه', | ||
progress: 'در حال اپلود', | ||
error: 'مشکل', | ||
complete: 'تمام شد', | ||
emptyFile: 'خالی', | ||
upload: 'اپلود' | ||
}, | ||
CloseButton: { | ||
closeLabel: 'بستن' | ||
}, | ||
Breadcrumb: { | ||
expandText: 'نمایش مسیر' | ||
}, | ||
Toggle: { | ||
on: 'باز کردن', | ||
off: 'بستن' | ||
} | ||
}; |
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