diff --git a/locale/de_DE/LC_MESSAGES/django.po b/locale/de_DE/LC_MESSAGES/django.po index 625e4f4..2105064 100644 --- a/locale/de_DE/LC_MESSAGES/django.po +++ b/locale/de_DE/LC_MESSAGES/django.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: Mafiasi\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-09-03 23:48+0200\n" +"POT-Creation-Date: 2024-10-08 09:35+0200\n" "PO-Revision-Date: 2024-09-03 23:52+0200\n" "Last-Translator: Markus Neblung \n" "Language-Team: \n" @@ -1555,6 +1555,16 @@ msgstr "" "Matrix ermöglicht dezentrales Chatten und VoIP mit Ende-zu-Ende-" "Verschlüsselung." +#: mafiasi/mensa/apps.py:11 +msgid "Mensa" +msgstr "Mensa" + +#: mafiasi/mensa/apps.py:12 +msgid "" +"Look at what is available in the canteens and filter according to diet, " +"allergens, etc." +msgstr "Schaue was es in den Mensen zu essen gibt und filtere nach Ernährungsweise, Allergenen usw." + #: mafiasi/modulkompass/apps.py:11 msgid "Modulkompass" msgstr "Modulkompass" diff --git a/locale/en_US/LC_MESSAGES/django.po b/locale/en_US/LC_MESSAGES/django.po index cd28e71..7906bfd 100644 --- a/locale/en_US/LC_MESSAGES/django.po +++ b/locale/en_US/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Mafiasi\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-09-03 23:48+0200\n" +"POT-Creation-Date: 2024-10-08 09:35+0200\n" "PO-Revision-Date: 2024-01-18 22:42+0100\n" "Last-Translator: Markus Neblung \n" "Language-Team: \n" @@ -1413,6 +1413,17 @@ msgstr "" msgid "Matrix provides decentralized messaging and VoIP with E2E encryption." msgstr "" +#: mafiasi/mensa/apps.py:11 +msgid "Mensa" +msgstr "Canteen" + +#: mafiasi/mensa/apps.py:12 +msgid "" +"Look at what is available in the canteens and filter according to diet, " +"allergens, etc." +msgstr "Look at what is available in the canteens and filter according to diet, " + "allergens, etc." + #: mafiasi/modulkompass/apps.py:11 msgid "Modulkompass" msgstr "" diff --git a/locale/en_Uwu/LC_MESSAGES/django.po b/locale/en_Uwu/LC_MESSAGES/django.po index e95b84d..b10ce52 100644 --- a/locale/en_Uwu/LC_MESSAGES/django.po +++ b/locale/en_Uwu/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Mafiasi\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-09-03 23:48+0200\n" +"POT-Creation-Date: 2024-10-08 09:35+0200\n" "PO-Revision-Date: 2024-01-09 22:14+0000\n" "Last-Translator: kritzl \n" "Language-Team: \n" @@ -1642,6 +1642,16 @@ msgstr "Meowtrix" msgid "Matrix provides decentralized messaging and VoIP with E2E encryption." msgstr "Hug frens. Virtually." +#: mafiasi/mensa/apps.py:11 +msgid "Mensa" +msgstr "Nomsies" + +#: mafiasi/mensa/apps.py:12 +msgid "" +"Look at what is available in the canteens and filter according to diet, " +"allergens, etc." +msgstr "Look at foood and filter what I do not likes" + #: mafiasi/modulkompass/apps.py:11 msgid "Modulkompass" msgstr "" diff --git a/locale/fr_FR/LC_MESSAGES/django.po b/locale/fr_FR/LC_MESSAGES/django.po index 88532a5..680fdf6 100644 --- a/locale/fr_FR/LC_MESSAGES/django.po +++ b/locale/fr_FR/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Mafiasi\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-09-03 23:48+0200\n" +"POT-Creation-Date: 2024-10-08 09:35+0200\n" "PO-Revision-Date: 2024-09-03 23:54+0200\n" "Last-Translator: Markus Neblung \n" "Language-Team: \n" @@ -1564,6 +1564,16 @@ msgstr "" "Matrix fournit messagerie décentralisée et VoIP avec chiffrement de bout en " "bout." +#: mafiasi/mensa/apps.py:11 +msgid "Mensa" +msgstr "Cantine" + +#: mafiasi/mensa/apps.py:12 +msgid "" +"Look at what is available in the canteens and filter according to diet, " +"allergens, etc." +msgstr "Regarde ce qu'il y a à manger dans les restaurants universitaires et filtre en fonction du régime alimentaire, des allergènes, etc." + #: mafiasi/modulkompass/apps.py:11 msgid "Modulkompass" msgstr "Modulkompass" diff --git a/mafiasi/dashboard/static/img/services/mensa.svg b/mafiasi/dashboard/static/img/services/mensa.svg new file mode 100644 index 0000000..44b74b8 --- /dev/null +++ b/mafiasi/dashboard/static/img/services/mensa.svg @@ -0,0 +1,18 @@ + + + + diff --git a/mafiasi/mensa/__init__.py b/mafiasi/mensa/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/mafiasi/mensa/apps.py b/mafiasi/mensa/apps.py new file mode 100644 index 0000000..187164e --- /dev/null +++ b/mafiasi/mensa/apps.py @@ -0,0 +1,14 @@ +from django.conf import settings +from django.utils.translation import gettext_lazy as _ + +from mafiasi.base.base_apps import BaseService + + +class MensaConfig(BaseService): + default = True + name = "mafiasi.mensa" + verbose_name = "Mensa" + title = _("Mensa") + description = _("Look at what is available in the canteens and filter according to diet, allergens, etc.") + link = settings.MENSA_URL + image = "img/services/mensa.svg" diff --git a/mafiasi/settings.py b/mafiasi/settings.py index 3f35985..116db8e 100644 --- a/mafiasi/settings.py +++ b/mafiasi/settings.py @@ -159,6 +159,7 @@ "mafiasi.etherpad", "mafiasi.bitpoll", "mafiasi.matrix" if env.bool("MAFIASI_ENABLE_MATRIX", True) else None, + "mafiasi.mensa" if env.bool("MAFIASI_ENABLE_MENSA", True) else None, "mafiasi.modulkompass" if env.bool("MAFIASI_ENABLE_MODULKOMPASS", True) else None, "mafiasi.git", "mafiasi.sogo", @@ -316,6 +317,7 @@ WHITEBOARD_URL = "https://spacedeck.mafiasi.de" KANBOARD_URL = "https://kanboard.mafiasi.de" MATRIX_URL = "https://matrix.mafiasi.de" +MENSA_URL = "https://mensa.mafiasi.de/app" MODULKOMPASS_URL = "https://modulkompass.mafiasi.de" LINK_SHORTENER_URL = "https://l.mafiasi.de"