From bb83ece433899ec0f8b50c14a507df67f767a3a8 Mon Sep 17 00:00:00 2001 From: Alexander Platov Date: Wed, 26 Jul 2023 13:23:02 +0300 Subject: [PATCH] Added a 'more' counter for all-day events (#3525) Signed-off-by: Alexander Platov --- packages/ui/lang/en.json | 3 +- packages/ui/lang/ru.json | 3 +- .../components/calendar/DayCalendar.svelte | 196 ++++++++++++++---- packages/ui/src/plugin.ts | 1 + 4 files changed, 156 insertions(+), 47 deletions(-) diff --git a/packages/ui/lang/en.json b/packages/ui/lang/en.json index df3d01ebc1..25f6c1528a 100644 --- a/packages/ui/lang/en.json +++ b/packages/ui/lang/en.json @@ -56,6 +56,7 @@ "Symbols": "Symbols", "TravelAndPlaces": "Travel & Places", "Objects": "Objects", - "Food": "Food" + "Food": "Food", + "MoreCount": "{count} more" } } diff --git a/packages/ui/lang/ru.json b/packages/ui/lang/ru.json index 3e440e1f65..9cf8af2297 100644 --- a/packages/ui/lang/ru.json +++ b/packages/ui/lang/ru.json @@ -56,6 +56,7 @@ "Symbols": "Символы", "TravelAndPlaces": "Путешествия & Места", "Objects": "Объекты", - "Food": "Еда" + "Food": "Еда", + "MoreCount": "Ещё {count}" } } diff --git a/packages/ui/src/components/calendar/DayCalendar.svelte b/packages/ui/src/components/calendar/DayCalendar.svelte index 95fb2eb01f..bd0e786f00 100644 --- a/packages/ui/src/components/calendar/DayCalendar.svelte +++ b/packages/ui/src/components/calendar/DayCalendar.svelte @@ -15,7 +15,15 @@ @@ -316,7 +385,7 @@