Skip to content

Commit

Permalink
Estonian translation for MuiPagination
Browse files Browse the repository at this point in the history
  • Loading branch information
villuv committed Feb 14, 2020
1 parent 7085226 commit c5318c3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions packages/material-ui/src/locale/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,27 @@ export const etEE = {
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';
}
return undefined;
},
},
},
};

Expand Down

0 comments on commit c5318c3

Please sign in to comment.