Add emojis, names

This commit is contained in:
Mikkel Munch Mortensen 2023-07-27 10:49:39 +02:00
parent 9d927c54a9
commit 5c41cda184
1 changed files with 6 additions and 1 deletions

View File

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