Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[l10n] Improve az-AZ locale #20659

Merged
merged 1 commit into from
Apr 20, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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