@mui/material
Version:
React components that implement Google's Material Design.
1,920 lines (1,904 loc) • 108 kB
JavaScript
export const amET = {
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}${selected ? '' : ' ሂድ'}`;
}
if (type === 'first') {
return 'ወደ መጀመሪያው ገጽ ይሂዱ';
}
if (type === 'last') {
return 'ወደ መጨረሻው ገጽ ይሂዱ';
}
if (type === 'next') {
return 'ወደ ቀጣዩ ገጽ ይሂዱ';
}
// if (type === 'previous') {
return 'ወደ ቀዳሚው ገጽ ይሂዱ';
}
}
}
}
};
export const arEG = {
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 'انتقل إلى الصفحة السابقة';
}
}
}
}
};
export const arSA = {
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 'الانتقال إلى الصفحة السابقة';
}
}
}
}
};
export const arSD = {
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 'انتقل إلى الصفحة السابقة';
}
}
}
}
};
export const azAZ = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Yolu göstər'
}
},
MuiTablePagination: {
defaultProps: {
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: {
defaultProps: {
getLabelText: value => {
let pluralForm = 'Ulduz';
const lastDigit = value % 10;
if (lastDigit > 1 && lastDigit < 5) {
pluralForm = 'Ulduzlar';
}
return `${value} ${pluralForm}`;
},
emptyLabelText: 'Boş'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Silmək',
closeText: 'Bağlamaq',
loadingText: 'Yüklənir…',
noOptionsText: 'Seçimlər mövcud deyil',
openText: 'Открыть'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Bağlamaq'
}
},
MuiPagination: {
defaultProps: {
'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 bnBD = {
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} স্টার`,
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 'আগের পৃষ্ঠায় যান';
}
}
}
}
};
export const beBY = {
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 => {
let pluralForm = 'Зорак';
const lastDigit = value % 10;
if (lastDigit > 1 && lastDigit < 5 && (value < 10 || value > 20)) {
pluralForm = 'Зоркі';
} else if (lastDigit === 1 && value % 100 !== 11) {
pluralForm = 'Зорка';
}
return `${value} ${pluralForm}`;
},
emptyLabelText: 'Рэйтынг адсутнічае'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Ачысціць',
closeText: 'Закрыць',
loadingText: 'Загрузка…',
noOptionsText: 'Няма варыянтаў',
openText: 'Адкрыць'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Закрыць'
}
},
MuiPagination: {
defaultProps: {
'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 bgBG = {
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 : `more than ${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 'Отиди на предишната страница';
}
}
}
}
};
export const caES = {
components: {
// MuiBreadcrumbs: {
// defaultProps: {
// expandText: 'Show path',
// },
// },
MuiTablePagination: {
defaultProps: {
// 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: {
defaultProps: {
getLabelText: value => `${value} ${value !== 1 ? 'Estrelles' : 'Estrella'}`,
emptyLabelText: 'Buit'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Netejar',
closeText: 'Tancar',
loadingText: 'Carregant…',
noOptionsText: 'Sense opcions',
openText: 'Obert'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Tancat'
}
}
// MuiPagination: {
// defaultProps: {
// '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 = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Ukázat cestu'
}
},
MuiTablePagination: {
defaultProps: {
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: {
defaultProps: {
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: {
defaultProps: {
clearText: 'Vymazat',
closeText: 'Zavřít',
loadingText: 'Načítání…',
noOptionsText: 'Žádné možnosti',
openText: 'Otevřít'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Zavřít'
}
},
MuiPagination: {
defaultProps: {
'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 daDK = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Vis sti'
}
},
MuiTablePagination: {
defaultProps: {
getItemAriaLabel: type => {
if (type === 'first') {
return 'Gå til den første side';
}
if (type === 'last') {
return 'Gå til den sidste side';
}
if (type === 'next') {
return 'Gå til den næste side';
}
// if (type === 'previous') {
return 'Gå til den forrige side';
},
labelRowsPerPage: 'Rækker pr side:',
labelDisplayedRows: ({
from,
to,
count
}) => `${from}-${to} af ${count !== -1 ? count : `mere end ${to}`}`
}
},
MuiRating: {
defaultProps: {
getLabelText: value => `${value} Stjern${value !== 1 ? 'er' : ''}`,
emptyLabelText: 'Tom'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Slet',
closeText: 'Luk',
loadingText: 'Indlæser…',
noOptionsText: 'Ingen muligheder',
openText: 'Åben'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Luk'
}
},
MuiPagination: {
defaultProps: {
'aria-label': 'Sideinddelings navigation',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return `${selected ? '' : 'Go to '}page ${page}`;
}
if (type === 'first') {
return 'Gå til den første side';
}
if (type === 'last') {
return 'Gå til den sidste side';
}
if (type === 'next') {
return 'Gå til den næste side';
}
// if (type === 'previous') {
return 'Gå til den forrige side';
}
}
}
}
};
export const deDE = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Pfad anzeigen'
}
},
MuiTablePagination: {
defaultProps: {
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 : `mehr als ${to}`}`
}
},
MuiRating: {
defaultProps: {
getLabelText: value => `${value} ${value !== 1 ? 'Sterne' : 'Stern'}`,
emptyLabelText: 'Keine Wertung'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Leeren',
closeText: 'Schließen',
loadingText: 'Wird geladen…',
noOptionsText: 'Keine Optionen',
openText: 'Öffnen'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Schließen'
}
},
MuiPagination: {
defaultProps: {
'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 = {
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 'Προηγούμενη σελίδα';
}
}
}
}
};
// default
export const enUS = {
/*
components: {
MuiBreadcrumbs: { defaultProps: {
expandText: 'Show path',
}},
MuiTablePagination: { defaultProps: {
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: { defaultProps: {
getLabelText: value => `${value} Star${value !== 1 ? 's' : ''}`,
emptyLabelText: 'Empty',
}},
MuiAutocomplete: { defaultProps: {
clearText: 'Clear',
closeText: 'Close',
loadingText: 'Loading…',
noOptionsText: 'No options',
openText: 'Open',
}},
MuiAlert: { defaultProps: {
closeText: 'Close',
}},
MuiPagination: { defaultProps: {
'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 = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Mostrar ruta'
}
},
MuiTablePagination: {
defaultProps: {
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 : `más de ${to}`}`
}
},
MuiRating: {
defaultProps: {
getLabelText: value => `${value} Estrella${value !== 1 ? 's' : ''}`,
emptyLabelText: 'Vacío'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Limpiar',
closeText: 'Cerrar',
loadingText: 'Cargando…',
noOptionsText: 'Sin opciones',
openText: 'Abierto'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Cerrar'
}
},
MuiPagination: {
defaultProps: {
'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 = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Näita teed'
}
},
MuiTablePagination: {
defaultProps: {
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 : `rohkem kui ${to}`}`
}
},
MuiRating: {
defaultProps: {
getLabelText: value => `${value} Tärn${value !== 1 ? 'i' : ''}`,
emptyLabelText: 'Tühi'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Tühjenda',
closeText: 'Sulge',
loadingText: 'Laen…',
noOptionsText: 'Valikuid ei ole',
openText: 'Ava'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Sulge'
}
},
MuiPagination: {
defaultProps: {
'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 = {
components: {
// MuiBreadcrumbs: {
// defaultProps: {
// expandText: 'Show path',
// },
// },
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} ستاره`,
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 'رفتن به صفحهی قبلی';
}
}
}
}
};
export const fiFI = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Näytä reitti'
}
},
MuiTablePagination: {
defaultProps: {
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 : `enemmän kuin ${to}`}`
}
},
MuiRating: {
defaultProps: {
getLabelText: value => `${value} Täht${value !== 1 ? 'eä' : 'i'}`,
emptyLabelText: 'Tyhjä'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Tyhjennä',
closeText: 'Sulje',
loadingText: 'Ladataan…',
noOptionsText: 'Ei valintoja',
openText: 'Avaa'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Sulje'
}
},
MuiPagination: {
defaultProps: {
'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 = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Montrer le chemin'
}
},
MuiTablePagination: {
defaultProps: {
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: {
defaultProps: {
getLabelText: value => `${value} Etoile${value !== 1 ? 's' : ''}`,
emptyLabelText: 'Vide'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Vider',
closeText: 'Fermer',
loadingText: 'Chargement…',
noOptionsText: 'Pas de résultats',
openText: 'Ouvrir'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Fermer'
}
},
MuiPagination: {
defaultProps: {
'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 = {
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 'לעמוד הקודם';
}
}
}
}
};
export const hiIN = {
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 === -1 ? count : to} कुल ${count} में`
}
},
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 `पृष्ठ ${page} ${selected ? '' : ' पर जाएँ'}`;
}
if (type === 'first') {
return 'पहले पृष्ठ पर जाएँ';
}
if (type === 'last') {
return 'अंतिम पृष्ठ पर जाएँ';
}
if (type === 'next') {
return 'अगले पृष्ठ पर जाएँ';
}
// if (type === 'previous') {
return 'पिछले पृष्ठ पर जाएँ';
}
}
}
}
};
// Croatian - Hrvatski
export const hrHR = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Pokaži putanju'
}
},
MuiTablePagination: {
defaultProps: {
getItemAriaLabel: type => {
if (type === 'first') {
return 'Idi na prvu stranicu';
}
if (type === 'last') {
return 'Idi na posljednju stranicu';
}
if (type === 'next') {
return 'Idi na sljedeću stranicu';
}
// if (type === 'previous') {
return 'Idi na prethodnu stranicu';
},
labelRowsPerPage: 'Redova po stranici:',
labelDisplayedRows: ({
from,
to,
count
}) => `${from}–${to} od ${count !== -1 ? count : `više nego ${to}`}`
}
},
MuiRating: {
defaultProps: {
getLabelText: value => {
const lastDigit = value % 10;
const lastTwoDigits = value % 100;
if ([2, 3, 4].includes(lastDigit) && ![12, 13, 14].includes(lastTwoDigits)) {
return 'Zvijezde';
}
return 'Zvijezda';
},
emptyLabelText: 'Prazno'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Briši',
closeText: 'Zatvori',
loadingText: 'Učitavanje…',
noOptionsText: 'Nema opcija',
openText: 'Otvori'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Zatvori'
}
},
MuiPagination: {
defaultProps: {
'aria-label': 'Navigacija po stranicama',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return `${selected ? '' : 'Idi na '}stranicu ${page}`;
}
if (type === 'first') {
return 'Idi na prvu stranicu';
}
if (type === 'last') {
return 'Idi na zadnju stranicu';
}
if (type === 'next') {
return 'Idi na sljedeću stranicu';
}
// if (type === 'previous') {
return 'Idi na prethodnu stranicu';
}
}
}
}
};
export const huHU = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Útvonal'
}
},
MuiTablePagination: {
defaultProps: {
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: {
defaultProps: {
getLabelText: value => `${value} Csillag`,
emptyLabelText: 'Üres'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Törlés',
closeText: 'Bezárás',
loadingText: 'Töltés…',
noOptionsText: 'Nincs találat',
openText: 'Megnyitás'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Bezárás'
}
},
MuiPagination: {
defaultProps: {
'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 = {
components: {
// MuiBreadcrumbs: {
// defaultProps: {
// expandText: 'Show path',
// },
// },
MuiTablePagination: {
defaultProps: {
// 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: {
defaultProps: {
getLabelText: value => `${value} Աստղ`,
emptyLabelText: 'Դատարկ'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Մաքրել',
closeText: 'Փակել',
loadingText: 'Բեռնում…',
noOptionsText: 'Տարբերակներ չկան',
openText: 'Բացել'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Փակել'
}
}
// MuiPagination: {
// defaultProps: {
// '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 = {
components: {
// MuiBreadcrumbs: {
// defaultProps: {
// expandText: 'Show path',
// },
// },
MuiTablePagination: {
defaultProps: {
// 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: {
defaultProps: {
getLabelText: value => `${value} Bintang`
// emptyLabelText: 'Empty',
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Hapus',
closeText: 'Tutup',
loadingText: 'Memuat…',
noOptionsText: 'Tidak ada opsi',
openText: 'Buka'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Tutup'
}
}
// MuiPagination: {
// defaultProps: {
// '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 = {
components: {
// MuiBreadcrumbs: {
// defaultProps: {
// expandText: 'Show path',
// },
// },
MuiTablePagination: {
defaultProps: {
// 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: {
defaultProps: {
getLabelText: value => `${value} ${value === 1 ? 'Stjarna' : 'Stjörnur'}`,
emptyLabelText: 'Tómt'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Hreinsa',
closeText: 'Loka',
loadingText: 'Hlaða…',
noOptionsText: 'Engar niðurstöður',
openText: 'Opna'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Loka'
}
}
// MuiPagination: {
// defaultProps: {
// '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';
// },
// },
// },
}