UNPKG

@material-ui/core

Version:

React components that implement Google's Material Design.

2,040 lines (1,827 loc) 58.2 kB
export const azAZ = { props: { MuiBreadcrumbs: { expandText: 'Yolu göstər' }, MuiTablePagination: { getItemAriaLabel: type => { if (type === 'first') { return 'Birinci səhifəyə keç'; } if (type === 'last') { return 'Sonuncu səhifəyə keç'; } if (type === 'next') { return 'Növbəti səhifəyə keç'; } // if (type === 'previous') { return 'Əvvəlki səhifəyə keç'; }, labelRowsPerPage: 'Səhifəyə düşən sətrlər:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} dən ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => { let pluralForm = 'Ulduz'; const lastDigit = value % 10; if (lastDigit > 1 && lastDigit < 5) { pluralForm = 'Ulduzlar'; } return `${value} ${pluralForm}`; }, emptyLabelText: 'Boş' }, MuiAutocomplete: { clearText: 'Silmək', closeText: 'Bağlamaq', loadingText: 'Yüklənir…', noOptionsText: 'Seçimlər mövcud deyil', openText: 'Открыть' }, MuiAlert: { closeText: 'Bağlamaq' }, MuiPagination: { 'aria-label': 'Səhifənin naviqasiyası', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${page} ${selected ? 'səhifə' : 'səhifəyə keç'}`; } if (type === 'first') { return 'Birinci səhifəyə keç'; } if (type === 'last') { return 'Sonuncu səhifəyə keç'; } if (type === 'next') { return 'Növbəti səhifəyə keç'; } // if (type === 'previous') { return 'Əvvəlki səhifəyə keç'; } } } }; export const bgBG = { props: { MuiBreadcrumbs: { expandText: 'Показване на пътя' }, MuiTablePagination: { 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 : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} Звезд${value !== 1 ? 'и' : 'а'}`, emptyLabelText: 'Изчисти' }, MuiAutocomplete: { clearText: 'Изчисти', closeText: 'Затвори', loadingText: 'Зареждане…', noOptionsText: 'Няма налични опции', openText: 'Отвори' }, MuiAlert: { closeText: 'Затвори' }, MuiPagination: { '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 'Отиди на предишната страница'; } } } }; export const caES = { props: { // MuiBreadcrumbs: { // expandText: 'Show path', // }, MuiTablePagination: { // getItemAriaLabel: (type) => { // if (type === 'first') { // return 'Go to first page'; // } // if (type === 'last') { // return 'Go to last page'; // } // if (type === 'next') { // return 'Go to next page'; // } // // if (type === 'previous') { // return 'Go to previous page'; // }, labelRowsPerPage: 'Files per pàgina:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} de ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} ${value !== 1 ? 'Estrelles' : 'Estrella'}`, emptyLabelText: 'Buit' }, MuiAutocomplete: { clearText: 'Netejar', closeText: 'Tancar', loadingText: 'Carregant…', noOptionsText: 'Sense opcions', openText: 'Obert' }, MuiAlert: { closeText: 'Tancat' } // MuiPagination: { // 'aria-label': 'Pagination navigation', // getItemAriaLabel: (type, page, selected) => { // if (type === 'page') { // return `${selected ? '' : 'Go to '}page ${page}`; // } // if (type === 'first') { // return 'Go to first page'; // } // if (type === 'last') { // return 'Go to last page'; // } // if (type === 'next') { // return 'Go to next page'; // } // // if (type === 'previous') { // return 'Go to previous page'; // }, // }, } }; export const csCZ = { props: { MuiBreadcrumbs: { expandText: 'Ukázat cestu' }, MuiTablePagination: { getItemAriaLabel: type => { if (type === 'first') { return 'Jít na první stránku'; } if (type === 'last') { return 'Jít na poslední stránku'; } if (type === 'next') { return 'Jít na další stránku'; } // if (type === 'previous') { return 'Jít na předchozí stránku'; }, labelRowsPerPage: 'Řádků na stránce:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} z ${count !== -1 ? count : `více než ${to}`}` }, MuiRating: { getLabelText: value => { if (value === 1) { return `${value} hvězdička`; } if (value >= 2 && value <= 4) { return `${value} hvězdičky`; } return `${value} hvězdiček`; }, emptyLabelText: 'Prázdné' }, MuiAutocomplete: { clearText: 'Vymazat', closeText: 'Zavřít', loadingText: 'Načítání…', noOptionsText: 'Žádné možnosti', openText: 'Otevřít' }, MuiAlert: { closeText: 'Zavřít' }, MuiPagination: { 'aria-label': 'Navigace stránkováním', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${selected ? '' : 'Jít na '}${page} stránku`; } if (type === 'first') { return 'Jít na první stránku'; } if (type === 'last') { return 'Jít na poslední stránku'; } if (type === 'next') { return 'Jít na další stránku'; } // if (type === 'previous') { return 'Jít na předchozí stránku'; } } } }; export const deDE = { props: { MuiBreadcrumbs: { expandText: 'Pfad anzeigen' }, MuiTablePagination: { getItemAriaLabel: type => { if (type === 'first') { return 'Zur ersten Seite'; } if (type === 'last') { return 'Zur letzten Seite'; } if (type === 'next') { return 'Zur nächsten Seite'; } // if (type === 'previous') { return 'Zur vorherigen Seite'; }, labelRowsPerPage: 'Zeilen pro Seite:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} von ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} ${value !== 1 ? 'Sterne' : 'Stern'}`, emptyLabelText: 'Keine Wertung' }, MuiAutocomplete: { clearText: 'Leeren', closeText: 'Schließen', loadingText: 'Wird geladen…', noOptionsText: 'Keine Optionen', openText: 'Öffnen' }, MuiAlert: { closeText: 'Schließen' }, MuiPagination: { 'aria-label': 'Navigation via Seitennummerierung', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${selected ? '' : 'Gehe zu '}Seite ${page}`; } if (type === 'first') { return 'Zur ersten Seite'; } if (type === 'last') { return 'Zur letzten Seite'; } if (type === 'next') { return 'Zur nächsten Seite'; } // if (type === 'previous') { return 'Zur vorherigen Seite'; } } } }; export const elGR = { props: { MuiBreadcrumbs: { expandText: 'Εμφάνιση διαδρομής' }, MuiTablePagination: { 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: { getLabelText: value => `${value} Αστέρι${value !== 1 ? 'α' : ''}`, emptyLabelText: 'Χωρίς βαθμολόγηση' }, MuiAutocomplete: { clearText: 'Καθαρισμός', closeText: 'Κλείσιμο', loadingText: 'Φόρτωση…', noOptionsText: 'Δεν υπάρχουν επιλογές', openText: 'Άνοιγμα' }, MuiAlert: { closeText: 'Κλείσιμο' }, MuiPagination: { '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 'Προηγούμενη σελίδα'; } } } }; // default export const enUS = { /* props: { MuiBreadcrumbs: { expandText: 'Show path', }, MuiTablePagination: { getItemAriaLabel: (type) => { if (type === 'first') { return 'Go to first page'; } if (type === 'last') { return 'Go to last page'; } if (type === 'next') { return 'Go to next page'; } // if (type === 'previous') { return 'Go to previous page'; }, labelRowsPerPage: 'Rows per page:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} of ${count !== -1 ? count : `more than ${to}`}`, }, MuiRating: { getLabelText: value => `${value} Star${value !== 1 ? 's' : ''}`, emptyLabelText: 'Empty', }, MuiAutocomplete: { clearText: 'Clear', closeText: 'Close', loadingText: 'Loading…', noOptionsText: 'No options', openText: 'Open', }, MuiAlert: { closeText: 'Close', }, MuiPagination: { 'aria-label': 'Pagination navigation', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${selected ? '' : 'Go to '}page ${page}`; } if (type === 'first') { return 'Go to first page'; } if (type === 'last') { return 'Go to last page'; } if (type === 'next') { return 'Go to next page'; } // if (type === 'previous') { return 'Go to previous page'; }, }, }, */ }; export const esES = { props: { MuiBreadcrumbs: { expandText: 'Mostrar ruta' }, MuiTablePagination: { getItemAriaLabel: type => { if (type === 'first') { return 'Ir a la primera página'; } if (type === 'last') { return 'Ir a la última página'; } if (type === 'next') { return 'Ir a la página siguiente'; } // if (type === 'previous') { return 'Ir a la página anterior'; }, labelRowsPerPage: 'Filas por página:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} de ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} Estrella${value !== 1 ? 's' : ''}`, emptyLabelText: 'Vacío' }, MuiAutocomplete: { clearText: 'Limpiar', closeText: 'Cerrar', loadingText: 'Cargando…', noOptionsText: 'Sin opciones', openText: 'Abierto' }, MuiAlert: { closeText: 'Cerrar' }, MuiPagination: { 'aria-label': 'Paginador', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${selected ? '' : 'Ir a la '}página ${page}`; } if (type === 'first') { return 'Ir a la primera página'; } if (type === 'last') { return 'Ir a la última página'; } if (type === 'next') { return 'Ir a la página siguiente'; } // if (type === 'previous') { return 'Ir a la página anterior'; } } } }; export const etEE = { props: { MuiBreadcrumbs: { expandText: 'Näita teed' }, MuiTablePagination: { getItemAriaLabel: type => { if (type === 'first') { return 'Vali esimene lehekülg'; } if (type === 'last') { return 'Vali viimane lehekülg'; } if (type === 'next') { return 'Vali järgmine lehekülg'; } // if (type === 'previous') { return 'Vali eelmine lehekülg'; }, labelRowsPerPage: 'Ridu leheküljel:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} / ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} Tärn${value !== 1 ? 'i' : ''}`, emptyLabelText: 'Tühi' }, MuiAutocomplete: { clearText: 'Tühjenda', closeText: 'Sulge', loadingText: 'Laen…', noOptionsText: 'Valikuid ei ole', openText: 'Ava' }, MuiAlert: { closeText: 'Sulge' }, MuiPagination: { 'aria-label': 'Lehekülgede valik', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${selected ? '' : 'Vali '}lehekülg ${page}`; } if (type === 'first') { return 'Vali esimene lehekülg'; } if (type === 'last') { return 'Vali viimane lehekülg'; } if (type === 'next') { return 'Vali järgmine lehekülg'; } // if (type === 'previous') { return 'Vali eelmine lehekülg'; } } } }; export const faIR = { props: { // MuiBreadcrumbs: { // expandText: 'Show path', // }, MuiBreadcrumbs: { expandText: 'نمایش مسیر' }, MuiTablePagination: { 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 : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} ستاره`, emptyLabelText: 'خالی' }, MuiAutocomplete: { clearText: 'پاک‌کردن', closeText: 'بستن', loadingText: 'در حال بارگذاری…', noOptionsText: 'بی‌نتیجه', openText: 'بازکردن' }, MuiAlert: { closeText: 'بستن' }, MuiPagination: { '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 'رفتن به صفحه‌ی قبلی'; } } } }; export const fiFI = { props: { MuiBreadcrumbs: { expandText: 'Näytä reitti' }, MuiTablePagination: { getItemAriaLabel: type => { if (type === 'first') { return 'Mene ensimmäiselle sivulle'; } if (type === 'last') { return 'Mene viimeiselle sivulle'; } if (type === 'next') { return 'Mene seuraavalle sivulle'; } // if (type === 'previous') { return 'Mene edelliselle sivulle'; }, labelRowsPerPage: 'Rivejä per sivu:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} / ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} Täht${value !== 1 ? 'eä' : 'i'}`, emptyLabelText: 'Tyhjä' }, MuiAutocomplete: { clearText: 'Tyhjennä', closeText: 'Sulje', loadingText: 'Ladataan…', noOptionsText: 'Ei valintoja', openText: 'Avaa' }, MuiAlert: { closeText: 'Sulje' }, MuiPagination: { 'aria-label': 'Sivutus navigaatio', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${selected ? 'sivu' : 'Mene sivulle'} ${page}`; } if (type === 'first') { return 'Mene ensimmäiselle sivulle'; } if (type === 'last') { return 'Mene viimeiselle sivulle'; } if (type === 'next') { return 'Mene seuraavalle sivulle'; } // if (type === 'previous') { return 'Mene edelliselle sivulle'; } } } }; export const frFR = { props: { MuiBreadcrumbs: { expandText: 'Montrer le chemin' }, MuiTablePagination: { getItemAriaLabel: type => { if (type === 'first') { return 'Aller à la première page'; } if (type === 'last') { return 'Aller à la dernière page'; } if (type === 'next') { return 'Aller à la page suivante'; } // if (type === 'previous') { return 'Aller à la page précédente'; }, labelRowsPerPage: 'Lignes par page :', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} sur ${count !== -1 ? count : `plus que ${to}`}` }, MuiRating: { getLabelText: value => `${value} Etoile${value !== 1 ? 's' : ''}`, emptyLabelText: 'Vide' }, MuiAutocomplete: { clearText: 'Vider', closeText: 'Fermer', loadingText: 'Chargement…', noOptionsText: 'Pas de résultats', openText: 'Ouvrir' }, MuiAlert: { closeText: 'Fermer' }, MuiPagination: { 'aria-label': 'navigation de pagination', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${selected ? '' : 'Aller à la '}page ${page}`; } if (type === 'first') { return 'Aller à la première page'; } if (type === 'last') { return 'Aller à la dernière page'; } if (type === 'next') { return 'Aller à la page suivante'; } // if (type === 'previous') { return 'Aller à la page précédente'; } } } }; export const heIL = { props: { // MuiBreadcrumbs: { // expandText: 'Show path', // }, MuiTablePagination: { // getItemAriaLabel: (type) => { // if (type === 'first') { // return 'Go to first page'; // } // if (type === 'last') { // return 'Go to last page'; // } // if (type === 'next') { // return 'Go to next page'; // } // // if (type === 'previous') { // return 'Go to previous page'; // }, labelRowsPerPage: 'שורות בעמוד:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} מתוך ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} כוכב${value !== 1 ? 'ים' : ''}`, emptyLabelText: 'ריק' }, MuiAutocomplete: { clearText: 'נקה', closeText: 'סגור', loadingText: 'טוען…', noOptionsText: 'אין אופציות', openText: 'פתח' }, MuiAlert: { closeText: 'סגור' } // MuiPagination: { // 'aria-label': 'Pagination navigation', // getItemAriaLabel: (type, page, selected) => { // if (type === 'page') { // return `${selected ? '' : 'Go to '}page ${page}`; // } // if (type === 'first') { // return 'Go to first page'; // } // if (type === 'last') { // return 'Go to last page'; // } // if (type === 'next') { // return 'Go to next page'; // } // // if (type === 'previous') { // return 'Go to previous page'; // }, // }, } }; export const hiIN = { props: { MuiBreadcrumbs: { expandText: 'रास्ता दिखायें' }, MuiTablePagination: { 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 === -1 ? count : to} कुल ${count} में` }, MuiRating: { getLabelText: value => `${value} तार${value !== 1 ? 'े' : 'ा'}`, emptyLabelText: 'रिक्त' }, MuiAutocomplete: { clearText: 'हटायें', closeText: 'बंद करें', loadingText: 'लोड हो रहा है…', noOptionsText: 'कोई विकल्प नहीं', openText: 'खोलें' }, MuiAlert: { closeText: 'बंद करें' }, MuiPagination: { 'aria-label': 'पृस्ठानुसार संचालन', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `पृष्ठ ${page} ${selected ? '' : ' पर जाएँ'}`; } if (type === 'first') { return 'पहले पृष्ठ पर जाएँ'; } if (type === 'last') { return 'अंतिम पृष्ठ पर जाएँ'; } if (type === 'next') { return 'अगले पृष्ठ पर जाएँ'; } // if (type === 'previous') { return 'पिछले पृष्ठ पर जाएँ'; } } } }; export const huHU = { props: { MuiBreadcrumbs: { expandText: 'Útvonal' }, MuiTablePagination: { getItemAriaLabel: type => { if (type === 'first') { return 'Első oldalra'; } if (type === 'last') { return 'Utolsó oldalra'; } if (type === 'next') { return 'Következő oldalra'; } // if (type === 'previous') { return 'Előző oldalra'; }, labelRowsPerPage: 'Sorok száma:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} / ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} Csillag`, emptyLabelText: 'Üres' }, MuiAutocomplete: { clearText: 'Törlés', closeText: 'Bezárás', loadingText: 'Töltés…', noOptionsText: 'Nincs találat', openText: 'Megnyitás' }, MuiAlert: { closeText: 'Bezárás' }, MuiPagination: { 'aria-label': 'Lapozás', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${page}. oldal${selected ? '' : 'ra'}`; } if (type === 'first') { return 'Első oldalra'; } if (type === 'last') { return 'Utolsó oldalra'; } if (type === 'next') { return 'Következő oldalra'; } // if (type === 'previous') { return 'Előző oldalra'; } } } }; export const hyAM = { props: { // MuiBreadcrumbs: { // expandText: 'Show path', // }, MuiTablePagination: { // getItemAriaLabel: (type) => { // if (type === 'first') { // return 'Go to first page'; // } // if (type === 'last') { // return 'Go to last page'; // } // if (type === 'next') { // return 'Go to next page'; // } // // if (type === 'previous') { // return 'Go to previous page'; // }, labelRowsPerPage: 'Տողեր մեկ էջում`', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} / ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} Աստղ`, emptyLabelText: 'Դատարկ' }, MuiAutocomplete: { clearText: 'Մաքրել', closeText: 'Փակել', loadingText: 'Բեռնում…', noOptionsText: 'Տարբերակներ չկան', openText: 'Բացել' }, MuiAlert: { closeText: 'Փակել' } // MuiPagination: { // 'aria-label': 'Pagination navigation', // getItemAriaLabel: (type, page, selected) => { // if (type === 'page') { // return `${selected ? '' : 'Go to '}page ${page}`; // } // if (type === 'first') { // return 'Go to first page'; // } // if (type === 'last') { // return 'Go to last page'; // } // if (type === 'next') { // return 'Go to next page'; // } // // if (type === 'previous') { // return 'Go to previous page'; // }, // }, } }; export const idID = { props: { // MuiBreadcrumbs: { // expandText: 'Show path', // }, MuiTablePagination: { // getItemAriaLabel: (type) => { // if (type === 'first') { // return 'Go to first page'; // } // if (type === 'last') { // return 'Go to last page'; // } // if (type === 'next') { // return 'Go to next page'; // } // // if (type === 'previous') { // return 'Go to previous page'; // }, labelRowsPerPage: 'Baris per halaman:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} dari ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} Bintang` // emptyLabelText: 'Empty', }, MuiAutocomplete: { clearText: 'Hapus', closeText: 'Tutup', loadingText: 'Memuat…', noOptionsText: 'Tidak ada opsi', openText: 'Buka' }, MuiAlert: { closeText: 'Tutup' } // MuiPagination: { // 'aria-label': 'Pagination navigation', // getItemAriaLabel: (type, page, selected) => { // if (type === 'page') { // return `${selected ? '' : 'Go to '}page ${page}`; // } // if (type === 'first') { // return 'Go to first page'; // } // if (type === 'last') { // return 'Go to last page'; // } // if (type === 'next') { // return 'Go to next page'; // } // // if (type === 'previous') { // return 'Go to previous page'; // }, // }, } }; export const isIS = { props: { // MuiBreadcrumbs: { // expandText: 'Show path', // }, MuiTablePagination: { // getItemAriaLabel: (type) => { // if (type === 'first') { // return 'Go to first page'; // } // if (type === 'last') { // return 'Go to last page'; // } // if (type === 'next') { // return 'Go to next page'; // } // // if (type === 'previous') { // return 'Go to previous page'; // }, labelRowsPerPage: 'Raðir á síðu:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} af ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} ${value === 1 ? 'Stjarna' : 'Stjörnur'}`, emptyLabelText: 'Tómt' }, MuiAutocomplete: { clearText: 'Hreinsa', closeText: 'Loka', loadingText: 'Hlaða…', noOptionsText: 'Engar niðurstöður', openText: 'Opna' }, MuiAlert: { closeText: 'Loka' } // MuiPagination: { // 'aria-label': 'Pagination navigation', // getItemAriaLabel: (type, page, selected) => { // if (type === 'page') { // return `${selected ? '' : 'Go to '}page ${page}`; // } // if (type === 'first') { // return 'Go to first page'; // } // if (type === 'last') { // return 'Go to last page'; // } // if (type === 'next') { // return 'Go to next page'; // } // // if (type === 'previous') { // return 'Go to previous page'; // }, // }, } }; export const itIT = { props: { MuiBreadcrumbs: { expandText: 'Visualizza percorso' }, MuiTablePagination: { getItemAriaLabel: type => { if (type === 'first') { return 'Vai alla prima pagina'; } if (type === 'last') { return "Vai all'ultima pagina"; } if (type === 'next') { return 'Vai alla pagina successiva'; } // if (type === 'previous') { return 'Vai alla pagina precedente'; }, labelRowsPerPage: 'Righe per pagina:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} di ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} Stell${value !== 1 ? 'e' : 'a'}`, emptyLabelText: 'Vuoto' }, MuiAutocomplete: { clearText: 'Svuota', closeText: 'Chiudi', loadingText: 'Caricamento in corso…', noOptionsText: 'Nessuna opzione', openText: 'Apri' }, MuiAlert: { closeText: 'Chiudi' }, MuiPagination: { 'aria-label': 'Navigazione impaginata', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${selected ? '' : 'Vai alla '}pagina ${page}`; } if (type === 'first') { return 'Vai alla prima pagina'; } if (type === 'last') { return "Vai all'ultima pagina"; } if (type === 'next') { return 'Vai alla pagina successiva'; } // if (type === 'previous') { return 'Vai alla pagina precedente'; } } } }; export const jaJP = { props: { // MuiBreadcrumbs: { // expandText: 'Show path', // }, MuiTablePagination: { // getItemAriaLabel: (type) => { // if (type === 'first') { // return 'Go to first page'; // } // if (type === 'last') { // return 'Go to last page'; // } // if (type === 'next') { // return 'Go to next page'; // } // // if (type === 'previous') { // return 'Go to previous page'; // }, labelRowsPerPage: 'ページごとの行:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} of ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} ${value !== 1 ? '出演者' : '星'}` // emptyLabelText: 'Empty', }, MuiAutocomplete: { clearText: 'クリア', closeText: '閉じる', loadingText: '積み込み…', noOptionsText: '結果がありません', openText: '開いた' }, MuiAlert: { closeText: '閉じる' } // MuiPagination: { // 'aria-label': 'Pagination navigation', // getItemAriaLabel: (type, page, selected) => { // if (type === 'page') { // return `${selected ? '' : 'Go to '}page ${page}`; // } // if (type === 'first') { // return 'Go to first page'; // } // if (type === 'last') { // return 'Go to last page'; // } // if (type === 'next') { // return 'Go to next page'; // } // // if (type === 'previous') { // return 'Go to previous page'; // }, // }, } }; export const koKR = { props: { // MuiBreadcrumbs: { // expandText: 'Show path', // }, MuiTablePagination: { // getItemAriaLabel: (type) => { // if (type === 'first') { // return 'Go to first page'; // } // if (type === 'last') { // return 'Go to last page'; // } // if (type === 'next') { // return 'Go to next page'; // } // // if (type === 'previous') { // return 'Go to previous page'; // }, labelRowsPerPage: '페이지 당 행:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} / ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} 점` // emptyLabelText: 'Empty', }, MuiAutocomplete: { clearText: '지우기', closeText: '닫기', loadingText: '불러오는 중…', noOptionsText: '옵션 없음', openText: '열기' } // MuiAlert: { // closeText: 'Close', // }, // MuiPagination: { // 'aria-label': 'Pagination navigation', // getItemAriaLabel: (type, page, selected) => { // if (type === 'page') { // return `${selected ? '' : 'Go to '}page ${page}`; // } // if (type === 'first') { // return 'Go to first page'; // } // if (type === 'last') { // return 'Go to last page'; // } // if (type === 'next') { // return 'Go to next page'; // } // // if (type === 'previous') { // return 'Go to previous page'; // }, // }, } }; export const nlNL = { props: { // MuiBreadcrumbs: { // expandText: 'Show path', // }, MuiTablePagination: { // getItemAriaLabel: (type) => { // if (type === 'first') { // return 'Go to first page'; // } // if (type === 'last') { // return 'Go to last page'; // } // if (type === 'next') { // return 'Go to next page'; // } // // if (type === 'previous') { // return 'Go to previous page'; // }, labelRowsPerPage: 'Regels per pagina :', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} van ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} Ster${value !== 1 ? 'ren' : ''}` // emptyLabelText: 'Empty', }, MuiAutocomplete: { clearText: 'Wissen', closeText: 'Sluiten', loadingText: 'Laden…', noOptionsText: 'Geen opties', openText: 'Openen' }, MuiAlert: { closeText: 'Sluiten' } // MuiPagination: { // 'aria-label': 'Pagination navigation', // getItemAriaLabel: (type, page, selected) => { // if (type === 'page') { // return `${selected ? '' : 'Go to '}page ${page}`; // } // if (type === 'first') { // return 'Go to first page'; // } // if (type === 'last') { // return 'Go to last page'; // } // if (type === 'next') { // return 'Go to next page'; // } // // if (type === 'previous') { // return 'Go to previous page'; // }, // }, } }; export const plPL = { props: { MuiBreadcrumbs: { expandText: 'Pokaż ścieżkę' }, MuiTablePagination: { getItemAriaLabel: type => { if (type === 'first') { return 'Przejdź do pierwszej strony'; } if (type === 'last') { return 'Przejdź do ostatniej strony'; } if (type === 'next') { return 'Przejdź do następnej strony'; } // if (type === 'previous') { return 'Przejdź do poprzedniej strony'; }, labelRowsPerPage: 'Wierszy na stronę:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} z ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => { let pluralForm = 'gwiazdek'; const lastDigit = value % 10; if ((value < 10 || value > 20) && lastDigit > 1 && lastDigit < 5) { pluralForm = 'gwiazdki'; } else if (value === 1) { pluralForm = 'gwiazdka'; } return `${value} ${pluralForm}`; }, emptyLabelText: 'Brak gwiazdek' }, MuiAutocomplete: { clearText: 'Wyczyść', closeText: 'Zamknij', loadingText: 'Ładowanie…', noOptionsText: 'Brak opcji', openText: 'Otwórz' }, MuiAlert: { closeText: 'Zamknij' }, MuiPagination: { 'aria-label': 'Nawigacja podziału na strony', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return selected ? `${page}. strona` : `Przejdź do ${page}. strony`; } if (type === 'first') { return 'Przejdź do pierwszej strony'; } if (type === 'last') { return 'Przejdź do ostatniej strony'; } if (type === 'next') { return 'Przejdź do następnej strony'; } // if (type === 'previous') { return 'Przejdź do poprzedniej strony'; } } } }; export const ptBR = { props: { MuiBreadcrumbs: { expandText: 'Mostrar caminho' }, MuiTablePagination: { getItemAriaLabel: type => { if (type === 'first') { return 'Ir para a primeira página'; } if (type === 'last') { return 'Ir para a última página'; } if (type === 'next') { return 'Ir para a próxima página'; } // if (type === 'previous') { return 'Ir para a página anterior'; }, labelRowsPerPage: 'Linhas por página:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} de ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} Estrela${value !== 1 ? 's' : ''}`, emptyLabelText: 'Vazio' }, MuiAutocomplete: { clearText: 'Limpar', closeText: 'Fechar', loadingText: 'Carregando…', noOptionsText: 'Sem opções', openText: 'Abrir' }, MuiAlert: { closeText: 'Fechar' }, MuiPagination: { 'aria-label': 'Navegar pela paginação', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${selected ? '' : 'Ir para a '}página ${page}`; } if (type === 'first') { return 'Ir para a primeira página'; } if (type === 'last') { return 'Ir para a última página'; } if (type === 'next') { return 'Ir para a próxima página'; } // if (type === 'previous') { return 'Ir para a página anterior'; } } } }; export const ptPT = { props: { MuiBreadcrumbs: { expandText: 'Mostrar caminho' }, MuiTablePagination: { getItemAriaLabel: type => { if (type === 'first') { return 'Primeira página'; } if (type === 'last') { return 'Última página'; } if (type === 'next') { return 'Próxima página'; } // if (type === 'previous') { return 'Página anterior'; }, labelRowsPerPage: 'Linhas por página:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} de ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} Estrela${value !== 1 ? 's' : ''}`, emptyLabelText: 'Vazio' }, MuiAutocomplete: { clearText: 'Limpar', closeText: 'Fechar', loadingText: 'A carregar…', noOptionsText: 'Sem opções', openText: 'Abrir' }, MuiAlert: { closeText: 'Fechar' }, MuiPagination: { 'aria-label': 'Navegar por páginas', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${selected ? '' : 'Ir para a '}página ${page}`; } if (type === 'first') { return 'Primeira página'; } if (type === 'last') { return 'Última página'; } if (type === 'next') { return 'Próxima página'; } // if (type === 'previous') { return 'Página anterior'; } } } }; export const roRO = { props: { MuiBreadcrumbs: { expandText: 'Arată calea' }, MuiTablePagination: { getItemAriaLabel: type => { if (type === 'first') { return 'Mergi la prima pagină'; } if (type === 'last') { return 'Mergi la ultima pagină'; } if (type === 'next') { return 'Mergi la pagina următoare'; } // if (type === 'previous') { return 'Mergi la pagina precedentă'; }, labelRowsPerPage: 'Rânduri pe pagină:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} din ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} St${value !== 1 ? 'ele' : 'ea'}`, emptyLabelText: 'Gol' }, MuiAutocomplete: { clearText: 'Șterge', closeText: 'Închide', loadingText: 'Se încarcă…', noOptionsText: 'Nicio opțiune', openText: 'Deschide' }, MuiAlert: { closeText: 'Închide' }, MuiPagination: { 'aria-label': 'Navigare prin paginare', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${selected ? '' : 'Mergi la '}pagina ${page}`; } if (type === 'first') { return 'Mergi la prima pagină'; } if (type === 'last') { return 'Mergi la ultima pagină'; } if (type === 'next') { return 'Mergi la pagina următoare'; } // if (type === 'previous') { return 'Mergi la pagina precedentă'; } } } }; export const ruRU = { props: { MuiBreadcrumbs: { expandText: 'Показать полный путь' }, MuiTablePagination: { 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: { getLabelText: value => { let pluralForm = 'Звёзд'; const lastDigit = value % 10; if (lastDigit > 1 && lastDigit < 5) { pluralForm = 'Звезды'; } else if (lastDigit === 1) { pluralForm = 'Звезда'; } return `${value} ${pluralForm}`; }, emptyLabelText: 'Рейтинг отсутствует' }, MuiAutocomplete: { clearText: 'Очистить', closeText: 'Закрыть', loadingText: 'Загрузка…', noOptionsText: 'Нет доступных вариантов', openText: 'Открыть' }, MuiAlert: { closeText: 'Закрыть' }, MuiPagination: { 'aria-label': 'Навигация по страницам', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { if (selected) return `${page} страница`; return `Перейти на ${page} страницу`; } if (type === 'first') { return 'Перейти на первую страницу'; } if (type === 'last') { return 'Перейти на последнюю страницу'; } if (type === 'next') { return 'Перейти на следующую страницу'; } // if (type === 'previous') { return 'Перейти на предыдущую страницу'; } } } }; export const skSK = { props: { MuiBreadcrumbs: { expandText: 'Ukázať cestu ' }, MuiTablePagination: { getItemAriaLabel: type => { if (type === 'first') { return 'Ísť na prvú stránku'; } if (type === 'last') { return 'Ísť na poslednú stránku'; } if (type === 'next') { return 'Ísť na ďaľšiu stránku'; } // if (type === 'previous') { return 'Ísť na predchádzajúcu stránku'; }, labelRowsPerPage: 'Riadkov na stránke:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} z ${count !== -1 ? count : `viac ako ${to}`}` }, MuiRating: { getLabelText: value => { if (value === 1) { return `${value} hviezdička`; } if (value >= 2 && value <= 4) { return `${value} hviezdičky`; } return `${value} hviezdičiek`; }, emptyLabelText: 'Prázdne' }, MuiAutocomplete: { clearText: 'Vymazať', closeText: 'Zavrieť', loadingText: 'Načítanie…', noOptionsText: 'Žiadne možnosti', openText: 'Otvoriť' }, MuiAlert: { closeText: 'Zavrieť' }, MuiPagination: { 'aria-label': 'Navigácia stránkovanim', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${selected ? '' : 'Ísť na '}stránku ${page}`; } if (type === 'first') { return 'Ísť na prvú stránku'; } if (type === 'last') { return 'Ísť na poslednú stránku'; } if (type === 'next') { return 'Ísť na ďaľšiu stránku'; } // if (type === 'previous') { return 'Ísť na predchádzajúcu stránku'; } } } }; export const svSE = { props: { MuiBreadcrumbs: { expandText: 'Visa sökväg' }, MuiTablePagination: { getItemAriaLabel: type => { if (type === 'first') { return 'Gå till första sidan'; } if (type === 'last') { return 'Gå till sista sidan'; } if (type === 'next') { return 'Gå till nästa sida'; } // if (type === 'previous') { return 'Gå till föregående sida'; }, labelRowsPerPage: 'Rader per sida:', labelDisplayedRows: ({ from, to, count }) => `${from}-${to} av ${count !== -1 ? count : `fler än ${to}`}` }, MuiRating: { getLabelText: value => `${value} ${value !== 1 ? 'Stjärnor' : 'Stjärna'}`, emptyLabelText: 'Tom' }, MuiAutocomplete: { clearText: 'Rensa', closeText: 'Stäng', loadingText: 'Laddar…', noOptionsText: 'Inga alternativ', openText: 'Öppna' }, MuiAlert: { closeText: 'Stäng' }, MuiPagination: { 'aria-label': 'Sidnavigering', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${selected ? '' : 'Gå till '}sida ${page}`; } if (type === 'first') { return 'Gå till första sidan'; } if (type === 'last') { return 'Gå till sista sidan'; } if (type === 'next') { return 'Gå till nästa sida'; } // if (type === 'previous') { return 'Gå till föregående sida'; } } } }; export const trTR = { props: { MuiBreadcrumbs: { expandText: 'Yolu göster' }, MuiTablePagination: { 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} tanesinden ${count !== -1 ? count : `more than ${to}`}` }, MuiRating: { getLabelText: value => `${value} Yıldız`, emptyLabelText: 'Boş' }, MuiAutocomplete: { clearText: 'Temizle', closeText: 'Kapat', loadingText: 'Yükleniyor…', noOptionsText: 'Seçenek yok', openText: 'Aç' }, MuiAlert: { closeText: 'Kapat' }, MuiPagination: { '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'; } } } }; export const ukUA = { props: { MuiBreadcrumbs: { expandText: 'Показати шлях сторінок' }, MuiTablePagination: { getItemAriaLabel: type => {