Extra label

merge-requests/8/head
Bob Mottram 2020-08-22 20:40:21 +01:00
parent 69531c89d9
commit 0a96dfe03c
16 changed files with 45 additions and 20 deletions

View File

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

View File

@ -273,5 +273,6 @@
"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" "Event banner image description": "Descripció de la imatge del banner de lesdeveniment",
"Banner image": "Imatge de pancarta"
} }

View File

@ -273,5 +273,6 @@
"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" "Event banner image description": "Disgrifiad delwedd baner y digwyddiad",
"Banner image": "Delwedd baner"
} }

View File

@ -273,5 +273,6 @@
"Tentative": "Vorsichtig", "Tentative": "Vorsichtig",
"Confirmed": "Bestätigt", "Confirmed": "Bestätigt",
"Cancelled": "Abgesagt", "Cancelled": "Abgesagt",
"Event banner image description": "Beschreibung des Ereignisbannerbildes" "Event banner image description": "Beschreibung des Ereignisbannerbildes",
"Banner image": "Bannerbild"
} }

View File

@ -273,5 +273,6 @@
"Tentative": "Tentative", "Tentative": "Tentative",
"Confirmed": "Confirmed", "Confirmed": "Confirmed",
"Cancelled": "Cancelled", "Cancelled": "Cancelled",
"Event banner image description": "Event banner image description" "Event banner image description": "Event banner image description",
"Banner image": "Banner image"
} }

View File

@ -273,5 +273,6 @@
"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" "Event banner image description": "Descripción de la imagen del banner del evento",
"Banner image": "Imagen de banner"
} }

View File

@ -273,5 +273,6 @@
"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" "Event banner image description": "Description de l'image de la bannière de l'événement",
"Banner image": "Image de bannière"
} }

View File

@ -273,5 +273,6 @@
"Tentative": "Sealadach", "Tentative": "Sealadach",
"Confirmed": "Deimhnithe", "Confirmed": "Deimhnithe",
"Cancelled": "Cealaithe", "Cancelled": "Cealaithe",
"Event banner image description": "Tuairisc íomhá meirge na hócáide" "Event banner image description": "Tuairisc íomhá meirge na hócáide",
"Banner image": "Íomhá meirge"
} }

View File

@ -273,5 +273,6 @@
"Tentative": "जांच का", "Tentative": "जांच का",
"Confirmed": "की पुष्टि", "Confirmed": "की पुष्टि",
"Cancelled": "रद्द", "Cancelled": "रद्द",
"Event banner image description": "घटना बैनर छवि विवरण" "Event banner image description": "घटना बैनर छवि विवरण",
"Banner image": "बैनर की छवि"
} }

View File

@ -273,5 +273,6 @@
"Tentative": "Tentativa", "Tentative": "Tentativa",
"Confirmed": "Confermata", "Confirmed": "Confermata",
"Cancelled": "Annullata", "Cancelled": "Annullata",
"Event banner image description": "Descrizione dell'immagine del banner dell'evento" "Event banner image description": "Descrizione dell'immagine del banner dell'evento",
"Banner image": "Immagine banner"
} }

View File

@ -273,5 +273,6 @@
"Tentative": "暫定の", "Tentative": "暫定の",
"Confirmed": "確認済み", "Confirmed": "確認済み",
"Cancelled": "キャンセル", "Cancelled": "キャンセル",
"Event banner image description": "イベントバナー画像の説明" "Event banner image description": "イベントバナー画像の説明",
"Banner image": "バナー画像"
} }

View File

@ -269,5 +269,6 @@
"Tentative": "Tentative", "Tentative": "Tentative",
"Confirmed": "Confirmed", "Confirmed": "Confirmed",
"Cancelled": "Cancelled", "Cancelled": "Cancelled",
"Event banner image description": "Event banner image description" "Event banner image description": "Event banner image description",
"Banner image": "Banner image"
} }

View File

@ -273,5 +273,6 @@
"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" "Event banner image description": "Descrição da imagem do banner do evento",
"Banner image": "Imagem de banner"
} }

View File

@ -273,5 +273,6 @@
"Tentative": "Предварительно", "Tentative": "Предварительно",
"Confirmed": "Подтверждено", "Confirmed": "Подтверждено",
"Cancelled": "Отменено", "Cancelled": "Отменено",
"Event banner image description": "Описание изображения баннера мероприятия" "Event banner image description": "Описание изображения баннера мероприятия",
"Banner image": "Изображение баннера"
} }

View File

@ -273,5 +273,6 @@
"Tentative": "暂定", "Tentative": "暂定",
"Confirmed": "已确认", "Confirmed": "已确认",
"Cancelled": "取消", "Cancelled": "取消",
"Event banner image description": "活动横幅图片说明" "Event banner image description": "活动横幅图片说明",
"Banner image": "横幅图片"
} }

View File

@ -1935,11 +1935,21 @@ def htmlNewPost(mediaInstance: bool, translate: {},
translate['Event banner image description'] + '</label>\n' translate['Event banner image description'] + '</label>\n'
newPostImageSection += \ newPostImageSection += \
' <input type="text" name="imageDescription">\n' ' <input type="text" name="imageDescription">\n'
newPostImageSection += \
' <input type="file" id="attachpic" name="attachpic"' if path.endswith('/newevent'):
newPostImageSection += \ newPostImageSection += \
' accept=".png, .jpg, .jpeg, .gif, .webp, .mp4, ' + \ ' <label class="labels">' + \
'.webm, .ogv, .mp3, .ogg">\n' translate['Banner image'] + '</label>\n'
newPostImageSection += \
' <input type="file" id="attachpic" name="attachpic"'
newPostImageSection += \
' accept=".png, .jpg, .jpeg, .gif, .webp">\n'
else:
newPostImageSection += \
' <input type="file" id="attachpic" name="attachpic"'
newPostImageSection += \
' accept=".png, .jpg, .jpeg, .gif, .webp, .mp4, ' + \
'.webm, .ogv, .mp3, .ogg">\n'
newPostImageSection += ' </div>\n' newPostImageSection += ' </div>\n'
scopeIcon = 'scope_public.png' scopeIcon = 'scope_public.png'