-
Benjamin Hättasch authored
Use One2One relationship instead of inheritance This allows to add and also remove the virtual features of a room Introduce new model Create migrations to migrate from existing to new model + a squashed version knowing only about the new model for fresh installations Adapt admin views Add django-betterforms as dependency to simply create a form allowing to generate rooms with optionally a virtual component in a single view and create that form Add view to create rooms in that view and use instead of default django creation form Use the new name/structure in templates Move RoomForm to forms.py to make imports easier Update batch creation of rooms This resolves #150 and also resolves #179 since now rooms and virtual rooms (rooms with virtual features) are created using the same view
Benjamin Hättasch authoredUse One2One relationship instead of inheritance This allows to add and also remove the virtual features of a room Introduce new model Create migrations to migrate from existing to new model + a squashed version knowing only about the new model for fresh installations Adapt admin views Add django-betterforms as dependency to simply create a form allowing to generate rooms with optionally a virtual component in a single view and create that form Add view to create rooms in that view and use instead of default django creation form Use the new name/structure in templates Move RoomForm to forms.py to make imports easier Update batch creation of rooms This resolves #150 and also resolves #179 since now rooms and virtual rooms (rooms with virtual features) are created using the same view
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
django.po 1.41 KiB
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-24 18:01+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: AKOnline/models.py:11
msgid "URL"
msgstr "URL"
#: AKOnline/models.py:11
msgid "URL to the room or server"
msgstr "URL zum Raum oder Server"
#: AKOnline/models.py:12
msgid "Room"
msgstr "Raum"
#: AKOnline/models.py:16
#: AKOnline/templates/admin/AKOnline/room_create_with_virtual.html:10
msgid "Virtual Room"
msgstr "Virtueller Raum"
#: AKOnline/models.py:17
msgid "Virtual Rooms"
msgstr "Virtuelle Räume"
#: AKOnline/templates/admin/AKOnline/room_create_with_virtual.html:11
msgid "Leave empty if that room is not virtual/hybrid."
msgstr "Leer lassen wenn der Raum nicht virtuell/hybrid ist"
#: AKOnline/views.py:16
#, python-format
msgid "Created Room '%(room)s'"
msgstr "Raum '%(room)s' angelegt"
#: AKOnline/views.py:18
#, python-format
msgid "Created related Virtual Room '%(vroom)s'"
msgstr "Verbundenen virtuellen Raum '%(vroom)s' angelegt"