Skip to content
Snippets Groups Projects
Commit 702dd6e5 authored by Benjamin Hättasch's avatar Benjamin Hättasch
Browse files

Show semantic meaning for unlimited room capacity in help text

parent 645c2bf3
No related branches found
No related tags found
1 merge request!110Implement additional constraint validation checks
......@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-05-15 14:34+0000\n"
"POT-Creation-Date: 2021-10-28 16:39+0000\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"
......@@ -519,8 +519,8 @@ msgid "Capacity"
msgstr "Kapazität"
#: AKModel/models.py:331
msgid "Maximum number of people"
msgstr "Maximale Personenzahl"
msgid "Maximum number of people (-1 for unlimited)."
msgstr "Maximale Personenzahl (-1 wenn unbeschränkt)."
#: AKModel/models.py:332
msgid "Properties"
......
# Generated by Django 3.1.8 on 2021-10-28 16:34
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('AKModel', '0046_present_by_default'),
]
operations = [
migrations.AlterField(
model_name='room',
name='capacity',
field=models.IntegerField(help_text='Maximum number of people (-1 for unlimited).', verbose_name='Capacity'),
),
]
......@@ -328,7 +328,7 @@ class Room(models.Model):
name = models.CharField(max_length=64, verbose_name=_('Name'), help_text=_('Name or number of the room'))
location = models.CharField(max_length=256, blank=True, verbose_name=_('Location'),
help_text=_('Name or number of the location'))
capacity = models.IntegerField(verbose_name=_('Capacity'), help_text=_('Maximum number of people'))
capacity = models.IntegerField(verbose_name=_('Capacity'), help_text=_('Maximum number of people (-1 for unlimited).'))
properties = models.ManyToManyField(to=AKRequirement, blank=True, verbose_name=_('Properties'),
help_text=_('AK requirements fulfilled by the room'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment