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

109 lines
3.7 KiB
Vue

/* eslint-disable no-template-curly-in-string */
import Pagination from '../vc-pagination/locale/km_KH';
import DatePicker from '../date-picker/locale/km_KH';
import TimePicker from '../time-picker/locale/km_KH';
import Calendar from '../calendar/locale/km_KH';
import type { Locale } from '../locale-provider';
const typeTemplate = '${label} is not a valid ${type}';
const localeValues: Locale = {
locale: 'km',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'แž”แž‰แŸ’แž…แžธแžแž˜แŸ’แžšแŸ€แž”',
filterConfirm: 'แž™แž›แŸ‹แž–แŸ’แžšแž˜',
filterReset: 'แžแŸ’แžšแžกแž”แŸ‹แžŠแžพแž˜',
filterEmptyText: 'แž‚แŸ’แž˜แžถแž“แž”แž‰แŸ’แž…แžธแžแž˜แŸ’แžšแŸ€แž”',
emptyText: 'แž‚แŸ’แž˜แžถแž“แž‘แžทแž“แŸ’แž“แž“แŸแž™',
selectAll: 'แžšแžพแžŸแž€แŸ’แž“แžปแž„แž‘แŸ†แž–แŸแžšแž“แŸแŸ‡',
selectInvert: 'แž”แž‰แŸ’แž…แŸ’แžšแžถแžŸแž€แŸ’แž“แžปแž„แž‘แŸ†แž–แŸแžšแž“แŸแŸ‡',
selectNone: 'แž›แžปแž”แž…แŸแž‰แž‘แžถแŸ†แž„แžขแžŸแŸ‹',
selectionAll: 'แžšแžพแžŸแž™แž€แž‘แžถแŸ†แž„แžขแžŸแŸ‹',
sortTitle: 'แžแž˜แŸ’แžšแŸ€แž”',
expand: 'แž–แž“แŸ’แž›แžถแž',
collapse: 'แž”แžทแžแž”แžถแŸ†แž„',
triggerDesc: 'แž…แžปแž…แžŠแžพแž˜แŸ’แž”แžธแžšแŸ€แž”แžแžถแž˜แž›แŸ†แžŠแžถแž”แŸ‹แž’แŸ†',
triggerAsc: 'แž…แžปแž…แžŠแžพแž˜แŸ’แž”แžธแžšแŸ€แž”แžแžถแž˜แž›แŸ†แžŠแžถแž”แŸ‹แžแžผแž…โ€‹',
cancelSort: 'แž…แžปแž…แžŠแžพแž˜แŸ’แž”แžธแž”แŸ„แŸ‡แž”แž„แŸ‹',
},
Modal: {
okText: 'แž™แž›แŸ‹แž–แŸ’แžšแž˜',
cancelText: 'แž”แŸ„แŸ‡แž”แž„แŸ‹',
justOkText: 'แž™แž›แŸ‹แž–แŸ’แžšแž˜',
},
Popconfirm: {
okText: 'แž™แž›แŸ‹แž–แŸ’แžšแž˜',
cancelText: 'แž”แŸ„แŸ‡แž”แž„แŸ‹',
},
Transfer: {
searchPlaceholder: 'แžŸแŸ’แžœแŸ‚แž„แžšแž€แž“แŸ…แž‘แžธแž“แŸแŸ‡',
itemUnit: '',
itemsUnit: 'items',
},
Upload: {
uploading: 'แž€แŸ†แž–แžปแž„แž”แž‰แŸ’แž…แžผแž›แžกแžพแž„...',
removeFile: 'แž›แžปแž”แžฏแž€แžŸแžถแžš',
uploadError: 'แž”แž‰แŸ’แž…แžผแž›แž˜แžทแž“แž‡แŸ„แž€แž‡แŸแž™',
previewFile: 'แž˜แžพแž›แžฏแž€แžŸแžถแžš',
downloadFile: 'แž‘แžถแž‰แž™แž€แžฏแž€แžŸแžถแžš',
},
Empty: {
description: 'แž‚แŸ’แž˜แžถแž“แž‘แžทแž“แŸ’แž“แž“แŸแž™',
},
Form: {
defaultValidateMessages: {
default: 'Field validation error for ${label}',
required: 'Please enter ${label}',
enum: '${label} must be one of [${enum}]',
whitespace: '${label} cannot be a blank character',
date: {
format: '${label} date format is invalid',
parse: '${label} cannot be converted to a date',
invalid: '${label} is an invalid date',
},
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} must be ${len} characters',
min: '${label} must be at least ${min} characters',
max: '${label} must be up to ${max} characters',
range: '${label} must be between ${min}-${max} characters',
},
number: {
len: '${label} must be equal to ${len}',
min: '${label} must be minimum ${min}',
max: '${label} must be maximum ${max}',
range: '${label} must be between ${min}-${max}',
},
array: {
len: 'Must be ${len} ${label}',
min: 'At least ${min} ${label}',
max: 'At most ${max} ${label}',
range: 'The amount of ${label} must be between ${min}-${max}',
},
pattern: {
mismatch: '${label} does not match the pattern ${pattern}',
},
},
},
};
export default localeValues;