UNPKG

46.9 kBJavaScriptView Raw
1export const azAZ = {
2 props: {
3 MuiBreadcrumbs: {
4 expandText: 'Yolu göstər'
5 },
6 MuiTablePagination: {
7 backIconButtonText: 'Əvvəlki səhifə',
8 labelRowsPerPage: 'Səhifəyə düşən sətrlər:',
9 labelDisplayedRows: ({
10 from,
11 to,
12 count
13 }) => `${from}-${to} dən ${count !== -1 ? count : `more than ${to}`}`,
14 nextIconButtonText: 'Növbəti səhifə'
15 },
16 MuiRating: {
17 getLabelText: value => {
18 let pluralForm = 'Ulduz';
19 const lastDigit = value % 10;
20
21 if (lastDigit > 1 && lastDigit < 5) {
22 pluralForm = 'Ulduzlar';
23 }
24
25 return `${value} ${pluralForm}`;
26 },
27 emptyLabelText: 'Boş'
28 },
29 MuiAutocomplete: {
30 clearText: 'Silmək',
31 closeText: 'Bağlamaq',
32 loadingText: 'Yüklənir…',
33 noOptionsText: 'Seçimlər mövcud deyil',
34 openText: 'Открыть'
35 },
36 MuiAlert: {
37 closeText: 'Bağlamaq'
38 },
39 MuiPagination: {
40 'aria-label': 'Səhifənin naviqasiyası',
41 getItemAriaLabel: (type, page, selected) => {
42 if (type === 'page') {
43 return `${page} ${selected ? 'səhifə' : 'səhifəyə keç'}`;
44 }
45
46 if (type === 'first') {
47 return 'Birinci səhifəyə keç';
48 }
49
50 if (type === 'last') {
51 return 'Sonuncu səhifəyə keç';
52 }
53
54 if (type === 'next') {
55 return 'Növbəti səhifəyə keç';
56 }
57
58 if (type === 'previous') {
59 return 'Əvvəlki səhifəyə keç';
60 }
61
62 return undefined;
63 }
64 }
65 }
66};
67export const bgBG = {
68 props: {
69 MuiBreadcrumbs: {
70 expandText: 'Показване на пътя'
71 },
72 MuiTablePagination: {
73 backIconButtonText: 'Предишна страница',
74 labelRowsPerPage: 'Редове на страница:',
75 labelDisplayedRows: ({
76 from,
77 to,
78 count
79 }) => `${from}-${to} от ${count !== -1 ? count : `more than ${to}`}`,
80 nextIconButtonText: 'Следваща страница'
81 },
82 MuiRating: {
83 getLabelText: value => `${value} Звезд${value !== 1 ? 'и' : 'а'}`,
84 emptyLabelText: 'Изчисти'
85 },
86 MuiAutocomplete: {
87 clearText: 'Изчисти',
88 closeText: 'Затвори',
89 loadingText: 'Зареждане…',
90 noOptionsText: 'Няма налични опции',
91 openText: 'Отвори'
92 },
93 MuiAlert: {
94 closeText: 'Затвори'
95 },
96 MuiPagination: {
97 'aria-label': 'Пагинация',
98 getItemAriaLabel: (type, page, selected) => {
99 if (type === 'page') {
100 return `${selected ? '' : 'Към '}страница ${page}`;
101 }
102
103 if (type === 'first') {
104 return 'Отиди на първата страница';
105 }
106
107 if (type === 'last') {
108 return 'Отиди на последната страница';
109 }
110
111 if (type === 'next') {
112 return 'Отиди на следващата страница';
113 }
114
115 if (type === 'previous') {
116 return 'Отиди на предишната страница';
117 }
118
119 return undefined;
120 }
121 }
122 }
123};
124export const caES = {
125 props: {
126 // MuiBreadcrumbs: {
127 // expandText: 'Show path',
128 // },
129 MuiTablePagination: {
130 backIconButtonText: 'Pàgina anterior',
131 labelRowsPerPage: 'Files per pàgina:',
132 labelDisplayedRows: ({
133 from,
134 to,
135 count
136 }) => `${from}-${to} de ${count !== -1 ? count : `more than ${to}`}`,
137 nextIconButtonText: 'Següent pàgina'
138 },
139 MuiRating: {
140 getLabelText: value => `${value} ${value !== 1 ? 'Estrelles' : 'Estrella'}`,
141 emptyLabelText: 'Buit'
142 },
143 MuiAutocomplete: {
144 clearText: 'Netejar',
145 closeText: 'Tancar',
146 loadingText: 'Carregant…',
147 noOptionsText: 'Sense opcions',
148 openText: 'Obert'
149 },
150 MuiAlert: {
151 closeText: 'Tancat'
152 } // MuiPagination: {
153 // 'aria-label': 'Pagination navigation',
154 // getItemAriaLabel: (type, page, selected) => {
155 // if (type === 'page') {
156 // return `${selected ? '' : 'Go to '}page ${page}`;
157 // }
158 // if (type === 'first') {
159 // return 'Go to first page';
160 // }
161 // if (type === 'last') {
162 // return 'Go to last page';
163 // }
164 // if (type === 'next') {
165 // return 'Go to next page';
166 // }
167 // if (type === 'previous') {
168 // return 'Go to previous page';
169 // }
170 // return undefined;
171 // },
172 // },
173
174 }
175};
176export const csCZ = {
177 props: {
178 MuiBreadcrumbs: {
179 expandText: 'Ukázat cestu'
180 },
181 MuiTablePagination: {
182 backIconButtonText: 'Předchozí stránka',
183 labelRowsPerPage: 'Řádků na stránce:',
184 labelDisplayedRows: ({
185 from,
186 to,
187 count
188 }) => `${from}-${to} z ${count !== -1 ? count : `more than ${to}`}`,
189 nextIconButtonText: 'Další stránka'
190 },
191 MuiRating: {
192 getLabelText: value => {
193 if (value === 1) {
194 return `${value} hvězdička`;
195 }
196
197 if (value >= 2 && value <= 4) {
198 return `${value} hvězdičky`;
199 }
200
201 return `${value} hvězdiček`;
202 },
203 emptyLabelText: 'Prázdné'
204 },
205 MuiAutocomplete: {
206 clearText: 'Vymazat',
207 closeText: 'Zavřít',
208 loadingText: 'Načítání…',
209 noOptionsText: 'Žádné možnosti',
210 openText: 'Otevřít'
211 },
212 MuiAlert: {
213 closeText: 'Zavřít'
214 },
215 MuiPagination: {
216 'aria-label': 'Navigace stránkováním',
217 getItemAriaLabel: (type, page, selected) => {
218 if (type === 'page') {
219 return `${selected ? '' : 'Jít na '}${page} stránku`;
220 }
221
222 if (type === 'first') {
223 return 'Jít na první stránku';
224 }
225
226 if (type === 'last') {
227 return 'Jít na poslední stránku';
228 }
229
230 if (type === 'next') {
231 return 'Jít na další stránku';
232 }
233
234 if (type === 'previous') {
235 return 'Jít na předchozí stránku';
236 }
237
238 return undefined;
239 }
240 }
241 }
242};
243export const deDE = {
244 props: {
245 MuiBreadcrumbs: {
246 expandText: 'Pfad anzeigen'
247 },
248 MuiTablePagination: {
249 backIconButtonText: 'Nächste Seite',
250 labelRowsPerPage: 'Zeilen pro Seite:',
251 labelDisplayedRows: ({
252 from,
253 to,
254 count
255 }) => `${from}-${to} von ${count !== -1 ? count : `more than ${to}`}`,
256 nextIconButtonText: 'Nächste Seite'
257 },
258 MuiRating: {
259 getLabelText: value => `${value} ${value !== 1 ? 'Sterne' : 'Stern'}`,
260 emptyLabelText: 'Keine Wertung'
261 },
262 MuiAutocomplete: {
263 clearText: 'Leeren',
264 closeText: 'Schließen',
265 loadingText: 'Wird geladen…',
266 noOptionsText: 'Keine Optionen',
267 openText: 'Öffnen'
268 },
269 MuiAlert: {
270 closeText: 'Schließen'
271 },
272 MuiPagination: {
273 'aria-label': 'Navigation via Seitennummerierung',
274 getItemAriaLabel: (type, page, selected) => {
275 if (type === 'page') {
276 return `${selected ? '' : 'Gehe zu '}Seite ${page}`;
277 }
278
279 if (type === 'first') {
280 return 'Zur ersten Seite';
281 }
282
283 if (type === 'last') {
284 return 'Zur letzten Seite';
285 }
286
287 if (type === 'next') {
288 return 'Zur nächsten Seite';
289 }
290
291 if (type === 'previous') {
292 return 'Zur vorherigen Seite';
293 }
294
295 return undefined;
296 }
297 }
298 }
299}; // default
300
301export const enUS = {
302 /*
303 props: {
304 MuiBreadcrumbs: {
305 expandText: 'Show path',
306 },
307 MuiTablePagination: {
308 backIconButtonText: 'Previous page',
309 labelRowsPerPage: 'Rows per page:',
310 labelDisplayedRows: ({ from, to, count }) =>
311 `${from}-${to} of ${count !== -1 ? count : `more than ${to}`}`,
312 nextIconButtonText: 'Next page',
313 },
314 MuiRating: {
315 getLabelText: value => `${value} Star${value !== 1 ? 's' : ''}`,
316 emptyLabelText: 'Empty',
317 },
318 MuiAutocomplete: {
319 clearText: 'Clear',
320 closeText: 'Close',
321 loadingText: 'Loading…',
322 noOptionsText: 'No options',
323 openText: 'Open',
324 },
325 MuiAlert: {
326 closeText: 'Close',
327 },
328 MuiPagination: {
329 'aria-label': 'Pagination navigation',
330 getItemAriaLabel: (type, page, selected) => {
331 if (type === 'page') {
332 return `${selected ? '' : 'Go to '}page ${page}`;
333 }
334 if (type === 'first') {
335 return 'Go to first page';
336 }
337 if (type === 'last') {
338 return 'Go to last page';
339 }
340 if (type === 'next') {
341 return 'Go to next page';
342 }
343 if (type === 'previous') {
344 return 'Go to previous page';
345 }
346 return undefined;
347 },
348 },
349 },
350 */
351};
352export const esES = {
353 props: {
354 MuiBreadcrumbs: {
355 expandText: 'Mostrar ruta'
356 },
357 MuiTablePagination: {
358 backIconButtonText: 'Página anterior',
359 labelRowsPerPage: 'Filas por página:',
360 labelDisplayedRows: ({
361 from,
362 to,
363 count
364 }) => `${from}-${to} de ${count !== -1 ? count : `more than ${to}`}`,
365 nextIconButtonText: 'Siguiente página'
366 },
367 MuiRating: {
368 getLabelText: value => `${value} Estrella${value !== 1 ? 's' : ''}`,
369 emptyLabelText: 'Vacío'
370 },
371 MuiAutocomplete: {
372 clearText: 'Limpiar',
373 closeText: 'Cerrar',
374 loadingText: 'Cargando…',
375 noOptionsText: 'Sin opciones',
376 openText: 'Abierto'
377 },
378 MuiAlert: {
379 closeText: 'Cerrar'
380 },
381 MuiPagination: {
382 'aria-label': 'Paginador',
383 getItemAriaLabel: (type, page, selected) => {
384 if (type === 'page') {
385 return `${selected ? '' : 'Ir a la '}página ${page}`;
386 }
387
388 if (type === 'first') {
389 return 'Ir a la primera página';
390 }
391
392 if (type === 'last') {
393 return 'Ir a la última página';
394 }
395
396 if (type === 'next') {
397 return 'Ir a la página siguiente';
398 }
399
400 if (type === 'previous') {
401 return 'Ir a la página anterior';
402 }
403
404 return undefined;
405 }
406 }
407 }
408};
409export const etEE = {
410 props: {
411 MuiBreadcrumbs: {
412 expandText: 'Näita teed'
413 },
414 MuiTablePagination: {
415 backIconButtonText: 'Eelmine lehekülg',
416 labelRowsPerPage: 'Ridu leheküljel:',
417 labelDisplayedRows: ({
418 from,
419 to,
420 count
421 }) => `${from}-${to} / ${count !== -1 ? count : `more than ${to}`}`,
422 nextIconButtonText: 'Järgmine lehekülg'
423 },
424 MuiRating: {
425 getLabelText: value => `${value} Tärn${value !== 1 ? 'i' : ''}`,
426 emptyLabelText: 'Tühi'
427 },
428 MuiAutocomplete: {
429 clearText: 'Tühjenda',
430 closeText: 'Sulge',
431 loadingText: 'Laen…',
432 noOptionsText: 'Valikuid ei ole',
433 openText: 'Ava'
434 },
435 MuiAlert: {
436 closeText: 'Sulge'
437 },
438 MuiPagination: {
439 'aria-label': 'Lehekülgede valik',
440 getItemAriaLabel: (type, page, selected) => {
441 if (type === 'page') {
442 return `${selected ? '' : 'Vali '}lehekülg ${page}`;
443 }
444
445 if (type === 'first') {
446 return 'Vali esimene lehekülg';
447 }
448
449 if (type === 'last') {
450 return 'Vali viimane lehekülg';
451 }
452
453 if (type === 'next') {
454 return 'Vali järgmine lehekülg';
455 }
456
457 if (type === 'previous') {
458 return 'Vali eelmine lehekülg';
459 }
460
461 return undefined;
462 }
463 }
464 }
465};
466export const faIR = {
467 props: {
468 // MuiBreadcrumbs: {
469 // expandText: 'Show path',
470 // },
471 MuiBreadcrumbs: {
472 expandText: 'نمایش مسیر'
473 },
474 MuiTablePagination: {
475 backIconButtonText: 'صفحهٔ قبل',
476 labelRowsPerPage: 'تعداد سطرهای هر صفحه:',
477 labelDisplayedRows: ({
478 from,
479 to,
480 count
481 }) => `${from}-${to} از ${count !== -1 ? count : `more than ${to}`}`,
482 nextIconButtonText: 'صفحهٔ بعد'
483 },
484 MuiRating: {
485 getLabelText: value => `${value} ستاره`,
486 emptyLabelText: 'خالی'
487 },
488 MuiAutocomplete: {
489 clearText: 'پاک‌کردن',
490 closeText: 'بستن',
491 loadingText: 'در حال بارگذاری…',
492 noOptionsText: 'بی‌نتیجه',
493 openText: 'بازکردن'
494 },
495 MuiAlert: {
496 closeText: 'بستن'
497 },
498 MuiPagination: {
499 'aria-label': 'ناوبری صفحه',
500 getItemAriaLabel: (type, page, selected) => {
501 if (type === 'page') {
502 return `${selected ? '' : 'رفتن به '}صفحهٔ ${page}`;
503 }
504
505 if (type === 'first') {
506 return 'رفتن به اولین صفحه';
507 }
508
509 if (type === 'last') {
510 return 'رفتن به آخرین صفحه';
511 }
512
513 if (type === 'next') {
514 return 'رفتن به صفحه‌ی بعدی';
515 }
516
517 if (type === 'previous') {
518 return 'رفتن به صفحه‌ی قبلی';
519 }
520
521 return undefined;
522 }
523 }
524 }
525};
526export const fiFI = {
527 props: {
528 MuiBreadcrumbs: {
529 expandText: 'Näytä reitti'
530 },
531 MuiTablePagination: {
532 backIconButtonText: 'Edellinen sivu',
533 labelRowsPerPage: 'Rivejä per sivu:',
534 labelDisplayedRows: ({
535 from,
536 to,
537 count
538 }) => `${from}-${to} / ${count !== -1 ? count : `more than ${to}`}`,
539 nextIconButtonText: 'Seuraava sivu'
540 },
541 MuiRating: {
542 getLabelText: value => `${value} Täht${value !== 1 ? 'eä' : 'i'}`,
543 emptyLabelText: 'Tyhjä'
544 },
545 MuiAutocomplete: {
546 clearText: 'Tyhjennä',
547 closeText: 'Sulje',
548 loadingText: 'Ladataan…',
549 noOptionsText: 'Ei valintoja',
550 openText: 'Avaa'
551 },
552 MuiAlert: {
553 closeText: 'Sulje'
554 },
555 MuiPagination: {
556 'aria-label': 'Sivutus navigaatio',
557 getItemAriaLabel: (type, page, selected) => {
558 if (type === 'page') {
559 return `${selected ? 'sivu' : 'Mene sivulle'} ${page}`;
560 }
561
562 if (type === 'first') {
563 return 'Mene ensimmäiselle sivulle';
564 }
565
566 if (type === 'last') {
567 return 'Mene viimeiselle sivulle';
568 }
569
570 if (type === 'next') {
571 return 'Mene seuraavalle sivulle';
572 }
573
574 if (type === 'previous') {
575 return 'Mene edelliselle sivulle';
576 }
577
578 return undefined;
579 }
580 }
581 }
582};
583export const frFR = {
584 props: {
585 MuiBreadcrumbs: {
586 expandText: 'Montrer le chemin'
587 },
588 MuiTablePagination: {
589 backIconButtonText: 'Page précédente',
590 labelRowsPerPage: 'Lignes par page :',
591 labelDisplayedRows: ({
592 from,
593 to,
594 count
595 }) => `${from}-${to} sur ${count !== -1 ? count : `plus que ${to}`}`,
596 nextIconButtonText: 'Page suivante'
597 },
598 MuiRating: {
599 getLabelText: value => `${value} Etoile${value !== 1 ? 's' : ''}`,
600 emptyLabelText: 'Vide'
601 },
602 MuiAutocomplete: {
603 clearText: 'Vider',
604 closeText: 'Fermer',
605 loadingText: 'Chargement…',
606 noOptionsText: 'Pas de résultats',
607 openText: 'Ouvrir'
608 },
609 MuiAlert: {
610 closeText: 'Fermer'
611 },
612 MuiPagination: {
613 'aria-label': 'navigation de pagination',
614 getItemAriaLabel: (type, page, selected) => {
615 if (type === 'page') {
616 return `${selected ? '' : 'Aller à la '}page ${page}`;
617 }
618
619 if (type === 'first') {
620 return 'Aller à la première page';
621 }
622
623 if (type === 'last') {
624 return 'Aller à la dernière page';
625 }
626
627 if (type === 'next') {
628 return 'Aller à la page suivante';
629 }
630
631 if (type === 'previous') {
632 return 'Aller à la page précédente';
633 }
634
635 return undefined;
636 }
637 }
638 }
639};
640export const heIL = {
641 props: {
642 // MuiBreadcrumbs: {
643 // expandText: 'Show path',
644 // },
645 MuiTablePagination: {
646 backIconButtonText: 'העמוד הקודם',
647 labelRowsPerPage: 'שורות בעמוד:',
648 labelDisplayedRows: ({
649 from,
650 to,
651 count
652 }) => `${from}-${to} מתוך ${count !== -1 ? count : `more than ${to}`}`,
653 nextIconButtonText: 'העמוד הבא'
654 },
655 MuiRating: {
656 getLabelText: value => `${value} כוכב${value !== 1 ? 'ים' : ''}`,
657 emptyLabelText: 'ריק'
658 },
659 MuiAutocomplete: {
660 clearText: 'נקה',
661 closeText: 'סגור',
662 loadingText: 'טוען…',
663 noOptionsText: 'אין אופציות',
664 openText: 'פתח'
665 },
666 MuiAlert: {
667 closeText: 'סגור'
668 } // MuiPagination: {
669 // 'aria-label': 'Pagination navigation',
670 // getItemAriaLabel: (type, page, selected) => {
671 // if (type === 'page') {
672 // return `${selected ? '' : 'Go to '}page ${page}`;
673 // }
674 // if (type === 'first') {
675 // return 'Go to first page';
676 // }
677 // if (type === 'last') {
678 // return 'Go to last page';
679 // }
680 // if (type === 'next') {
681 // return 'Go to next page';
682 // }
683 // if (type === 'previous') {
684 // return 'Go to previous page';
685 // }
686 // return undefined;
687 // },
688 // },
689
690 }
691};
692export const hiIN = {
693 props: {
694 MuiBreadcrumbs: {
695 expandText: 'रास्ता दिखायें'
696 },
697 MuiTablePagination: {
698 backIconButtonText: 'पिछला पृष्ठ',
699 labelRowsPerPage: 'पंक्तियाँ प्रति पृष्ठ:',
700 labelDisplayedRows: ({
701 from,
702 to,
703 count
704 }) => `${from}-${to === -1 ? count : to} कुल ${count} में`,
705 nextIconButtonText: 'अगला पृष्ठ'
706 },
707 MuiRating: {
708 getLabelText: value => `${value} तार${value !== 1 ? 'े' : 'ा'}`,
709 emptyLabelText: 'रिक्त'
710 },
711 MuiAutocomplete: {
712 clearText: 'हटायें',
713 closeText: 'बंद करें',
714 loadingText: 'लोड हो रहा है…',
715 noOptionsText: 'कोई विकल्प नहीं',
716 openText: 'खोलें'
717 },
718 MuiAlert: {
719 closeText: 'बंद करें'
720 },
721 MuiPagination: {
722 'aria-label': 'पृस्ठानुसार संचालन',
723 getItemAriaLabel: (type, page, selected) => {
724 if (type === 'page') {
725 return `पृष्ठ ${page} ${selected ? '' : ' पर जाएँ'}`;
726 }
727
728 if (type === 'first') {
729 return 'पहले पृष्ठ पर जाएँ';
730 }
731
732 if (type === 'last') {
733 return 'अंतिम पृष्ठ पर जाएँ';
734 }
735
736 if (type === 'next') {
737 return 'अगले पृष्ठ पर जाएँ';
738 }
739
740 if (type === 'previous') {
741 return 'पिछले पृष्ठ पर जाएँ';
742 }
743
744 return undefined;
745 }
746 }
747 }
748};
749export const huHU = {
750 props: {
751 MuiBreadcrumbs: {
752 expandText: 'Útvonal'
753 },
754 MuiTablePagination: {
755 backIconButtonText: 'Előző oldal',
756 labelRowsPerPage: 'Sorok száma:',
757 labelDisplayedRows: ({
758 from,
759 to,
760 count
761 }) => `${from}-${to} / ${count !== -1 ? count : `more than ${to}`}`,
762 nextIconButtonText: 'Következő oldal'
763 },
764 MuiRating: {
765 getLabelText: value => `${value} Csillag`,
766 emptyLabelText: 'Üres'
767 },
768 MuiAutocomplete: {
769 clearText: 'Törlés',
770 closeText: 'Bezárás',
771 loadingText: 'Töltés…',
772 noOptionsText: 'Nincs találat',
773 openText: 'Megnyitás'
774 },
775 MuiAlert: {
776 closeText: 'Bezárás'
777 },
778 MuiPagination: {
779 'aria-label': 'Lapozás',
780 getItemAriaLabel: (type, page, selected) => {
781 if (type === 'page') {
782 return `${page}. oldal${selected ? '' : 'ra'}`;
783 }
784
785 if (type === 'first') {
786 return 'Első oldalra';
787 }
788
789 if (type === 'last') {
790 return 'Utolsó oldalra';
791 }
792
793 if (type === 'next') {
794 return 'Következő oldalra';
795 }
796
797 if (type === 'previous') {
798 return 'Előző oldalra';
799 }
800
801 return undefined;
802 }
803 }
804 }
805};
806export const hyAM = {
807 props: {
808 // MuiBreadcrumbs: {
809 // expandText: 'Show path',
810 // },
811 MuiTablePagination: {
812 backIconButtonText: 'Նախորդը',
813 labelRowsPerPage: 'Տողեր մեկ էջում`',
814 labelDisplayedRows: ({
815 from,
816 to,
817 count
818 }) => `${from}-${to} / ${count !== -1 ? count : `more than ${to}`}`,
819 nextIconButtonText: 'Հաջորդը'
820 },
821 MuiRating: {
822 getLabelText: value => `${value} Աստղ`,
823 emptyLabelText: 'Դատարկ'
824 },
825 MuiAutocomplete: {
826 clearText: 'Մաքրել',
827 closeText: 'Փակել',
828 loadingText: 'Բեռնում…',
829 noOptionsText: 'Տարբերակներ չկան',
830 openText: 'Բացել'
831 },
832 MuiAlert: {
833 closeText: 'Փակել'
834 } // MuiPagination: {
835 // 'aria-label': 'Pagination navigation',
836 // getItemAriaLabel: (type, page, selected) => {
837 // if (type === 'page') {
838 // return `${selected ? '' : 'Go to '}page ${page}`;
839 // }
840 // if (type === 'first') {
841 // return 'Go to first page';
842 // }
843 // if (type === 'last') {
844 // return 'Go to last page';
845 // }
846 // if (type === 'next') {
847 // return 'Go to next page';
848 // }
849 // if (type === 'previous') {
850 // return 'Go to previous page';
851 // }
852 // return undefined;
853 // },
854 // },
855
856 }
857};
858export const idID = {
859 props: {
860 // MuiBreadcrumbs: {
861 // expandText: 'Show path',
862 // },
863 MuiTablePagination: {
864 backIconButtonText: 'Halaman sebelumnya',
865 labelRowsPerPage: 'Baris per halaman:',
866 labelDisplayedRows: ({
867 from,
868 to,
869 count
870 }) => `${from}-${to} dari ${count !== -1 ? count : `more than ${to}`}`,
871 nextIconButtonText: 'Halaman selanjutnya'
872 },
873 MuiRating: {
874 getLabelText: value => `${value} Bintang` // emptyLabelText: 'Empty',
875
876 },
877 MuiAutocomplete: {
878 clearText: 'Hapus',
879 closeText: 'Tutup',
880 loadingText: 'Memuat…',
881 noOptionsText: 'Tidak ada opsi',
882 openText: 'Buka'
883 },
884 MuiAlert: {
885 closeText: 'Tutup'
886 } // MuiPagination: {
887 // 'aria-label': 'Pagination navigation',
888 // getItemAriaLabel: (type, page, selected) => {
889 // if (type === 'page') {
890 // return `${selected ? '' : 'Go to '}page ${page}`;
891 // }
892 // if (type === 'first') {
893 // return 'Go to first page';
894 // }
895 // if (type === 'last') {
896 // return 'Go to last page';
897 // }
898 // if (type === 'next') {
899 // return 'Go to next page';
900 // }
901 // if (type === 'previous') {
902 // return 'Go to previous page';
903 // }
904 // return undefined;
905 // },
906 // },
907
908 }
909};
910export const isIS = {
911 props: {
912 // MuiBreadcrumbs: {
913 // expandText: 'Show path',
914 // },
915 MuiTablePagination: {
916 backIconButtonText: 'Fyrri síða',
917 labelRowsPerPage: 'Raðir á síðu:',
918 labelDisplayedRows: ({
919 from,
920 to,
921 count
922 }) => `${from}-${to} af ${count !== -1 ? count : `more than ${to}`}`,
923 nextIconButtonText: 'Næsta síða'
924 },
925 MuiRating: {
926 getLabelText: value => `${value} ${value === 1 ? 'Stjarna' : 'Stjörnur'}`,
927 emptyLabelText: 'Tómt'
928 },
929 MuiAutocomplete: {
930 clearText: 'Hreinsa',
931 closeText: 'Loka',
932 loadingText: 'Hlaða…',
933 noOptionsText: 'Engar niðurstöður',
934 openText: 'Opna'
935 },
936 MuiAlert: {
937 closeText: 'Loka'
938 } // MuiPagination: {
939 // 'aria-label': 'Pagination navigation',
940 // getItemAriaLabel: (type, page, selected) => {
941 // if (type === 'page') {
942 // return `${selected ? '' : 'Go to '}page ${page}`;
943 // }
944 // if (type === 'first') {
945 // return 'Go to first page';
946 // }
947 // if (type === 'last') {
948 // return 'Go to last page';
949 // }
950 // if (type === 'next') {
951 // return 'Go to next page';
952 // }
953 // if (type === 'previous') {
954 // return 'Go to previous page';
955 // }
956 // return undefined;
957 // },
958 // },
959
960 }
961};
962export const itIT = {
963 props: {
964 MuiBreadcrumbs: {
965 expandText: 'Visualizza percorso'
966 },
967 MuiTablePagination: {
968 backIconButtonText: 'Pagina precedente',
969 labelRowsPerPage: 'Righe per pagina:',
970 labelDisplayedRows: ({
971 from,
972 to,
973 count
974 }) => `${from}-${to} di ${count !== -1 ? count : `more than ${to}`}`,
975 nextIconButtonText: 'Pagina successiva'
976 },
977 MuiRating: {
978 getLabelText: value => `${value} Stell${value !== 1 ? 'e' : 'a'}`,
979 emptyLabelText: 'Vuoto'
980 },
981 MuiAutocomplete: {
982 clearText: 'Svuota',
983 closeText: 'Chiudi',
984 loadingText: 'Caricamento in corso…',
985 noOptionsText: 'Nessuna opzione',
986 openText: 'Apri'
987 },
988 MuiAlert: {
989 closeText: 'Chiudi'
990 },
991 MuiPagination: {
992 'aria-label': 'Navigazione impaginata',
993 getItemAriaLabel: (type, page, selected) => {
994 if (type === 'page') {
995 return `${selected ? '' : 'Vai alla '}pagina ${page}`;
996 }
997
998 if (type === 'first') {
999 return 'Vai alla prima pagina';
1000 }
1001
1002 if (type === 'last') {
1003 return "Vai all'ultima pagina";
1004 }
1005
1006 if (type === 'next') {
1007 return 'Vai alla pagina successiva';
1008 }
1009
1010 if (type === 'previous') {
1011 return 'Vai alla pagina precedente';
1012 }
1013
1014 return undefined;
1015 }
1016 }
1017 }
1018};
1019export const jaJP = {
1020 props: {
1021 // MuiBreadcrumbs: {
1022 // expandText: 'Show path',
1023 // },
1024 MuiTablePagination: {
1025 backIconButtonText: '前のページ',
1026 labelRowsPerPage: 'ページごとの行:',
1027 labelDisplayedRows: ({
1028 from,
1029 to,
1030 count
1031 }) => `${from}-${to} of ${count !== -1 ? count : `more than ${to}`}`,
1032 nextIconButtonText: '次のページ'
1033 },
1034 MuiRating: {
1035 getLabelText: value => `${value} ${value !== 1 ? '出演者' : '星'}` // emptyLabelText: 'Empty',
1036
1037 },
1038 MuiAutocomplete: {
1039 clearText: 'クリア',
1040 closeText: '閉じる',
1041 loadingText: '積み込み…',
1042 noOptionsText: '結果がありません',
1043 openText: '開いた'
1044 },
1045 MuiAlert: {
1046 closeText: '閉じる'
1047 } // MuiPagination: {
1048 // 'aria-label': 'Pagination navigation',
1049 // getItemAriaLabel: (type, page, selected) => {
1050 // if (type === 'page') {
1051 // return `${selected ? '' : 'Go to '}page ${page}`;
1052 // }
1053 // if (type === 'first') {
1054 // return 'Go to first page';
1055 // }
1056 // if (type === 'last') {
1057 // return 'Go to last page';
1058 // }
1059 // if (type === 'next') {
1060 // return 'Go to next page';
1061 // }
1062 // if (type === 'previous') {
1063 // return 'Go to previous page';
1064 // }
1065 // return undefined;
1066 // },
1067 // },
1068
1069 }
1070};
1071export const koKR = {
1072 props: {
1073 // MuiBreadcrumbs: {
1074 // expandText: 'Show path',
1075 // },
1076 MuiTablePagination: {
1077 backIconButtonText: '이전 페이지',
1078 labelRowsPerPage: '페이지 당 행:',
1079 labelDisplayedRows: ({
1080 from,
1081 to,
1082 count
1083 }) => `${from}-${to} / ${count !== -1 ? count : `more than ${to}`}`,
1084 nextIconButtonText: '다음 페이지'
1085 },
1086 MuiRating: {
1087 getLabelText: value => `${value} 점` // emptyLabelText: 'Empty',
1088
1089 },
1090 MuiAutocomplete: {
1091 clearText: '지우기',
1092 closeText: '닫기',
1093 loadingText: '불러오는 중…',
1094 noOptionsText: '옵션 없음',
1095 openText: '열기'
1096 }
1097 }
1098};
1099export const nlNL = {
1100 props: {
1101 // MuiBreadcrumbs: {
1102 // expandText: 'Show path',
1103 // },
1104 MuiTablePagination: {
1105 backIconButtonText: 'Vorige pagina',
1106 labelRowsPerPage: 'Regels per pagina :',
1107 labelDisplayedRows: ({
1108 from,
1109 to,
1110 count
1111 }) => `${from}-${to} van ${count !== -1 ? count : `more than ${to}`}`,
1112 nextIconButtonText: 'Volgende pagina'
1113 },
1114 MuiRating: {
1115 getLabelText: value => `${value} Ster${value !== 1 ? 'ren' : ''}` // emptyLabelText: 'Empty',
1116
1117 },
1118 MuiAutocomplete: {
1119 clearText: 'Wissen',
1120 closeText: 'Sluiten',
1121 loadingText: 'Laden…',
1122 noOptionsText: 'Geen opties',
1123 openText: 'Openen'
1124 },
1125 MuiAlert: {
1126 closeText: 'Sluiten'
1127 } // MuiPagination: {
1128 // 'aria-label': 'Pagination navigation',
1129 // getItemAriaLabel: (type, page, selected) => {
1130 // if (type === 'page') {
1131 // return `${selected ? '' : 'Go to '}page ${page}`;
1132 // }
1133 // if (type === 'first') {
1134 // return 'Go to first page';
1135 // }
1136 // if (type === 'last') {
1137 // return 'Go to last page';
1138 // }
1139 // if (type === 'next') {
1140 // return 'Go to next page';
1141 // }
1142 // if (type === 'previous') {
1143 // return 'Go to previous page';
1144 // }
1145 // return undefined;
1146 // },
1147 // },
1148
1149 }
1150};
1151export const plPL = {
1152 props: {
1153 MuiBreadcrumbs: {
1154 expandText: 'Pokaż ścieżkę'
1155 },
1156 MuiTablePagination: {
1157 backIconButtonText: 'Poprzednia strona',
1158 labelRowsPerPage: 'Wierszy na stronę:',
1159 labelDisplayedRows: ({
1160 from,
1161 to,
1162 count
1163 }) => `${from}-${to} z ${count !== -1 ? count : `more than ${to}`}`,
1164 nextIconButtonText: 'Następna strona'
1165 },
1166 MuiRating: {
1167 getLabelText: value => {
1168 let pluralForm = 'gwiazdek';
1169 const lastDigit = value % 10;
1170
1171 if ((value < 10 || value > 20) && lastDigit > 1 && lastDigit < 5) {
1172 pluralForm = 'gwiazdki';
1173 } else if (value === 1) {
1174 pluralForm = 'gwiazdka';
1175 }
1176
1177 return `${value} ${pluralForm}`;
1178 },
1179 emptyLabelText: 'Brak gwiazdek'
1180 },
1181 MuiAutocomplete: {
1182 clearText: 'Wyczyść',
1183 closeText: 'Zamknij',
1184 loadingText: 'Ładowanie…',
1185 noOptionsText: 'Brak opcji',
1186 openText: 'Otwórz'
1187 },
1188 MuiAlert: {
1189 closeText: 'Zamknij'
1190 },
1191 MuiPagination: {
1192 'aria-label': 'Nawigacja podziału na strony',
1193 getItemAriaLabel: (type, page, selected) => {
1194 if (type === 'page') {
1195 return selected ? `${page}. strona` : `Przejdź do ${page}. strony`;
1196 }
1197
1198 if (type === 'first') {
1199 return 'Przejdź do pierwszej strony';
1200 }
1201
1202 if (type === 'last') {
1203 return 'Przejdź do ostatniej strony';
1204 }
1205
1206 if (type === 'next') {
1207 return 'Przejdź do następnej strony';
1208 }
1209
1210 if (type === 'previous') {
1211 return 'Przejdź do poprzedniej strony';
1212 }
1213
1214 return undefined;
1215 }
1216 }
1217 }
1218};
1219export const ptBR = {
1220 props: {
1221 MuiBreadcrumbs: {
1222 expandText: 'Mostrar caminho'
1223 },
1224 MuiTablePagination: {
1225 backIconButtonText: 'Página anterior',
1226 labelRowsPerPage: 'Linhas por página:',
1227 labelDisplayedRows: ({
1228 from,
1229 to,
1230 count
1231 }) => `${from}-${to} de ${count !== -1 ? count : `more than ${to}`}`,
1232 nextIconButtonText: 'Próxima página'
1233 },
1234 MuiRating: {
1235 getLabelText: value => `${value} Estrela${value !== 1 ? 's' : ''}`,
1236 emptyLabelText: 'Vazio'
1237 },
1238 MuiAutocomplete: {
1239 clearText: 'Limpar',
1240 closeText: 'Fechar',
1241 loadingText: 'Carregando…',
1242 noOptionsText: 'Sem opções',
1243 openText: 'Abrir'
1244 },
1245 MuiAlert: {
1246 closeText: 'Fechar'
1247 },
1248 MuiPagination: {
1249 'aria-label': 'Navegar pela paginação',
1250 getItemAriaLabel: (type, page, selected) => {
1251 if (type === 'page') {
1252 return `${selected ? '' : 'Ir para a '}página ${page}`;
1253 }
1254
1255 if (type === 'first') {
1256 return 'Ir para a primeira página';
1257 }
1258
1259 if (type === 'last') {
1260 return 'Ir para a última página';
1261 }
1262
1263 if (type === 'next') {
1264 return 'Ir para a próxima página';
1265 }
1266
1267 if (type === 'previous') {
1268 return 'Ir para a página anterior';
1269 }
1270
1271 return undefined;
1272 }
1273 }
1274 }
1275};
1276export const ptPT = {
1277 props: {
1278 MuiBreadcrumbs: {
1279 expandText: 'Mostrar caminho'
1280 },
1281 MuiTablePagination: {
1282 backIconButtonText: 'Página anterior',
1283 labelRowsPerPage: 'Linhas por página:',
1284 labelDisplayedRows: ({
1285 from,
1286 to,
1287 count
1288 }) => `${from}-${to} de ${count !== -1 ? count : `more than ${to}`}`,
1289 nextIconButtonText: 'Próxima página'
1290 },
1291 MuiRating: {
1292 getLabelText: value => `${value} Estrela${value !== 1 ? 's' : ''}`,
1293 emptyLabelText: 'Vazio'
1294 },
1295 MuiAutocomplete: {
1296 clearText: 'Limpar',
1297 closeText: 'Fechar',
1298 loadingText: 'A carregar…',
1299 noOptionsText: 'Sem opções',
1300 openText: 'Abrir'
1301 },
1302 MuiAlert: {
1303 closeText: 'Fechar'
1304 },
1305 MuiPagination: {
1306 'aria-label': 'Navegar por páginas',
1307 getItemAriaLabel: (type, page, selected) => {
1308 if (type === 'page') {
1309 return `${selected ? '' : 'Ir para a '}página ${page}`;
1310 }
1311
1312 if (type === 'first') {
1313 return 'Primeira página';
1314 }
1315
1316 if (type === 'last') {
1317 return 'Última página';
1318 }
1319
1320 if (type === 'next') {
1321 return 'Próxima página';
1322 }
1323
1324 if (type === 'previous') {
1325 return 'Página anterior';
1326 }
1327
1328 return undefined;
1329 }
1330 }
1331 }
1332};
1333export const roRO = {
1334 props: {
1335 MuiBreadcrumbs: {
1336 expandText: 'Arată calea'
1337 },
1338 MuiTablePagination: {
1339 backIconButtonText: 'Pagina precedentă',
1340 labelRowsPerPage: 'Rânduri pe pagină:',
1341 labelDisplayedRows: ({
1342 from,
1343 to,
1344 count
1345 }) => `${from}-${to} din ${count !== -1 ? count : `more than ${to}`}`,
1346 nextIconButtonText: 'Pagina următoare'
1347 },
1348 MuiRating: {
1349 getLabelText: value => `${value} St${value !== 1 ? 'ele' : 'ea'}`,
1350 emptyLabelText: 'Gol'
1351 },
1352 MuiAutocomplete: {
1353 clearText: 'Șterge',
1354 closeText: 'Închide',
1355 loadingText: 'Se încarcă…',
1356 noOptionsText: 'Nicio opțiune',
1357 openText: 'Deschide'
1358 },
1359 MuiAlert: {
1360 closeText: 'Închide'
1361 },
1362 MuiPagination: {
1363 'aria-label': 'Navigare prin paginare',
1364 getItemAriaLabel: (type, page, selected) => {
1365 if (type === 'page') {
1366 return `${selected ? '' : 'Mergi la '}pagina ${page}`;
1367 }
1368
1369 if (type === 'first') {
1370 return 'Mergi la prima pagină';
1371 }
1372
1373 if (type === 'last') {
1374 return 'Mergi la ultima pagină';
1375 }
1376
1377 if (type === 'next') {
1378 return 'Mergi la pagina următoare';
1379 }
1380
1381 if (type === 'previous') {
1382 return 'Mergi la pagina precedentă';
1383 }
1384
1385 return undefined;
1386 }
1387 }
1388 }
1389};
1390export const ruRU = {
1391 props: {
1392 // MuiBreadcrumbs: {
1393 // expandText: 'Show path',
1394 // },
1395 MuiTablePagination: {
1396 backIconButtonText: 'Предыдущая страница',
1397 labelRowsPerPage: 'Строк на странице:',
1398 labelDisplayedRows: ({
1399 from,
1400 to,
1401 count
1402 }) => `${from}-${to} из ${count !== -1 ? count : `более чем ${to}`}`,
1403 nextIconButtonText: 'Следующая страница'
1404 },
1405 MuiRating: {
1406 getLabelText: value => {
1407 let pluralForm = 'Звёзд';
1408 const lastDigit = value % 10;
1409
1410 if (lastDigit > 1 && lastDigit < 5) {
1411 pluralForm = 'Звезды';
1412 } else if (lastDigit === 1) {
1413 pluralForm = 'Звезда';
1414 }
1415
1416 return `${value} ${pluralForm}`;
1417 } // emptyLabelText: 'Empty',
1418
1419 },
1420 MuiAutocomplete: {
1421 clearText: 'Очистить',
1422 closeText: 'Закрыть',
1423 loadingText: 'Загрузка…',
1424 noOptionsText: 'Нет доступных вариантов',
1425 openText: 'Открыть'
1426 },
1427 MuiAlert: {
1428 closeText: 'Закрыть'
1429 } // MuiPagination: {
1430 // 'aria-label': 'Pagination navigation',
1431 // getItemAriaLabel: (type, page, selected) => {
1432 // if (type === 'page') {
1433 // return `${selected ? '' : 'Go to '}page ${page}`;
1434 // }
1435 // if (type === 'first') {
1436 // return 'Go to first page';
1437 // }
1438 // if (type === 'last') {
1439 // return 'Go to last page';
1440 // }
1441 // if (type === 'next') {
1442 // return 'Go to next page';
1443 // }
1444 // if (type === 'previous') {
1445 // return 'Go to previous page';
1446 // }
1447 // return undefined;
1448 // },
1449 // },
1450
1451 }
1452};
1453export const skSK = {
1454 props: {
1455 // MuiBreadcrumbs: {
1456 // expandText: 'Show path',
1457 // },
1458 MuiTablePagination: {
1459 backIconButtonText: 'Predchádzajúca stránka',
1460 labelRowsPerPage: 'Riadkov na stránke:',
1461 labelDisplayedRows: ({
1462 from,
1463 to,
1464 count
1465 }) => `${from}-${to} z ${count !== -1 ? count : `more than ${to}`}`,
1466 nextIconButtonText: 'Ďalšia stránka'
1467 },
1468 MuiRating: {
1469 getLabelText: value => {
1470 if (value === 1) {
1471 return `${value} hviezdička`;
1472 }
1473
1474 if (value >= 2 && value <= 4) {
1475 return `${value} hviezdičky`;
1476 }
1477
1478 return `${value} hviezdičiek`;
1479 } // emptyLabelText: 'Empty',
1480
1481 },
1482 MuiAutocomplete: {
1483 clearText: 'Vymazať',
1484 closeText: 'Zavrieť',
1485 loadingText: 'Načítanie…',
1486 noOptionsText: 'Žiadne možnosti',
1487 openText: 'Otvoriť'
1488 },
1489 MuiAlert: {
1490 closeText: 'Zavrieť'
1491 } // MuiPagination: {
1492 // 'aria-label': 'Pagination navigation',
1493 // getItemAriaLabel: (type, page, selected) => {
1494 // if (type === 'page') {
1495 // return `${selected ? '' : 'Go to '}page ${page}`;
1496 // }
1497 // if (type === 'first') {
1498 // return 'Go to first page';
1499 // }
1500 // if (type === 'last') {
1501 // return 'Go to last page';
1502 // }
1503 // if (type === 'next') {
1504 // return 'Go to next page';
1505 // }
1506 // if (type === 'previous') {
1507 // return 'Go to previous page';
1508 // }
1509 // return undefined;
1510 // },
1511 // },
1512
1513 }
1514};
1515export const svSE = {
1516 props: {
1517 // MuiBreadcrumbs: {
1518 // expandText: 'Show path',
1519 // },
1520 MuiTablePagination: {
1521 backIconButtonText: 'Föregående sida',
1522 labelRowsPerPage: 'Rader per sida:',
1523 labelDisplayedRows: ({
1524 from,
1525 to,
1526 count
1527 }) => `${from}-${to} av ${count !== -1 ? count : `more than ${to}`}`,
1528 nextIconButtonText: 'Nästa sida'
1529 },
1530 MuiRating: {
1531 getLabelText: value => `${value} ${value !== 1 ? 'Stjärnor' : 'Stjärna'}` // emptyLabelText: 'Empty',
1532
1533 },
1534 MuiAutocomplete: {
1535 clearText: 'Rensa',
1536 closeText: 'Stäng',
1537 loadingText: 'Laddar…',
1538 noOptionsText: 'Inga alternativ',
1539 openText: 'Öppen'
1540 },
1541 MuiAlert: {
1542 closeText: 'Stäng'
1543 } // MuiPagination: {
1544 // 'aria-label': 'Pagination navigation',
1545 // getItemAriaLabel: (type, page, selected) => {
1546 // if (type === 'page') {
1547 // return `${selected ? '' : 'Go to '}page ${page}`;
1548 // }
1549 // if (type === 'first') {
1550 // return 'Go to first page';
1551 // }
1552 // if (type === 'last') {
1553 // return 'Go to last page';
1554 // }
1555 // if (type === 'next') {
1556 // return 'Go to next page';
1557 // }
1558 // if (type === 'previous') {
1559 // return 'Go to previous page';
1560 // }
1561 // return undefined;
1562 // },
1563 // },
1564
1565 }
1566};
1567export const trTR = {
1568 props: {
1569 MuiBreadcrumbs: {
1570 expandText: 'Yolu göster'
1571 },
1572 MuiTablePagination: {
1573 backIconButtonText: 'Önceki sayfa',
1574 labelRowsPerPage: 'Sayfa başına satır:',
1575 labelDisplayedRows: ({
1576 from,
1577 to,
1578 count
1579 }) => `${from}-${to} tanesinden ${count !== -1 ? count : `more than ${to}`}`,
1580 nextIconButtonText: 'Sonraki sayfa'
1581 },
1582 MuiRating: {
1583 getLabelText: value => `${value} Yıldız`,
1584 emptyLabelText: 'Boş'
1585 },
1586 MuiAutocomplete: {
1587 clearText: 'Temizle',
1588 closeText: 'Kapat',
1589 loadingText: 'Yükleniyor…',
1590 noOptionsText: 'Seçenek yok',
1591 openText: 'Aç'
1592 },
1593 MuiAlert: {
1594 closeText: 'Kapat'
1595 },
1596 MuiPagination: {
1597 'aria-label': 'Sayfa navigasyonu',
1598 getItemAriaLabel: (type, page, selected) => {
1599 if (type === 'page') {
1600 return `${page}. ${selected ? 'sayfa' : 'sayfaya git'}`;
1601 }
1602
1603 if (type === 'first') {
1604 return 'İlk sayfaya git';
1605 }
1606
1607 if (type === 'last') {
1608 return 'Son sayfaya git';
1609 }
1610
1611 if (type === 'next') {
1612 return 'Sonraki sayfaya git';
1613 }
1614
1615 if (type === 'previous') {
1616 return 'Önceki sayfaya git';
1617 }
1618
1619 return undefined;
1620 }
1621 }
1622 }
1623};
1624export const ukUA = {
1625 props: {
1626 MuiBreadcrumbs: {
1627 expandText: 'Показати шлях сторінок'
1628 },
1629 MuiTablePagination: {
1630 backIconButtonText: 'Попередня сторінка',
1631 labelRowsPerPage: 'Рядків на сторінці:',
1632 labelDisplayedRows: ({
1633 from,
1634 to,
1635 count
1636 }) => `${from}-${to} з ${count !== -1 ? count : `понад ${to}`}`,
1637 nextIconButtonText: 'Наступна сторінка'
1638 },
1639 MuiRating: {
1640 getLabelText: value => {
1641 let pluralForm = 'Зірок';
1642 const lastDigit = value % 10;
1643
1644 if (lastDigit > 1 && lastDigit < 5) {
1645 pluralForm = 'Зірки';
1646 } else if (lastDigit === 1) {
1647 pluralForm = 'Зірка';
1648 }
1649
1650 return `${value} ${pluralForm}`;
1651 },
1652 emptyLabelText: 'Рейтинг відсутній'
1653 },
1654 MuiAutocomplete: {
1655 clearText: 'Очистити',
1656 closeText: 'Згорнути',
1657 loadingText: 'Завантаження…',
1658 noOptionsText: 'Немає варіантів',
1659 openText: 'Розгорнути'
1660 },
1661 MuiAlert: {
1662 closeText: 'Згорнути'
1663 },
1664 MuiPagination: {
1665 'aria-label': 'Навігація сторінками',
1666 getItemAriaLabel: (type, page, selected) => {
1667 if (type === 'page') {
1668 return `${selected ? '' : 'Перейти на '}сторінку ${page}`;
1669 }
1670
1671 if (type === 'first') {
1672 return 'Перейти на першу сторінку';
1673 }
1674
1675 if (type === 'last') {
1676 return 'Перейти на останню сторінку';
1677 }
1678
1679 if (type === 'next') {
1680 return 'Перейти на наступну сторінку';
1681 }
1682
1683 if (type === 'previous') {
1684 return 'Перейти на попередню сторінку';
1685 }
1686
1687 return undefined;
1688 }
1689 }
1690 }
1691};
1692export const viVN = {
1693 props: {
1694 // MuiBreadcrumbs: {
1695 // expandText: 'Show path',
1696 // },
1697 MuiTablePagination: {
1698 backIconButtonText: 'Trang trước',
1699 labelRowsPerPage: 'Số hàng mỗi trang:',
1700 labelDisplayedRows: ({
1701 from,
1702 to,
1703 count
1704 }) => `${from}-${to} trong ${count !== -1 ? count : `nhiều hơn ${to}`}`,
1705 nextIconButtonText: 'Trang sau'
1706 },
1707 MuiRating: {
1708 getLabelText: value => `${value} sao`,
1709 emptyLabelText: 'Trống'
1710 },
1711 MuiAutocomplete: {
1712 clearText: 'Xóa',
1713 closeText: 'Đóng',
1714 loadingText: 'Đang tải…',
1715 noOptionsText: 'Không có lựa chọn',
1716 openText: 'Mở'
1717 },
1718 MuiAlert: {
1719 closeText: 'Đóng'
1720 } // MuiPagination: {
1721 // 'aria-label': 'Pagination navigation',
1722 // getItemAriaLabel: (type, page, selected) => {
1723 // if (type === 'page') {
1724 // return `${selected ? '' : 'Go to '}page ${page}`;
1725 // }
1726 // if (type === 'first') {
1727 // return 'Go to first page';
1728 // }
1729 // if (type === 'last') {
1730 // return 'Go to last page';
1731 // }
1732 // if (type === 'next') {
1733 // return 'Go to next page';
1734 // }
1735 // if (type === 'previous') {
1736 // return 'Go to previous page';
1737 // }
1738 // return undefined;
1739 // },
1740 // },
1741
1742 }
1743};
1744export const zhCN = {
1745 props: {
1746 // MuiBreadcrumbs: {
1747 // expandText: 'Show path',
1748 // },
1749 MuiTablePagination: {
1750 backIconButtonText: '上一页',
1751 labelRowsPerPage: '每页行数:',
1752 labelDisplayedRows: ({
1753 from,
1754 to,
1755 count
1756 }) => `${from}-${to}${count !== -1 ? count : `超过 ${to}`}`,
1757 nextIconButtonText: '下一页'
1758 },
1759 MuiRating: {
1760 getLabelText: value => `${value}${value !== 1 ? '星' : ''}` // emptyLabelText: 'Empty',
1761
1762 },
1763 MuiAutocomplete: {
1764 clearText: '明确',
1765 closeText: '关',
1766 loadingText: '载入中…',
1767 noOptionsText: '没有选择',
1768 openText: '打开'
1769 },
1770 MuiAlert: {
1771 closeText: '关'
1772 } // MuiPagination: {
1773 // 'aria-label': 'Pagination navigation',
1774 // getItemAriaLabel: (type, page, selected) => {
1775 // if (type === 'page') {
1776 // return `${selected ? '' : 'Go to '}page ${page}`;
1777 // }
1778 // if (type === 'first') {
1779 // return 'Go to first page';
1780 // }
1781 // if (type === 'last') {
1782 // return 'Go to last page';
1783 // }
1784 // if (type === 'next') {
1785 // return 'Go to next page';
1786 // }
1787 // if (type === 'previous') {
1788 // return 'Go to previous page';
1789 // }
1790 // return undefined;
1791 // },
1792 // },
1793
1794 }
1795};
\No newline at end of file