Files

81 lines
2.2 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.elGR = void 0;
const elGR = exports.elGR = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Εμφάνιση διαδρομής'
}
},
MuiTablePagination: {
defaultProps: {
getItemAriaLabel: type => {
if (type === 'first') {
return 'Πρώτη σελίδα';
}
if (type === 'last') {
return 'Τελευταία σελίδα';
}
if (type === 'next') {
return 'Επόμενη σελίδα';
}
// if (type === "previous") {
return 'Προηγούμενη σελίδα';
},
labelRowsPerPage: 'Γραμμές ανα σελίδα:',
labelDisplayedRows: ({
from,
to,
count
}) => `${from}${to} από ${count !== -1 ? count : `πάνω από ${to}`}`
}
},
MuiRating: {
defaultProps: {
getLabelText: value => `${value} Αστέρι${value !== 1 ? 'α' : ''}`,
emptyLabelText: 'Χωρίς βαθμολόγηση'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Καθαρισμός',
closeText: 'Κλείσιμο',
loadingText: 'Φόρτωση…',
noOptionsText: 'Δεν υπάρχουν επιλογές',
openText: 'Άνοιγμα'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Κλείσιμο'
}
},
MuiPagination: {
defaultProps: {
'aria-label': 'Πλοήγηση σε σελίδες',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return `${selected ? '' : 'Μετάβαση '}σελίδα ${page}`;
}
if (type === 'first') {
return 'Πρώτη σελίδα';
}
if (type === 'last') {
return 'Τελευταία σελίδα';
}
if (type === 'next') {
return 'Επόμενη σελίδα';
}
// if (type === "previous") {
return 'Προηγούμενη σελίδα';
}
}
}
}
};