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;
 |