release nouri 0.5.0 shopping rhythm pwa and reminders
This commit is contained in:
@@ -20,6 +20,57 @@ DEFAULT_CATEGORIES = [
|
||||
"Kleines Essen",
|
||||
]
|
||||
|
||||
DEFAULT_CATEGORY_BUILDERS = {
|
||||
"Brot & Getreide": "carb",
|
||||
"Milchprodukt": "dairy",
|
||||
"Obst": "fruit",
|
||||
"Gemüse": "veg",
|
||||
"Eiweißquelle": "protein",
|
||||
"Snack": "neutral",
|
||||
"Getränk": "neutral",
|
||||
"Vorrat & Basics": "neutral",
|
||||
"Warmes": "carb",
|
||||
"Kleines Essen": "neutral",
|
||||
}
|
||||
|
||||
BUILDER_LABELS = {
|
||||
"protein": "Proteinquelle",
|
||||
"carb": "Kohlenhydratquelle",
|
||||
"veg": "Gemüse / Ballaststoffquelle",
|
||||
"nuts": "Nüsse / Samen",
|
||||
"fruit": "Obst",
|
||||
"dairy": "Milchprodukt",
|
||||
"neutral": "Neutral / sonstiges",
|
||||
}
|
||||
|
||||
BUILDER_DESCRIPTIONS = {
|
||||
"protein": "Passt eher zu sättigenden Eiweißquellen.",
|
||||
"carb": "Passt eher zu Brot, Getreide, Reis, Kartoffeln oder ähnlichem.",
|
||||
"veg": "Passt eher zu Gemüse oder ballaststoffreichen Begleitern.",
|
||||
"nuts": "Passt eher zu Nüssen oder Samen.",
|
||||
"fruit": "Passt eher zu Obst.",
|
||||
"dairy": "Passt eher zu Joghurt, Milch, Käse oder ähnlichem.",
|
||||
"neutral": "Ohne feste Zuordnung, aber weiterhin gut nutzbar.",
|
||||
}
|
||||
|
||||
BUILDER_OPTIONS = [(key, label) for key, label in BUILDER_LABELS.items()]
|
||||
|
||||
WEEKDAY_OPTIONS = [
|
||||
(0, "Montag"),
|
||||
(1, "Dienstag"),
|
||||
(2, "Mittwoch"),
|
||||
(3, "Donnerstag"),
|
||||
(4, "Freitag"),
|
||||
(5, "Samstag"),
|
||||
(6, "Sonntag"),
|
||||
]
|
||||
|
||||
NOTIFICATION_CHANNEL_OPTIONS = [
|
||||
("in_app", "Nur in der App"),
|
||||
("push", "Nur Push"),
|
||||
("both", "App und Push"),
|
||||
]
|
||||
|
||||
ITEM_KIND_LABELS = {
|
||||
"food": "Lebensmittel",
|
||||
"meal": "Mahlzeitenideen",
|
||||
|
||||
Reference in New Issue
Block a user