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 pl-PL locale #20672

Merged
merged 1 commit into from
Apr 21, 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
Expand Up @@ -984,9 +984,9 @@ export const nlNL = {

export const plPL = {
props: {
// MuiBreadcrumbs: {
// expandText: 'Show path',
// },
MuiBreadcrumbs: {
expandText: 'Pokaż ścieżkę',
},
MuiTablePagination: {
backIconButtonText: 'Poprzednia strona',
labelRowsPerPage: 'Wierszy na stronę:',
Expand All @@ -1006,7 +1006,7 @@ export const plPL = {

return `${value} ${pluralForm}`;
},
// emptyLabelText: 'Empty',
emptyLabelText: 'Brak gwiazdek',
},
MuiAutocomplete: {
clearText: 'Wyczyść',
Expand All @@ -1018,27 +1018,27 @@ export const plPL = {
MuiAlert: {
closeText: 'Zamknij',
},
// 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': 'Nawigacja podziału na strony',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return selected ? `${page}. strona` : `Przejdź do ${page}. strony`;
}
if (type === 'first') {
return 'Przejdź do pierwszej strony';
}
if (type === 'last') {
return 'Przejdź do ostatniej strony';
}
if (type === 'next') {
return 'Przejdź do następnej strony';
}
if (type === 'previous') {
return 'Przejdź do poprzedniej strony';
}
return undefined;
},
},
},
};

Expand Down