@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) • 1.95 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.trTR = void 0;
const trTR = exports.trTR = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Yolu göster'
}
},
MuiTablePagination: {
defaultProps: {
getItemAriaLabel: type => {
if (type === 'first') {
return 'İlk sayfaya git';
}
if (type === 'last') {
return 'Son sayfaya git';
}
if (type === 'next') {
return 'Sonraki sayfaya git';
}
// if (type === 'previous') {
return 'Önceki sayfaya git';
},
labelRowsPerPage: 'Sayfa başına satır:',
labelDisplayedRows: ({
from,
to,
count
}) => `${from}-${to} / ${count !== -1 ? count : `${to}'den fazla`}`
}
},
MuiRating: {
defaultProps: {
getLabelText: value => `${value} Yıldız`,
emptyLabelText: 'Boş'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Temizle',
closeText: 'Kapat',
loadingText: 'Yükleniyor…',
noOptionsText: 'Seçenek yok',
openText: 'Aç'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Kapat'
}
},
MuiPagination: {
defaultProps: {
'aria-label': 'Sayfa navigasyonu',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return `${page}. ${selected ? 'sayfa' : 'sayfaya git'}`;
}
if (type === 'first') {
return 'İlk sayfaya git';
}
if (type === 'last') {
return 'Son sayfaya git';
}
if (type === 'next') {
return 'Sonraki sayfaya git';
}
// if (type === 'previous') {
return 'Önceki sayfaya git';
}
}
}
}
};