Skip to content

Commit a85af8e

Browse files
authored
[l10n] bgBg
Add missing Bulgarian l10n
1 parent 324f9c5 commit a85af8e

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

packages/material-ui/src/locale/index.js

+24-24
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ export const azAZ = {
5858

5959
export const bgBG = {
6060
props: {
61-
// MuiBreadcrumbs: {
62-
// expandText: 'Show path',
63-
// },
61+
MuiBreadcrumbs: {
62+
expandText: 'Показване на пътя',
63+
},
6464
MuiTablePagination: {
6565
backIconButtonText: 'Предишна страница',
6666
labelRowsPerPage: 'Редове на страница:',
@@ -81,27 +81,27 @@ export const bgBG = {
8181
MuiAlert: {
8282
closeText: 'Затвори',
8383
},
84-
// MuiPagination: {
85-
// 'aria-label': 'Pagination navigation',
86-
// getItemAriaLabel: (type, page, selected) => {
87-
// if (type === 'page') {
88-
// return `${selected ? '' : 'Go to '}page ${page}`;
89-
// }
90-
// if (type === 'first') {
91-
// return 'Go to first page';
92-
// }
93-
// if (type === 'last') {
94-
// return 'Go to last page';
95-
// }
96-
// if (type === 'next') {
97-
// return 'Go to next page';
98-
// }
99-
// if (type === 'previous') {
100-
// return 'Go to previous page';
101-
// }
102-
// return undefined;
103-
// },
104-
// },
84+
MuiPagination: {
85+
'aria-label': 'Пагинация',
86+
getItemAriaLabel: (type, page, selected) => {
87+
if (type === 'page') {
88+
return `${selected ? '' : 'Към '}страница ${page}`;
89+
}
90+
if (type === 'first') {
91+
return 'Отиди на първата страница';
92+
}
93+
if (type === 'last') {
94+
return 'Отиди на последната страница';
95+
}
96+
if (type === 'next') {
97+
return 'Отиди на следващата страница';
98+
}
99+
if (type === 'previous') {
100+
return 'Отиди на предишната страница';
101+
}
102+
return undefined;
103+
},
104+
},
105105
},
106106
};
107107

0 commit comments

Comments
 (0)