Different image description for events

merge-requests/8/head
Bob Mottram 2020-08-22 20:23:48 +01:00
parent 6d22a89eb3
commit 1eac0134fc
16 changed files with 38 additions and 18 deletions

View File

@ -272,5 +272,6 @@
"Status of the event": "حالة الحدث",
"Tentative": "مؤقت",
"Confirmed": "تم تأكيد",
"Cancelled": "ألغيت"
"Cancelled": "ألغيت",
"Event banner image description": "وصف صورة شعار الحدث"
}

View File

@ -272,5 +272,6 @@
"Status of the event": "Estat de lesdeveniment",
"Tentative": "Temptatiu",
"Confirmed": "Confirmat",
"Cancelled": "Cancel·lat"
"Cancelled": "Cancel·lat",
"Event banner image description": "Descripció de la imatge del banner de lesdeveniment"
}

View File

@ -272,5 +272,6 @@
"Status of the event": "Statws y digwyddiad",
"Tentative": "Cynhyrfus",
"Confirmed": "Cadarnhawyd",
"Cancelled": "Wedi'i ganslo"
"Cancelled": "Wedi'i ganslo",
"Event banner image description": "Disgrifiad delwedd baner y digwyddiad"
}

View File

@ -272,5 +272,6 @@
"Status of the event": "Status des Ereignisses",
"Tentative": "Vorsichtig",
"Confirmed": "Bestätigt",
"Cancelled": "Abgesagt"
"Cancelled": "Abgesagt",
"Event banner image description": "Beschreibung des Ereignisbannerbildes"
}

View File

@ -272,5 +272,6 @@
"Status of the event": "Status of the event",
"Tentative": "Tentative",
"Confirmed": "Confirmed",
"Cancelled": "Cancelled"
"Cancelled": "Cancelled",
"Event banner image description": "Event banner image description"
}

View File

@ -272,5 +272,6 @@
"Status of the event": "Estado del evento",
"Tentative": "Tentativa",
"Confirmed": "Confirmada",
"Cancelled": "Cancelada"
"Cancelled": "Cancelada",
"Event banner image description": "Descripción de la imagen del banner del evento"
}

View File

@ -272,5 +272,6 @@
"Status of the event": "Statut de l'événement",
"Tentative": "Provisoire",
"Confirmed": "Confirmé",
"Cancelled": "Annulé"
"Cancelled": "Annulé",
"Event banner image description": "Description de l'image de la bannière de l'événement"
}

View File

@ -272,5 +272,6 @@
"Status of the event": "Stádas na hócáide",
"Tentative": "Sealadach",
"Confirmed": "Deimhnithe",
"Cancelled": "Cealaithe"
"Cancelled": "Cealaithe",
"Event banner image description": "Tuairisc íomhá meirge na hócáide"
}

View File

@ -272,5 +272,6 @@
"Status of the event": "घटना की स्थिति",
"Tentative": "जांच का",
"Confirmed": "की पुष्टि",
"Cancelled": "रद्द"
"Cancelled": "रद्द",
"Event banner image description": "घटना बैनर छवि विवरण"
}

View File

@ -272,5 +272,6 @@
"Status of the event": "Stato dell'evento",
"Tentative": "Tentativa",
"Confirmed": "Confermata",
"Cancelled": "Annullata"
"Cancelled": "Annullata",
"Event banner image description": "Descrizione dell'immagine del banner dell'evento"
}

View File

@ -272,5 +272,6 @@
"Status of the event": "イベントのステータス",
"Tentative": "暫定の",
"Confirmed": "確認済み",
"Cancelled": "キャンセル"
"Cancelled": "キャンセル",
"Event banner image description": "イベントバナー画像の説明"
}

View File

@ -268,5 +268,6 @@
"Status of the event": "Status of the event",
"Tentative": "Tentative",
"Confirmed": "Confirmed",
"Cancelled": "Cancelled"
"Cancelled": "Cancelled",
"Event banner image description": "Event banner image description"
}

View File

@ -272,5 +272,6 @@
"Status of the event": "Status do evento",
"Tentative": "Provisório",
"Confirmed": "Confirmada",
"Cancelled": "Cancelada"
"Cancelled": "Cancelada",
"Event banner image description": "Descrição da imagem do banner do evento"
}

View File

@ -272,5 +272,6 @@
"Status of the event": "Статус мероприятия",
"Tentative": "Предварительно",
"Confirmed": "Подтверждено",
"Cancelled": "Отменено"
"Cancelled": "Отменено",
"Event banner image description": "Описание изображения баннера мероприятия"
}

View File

@ -272,5 +272,6 @@
"Status of the event": "活动状态",
"Tentative": "暂定",
"Confirmed": "已确认",
"Cancelled": "取消"
"Cancelled": "取消",
"Event banner image description": "活动横幅图片说明"
}

View File

@ -1925,9 +1925,14 @@ def htmlNewPost(mediaInstance: bool, translate: {},
pathBase = pathBase.replace('/newfollowers', '').replace('/newdm', '')
newPostImageSection = ' <div class="container">'
if endpoint != 'newevent':
newPostImageSection += \
' <label class="labels">' + translate['Image description'] + \
'</label>\n'
' <label class="labels">' + \
translate['Image description'] + '</label>\n'
else:
newPostImageSection += \
' <label class="labels">' + \
translate['Event banner image description'] + '</label>\n'
newPostImageSection += \
' <input type="text" name="imageDescription">\n'
newPostImageSection += \