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 cs-CZ locale #20670

Merged
merged 3 commits into from
Apr 22, 2020
Merged
Changes from 2 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
Expand Up @@ -156,9 +156,9 @@ export const caES = {

export const csCZ = {
props: {
// MuiBreadcrumbs: {
// expandText: 'Show path',
// },
MuiBreadcrumbs: {
expandText: 'Ukázat drobečky',
oliviertassinari marked this conversation as resolved.
Show resolved Hide resolved
char0n marked this conversation as resolved.
Show resolved Hide resolved
},
MuiTablePagination: {
backIconButtonText: 'Předchozí stránka',
labelRowsPerPage: 'Řádků na stránce:',
Expand All @@ -175,7 +175,7 @@ export const csCZ = {
}
return `${value} hvězdiček`;
},
emptyLabelText: 'Empty',
emptyLabelText: 'Prázdné',
},
MuiAutocomplete: {
clearText: 'Vymazat',
Expand All @@ -187,27 +187,27 @@ export const csCZ = {
MuiAlert: {
closeText: 'Zavřít',
},
// 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': 'Navigace stránkováním',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return `${selected ? '' : 'Jít na '}${page} stránku`;
}
if (type === 'first') {
return 'Jít na první stránku';
}
if (type === 'last') {
return 'Jít na poslední stránku';
}
if (type === 'next') {
return 'Jít na další stránku';
}
if (type === 'previous') {
return 'Jít na předchozí stránku';
}
return undefined;
},
},
},
};

Expand Down