Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions packages/shared/src/i18n/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import deTranslations from './locales/de.json' with {type: 'json'};
import hiTranslations from './locales/hi.json' with {type: 'json'};
import ptTranslations from './locales/pt.json' with {type: 'json'};
import bgTranslations from './locales/bg.json' with {type: 'json'};
import csTranslations from './locales/cs.json' with {type: 'json'};
export {
SUPPORTED_LANGUAGES,
DEFAULT_LANGUAGE,
Expand Down Expand Up @@ -38,6 +39,7 @@ const translationsMap: Record<string, Translations> = {
hi: hiTranslations,
pt: ptTranslations,
bg: bgTranslations,
cs: csTranslations,
};

// In-memory cache for loaded translations
Expand Down
1 change: 1 addition & 0 deletions packages/shared/src/i18n/languages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const SUPPORTED_LANGUAGES: Language[] = [
{code: 'de', name: 'German', nativeName: 'Deutsch', flag: '🇩🇪'},
{code: 'pt', name: 'Portuguese', nativeName: 'Português', flag: '🇧🇷'},
{code: 'bg', name: 'Bulgarian', nativeName: 'Български', flag: '🇧🇬'},
{code: 'cs', name: 'Czech', nativeName: 'Čeština', flag: '🇨🇿'},
];

export const DEFAULT_LANGUAGE = 'en';
Expand Down
45 changes: 45 additions & 0 deletions packages/shared/src/i18n/locales/cs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"pages": {
"unsubscribe": {
"title": "Odhlášení z odběru",
"description": "Mrzí nás, že odcházíte. Opravdu chcete odhlásit {email} z odběru e-mailů?",
"button": "Odhlásit se",
"buttonLoading": "Odhlašování...",
"managePreferences": "Spravovat předvolby",
"successTitle": "Odběr byl zrušen",
"successDescription": "E-mail {email} byl odhlášen z odběru. Už vám nebudeme zasílat žádné e-maily.",
"changedMind": "Změnili jste názor?",
"subscribeAgain": "Přihlásit se znovu"
},
"subscribe": {
"title": "Přihlášení k odběru",
"description": "Chcete přihlásit {email} k odběru e-mailů?",
"button": "Přihlásit se k odběru",
"buttonLoading": "Přihlašování...",
"successTitle": "Odběr byl aktivován!",
"successDescription": "E-mail {email} byl přihlášen k odběru e-mailů."
},
"manage": {
"title": "Správa předvoleb",
"description": "Správa e-mailových předvoleb pro {email}",
"subscriptionLabel": "Odběr e-mailů",
"subscribedStatus": "Aktuálně jste přihlášeni k odběru e-mailů",
"unsubscribedStatus": "Aktuálně jste odhlášeni z odběru e-mailů",
"subscribedSuccess": "Odběr byl úspěšně aktivován!",
"unsubscribedSuccess": "Odběr byl úspěšně zrušen!",
"unsubscribeCompletely": "Úplně se odhlásit z odběru",
"subscribeToEmails": "Přihlásit se k odběru e-mailů",
"disclaimer": "Na této stránce můžete spravovat své e-mailové předvolby. Stav odběru se aktualizuje v reálném čase."
},
"common": {
"loading": "Načítání...",
"error": "Chyba"
}
},
"email": {
"footer": {
"unsubscribeText": "Tento e-mail jste obdrželi, protože jste souhlasili se zasíláním e-mailů od {projectName}. Pokud si již nepřejete dostávat tyto e-maily, můžete",
"updatePreferences": "změnit své předvolby"
}
}
}
Loading