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": "حالة الحدث", "Status of the event": "حالة الحدث",
"Tentative": "مؤقت", "Tentative": "مؤقت",
"Confirmed": "تم تأكيد", "Confirmed": "تم تأكيد",
"Cancelled": "ألغيت" "Cancelled": "ألغيت",
"Event banner image description": "وصف صورة شعار الحدث"
} }

View File

@ -272,5 +272,6 @@
"Status of the event": "Estat de lesdeveniment", "Status of the event": "Estat de lesdeveniment",
"Tentative": "Temptatiu", "Tentative": "Temptatiu",
"Confirmed": "Confirmat", "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", "Status of the event": "Statws y digwyddiad",
"Tentative": "Cynhyrfus", "Tentative": "Cynhyrfus",
"Confirmed": "Cadarnhawyd", "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", "Status of the event": "Status des Ereignisses",
"Tentative": "Vorsichtig", "Tentative": "Vorsichtig",
"Confirmed": "Bestätigt", "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", "Status of the event": "Status of the event",
"Tentative": "Tentative", "Tentative": "Tentative",
"Confirmed": "Confirmed", "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", "Status of the event": "Estado del evento",
"Tentative": "Tentativa", "Tentative": "Tentativa",
"Confirmed": "Confirmada", "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", "Status of the event": "Statut de l'événement",
"Tentative": "Provisoire", "Tentative": "Provisoire",
"Confirmed": "Confirmé", "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", "Status of the event": "Stádas na hócáide",
"Tentative": "Sealadach", "Tentative": "Sealadach",
"Confirmed": "Deimhnithe", "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": "घटना की स्थिति", "Status of the event": "घटना की स्थिति",
"Tentative": "जांच का", "Tentative": "जांच का",
"Confirmed": "की पुष्टि", "Confirmed": "की पुष्टि",
"Cancelled": "रद्द" "Cancelled": "रद्द",
"Event banner image description": "घटना बैनर छवि विवरण"
} }

View File

@ -272,5 +272,6 @@
"Status of the event": "Stato dell'evento", "Status of the event": "Stato dell'evento",
"Tentative": "Tentativa", "Tentative": "Tentativa",
"Confirmed": "Confermata", "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": "イベントのステータス", "Status of the event": "イベントのステータス",
"Tentative": "暫定の", "Tentative": "暫定の",
"Confirmed": "確認済み", "Confirmed": "確認済み",
"Cancelled": "キャンセル" "Cancelled": "キャンセル",
"Event banner image description": "イベントバナー画像の説明"
} }

View File

@ -268,5 +268,6 @@
"Status of the event": "Status of the event", "Status of the event": "Status of the event",
"Tentative": "Tentative", "Tentative": "Tentative",
"Confirmed": "Confirmed", "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", "Status of the event": "Status do evento",
"Tentative": "Provisório", "Tentative": "Provisório",
"Confirmed": "Confirmada", "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": "Статус мероприятия", "Status of the event": "Статус мероприятия",
"Tentative": "Предварительно", "Tentative": "Предварительно",
"Confirmed": "Подтверждено", "Confirmed": "Подтверждено",
"Cancelled": "Отменено" "Cancelled": "Отменено",
"Event banner image description": "Описание изображения баннера мероприятия"
} }

View File

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

View File

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