101 lines
3.0 KiB
Vue
101 lines
3.0 KiB
Vue
|
/* eslint-disable no-template-curly-in-string */
|
||
|
import Pagination from '../vc-pagination/locale/ko_KR';
|
||
|
import DatePicker from '../date-picker/locale/ko_KR';
|
||
|
import TimePicker from '../time-picker/locale/ko_KR';
|
||
|
import Calendar from '../calendar/locale/ko_KR';
|
||
|
import type { Locale } from '../locale-provider';
|
||
|
|
||
|
const typeTemplate = '${label} ์ ํจํ์ง ์์ ${type}';
|
||
|
|
||
|
const localeValues: Locale = {
|
||
|
locale: 'ko',
|
||
|
Pagination,
|
||
|
DatePicker,
|
||
|
TimePicker,
|
||
|
Calendar,
|
||
|
Table: {
|
||
|
filterTitle: 'ํํฐ ๋ฉ๋ด',
|
||
|
filterConfirm: 'ํ์ธ',
|
||
|
filterReset: '์ด๊ธฐํ',
|
||
|
filterEmptyText: 'ํํฐ ์์',
|
||
|
emptyText: '๋ฐ์ดํฐ ์์',
|
||
|
selectAll: '๋ชจ๋ ์ ํ',
|
||
|
selectInvert: '์ ํ ๋ฐ์ ',
|
||
|
},
|
||
|
Modal: {
|
||
|
okText: 'ํ์ธ',
|
||
|
cancelText: '์ทจ์',
|
||
|
justOkText: 'ํ์ธ',
|
||
|
},
|
||
|
Popconfirm: {
|
||
|
okText: 'ํ์ธ',
|
||
|
cancelText: '์ทจ์',
|
||
|
},
|
||
|
Transfer: {
|
||
|
searchPlaceholder: '์ฌ๊ธฐ์ ๊ฒ์ํ์ธ์',
|
||
|
itemUnit: '๊ฐ',
|
||
|
itemsUnit: '๊ฐ',
|
||
|
},
|
||
|
Upload: {
|
||
|
uploading: '์
๋ก๋ ์ค...',
|
||
|
removeFile: 'ํ์ผ ์ญ์ ',
|
||
|
uploadError: '์
๋ก๋ ์คํจ',
|
||
|
previewFile: 'ํ์ผ ๋ฏธ๋ฆฌ๋ณด๊ธฐ',
|
||
|
downloadFile: 'ํ์ผ ๋ค์ด๋ก๋',
|
||
|
},
|
||
|
Empty: {
|
||
|
description: '๋ฐ์ดํฐ ์์',
|
||
|
},
|
||
|
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: '${label} ๊ฐ์ ${len}์ด์ด์ผ ํฉ๋๋ค',
|
||
|
min: '${label} ์ต์๊ฐ์ ${min}์
๋๋ค',
|
||
|
max: '${label} ์ต๋๊ฐ์ ${max}์
๋๋ค',
|
||
|
range: '${label} ๊ฐ์ ${min}-${max} ์ฌ์ด์ด์ผ ํฉ๋๋ค',
|
||
|
},
|
||
|
array: {
|
||
|
len: '${len}์ด์ด์ผ ํฉ๋๋ค ${label} ',
|
||
|
min: '์ต์ ${min}์ด์ด์ผ ํฉ๋๋ค ${label}',
|
||
|
max: '์ต๋ ${max}์ด์ด์ผ ํฉ๋๋ค ${label}',
|
||
|
range: '${label} ${min}-${max} ์ฌ์ด์ด์ผ ํฉ๋๋ค',
|
||
|
},
|
||
|
pattern: {
|
||
|
mismatch: '${label} ${pattern} ํจํด๊ณผ ์ผ์นํ์ง ์์ต๋๋ค',
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export default localeValues;
|