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

View File

@ -273,5 +273,6 @@
"Tentative": "Temptatiu",
"Confirmed": "Confirmat",
"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",
"Confirmed": "Cadarnhawyd",
"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",
"Confirmed": "Bestätigt",
"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",
"Confirmed": "Confirmed",
"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",
"Confirmed": "Confirmada",
"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",
"Confirmed": "Confirmé",
"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",
"Confirmed": "Deimhnithe",
"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": "जांच का",
"Confirmed": "की पुष्टि",
"Cancelled": "रद्द",
"Event banner image description": "घटना बैनर छवि विवरण"
"Event banner image description": "घटना बैनर छवि विवरण",
"Banner image": "बैनर की छवि"
}

View File

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

View File

@ -269,5 +269,6 @@
"Tentative": "Tentative",
"Confirmed": "Confirmed",
"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",
"Confirmed": "Confirmada",
"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": "Предварительно",
"Confirmed": "Подтверждено",
"Cancelled": "Отменено",
"Event banner image description": "Описание изображения баннера мероприятия"
"Event banner image description": "Описание изображения баннера мероприятия",
"Banner image": "Изображение баннера"
}

View File

@ -273,5 +273,6 @@
"Tentative": "暂定",
"Confirmed": "已确认",
"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'
newPostImageSection += \
' <input type="text" name="imageDescription">\n'
newPostImageSection += \
' <input type="file" id="attachpic" name="attachpic"'
newPostImageSection += \
' accept=".png, .jpg, .jpeg, .gif, .webp, .mp4, ' + \
'.webm, .ogv, .mp3, .ogg">\n'
if path.endswith('/newevent'):
newPostImageSection += \
' <label class="labels">' + \
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'
scopeIcon = 'scope_public.png'