ant-design-vue/components/locale/ar_EG.tsx

121 lines
3.7 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/* eslint-disable no-template-curly-in-string */
import Pagination from '../vc-pagination/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';
import type { Locale } from '../locale-provider';
const typeTemplate = 'ليس ${label} من نوع ${type} صالحًا';
const localeValues: Locale = {
locale: 'ar',
Pagination,
DatePicker,
TimePicker,
Calendar,
global: {
placeholder: 'يرجى التحديد',
},
Table: {
filterTitle: 'الفلاتر',
filterConfirm: 'تأكيد',
filterReset: 'إعادة ضبط',
selectAll: 'اختيار الكل',
selectInvert: 'إلغاء الاختيار',
selectionAll: 'حدد جميع البيانات',
sortTitle: 'رتب',
expand: 'توسيع الصف',
collapse: 'طي الصف',
triggerDesc: 'ترتيب تنازلي',
triggerAsc: 'ترتيب تصاعدي',
cancelSort: 'إلغاء الترتيب',
},
Modal: {
okText: 'تأكيد',
cancelText: 'إلغاء',
justOkText: 'تأكيد',
},
Popconfirm: {
okText: 'تأكيد',
cancelText: 'إلغاء',
},
Transfer: {
searchPlaceholder: 'ابحث هنا',
itemUnit: 'عنصر',
itemsUnit: 'عناصر',
},
Upload: {
uploading: 'جاري الرفع...',
removeFile: 'احذف الملف',
uploadError: 'مشكلة فى الرفع',
previewFile: 'استعرض الملف',
downloadFile: 'تحميل الملف',
},
Empty: {
description: 'لا توجد بيانات',
},
Icon: {
icon: 'أيقونة',
},
Text: {
edit: 'تعديل',
copy: 'نسخ',
copied: 'نقل',
expand: 'وسع',
},
PageHeader: {
back: 'عودة',
},
Form: {
defaultValidateMessages: {
default: 'خطأ في حقل الإدخال ${label}',
required: 'يرجى إدخال ${label}',
enum: '${label} يجب أن يكون واحدا من [${enum}]',
whitespace: '${label} لا يمكن أن يكون حرفًا فارغًا',
date: {
format: '${label} تنسيق التاريخ غير صحيح',
parse: '${label} لا يمكن تحويلها إلى تاريخ',
invalid: 'تاريخ ${label} غير صحيح',
},
types: {
string: typeTemplate,
method: typeTemplate,
array: typeTemplate,
object: typeTemplate,
number: typeTemplate,
date: typeTemplate,
boolean: typeTemplate,
integer: typeTemplate,
float: typeTemplate,
regexp: typeTemplate,
email: typeTemplate,
url: typeTemplate,
hex: typeTemplate,
},
string: {
len: 'يجب ${label} ان يكون ${len} أحرف',
min: '${label} على الأقل ${min} أحرف',
max: '${label} يصل إلى ${max} أحرف',
range: 'يجب ${label} ان يكون مابين ${min}-${max} أحرف',
},
number: {
len: '${len} ان يساوي ${label} يجب',
min: '${min} الأدنى هو ${label} حد',
max: '${max} الأقصى هو ${label} حد',
range: '${max}-${min} ان يكون مابين ${label} يجب',
},
array: {
len: 'يجب أن يكون ${label} طوله ${len}',
min: 'يجب أن يكون ${label} طوله الأدنى ${min}',
max: 'يجب أن يكون ${label} طوله الأقصى ${max}',
range: 'يجب أن يكون ${label} طوله مابين ${min}-${max}',
},
pattern: {
mismatch: 'لا يتطابق ${label} مع ${pattern}',
},
},
},
};
export default localeValues;