From 6789cdd9628b0574b22acb70b48b542b1e58f258 Mon Sep 17 00:00:00 2001 From: Serge Bazanski Date: Sun, 9 Feb 2025 22:48:44 +0100 Subject: [PATCH 1/4] leaflet: place pin more accurately --- src/components/event-map.lazy.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/event-map.lazy.tsx b/src/components/event-map.lazy.tsx index bce002b..2fc774e 100644 --- a/src/components/event-map.lazy.tsx +++ b/src/components/event-map.lazy.tsx @@ -13,12 +13,12 @@ export default function Map({ t }: { return (
{/* @ts-expect-error dragging IS a valid prop. */} - + {/* @ts-expect-error attribution IS a valid prop. */} - + {t.where.location} From 1eddc9adf5c5c33d94b41af5d55ded329f64b7c2 Mon Sep 17 00:00:00 2001 From: Serge Bazanski Date: Sun, 9 Feb 2025 22:48:53 +0100 Subject: [PATCH 2/4] i18n: title consistency --- src/app/[locale]/layout.tsx | 6 +++--- src/i18n/translations.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/[locale]/layout.tsx b/src/app/[locale]/layout.tsx index 52feac9..d0992ef 100644 --- a/src/app/[locale]/layout.tsx +++ b/src/app/[locale]/layout.tsx @@ -29,7 +29,7 @@ export async function generateMetadata( const t = translations[currentLang]; return { - title: "CebulaCamp", + title: t.siteTitle, description: "An amazing gathering of hackers and open source enthusiasts.", icons: { icon: [ @@ -60,7 +60,7 @@ export async function generateMetadata( }, twitter: { card: 'summary_large_image', - title: 'CebulaCamp', + title: t.siteTitle, description: 'An amazing gathering of hackers and open source enthusiasts.', images: ['https://cebula.camp/web-app-manifest-512x512.png'], }, @@ -99,7 +99,7 @@ export default async function RootLayout({ - + diff --git a/src/i18n/translations.ts b/src/i18n/translations.ts index 6d1fdd3..1735710 100644 --- a/src/i18n/translations.ts +++ b/src/i18n/translations.ts @@ -5,7 +5,7 @@ const common = { }; const pl = { - siteTitle: "CebulaCamp", + siteTitle: "CebulaCamp 2025", nav: { title: "CEBULACAMP", hero: "Cebula", From a88da1fa37446a05ced63223b9d3f2f9cc558cbe Mon Sep 17 00:00:00 2001 From: Serge Bazanski Date: Sun, 9 Feb 2025 22:55:19 +0100 Subject: [PATCH 3/4] i18n: content pass on food and accomodation to reflect current state --- src/i18n/translations.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/i18n/translations.ts b/src/i18n/translations.ts index 1735710..18bd1c3 100644 --- a/src/i18n/translations.ts +++ b/src/i18n/translations.ts @@ -48,12 +48,12 @@ const pl = { accommodation: { title: "Nocleg", description: - "W duchu prawdziwego campu przygotowujemy ogrodzone miejsce do rozbicia namiotu z toaletami i prysznicem. Ilość miejsc namiotowych ograniczona, obowiązuje kolejność rezerwacji. Jest także możliwość zakwaterowania we własnym zakresie w pobliskim hotelu lub akademikach.", + "We własnym zakresie - jest możliwość zakwaterowania się w pobliskich hotelach lub akademikach. Planujemy przygotowanie pola namiotowego przed lokalem, ale jeszcze nie jest to gwarantowane i miejsca są ograniczone.", }, food: { title: "Wyżywienie", description: - "We własnym zakresie, w okolicy dostępne są knajpy z dowozem, wieczory planujemy umilić wspólnym grillowaniem.", + "We własnym zakresie, w okolicy dostępne są sklepy oraz knajpy z dowozem. Wieczory planujemy umilić wspólnym grillowaniem.", }, contact: { title: "Kontakt", @@ -111,12 +111,12 @@ const en = { accommodation: { title: "Accommodation", description: - "In the true camp spirit, we're preparing a fenced area for pitching tents with toilets and shower facilities. The number of tent spots is limited, first-come-first-served basis. There's also the possibility of arranging your own accommodation in a nearby hotel or student dormitories.", + "Please arrange your own accommodation in a nearby hotel or student dormitories. We might be able to prepare a camping space in front of the venue, but that's not guaranteed yet, and spots will be limited.", }, food: { title: "Food", description: - "Self-catering, there are restaurants with delivery in the area, and we plan to enhance the evenings with communal barbecues.", + "DIY. There are shops nearby and restaurants with takeaway/delivery. We plan to have some communal barbecues in the evenings.", }, contact: { title: "Contact", From 772a6fb04dec694d30820d57a35c55cc0cdcc11f Mon Sep 17 00:00:00 2001 From: q3k Date: Sun, 9 Feb 2025 22:15:03 +0000 Subject: [PATCH 4/4] revert a88da1fa37446a05ced63223b9d3f2f9cc558cbe revert i18n: content pass on food and accomodation to reflect current state --- src/i18n/translations.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/i18n/translations.ts b/src/i18n/translations.ts index 18bd1c3..1735710 100644 --- a/src/i18n/translations.ts +++ b/src/i18n/translations.ts @@ -48,12 +48,12 @@ const pl = { accommodation: { title: "Nocleg", description: - "We własnym zakresie - jest możliwość zakwaterowania się w pobliskich hotelach lub akademikach. Planujemy przygotowanie pola namiotowego przed lokalem, ale jeszcze nie jest to gwarantowane i miejsca są ograniczone.", + "W duchu prawdziwego campu przygotowujemy ogrodzone miejsce do rozbicia namiotu z toaletami i prysznicem. Ilość miejsc namiotowych ograniczona, obowiązuje kolejność rezerwacji. Jest także możliwość zakwaterowania we własnym zakresie w pobliskim hotelu lub akademikach.", }, food: { title: "Wyżywienie", description: - "We własnym zakresie, w okolicy dostępne są sklepy oraz knajpy z dowozem. Wieczory planujemy umilić wspólnym grillowaniem.", + "We własnym zakresie, w okolicy dostępne są knajpy z dowozem, wieczory planujemy umilić wspólnym grillowaniem.", }, contact: { title: "Kontakt", @@ -111,12 +111,12 @@ const en = { accommodation: { title: "Accommodation", description: - "Please arrange your own accommodation in a nearby hotel or student dormitories. We might be able to prepare a camping space in front of the venue, but that's not guaranteed yet, and spots will be limited.", + "In the true camp spirit, we're preparing a fenced area for pitching tents with toilets and shower facilities. The number of tent spots is limited, first-come-first-served basis. There's also the possibility of arranging your own accommodation in a nearby hotel or student dormitories.", }, food: { title: "Food", description: - "DIY. There are shops nearby and restaurants with takeaway/delivery. We plan to have some communal barbecues in the evenings.", + "Self-catering, there are restaurants with delivery in the area, and we plan to enhance the evenings with communal barbecues.", }, contact: { title: "Contact",