Skip to content

[Localization] Add Slovak locale #4999

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
58 changes: 58 additions & 0 deletions packages/toolpad-core/src/locales/skSK.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
import type { LocaleText } from '../AppProvider';
import { getLocalization } from './getLocalization';

const enLabels: LocaleText = {
// Account
accountSignInLabel: 'Prihlásiť sa',
accountSignOutLabel: 'Odhlásiť sa',

// AccountPreview
accountPreviewTitle: 'Účet',
accountPreviewIconButtonLabel: 'Aktuálny používateľ',

// SignInPage
signInTitle: (brandingTitle?: string) =>
brandingTitle ? `Prihlásiť sa do ${brandingTitle}` : 'Prihlásiť sa',
signInSubtitle: 'Vitajte, pre pokračovanie sa prosím prihláste.',
signInRememberMe: 'Zapamätať prihlásenie',
providerSignInTitle: (provider: string) => `Prihlásiť cez ${provider}`,

// Common authentication labels
email: 'E-mail',
password: 'Heslo',
username: 'Používateľské meno',
passkey: 'Passkey',

// Common action labels
save: 'Uložiť',
cancel: 'Zrušiť',
ok: 'Ok',
or: 'Alebo',
to: 'do',
with: 'S pomocou',
close: 'Zatvoriť',
delete: 'Vymazať',
alert: 'Upozornenie',
confirm: 'Potvrdiť',
loading: 'Načítavanie...',

// CRUD
createNewButtonLabel: 'Vytvoriť nový',
reloadButtonLabel: 'Obnoviť',
createLabel: 'Vytvoriť',
createSuccessMessage: 'Položka bola úspešne vytvorená.',
createErrorMessage: 'Nepodarilo sa vytvoriť položku. Dôvod:',
editLabel: 'Upraviť',
editSuccessMessage: 'Položka bola úspešne upravená.',
editErrorMessage: 'Nepodarilo sa upraviť položku. Dôvod:',
deleteLabel: 'Vymazať',
deleteConfirmTitle: 'Vymazať položku?',
deleteConfirmMessage: 'Ste si istý, že chcete vymazať položku?',
deleteConfirmLabel: 'Vymazať',
deleteCancelLabel: 'Zrušiť',
deleteSuccessMessage: 'Položka bola úspešne vymazaná.',
deleteErrorMessage: 'Nepodarilo sa vymazať položku. Dôvod:',
deletedItemMessage: 'Položka bola úspešne vymazaná.',
};

export default getLocalization(enLabels);