UNPKG

acud

Version:

acg react 组件库

154 lines (153 loc) • 4.25 kB
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _en_US = _interopRequireDefault(require("../date-picker/locale/en_US")); var _en_US2 = _interopRequireDefault(require("../pagination/rc-pagination/locale/en_US")); var typeTemplate = '${label} is not a valid ${type}'; var localeValues = { locale: 'en', global: { placeholder: 'Please select' }, DatePicker: _en_US["default"], Table: { filterTitle: 'Filter menu', filterConfirm: 'OK', filterReset: 'Reset', filterEmptyText: 'No filters', filterCheckall: 'Select all', filterAll: 'All', emptyText: '', selectAll: 'Select current page', selectInvert: 'Invert current page', selectNone: 'Clear all data', selectionAll: 'Select all data', sortTitle: 'Sort', expand: 'Expand row', collapse: 'Collapse row', triggerDesc: 'Click to sort descending', triggerAsc: 'Click to sort ascending', cancelSort: 'Click to cancel sorting' }, Modal: { okText: 'OK', cancelText: 'Cancel', justOkText: 'OK', funcCloseText: 'Close', funcRetryText: 'Retry' }, Popconfirm: { okText: 'OK', cancelText: 'Cancel' }, Transfer: { sourceTitle: 'Options', searchPlaceholder: 'Search here', sourceNoData: 'No Data', sourceNoSearchData: 'No search Data', targetTitle: 'Selected Options', targetNoData: 'Please select the data on the left', targetNoSearchData: 'No search Data', clearAll: 'Clear all data', workerLoadingTip: 'Data calculating ...' }, Upload: { uploading: 'Uploading...', removeFile: 'Remove file', uploadFile: 'Upload file', uploadError: 'Upload error', previewFile: 'Preview file', downloadFile: 'Download file' }, Empty: { description: 'No Data' }, Icon: { icon: 'icon' }, Text: { edit: 'Edit', copy: 'Copy', copied: 'Copied', expand: 'Expand' }, PageHeader: { back: 'Back' }, Form: { optional: '(optional)', 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}' } } }, Image: { preview: 'Preview' }, Select: { placeholder: 'Please select', checkAll: 'Select all', empty: 'No data', filterEmpty: 'No results found' }, Cascader: { placeholder: 'Please select', checkAll: 'Select all', empty: 'No data', filterEmpty: 'No results found' }, ImgCrop: { modalTitle: 'Edit Image' }, Input: { placeholder: 'Please enter' }, Pagination: _en_US2["default"] }; var _default = exports["default"] = localeValues;