Skip to content

Commit

Permalink
Merge pull request #173 from fsinfuhh/staging
Browse files Browse the repository at this point in the history
add mensa to dashboard
  • Loading branch information
kritzl authored Oct 8, 2024
2 parents 84a3440 + 7f42add commit 4f205d4
Show file tree
Hide file tree
Showing 8 changed files with 79 additions and 4 deletions.
12 changes: 11 additions & 1 deletion locale/de_DE/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>\n"
"Language-Team: \n"
Expand Down Expand Up @@ -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"
Expand Down
13 changes: 12 additions & 1 deletion locale/en_US/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>\n"
"Language-Team: \n"
Expand Down Expand Up @@ -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 ""
Expand Down
12 changes: 11 additions & 1 deletion locale/en_Uwu/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>\n"
"Language-Team: \n"
Expand Down Expand Up @@ -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 ""
Expand Down
12 changes: 11 additions & 1 deletion locale/fr_FR/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>\n"
"Language-Team: \n"
Expand Down Expand Up @@ -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"
Expand Down
18 changes: 18 additions & 0 deletions mafiasi/dashboard/static/img/services/mensa.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added mafiasi/mensa/__init__.py
Empty file.
14 changes: 14 additions & 0 deletions mafiasi/mensa/apps.py
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 2 additions & 0 deletions mafiasi/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"

Expand Down

0 comments on commit 4f205d4

Please sign in to comment.