Add emojis, names

This commit is contained in:
Mikkel Munch Mortensen 2023-07-27 10:49:39 +02:00
parent 9d927c54a9
commit 5c41cda184

View file

@ -155,10 +155,12 @@ else:
# Determine appropriate emojis for the menu. # Determine appropriate emojis for the menu.
emojis = [] emojis = []
for emoji, keywords in { for emoji, keywords in {
"birthday": ["tillykke", "fødselsdag"],
"flag-in": ["indisk", "indien"], "flag-in": ["indisk", "indien"],
"flag-gr": ["græsk", "grækenland"], "flag-gr": ["græsk", "grækenland"],
"flag-kr": ["korea"], "flag-kr": ["korea"],
"hushed": ["surprise", "surprice"], "hushed": ["surprise", "surprice"],
"building_construction": ["byg selv", "byg-selv", "bygselv"],
"fish": ["fisk", "laks", "rødspætte", "sej ", "kulmule"], "fish": ["fisk", "laks", "rødspætte", "sej ", "kulmule"],
"shrimp": ["reje"], "shrimp": ["reje"],
"pig2": ["skinke", "gris", "nakkefilet", "flæsk"], "pig2": ["skinke", "gris", "nakkefilet", "flæsk"],
@ -173,6 +175,7 @@ else:
"falafel": ["falafel"], "falafel": ["falafel"],
"hot_pepper": ["chili", "hot sauce"], "hot_pepper": ["chili", "hot sauce"],
"onion": ["løg"], "onion": ["løg"],
"avocado": ["avocado", "avokado"],
"mango": ["mango"], "mango": ["mango"],
"lemon": ["citron"], "lemon": ["citron"],
"mushroom": ["svampe", "kantarel", "champignon"], "mushroom": ["svampe", "kantarel", "champignon"],
@ -201,9 +204,9 @@ else:
"apple": ["æble"], "apple": ["æble"],
"peanuts": ["peanut"], "peanuts": ["peanut"],
"baguette_bread": ["flute"], "baguette_bread": ["flute"],
"birthday": ["tillykke", "fødselsdag"],
"wave": ["farvel"], "wave": ["farvel"],
"gift_heart": ["valentines"], "gift_heart": ["valentines"],
"stars::fish::shrimp::lemon": ["stjerneskud"],
}.items(): }.items():
for keyword in keywords: for keyword in keywords:
if keyword in f" {menu.lower()} ": if keyword in f" {menu.lower()} ":
@ -235,6 +238,8 @@ else:
"Jellings", "Jellings",
"Imers", "Imers",
"Djinnies", "Djinnies",
"Stefans",
"Pernilles",
]), ]),
"weekday" : [ "weekday" : [
"mandag", "mandag",