UNPKG

@mui/material

Version:

Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.

79 lines (78 loc) 2.04 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.viVN = void 0; const viVN = exports.viVN = { components: { MuiBreadcrumbs: { defaultProps: { expandText: 'Mở ra' } }, MuiTablePagination: { defaultProps: { getItemAriaLabel: type => { if (type === 'first') { return 'Tới trang đầu tiên'; } if (type === 'last') { return 'Tới trang cuối cùng'; } if (type === 'next') { return 'Tới trang tiếp theo'; } // if (type === 'previous') { return 'Về trang trước đó'; }, labelRowsPerPage: 'Số hàng mỗi trang:', labelDisplayedRows: ({ from, to, count }) => `${from}${to} trong ${count !== -1 ? count : `nhiều hơn ${to}`}` } }, MuiRating: { defaultProps: { getLabelText: value => `${value} sao`, emptyLabelText: 'Không có dữ liệu' } }, MuiAutocomplete: { defaultProps: { clearText: 'Xóa', closeText: 'Đóng', loadingText: 'Đang tải…', noOptionsText: 'Không có lựa chọn nào', openText: 'Mở' } }, MuiAlert: { defaultProps: { closeText: 'Đóng' } }, MuiPagination: { defaultProps: { 'aria-label': 'Thanh điều khiển trang', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${selected ? '' : 'Tới '}trang ${page}`; } if (type === 'first') { return 'Tới trang đầu tiên'; } if (type === 'last') { return 'Tới trang cuối cùng'; } if (type === 'next') { return 'Tới trang tiếp theo'; } // if (type === 'previous') { return 'Về trang trước đó'; } } } } };