Added czech translations. UI tweak on booking form.

This commit is contained in:
2024-02-16 09:40:44 +01:00
parent 549ec86684
commit 2907aa8ba7
11 changed files with 90 additions and 41 deletions
+11
View File
@@ -303,6 +303,17 @@ pub enum SlotType {
Day
}
impl Display for SlotType {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
write!(f, "{}", match self {
SlotType::Quarter => {"Quarter an hour"}
SlotType::Half => {"Half an hour"}
SlotType::Hour => {"Hour"}
SlotType::Day => {"Day"}
})
}
}
fn def_true() -> bool {
true
}