Files
IronSteelNon-ferrousMetallu…/node_modules/@mui/material/locale/viVN.js

79 lines
2.0 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"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 đó';
}
}
}
}
};