diff --git a/daemon.py b/daemon.py index f6330ead..48ac6057 100644 --- a/daemon.py +++ b/daemon.py @@ -5740,6 +5740,10 @@ class PubServer(BaseHTTPRequestHandler): anonymousParticipationEnabled = False else: anonymousParticipationEnabled = True + maximumAttendeeCapacity = 999999 + if fields.get('maximumAttendeeCapacity'): + maximumAttendeeCapacity = \ + fields['maximumAttendeeCapacity'] messageJson = \ createEventPost(self.server.baseDir, @@ -5762,7 +5766,7 @@ class PubServer(BaseHTTPRequestHandler): fields['joinMode'], fields['endDate'], fields['endTime'], - fields['maximumAttendeeCapacity'], + maximumAttendeeCapacity, fields['repliesModerationOption'], anonymousParticipationEnabled, fields['eventStatus']) diff --git a/translations/ar.json b/translations/ar.json index 0179e241..628014ba 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -268,5 +268,9 @@ "Anyone can join": "يمكن لأي شخص الانضمام", "Apply to join": "تقديم طلب للانضمام", "Invitation only": "المدعوون فقط", - "Joining": "انضمام" + "Joining": "انضمام", + "Status of the event": "حالة الحدث", + "Tentative": "مؤقت", + "Confirmed": "تم تأكيد", + "Cancelled": "ألغيت" } diff --git a/translations/ca.json b/translations/ca.json index 4e552fab..4b84f77b 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -268,5 +268,9 @@ "Anyone can join": "Qualsevol persona s’hi pot apuntar", "Apply to join": "Sol·liciteu participar", "Invitation only": "Només invitació", - "Joining": "Unir-se" + "Joining": "Unir-se", + "Status of the event": "Estat de l’esdeveniment", + "Tentative": "Temptatiu", + "Confirmed": "Confirmat", + "Cancelled": "Cancel·lat" } diff --git a/translations/cy.json b/translations/cy.json index c1a47db0..6eb4897e 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -268,5 +268,9 @@ "Anyone can join": "Gall unrhyw un ymuno", "Apply to join": "Gwnewch gais i ymuno", "Invitation only": "Gwahoddiad yn unig", - "Joining": "Yn ymuno" + "Joining": "Yn ymuno", + "Status of the event": "Statws y digwyddiad", + "Tentative": "Cynhyrfus", + "Confirmed": "Cadarnhawyd", + "Cancelled": "Wedi'i ganslo" } diff --git a/translations/de.json b/translations/de.json index d3a67ebb..d0e31c0c 100644 --- a/translations/de.json +++ b/translations/de.json @@ -268,5 +268,9 @@ "Anyone can join": "Jeder kann mitmachen", "Apply to join": "Sich anmelden um teilzunehmen", "Invitation only": "Nur Einladungen", - "Joining": "Beitritt" + "Joining": "Beitritt", + "Status of the event": "Status des Ereignisses", + "Tentative": "Vorsichtig", + "Confirmed": "Bestätigt", + "Cancelled": "Abgesagt" } diff --git a/translations/en.json b/translations/en.json index f06e079a..3221e25d 100644 --- a/translations/en.json +++ b/translations/en.json @@ -268,5 +268,9 @@ "Anyone can join": "Anyone can join", "Apply to join": "Apply to join", "Invitation only": "Invitation only", - "Joining": "Joining" + "Joining": "Joining", + "Status of the event": "Status of the event", + "Tentative": "Tentative", + "Confirmed": "Confirmed", + "Cancelled": "Cancelled" } diff --git a/translations/es.json b/translations/es.json index 992e086c..c9b172c5 100644 --- a/translations/es.json +++ b/translations/es.json @@ -268,5 +268,9 @@ "Anyone can join": "Cualquiera puede unirse", "Apply to join": "Aplica para unirte", "Invitation only": "Sólo con Invitación", - "Joining": "Unión" + "Joining": "Unión", + "Status of the event": "Estado del evento", + "Tentative": "Tentativa", + "Confirmed": "Confirmada", + "Cancelled": "Cancelada" } diff --git a/translations/fr.json b/translations/fr.json index 2b059550..54057530 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -268,5 +268,9 @@ "Anyone can join": "Tout le monde peut joindre", "Apply to join": "Postuler pour rejoindre", "Invitation only": "Invitation uniquement", - "Joining": "Joindre" + "Joining": "Joindre", + "Status of the event": "Statut de l'événement", + "Tentative": "Provisoire", + "Confirmed": "Confirmé", + "Cancelled": "Annulé" } diff --git a/translations/ga.json b/translations/ga.json index 012cd257..f88afc21 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -268,5 +268,9 @@ "Anyone can join": "Is féidir le duine ar bith a bheith páirteach", "Apply to join": "Déan iarratas ar bhallraíocht", "Invitation only": "Cuireadh amháin", - "Joining": "Ag teacht le chéile" + "Joining": "Ag teacht le chéile", + "Status of the event": "Stádas na hócáide", + "Tentative": "Sealadach", + "Confirmed": "Deimhnithe", + "Cancelled": "Cealaithe" } diff --git a/translations/hi.json b/translations/hi.json index 94f61656..63b88ed4 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -268,5 +268,9 @@ "Anyone can join": "कोई भी शामिल हो सकता है", "Apply to join": "जुड़ने के लिए आवेदन करें", "Invitation only": "केवल आमंत्रण", - "Joining": "में शामिल होने से" + "Joining": "में शामिल होने से", + "Status of the event": "घटना की स्थिति", + "Tentative": "जांच का", + "Confirmed": "की पुष्टि", + "Cancelled": "रद्द" } diff --git a/translations/it.json b/translations/it.json index a09cee38..a1588f7b 100644 --- a/translations/it.json +++ b/translations/it.json @@ -268,5 +268,9 @@ "Anyone can join": "Chiunque può partecipare", "Apply to join": "Richiedi di partecipare", "Invitation only": "Solo su invito", - "Joining": "Partecipare" + "Joining": "Partecipare", + "Status of the event": "Stato dell'evento", + "Tentative": "Tentativa", + "Confirmed": "Confermata", + "Cancelled": "Annullata" } diff --git a/translations/ja.json b/translations/ja.json index e20f14b7..617c3cd5 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -268,5 +268,9 @@ "Anyone can join": "誰でも参加できます", "Apply to join": "参加を申し込む", "Invitation only": "招待のみ", - "Joining": "接合" + "Joining": "接合", + "Status of the event": "イベントのステータス", + "Tentative": "暫定の", + "Confirmed": "確認済み", + "Cancelled": "キャンセル" } diff --git a/translations/oc.json b/translations/oc.json index 7c9a8d62..a7ed435c 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -264,5 +264,9 @@ "Anyone can join": "Anyone can join", "Apply to join": "Apply to join", "Invitation only": "Invitation only", - "Joining": "Joining" + "Joining": "Joining", + "Status of the event": "Status of the event", + "Tentative": "Tentative", + "Confirmed": "Confirmed", + "Cancelled": "Cancelled" } diff --git a/translations/pt.json b/translations/pt.json index 605d4478..66d29b8d 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -268,5 +268,9 @@ "Anyone can join": "Qualquer um pode participar", "Apply to join": "Aplicar para participar", "Invitation only": "Somente para convidados", - "Joining": "Juntando" + "Joining": "Juntando", + "Status of the event": "Status do evento", + "Tentative": "Provisório", + "Confirmed": "Confirmada", + "Cancelled": "Cancelada" } diff --git a/translations/ru.json b/translations/ru.json index f85f966f..c5c776e7 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -268,5 +268,9 @@ "Anyone can join": "Каждый может присоединиться", "Apply to join": "Подать заявку на присоединение", "Invitation only": "Только приглашение", - "Joining": "Присоединение" + "Joining": "Присоединение", + "Status of the event": "Статус мероприятия", + "Tentative": "Предварительно", + "Confirmed": "Подтверждено", + "Cancelled": "Отменено" } diff --git a/translations/zh.json b/translations/zh.json index c3319d02..459ae060 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -268,5 +268,9 @@ "Anyone can join": "任何人都可以加入", "Apply to join": "申请加入", "Invitation only": "仅邀请", - "Joining": "加盟" + "Joining": "加盟", + "Status of the event": "活动状态", + "Tentative": "暂定", + "Confirmed": "已确认", + "Cancelled": "取消" } diff --git a/webinterface.py b/webinterface.py index 75c0d718..f5821ba3 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2037,9 +2037,26 @@ def htmlNewPost(mediaInstance: bool, translate: {}, dateAndLocation = '