mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 04:48:02 +08:00
fa315e9f6d
* Add new locale (ar-EG: Arabic Egypt) * resolve snapshot testing problem * Add new locale (ar-EG: Arabic Egypt) to docs
48 lines
1.2 KiB
TypeScript
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: 'استعرض الملف',
|
|
},
|
|
};
|