diff --git a/src/i18n.ts b/src/i18n.ts index 479f412..fa48f66 100644 --- a/src/i18n.ts +++ b/src/i18n.ts @@ -21,14 +21,13 @@ const reference = { "website_description": "Send an email to your local branch of the Vienna Insurance Group, the biggest insurer in Central and Eastern Europe, to push them to adopt serious fossil fuel policies.", - "switch_country": "Switch country", "form.first_name": "First name", "form.last_name": "Last name", "form.variant": "I'm most concerned about", "form.variant.1": "lack of oil and gas policy", "form.variant.2": "weak coal policy", - "form.variant.3": "Neptune Deep", + "form.variant.3": "Neptun Deep project", "form.gender": "I wish to be referred to in", "form.gender.f": "Feminine gender", @@ -45,49 +44,247 @@ const reference = { "form.few_more_details": "A few more details...", "form.email": "E-mail", "form.phone": "Phone (optional)", - "form.privacy_policy": "privacy policy", "form.agree_with_privacy_policy": (privacyPolicy: any) => a`I agree with ${privacyPolicy}.`, + "form.privacy_policy": "privacy policy", "form.subscribe": "I want to stay updated about this campaign.", "form_response.verification_required": "We need to verify your e-mail.", "form_response.verification_follow_link": "Follow the link we have sent to your email address.", - "form_response.already_sent.title": "You have already sent a message from this e-mail.", - "form_response.already_sent.body": "You can send only one message per branch.", -} as const; + "form_response.already_sent.title": "You have already sent a message to this branch.", + "form_response.already_sent.body": "You can only send one message per branch", +}; type TranslationKey = keyof typeof reference; -type Translation = Partial) => string>>; -const translations: Record = { +const translations: Record = { en: reference, cs: { "website_name": "Zastavme špinavé prachy", - "switch_country": "Změnit zemi", + "website_description": "", + "form.first_name": "Jméno", "form.last_name": "Příjmení", - "form.variant": "Nejvíc mi vadí, že", - "form.variant.1": "EPH ničí klima", - "form.variant.2": "EPH způsobuje energetickou krizi", - "form.variant.3": "EPH ohrožuje demokracii", - "form.gender": "Preferuju být oslován/a v", + + "form.variant": "Vadí mi, že", + "form.variant.1": "VIG nemá ropnou a uhelnou politiku", + "form.variant.2": "VIG má slabou uhelnou politiku", + "form.variant.3": + "VIG se může podílet na projektu Neptun Deep – nové těžbě fosilního plynu v Černém moři", + + "form.gender": "Přeju si být oslovován/a", "form.gender.f": "ženském rodě", "form.gender.m": "mužském rodě", - "form.branch": "Jsem klient/ka pobočky", - "form.letter": "Text dopisu", + "form.gender.n": "ani jedno/nechci odpovídat", + + "form.branch": "Chci kontaktovat odpovědnou osobu na pobočce:", + "form.is_client": "Jsem klientem této pobočky", + + "form.message": "Text zprávy", + "form.fill_the_options": "Vyplň možnosti", + "form.send_letter": "Odeslat zprávu", + + "form.few_more_details": "Ještě pár drobností...", "form.email": "E-mail", - "form.phone": "Telefonní číslo", - "form.send": "Odeslat", - "confirm_email.title": "Potvrď svůj e-mail", - "confirm_email.body": "Kliknutím na následující odkaz potvrdíš svou e-mailovou adresu.", - "confirm_email.link": "Potvrdit e-mail", + "form.phone": "Telefonní číslo (nepovinné)", + "form.agree_with_privacy_policy": (privacyPolicy: any) => a`Souhlasím se ${privacyPolicy}.`, + "form.privacy_policy": "zásadami ochrany osobních údajů", + "form.subscribe": "Přeji si dostávat novinky o vývoji kampaně.", + + "form_response.verification_required": "We need to verify your e-mail.", + "form_response.verification_follow_link": "Follow the link we have sent to your email address.", + + "form_response.already_sent.title": "", + "form_response.already_sent.body": "", }, - sk: {}, - pl: {}, - hu: {}, + sk: { + "website_name": "", + "website_description": "", + + "form.first_name": "Krstné meno", + "form.last_name": "Priezvisko", + + "form.variant": "Najviac ma znepokojuje", + "form.variant.1": "chýbajúca ropná a plynová politika", + "form.variant.2": "slabá uholná politika", + "form.variant.3": "ropný projekt Neptun Deep", + + "form.gender": "Prajem si oslovenie v:", + "form.gender.f": "ženskom rode", + "form.gender.m": "mužskom rode", + "form.gender.n": "", + + "form.branch": "Chcem kontaktovať zodpovednú osobu pobočky", + "form.is_client": "Som klientom/klientkou danej pobočky", + + "form.message": "Text správy", + "form.fill_the_options": "", + "form.send_letter": "Poslať list", + + "form.few_more_details": "Ešte pár detailov...", + "form.email": "E-mail", + "form.phone": "Telefónne číslo (voliteľné)", + "form.agree_with_privacy_policy": (privacyPolicy: any) => a`Súhlasím so ${privacyPolicy}.`, + "form.privacy_policy": "zásadami ochrany osobných údajov", + "form.subscribe": "Prajem si byť ďalej informovaná ohľadom tejto kampane.", + + "form_response.verification_required": "", + "form_response.verification_follow_link": "", + + "form_response.already_sent.title": "", + "form_response.already_sent.body": "", + }, + pl: { + "website_name": "", + "website_description": "", + + "form.first_name": "Imię", + "form.last_name": "Nazwisko", + + "form.variant": "Najbardziej martwi mnie:", + "form.variant.1": "brak polityki dotyczącej ropy naftowej i gazu", + "form.variant.2": "słaba polityka węglowa", + "form.variant.3": "projekt Neptun Deep", + + "form.gender": "Chciałbym/m Chciałabym, aby o mnie mówiono jako:", + "form.gender.f": "Płeć żeńska", + "form.gender.m": "Płeć męska", + "form.gender.n": "", + + "form.branch": "Chcę skontaktować się z odpowiedzialną osobą z:", + "form.is_client": "Jestem klientem tej filii.", + + "form.message": "Tekst wiadomości", + "form.fill_the_options": "", + "form.send_letter": "Wyślij list", + + "form.few_more_details": "Kilka dodatkowych szczegółów...", + "form.email": "E-mail", + "form.phone": "Telefon (opcjonalnie)", + "form.agree_with_privacy_policy": (privacyPolicy: any) => a`Zgadzam się z ${privacyPolicy}.`, + "form.privacy_policy": "polityką prywatnośc", + "form.subscribe": "Chcę być informowany/a na bieżąco o tej kampanii.", + + "form_response.verification_required": "", + "form_response.verification_follow_link": "", + + "form_response.already_sent.title": "", + "form_response.already_sent.body": "", + }, + hu: { + "website_name": "", + "website_description": "", + + "form.first_name": "Keresztnév", + "form.last_name": "Családnév", + + "form.variant": "Különösen aggaszt:", + "form.variant.1": "az olajjal és gázzal kapcsolatos szabályozás teljes hiánya", + "form.variant.2": "a szénnel kapcsolatos elégtelen szabályozás", + "form.variant.3": "a Neptun Deep", + + "form.gender": "Nemem:", + "form.gender.f": "nő", + "form.gender.m": "férfi", + "form.gender.n": "egyik sem / nem szeretném megadni", + + "form.branch": "Az alábbi leányvállalat vezetőjének szeretnék üzenni:", + "form.is_client": "A leányvállalat ügyfele vagyok", + + "form.message": "Az üzenet szövege", + "form.fill_the_options": "", + "form.send_letter": "Levél elküldése", + + "form.few_more_details": "Már csak néhány adat...", + "form.email": "Email cím", + "form.phone": "Telefonszám (nem kötelező)", + "form.agree_with_privacy_policy": (privacyPolicy: any) => a`Elfogadom az ${privacyPolicy}`, + "form.privacy_policy": "adatvédelmi szabályzatot", + "form.subscribe": "Szeretnék további híreket kapni a kampányról.", + + "form_response.verification_required": "", + "form_response.verification_follow_link": "", + + "form_response.already_sent.title": "", + "form_response.already_sent.body": "", + }, + // TODO ro: {}, - lt: {}, - de: {}, + lt: { + "website_name": "", + "website_description": "", + + "form.first_name": "Vardas", + "form.last_name": "Pavardė", + + "form.variant": "Esu labiausiai susirūpinęs-(usi)", + "form.variant.1": "Naftos ir dujų politikos trūkumu", + "form.variant.2": "Silpna anglies politika", + "form.variant.3": "„Neptun Deep“ projektu", + + "form.gender": "Norėčiau šiame laiške būti įvardijama-(s), kaip", + "form.gender.f": "Moteris", + "form.gender.m": "Vyras", + "form.gender.n": "", + + "form.branch": "Noriu susiekti su atsakingu asmeniu iš:", + "form.is_client": "Esu šio padalinio klientas", + + "form.message": "Laiško tekstas", + "form.fill_the_options": "", + "form.send_letter": "Siųsti laišką", + + "form.few_more_details": "Keletas papildomų detalių...", + "form.email": "El. paštas", + "form.phone": "Tel. nr. (neprivaloma)", + "form.agree_with_privacy_policy": (privacyPolicy: any) => a`Sutinku su ${privacyPolicy}`, + "form.privacy_policy": "privatumo politika", + "form.subscribe": "Noriu toliau būti informuojama-(s) apie šią kampaniją.", + + "form_response.verification_required": "", + "form_response.verification_follow_link": "", + + "form_response.already_sent.title": "", + "form_response.already_sent.body": "", + }, + de: { + "website_name": "", + "website_description": "", + + "form.first_name": "Vorname", + "form.last_name": "Nachname", + + "form.variant": "Ich bin am meisten besorgt über:", + "form.variant.1": "Fehlen einer Politik für Öl und Gas", + "form.variant.2": "Schwache Kohlepolitik", + "form.variant.3": "Neptun Deep", + + "form.gender": "Ich möchte angesprochen werden als:", + "form.gender.f": "weibliche Geschlechtsform", + "form.gender.m": "männliche Geschlechtsform", + "form.gender.n": "Weder / Ich möchte lieber nicht sagen", + + "form.branch": "Ich möchte den oder die verantwortlichen Ansprechpartner/-in von:", + "form.is_client": "Ich bin Kunde/Kundin dieser Niederlassung", + + "form.message": "Text der Nachricht", + "form.fill_the_options": "", + "form.send_letter": "Schicken Sie den Brief", + + "form.few_more_details": "Einige weitere Details...", + "form.email": "E-Mail", + "form.phone": "Telefon (optional)", + "form.agree_with_privacy_policy": (privacyPolicy: any) => + a`Ich stimme der ${privacyPolicy} zu.`, + "form.privacy_policy": "Datenschutzrichtlinie", + "form.subscribe": "Ich möchte über diese Kampagne auf dem Laufenden bleiben.", + + "form_response.verification_required": "", + "form_response.verification_follow_link": "", + + "form_response.already_sent.title": "", + "form_response.already_sent.body": "", + }, }; export function makeT(lang: Lang = DEFAULT_LANG) { diff --git a/src/pages/[lang]/index.astro b/src/pages/[lang]/index.astro index 09ec203..fc8b92a 100644 --- a/src/pages/[lang]/index.astro +++ b/src/pages/[lang]/index.astro @@ -39,7 +39,7 @@ const branches = await db d="M7.82843 10.9999H20V12.9999H7.82843L13.1924 18.3638L11.7782 19.778L4 11.9999L11.7782 4.22168L13.1924 5.63589L7.82843 10.9999Z" > - {t("switch_country")} + Switch country