ant-design/components/locale-provider/ar_EG.tsx
Mohamed Seada fa315e9f6d Add new locale (ar-EG: Arabic Egypt) #3 (#7888)
* Add new locale (ar-EG: Arabic Egypt)

* resolve snapshot testing problem

* Add new locale (ar-EG: Arabic Egypt) to docs
2017-10-14 14:30:54 +08:00

48 lines
1.2 KiB
TypeScript

import moment from 'moment';
moment.locale('ar');
import Pagination from 'rc-pagination/lib/locale/ar_EG';
import DatePicker from '../date-picker/locale/ar_EG';
import TimePicker from '../time-picker/locale/ar_EG';
import Calendar from '../calendar/locale/ar_EG';
export default {
locale: 'ar',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'الفلاتر',
filterConfirm: 'تأكيد',
filterReset: 'إعادة ضبط',
emptyText: 'لا توجد بيانات',
selectAll: 'اختيار الكل',
selectInvert: 'إلغاء الاختيار',
},
Modal: {
okText: 'تأكيد',
cancelText: 'إلغاء',
justOkText: 'تأكيد',
},
Popconfirm: {
okText: 'تأكيد',
cancelText: 'إلغاء',
},
Transfer: {
notFoundContent: 'لا يوجد محتوى',
searchPlaceholder: 'ابحث هنا',
itemUnit: 'عنصر',
itemsUnit: 'عناصر',
},
Select: {
notFoundContent: 'لايوجد محتوى',
},
Upload: {
uploading: 'جاري الرفع...',
removeFile: 'احذف الملف',
uploadError: 'مشكلة فى الرفع',
previewFile: 'استعرض الملف',
},
};