es-grid-template
Version:
es-grid-template
88 lines • 1.97 kB
JavaScript
import vi from 'date-fns/locale/vi';
const DateTimeFormats = {
sunday: 'CN',
monday: 'T2',
tuesday: 'T3',
wednesday: 'T4',
thursday: 'T5',
friday: 'T6',
saturday: 'T7',
ok: 'OK',
today: 'Hôm nay',
yesterday: 'Hôm qua',
now: 'Bây giờ',
hours: 'Giờ',
minutes: 'Phút',
seconds: 'Giây',
formattedMonthPattern: 'MMM, yyyy',
formattedDayPattern: ' dd, MMM yyyy',
shortDateFormat: 'dd/MM/yyyy',
shortTimeFormat: 'hh:mm aa',
dateLocale: vi
};
const Combobox = {
noResultsText: 'Không tìm thấy kết quả',
placeholder: 'Chọn',
searchPlaceholder: 'Tìm kiếm',
checkAll: 'Chọn tất cả'
};
const CreatableComboBox = {
...Combobox,
newItem: 'Mục mới',
createOption: 'Tạo tùy chọn "{0}"'
};
export default {
code: 'vi-VN',
common: {
loading: 'Đang tải...',
emptyMessage: 'Không có dữ liệu',
remove: 'Xóa',
clear: 'X'
},
Plaintext: {
unfilled: 'Chưa điền',
notSelected: 'Chưa chọn',
notUploaded: 'Chưa tải lên'
},
Pagination: {
more: 'Xem thêm',
prev: 'Trang trước',
next: 'Trang sau',
first: 'Trang đầu',
last: 'Trang cuối',
limit: '{0} / trang',
total: 'Tổng bản ghi: {0}',
skip: 'Đi đến{0}'
},
DateTimeFormats,
Calendar: DateTimeFormats,
DatePicker: DateTimeFormats,
DateRangePicker: {
...DateTimeFormats,
last7Days: '7 ngày gần nhất',
startDate: 'Ngày bắt đầu',
endDate: 'Ngày kêt thúc'
},
Combobox,
InputPicker: CreatableComboBox,
TagPicker: CreatableComboBox,
Uploader: {
inited: 'Khởi tạo',
progress: 'Đang tải lên',
error: 'Lỗi',
complete: 'Hoàn thành',
emptyFile: 'Trống',
upload: 'Tải lên',
removeFile: 'Xóa file'
},
CloseButton: {
closeLabel: 'Đóng'
},
Breadcrumb: {
expandText: 'Hiển thị đường dẫn'
},
Toggle: {
on: 'Mở',
off: 'Đóng'
}
};