rsuite
Version:
A suite of react components
90 lines • 2.02 kB
JavaScript
'use client';
import _extends from "@babel/runtime/helpers/esm/extends";
import enGB from '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
};
var Combobox = {
noResultsText: 'No results found',
placeholder: 'Select',
searchPlaceholder: 'Search',
checkAll: 'All'
};
var CreatableComboBox = _extends({}, Combobox, {
newItem: 'New item',
createOption: 'Create option "{0}"'
});
export 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: _extends({}, 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'
}
};