+
{table?.rows.map((row, i) =>
-
- {row &&
{table?.columns.map((column, x) =>
- {column ?
- {column.header.dateLabel &&
{column.header.dateLabel}}
-
{column.header.weekdayLabel}
+ {column ?
+ {column.header.dateLabel &&
{column.header.dateLabel}}
+
{column.header.weekdayLabel}
@@ -75,7 +104,7 @@ const AvailabilityEditor = ({ times, timezone, value = [], onChange, table }: Av
if (y === column.cells.length - 1) return null
if (!cell) return
('greyed_times')}
/>
@@ -87,7 +116,7 @@ const AvailabilityEditor = ({ times, timezone, value = [], onChange, table }: Av
return
})}
-
:
}
+
:
}
) ??
}
diff --git a/frontend/src/components/Content/Content.module.scss b/frontend/src/components/Content/Content.module.scss
index 387f1d4..b27a2ce 100644
--- a/frontend/src/components/Content/Content.module.scss
+++ b/frontend/src/components/Content/Content.module.scss
@@ -9,6 +9,8 @@
align-items: center;
justify-content: center;
text-align: center;
+ flex-direction: column;
+ gap: 1em;
}
.slim {
diff --git a/frontend/src/components/GoogleCalendar/GoogleCalendar.tsx b/frontend/src/components/GoogleCalendar/GoogleCalendar.tsx
index 7b567a1..a480f76 100644
--- a/frontend/src/components/GoogleCalendar/GoogleCalendar.tsx
+++ b/frontend/src/components/GoogleCalendar/GoogleCalendar.tsx
@@ -121,18 +121,18 @@ const GoogleCalendar = ({ timezone, timeStart, timeEnd, times, onImport }: Googl
shadowColor="#3367BD"
icon={

}
>
- {t('you.google_cal.login')}
+ {t('you.google_cal')}
}
{calendars &&
- {t('you.google_cal.login')}
+ {t('you.google_cal')}
()
+ >{t('you.integration.logout')})
@@ -140,12 +140,12 @@ const GoogleCalendar = ({ timezone, timeStart, timeEnd, times, onImport }: Googl
className={styles.linkButton}
type="button"
onClick={() => setCalendars(calendars.map(c => ({ ...c, isChecked: true })))}
- >{t('event:you.google_cal.select_all')}}
+ >{t('you.select_all')}}
{calendars.every(c => c.isChecked) && }
+ >{t('you.select_none')}}
{calendars.map(calendar =>
@@ -161,13 +161,13 @@ const GoogleCalendar = ({ timezone, timeStart, timeEnd, times, onImport }: Googl
{allowUrlToWrap(calendar.name)}
)}
-
{t('you.google_cal.info')}
+
{t('you.integration.info')}
+ >{t('you.integration.button')}
}
{/* Load google api scripts */}
diff --git a/frontend/src/i18n/locales/de/event.json b/frontend/src/i18n/locales/de/event.json
index cbf3de4..fa2a586 100644
--- a/frontend/src/i18n/locales/de/event.json
+++ b/frontend/src/i18n/locales/de/event.json
@@ -54,14 +54,15 @@
"you": {
"info": "Klicke und ziehe im Kalender unten, um deine Verfügbarkeit festzulegen",
- "google_cal": {
- "login": "Mit Google Kalender synchronisieren",
+ "select_all": "Alle wählen",
+ "select_none": "Keine wählen",
+
+ "google_cal": "Mit Google Kalender synchronisieren",
+ "outlook_cal": "Mit Outlook Kalender synchronisieren",
+ "integration": {
"logout": "ausloggen",
- "select_all": "Alle wählen",
- "select_none": "Keine wählen",
"info": "Durch den Import wird deine aktuelle Verfügbarkeit überschrieben",
"button": "Verfügbarkeit importieren"
- },
- "outlook_cal": "Mit Outlook Kalender synchronisieren"
+ }
}
}
diff --git a/frontend/src/i18n/locales/en-GB/event.json b/frontend/src/i18n/locales/en-GB/event.json
index 4b563d0..1c76d6b 100644
--- a/frontend/src/i18n/locales/en-GB/event.json
+++ b/frontend/src/i18n/locales/en-GB/event.json
@@ -54,14 +54,15 @@
"you": {
"info": "Click and drag the calendar below to set your availabilities",
- "google_cal": {
- "login": "Sync with Google Calendar",
+ "select_all": "Select all",
+ "select_none": "Select none",
+ "select_invert": "Invert selection",
+ "google_cal": "Sync with Google Calendar",
+ "outlook_cal": "Sync with Outlook Calendar",
+ "integration": {
"logout": "log out",
- "select_all": "Select all",
- "select_none": "Select none",
"info": "Importing will overwrite your current availability",
"button": "Import availability"
- },
- "outlook_cal": "Sync with Outlook Calendar"
+ }
}
}
diff --git a/frontend/src/i18n/locales/en/event.json b/frontend/src/i18n/locales/en/event.json
index 4b563d0..b6656ae 100644
--- a/frontend/src/i18n/locales/en/event.json
+++ b/frontend/src/i18n/locales/en/event.json
@@ -54,14 +54,16 @@
"you": {
"info": "Click and drag the calendar below to set your availabilities",
- "google_cal": {
- "login": "Sync with Google Calendar",
+ "select_all": "Select all",
+ "select_none": "Select none",
+ "select_invert": "Invert selection",
+
+ "google_cal": "Sync with Google Calendar",
+ "outlook_cal": "Sync with Outlook Calendar",
+ "integration": {
"logout": "log out",
- "select_all": "Select all",
- "select_none": "Select none",
"info": "Importing will overwrite your current availability",
"button": "Import availability"
- },
- "outlook_cal": "Sync with Outlook Calendar"
+ }
}
}
diff --git a/frontend/src/i18n/locales/es/event.json b/frontend/src/i18n/locales/es/event.json
index ed123c5..24e7d23 100644
--- a/frontend/src/i18n/locales/es/event.json
+++ b/frontend/src/i18n/locales/es/event.json
@@ -54,14 +54,15 @@
"you": {
"info": "Haga clic y arrastre el calendario a continuación para configurar sus disponibilidades",
- "google_cal": {
- "login": "Sincronizar con Google Calendar",
+ "select_all": "Seleccionar todo",
+ "select_none": "Seleccionar ninguno",
+
+ "google_cal": "Sincronizar con Google Calendar",
+ "outlook_cal": "Sincronizar con el calendario de Outlook",
+ "integration": {
"logout": "cerrar sesión",
- "select_all": "Seleccionar todo",
- "select_none": "Seleccionar ninguno",
"info": "La importación sobrescribirá su disponibilidad actual",
"button": "Disponibilidad de importación"
- },
- "outlook_cal": "Sincronizar con el calendario de Outlook"
+ }
}
}
diff --git a/frontend/src/i18n/locales/fr/event.json b/frontend/src/i18n/locales/fr/event.json
index 9fc9643..1e3d279 100644
--- a/frontend/src/i18n/locales/fr/event.json
+++ b/frontend/src/i18n/locales/fr/event.json
@@ -54,14 +54,15 @@
"you": {
"info": "Cliquez et faites glisser le calendrier ci-dessous pour définir vos disponibilités",
- "google_cal": {
- "login": "Synchroniser avec Google Agenda",
+ "select_all": "Tout sélectionner",
+ "select_none": "Tout déselectionner",
+
+ "google_cal": "Synchroniser avec Google Agenda",
+ "outlook_cal": "Synchroniser avec le calendrier Outlook",
+ "integration": {
"logout": "déconnexion",
- "select_all": "Tout sélectionner",
- "select_none": "Tout déselectionner",
"info": "L'importation écrasera vos disponibilités actuelles",
"button": "Importer les disponibilités"
- },
- "outlook_cal": "Synchroniser avec le calendrier Outlook"
+ }
}
}
diff --git a/frontend/src/i18n/locales/hi/event.json b/frontend/src/i18n/locales/hi/event.json
index 727cf5e..a6b7fac 100644
--- a/frontend/src/i18n/locales/hi/event.json
+++ b/frontend/src/i18n/locales/hi/event.json
@@ -54,14 +54,15 @@
"you": {
"info": "अपनी उपलब्धता सेट करने के लिए नीचे कैलेंडर को क्लिक करें और खींचें",
- "google_cal": {
- "login": "Google कैलेंडर के साथ समन्वयित करें",
+ "select_all": "सभी का चयन करे",
+ "select_none": "सबको अचयनित करो",
+
+ "google_cal": "Google कैलेंडर के साथ समन्वयित करें",
+ "outlook_cal": "Outlook कैलेंडर के साथ सिंक",
+ "integration": {
"logout": "लॉग आउट",
- "select_all": "सभी का चयन करे",
- "select_none": "सबको अचयनित करो",
"info": "आयात करना आपकी वर्तमान उपलब्धता को अधिलेखित कर देगा",
"button": "आयात उपलब्धता"
- },
- "outlook_cal": "Outlook कैलेंडर के साथ सिंक"
+ }
}
}
diff --git a/frontend/src/i18n/locales/id/event.json b/frontend/src/i18n/locales/id/event.json
index b9d22a2..54e78e6 100644
--- a/frontend/src/i18n/locales/id/event.json
+++ b/frontend/src/i18n/locales/id/event.json
@@ -54,14 +54,15 @@
"you": {
"info": "Klik dan seret kalender di bawah ini untuk mengatur ketersediaan Anda",
- "google_cal": {
- "login": "Sinkronkan dengan Google Kalender",
+ "select_all": "Pilih semua",
+ "select_none": "Hapus semua",
+
+ "google_cal": "Sinkronkan dengan Google Kalender",
+ "outlook_cal": "Sinkronkan dengan Kalender Outlook",
+ "integration": {
"logout": "keluar",
- "select_all": "Pilih semua",
- "select_none": "Hapus semua",
"info": "Mengimpor akan menimpa ketersediaan Anda saat ini",
"button": "Impor ketersediaan Anda"
- },
- "outlook_cal": "Sinkronkan dengan Kalender Outlook"
+ }
}
}
diff --git a/frontend/src/i18n/locales/it/event.json b/frontend/src/i18n/locales/it/event.json
index 17fa096..1ef6ece 100644
--- a/frontend/src/i18n/locales/it/event.json
+++ b/frontend/src/i18n/locales/it/event.json
@@ -54,14 +54,15 @@
"you": {
"info": "Clicca e trascina nel calendario qui sotto per impostare la tua disponibilità",
- "google_cal": {
- "login": "Sincronizza con il calendario Google",
+ "select_all": "Seleziona tutto",
+ "select_none": "Seleziona nessuno",
+
+ "google_cal": "Sincronizza con il calendario Google",
+ "outlook_cal": "Sincronizza con il calendario Outlook",
+ "integration": {
"logout": "Esci",
- "select_all": "Seleziona tutto",
- "select_none": "Seleziona nessuno",
"info": "L'importazione sovrascriverà la tua disponibilità attuale",
"button": "Importa la disponibilità"
- },
- "outlook_cal": "Sincronizza con il calendario Outlook"
+ }
}
}
diff --git a/frontend/src/i18n/locales/ja/event.json b/frontend/src/i18n/locales/ja/event.json
index 3ab080e..d84ccd8 100644
--- a/frontend/src/i18n/locales/ja/event.json
+++ b/frontend/src/i18n/locales/ja/event.json
@@ -54,14 +54,15 @@
"you": {
"info": "下のカレンダーをクリック・ドラッグして、いつ予定が空いているかを登録しましょう",
- "google_cal": {
- "login": "Google カレンダーと同期",
+ "select_all": "すべて選択",
+ "select_none": "すべて選択解除",
+
+ "google_cal": "Google カレンダーと同期",
+ "outlook_cal": "Outlook カレンダーと同期",
+ "integration": {
"logout": "ログアウト",
- "select_all": "すべて選択",
- "select_none": "すべて選択解除",
"info": "インポートすると、現在の登録状況が上書きされます",
"button": "空き具合をインポート"
- },
- "outlook_cal": "Outlook カレンダーと同期"
+ }
}
}
diff --git a/frontend/src/i18n/locales/ko/event.json b/frontend/src/i18n/locales/ko/event.json
index 3a22eee..a4af561 100644
--- a/frontend/src/i18n/locales/ko/event.json
+++ b/frontend/src/i18n/locales/ko/event.json
@@ -54,14 +54,15 @@
"you": {
"info": "사용 가능 여부를 설정하려면 아래 캘린더를 클릭하고 드래그하세요",
- "google_cal": {
- "login": "Google 캘린더와 동기화합니다",
+ "select_all": "모두 선택",
+ "select_none": "모두 선택 해제",
+
+ "google_cal": "Google 캘린더와 동기화합니다",
+ "outlook_cal": "아웃룩 캘린더와 동기화합니다",
+ "integration": {
"logout": "로그 아웃",
- "select_all": "모두 선택",
- "select_none": "모두 선택 해제",
"info": "가져 오면 현재 사용 가능 여부를 덮어 씁니다",
"button": "가용성 가져 오기"
- },
- "outlook_cal": "아웃룩 캘린더와 동기화합니다"
+ }
}
}
diff --git a/frontend/src/i18n/locales/pt-BR/event.json b/frontend/src/i18n/locales/pt-BR/event.json
index 54a4028..5c713c8 100644
--- a/frontend/src/i18n/locales/pt-BR/event.json
+++ b/frontend/src/i18n/locales/pt-BR/event.json
@@ -54,14 +54,15 @@
"you": {
"info": "Clique e arraste para assinalar seu tempo livre no calendário",
- "google_cal": {
- "login": "Sincronizar com sua Agenda Google",
+ "select_all": "Selecionar todos",
+ "select_none": "Selecionar nenhum",
+
+ "google_cal": "Sincronizar com sua Agenda Google",
+ "outlook_cal": "Sincronizar com sua Agenda Outlook",
+ "integration": {
"logout": "sair",
- "select_all": "Selecionar todos",
- "select_none": "Selecionar nenhum",
"info": "Ao importar você substituirá sua disponibilidade atual",
"button": "Importar horários disponíveis"
- },
- "outlook_cal": "Sincronizar com sua Agenda Outlook"
+ }
}
}
diff --git a/frontend/src/i18n/locales/pt-PT/event.json b/frontend/src/i18n/locales/pt-PT/event.json
index c95968f..4867d47 100644
--- a/frontend/src/i18n/locales/pt-PT/event.json
+++ b/frontend/src/i18n/locales/pt-PT/event.json
@@ -54,14 +54,15 @@
"you": {
"info": "Clica e arrasta no calendário abaixo para definires a tua disponibilidade.",
- "google_cal": {
- "login": "Sincronizar com o Calendário Google",
+ "select_all": "Selecionar tudo",
+ "select_none": "Selecionar nenhum",
+
+ "google_cal": "Sincronizar com o Calendário Google",
+ "outlook_cal": "Sincronizar com o Calendário do Outlook",
+ "integration": {
"logout": "terminar sessão",
- "select_all": "Selecionar tudo",
- "select_none": "Selecionar nenhum",
"info": "Importar substituirá a tua disponibilidade atual",
"button": "Importar disponibilidade"
- },
- "outlook_cal": "Sincronizar com o Calendário do Outlook"
+ }
}
}
diff --git a/frontend/src/i18n/locales/ru/event.json b/frontend/src/i18n/locales/ru/event.json
index c97b1e6..38da849 100644
--- a/frontend/src/i18n/locales/ru/event.json
+++ b/frontend/src/i18n/locales/ru/event.json
@@ -54,14 +54,15 @@
"you": {
"info": "Щелкните и перетащите календарь ниже, чтобы указать доступность",
- "google_cal": {
- "login": "Синхронизация с календарем Google",
+ "select_all": "Выбрать все",
+ "select_none": "Ничего не выбрать",
+
+ "google_cal": "Синхронизация с календарем Google",
+ "outlook_cal": "Синхронизация с календарем Outlook",
+ "integration": {
"logout": "выйти",
- "select_all": "Выбрать все",
- "select_none": "Ничего не выбрать",
"info": "При импорте ваша текущая доступность будет перезаписана",
"button": "Доступность импорта"
- },
- "outlook_cal": "Синхронизация с календарем Outlook"
+ }
}
}