UNPKG

rsuite

Version:

A suite of react components

95 lines (94 loc) 2.29 kB
'use client'; "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); exports.__esModule = true; exports.default = void 0; var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); var _enGB = _interopRequireDefault(require("date-fns/locale/en-GB")); var DateTimeFormats = { sunday: 'Su', monday: 'Mo', tuesday: 'Tu', wednesday: 'We', thursday: 'Th', friday: 'Fr', saturday: 'Sa', ok: 'OK', today: 'Today', yesterday: 'Yesterday', now: 'Now', hours: 'Hours', minutes: 'Minutes', seconds: 'Seconds', /** * Format of the string is based on Unicode Technical Standard #35: * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table **/ formattedMonthPattern: 'MMM yyyy', formattedDayPattern: 'dd MMM yyyy', shortDateFormat: 'dd/MM/yyyy', shortTimeFormat: 'HH:mm', dateLocale: _enGB.default }; var Combobox = { noResultsText: 'No results found', placeholder: 'Select', searchPlaceholder: 'Search', checkAll: 'All' }; var CreatableComboBox = (0, _extends2.default)({}, Combobox, { newItem: 'New item', createOption: 'Create option "{0}"' }); var _default = exports.default = { code: 'en-GB', common: { loading: 'Loading...', emptyMessage: 'No data found', remove: 'Remove', clear: 'Clear' }, Plaintext: { unfilled: 'Unfilled', notSelected: 'Not selected', notUploaded: 'Not uploaded' }, Pagination: { more: 'More', prev: 'Previous', next: 'Next', first: 'First', last: 'Last', limit: '{0} / page', total: 'Total Rows: {0}', skip: 'Go to{0}' }, DateTimeFormats: DateTimeFormats, Calendar: DateTimeFormats, DatePicker: DateTimeFormats, DateRangePicker: (0, _extends2.default)({}, DateTimeFormats, { last7Days: 'Last 7 Days' }), Combobox: Combobox, InputPicker: CreatableComboBox, TagPicker: CreatableComboBox, Uploader: { inited: 'Initial', progress: 'Uploading', error: 'Error', complete: 'Finished', emptyFile: 'Empty', upload: 'Upload', removeFile: 'Remove file' }, CloseButton: { closeLabel: 'Close' }, Breadcrumb: { expandText: 'Show path' }, Toggle: { on: 'Open', off: 'Close' } };