Skip to content

Commit

Permalink
AZ locale updated
Browse files Browse the repository at this point in the history
  • Loading branch information
rommelmamedov authored Apr 20, 2020
1 parent 9bf9e82 commit 6bab04d
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions packages/material-ui/src/locale/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export const azAZ = {
props: {
// MuiBreadcrumbs: {
// expandText: 'Show path',
// },
MuiBreadcrumbs: {
expandText: 'Yolu göstər',
},
MuiTablePagination: {
backIconButtonText: 'Əvvəlki səhifə',
labelRowsPerPage: 'Səhifəyə düşən sətrlər:',
Expand All @@ -20,7 +20,7 @@ export const azAZ = {

return `${value} ${pluralForm}`;
},
// emptyLabelText: 'Empty',
emptyLabelText: 'Boş',
},
MuiAutocomplete: {
clearText: 'Silmək',
Expand All @@ -32,27 +32,27 @@ export const azAZ = {
MuiAlert: {
closeText: 'Bağlamaq',
},
// 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';
// }
// return undefined;
// },
// },
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ç';
}
return undefined;
},
},
},
};

Expand Down

0 comments on commit 6bab04d

Please sign in to comment.