Files

79 lines
1.9 KiB
JavaScript
Raw Permalink 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.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';
}
}
}
}
};