Section for place and time on new post screen

merge-requests/30/head
Bob Mottram 2022-04-15 14:17:38 +01:00
parent bf36c3f451
commit 233d1400fc
21 changed files with 43 additions and 20 deletions

View File

@ -521,5 +521,6 @@
"mitm": "يمكن قراءة الرسالة أو تعديلها من قبل طرف ثالث", "mitm": "يمكن قراءة الرسالة أو تعديلها من قبل طرف ثالث",
"Bold reading": "قراءة جريئة", "Bold reading": "قراءة جريئة",
"SHOW EDITS": "عرض التعديلات", "SHOW EDITS": "عرض التعديلات",
"Attach an image, video or audio file": "إرفاق صورة أو فيديو أو ملف صوتي" "Attach an image, video or audio file": "إرفاق صورة أو فيديو أو ملف صوتي",
"Set a place and time": "حدد المكان والزمان"
} }

View File

@ -521,5 +521,6 @@
"mitm": "El missatge podria haver estat llegit o modificat per un tercer", "mitm": "El missatge podria haver estat llegit o modificat per un tercer",
"Bold reading": "Lectura atrevida", "Bold reading": "Lectura atrevida",
"SHOW EDITS": "MOSTRA EDICIONS", "SHOW EDITS": "MOSTRA EDICIONS",
"Attach an image, video or audio file": "Adjunteu un fitxer d'imatge, vídeo o àudio" "Attach an image, video or audio file": "Adjunteu un fitxer d'imatge, vídeo o àudio",
"Set a place and time": "Estableix un lloc i una hora"
} }

View File

@ -521,5 +521,6 @@
"mitm": "Gallai'r neges fod wedi cael ei darllen neu ei haddasu gan drydydd parti", "mitm": "Gallai'r neges fod wedi cael ei darllen neu ei haddasu gan drydydd parti",
"Bold reading": "Darllen beiddgar", "Bold reading": "Darllen beiddgar",
"SHOW EDITS": "GOLYGIADAU SIOE", "SHOW EDITS": "GOLYGIADAU SIOE",
"Attach an image, video or audio file": "Atodwch ddelwedd, fideo neu ffeil sain" "Attach an image, video or audio file": "Atodwch ddelwedd, fideo neu ffeil sain",
"Set a place and time": "Gosodwch le ac amser"
} }

View File

@ -521,5 +521,6 @@
"mitm": "Die Nachricht könnte von einem Dritten gelesen oder geändert worden sein", "mitm": "Die Nachricht könnte von einem Dritten gelesen oder geändert worden sein",
"Bold reading": "Mutige Lektüre", "Bold reading": "Mutige Lektüre",
"SHOW EDITS": "BEARBEITUNGEN ZEIGEN", "SHOW EDITS": "BEARBEITUNGEN ZEIGEN",
"Attach an image, video or audio file": "Hängen Sie eine Bild-, Video- oder Audiodatei an" "Attach an image, video or audio file": "Hängen Sie eine Bild-, Video- oder Audiodatei an",
"Set a place and time": "Legen Sie einen Ort und eine Zeit fest"
} }

View File

@ -521,5 +521,6 @@
"mitm": "Message could have been read or modified by a third party", "mitm": "Message could have been read or modified by a third party",
"Bold reading": "Bold reading", "Bold reading": "Bold reading",
"SHOW EDITS": "SHOW EDITS", "SHOW EDITS": "SHOW EDITS",
"Attach an image, video or audio file": "Attach an image, video or audio file" "Attach an image, video or audio file": "Attach an image, video or audio file",
"Set a place and time": "Set a place and time"
} }

View File

@ -521,5 +521,6 @@
"mitm": "El mensaje podría haber sido leído o modificado por un tercero", "mitm": "El mensaje podría haber sido leído o modificado por un tercero",
"Bold reading": "Lectura en negrita", "Bold reading": "Lectura en negrita",
"SHOW EDITS": "MOSTRAR EDICIONES", "SHOW EDITS": "MOSTRAR EDICIONES",
"Attach an image, video or audio file": "Adjuntar un archivo de imagen, video o audio" "Attach an image, video or audio file": "Adjuntar un archivo de imagen, video o audio",
"Set a place and time": "Establece un lugar y una hora"
} }

View File

@ -521,5 +521,6 @@
"mitm": "Le message a pu être lu ou modifié par un tiers", "mitm": "Le message a pu être lu ou modifié par un tiers",
"Bold reading": "Lecture audacieuse", "Bold reading": "Lecture audacieuse",
"SHOW EDITS": "AFFICHER LES MODIFICATIONS", "SHOW EDITS": "AFFICHER LES MODIFICATIONS",
"Attach an image, video or audio file": "Joindre une image, une vidéo ou un fichier audio" "Attach an image, video or audio file": "Joindre une image, une vidéo ou un fichier audio",
"Set a place and time": "Fixez un lieu et une heure"
} }

View File

@ -521,5 +521,6 @@
"mitm": "D'fhéadfadh tríú páirtí an teachtaireacht a léamh nó a mhodhnú", "mitm": "D'fhéadfadh tríú páirtí an teachtaireacht a léamh nó a mhodhnú",
"Bold reading": "Léamh trom", "Bold reading": "Léamh trom",
"SHOW EDITS": "EAGARTHÓIRÍ TAISPEÁINT", "SHOW EDITS": "EAGARTHÓIRÍ TAISPEÁINT",
"Attach an image, video or audio file": "Ceangail íomhá, físeán nó comhad fuaime" "Attach an image, video or audio file": "Ceangail íomhá, físeán nó comhad fuaime",
"Set a place and time": "Socraigh áit agus am"
} }

View File

@ -521,5 +521,6 @@
"mitm": "संदेश किसी तीसरे पक्ष द्वारा पढ़ा या संशोधित किया जा सकता था", "mitm": "संदेश किसी तीसरे पक्ष द्वारा पढ़ा या संशोधित किया जा सकता था",
"Bold reading": "बोल्ड रीडिंग", "Bold reading": "बोल्ड रीडिंग",
"SHOW EDITS": "संपादन दिखाएं", "SHOW EDITS": "संपादन दिखाएं",
"Attach an image, video or audio file": "एक छवि, वीडियो या ऑडियो फ़ाइल संलग्न करें" "Attach an image, video or audio file": "एक छवि, वीडियो या ऑडियो फ़ाइल संलग्न करें",
"Set a place and time": "एक जगह और समय निर्धारित करें"
} }

View File

@ -521,5 +521,6 @@
"mitm": "Il messaggio potrebbe essere stato letto o modificato da terzi", "mitm": "Il messaggio potrebbe essere stato letto o modificato da terzi",
"Bold reading": "Lettura audace", "Bold reading": "Lettura audace",
"SHOW EDITS": "MOSTRA MODIFICHE", "SHOW EDITS": "MOSTRA MODIFICHE",
"Attach an image, video or audio file": "Allega un file immagine, video o audio" "Attach an image, video or audio file": "Allega un file immagine, video o audio",
"Set a place and time": "Stabilisci un luogo e un'ora"
} }

View File

@ -521,5 +521,6 @@
"mitm": "メッセージが第三者によって読み取られたり変更されたりした可能性があります", "mitm": "メッセージが第三者によって読み取られたり変更されたりした可能性があります",
"Bold reading": "大胆な読書", "Bold reading": "大胆な読書",
"SHOW EDITS": "編集を表示", "SHOW EDITS": "編集を表示",
"Attach an image, video or audio file": "画像、ビデオ、またはオーディオファイルを添付します" "Attach an image, video or audio file": "画像、ビデオ、またはオーディオファイルを添付します",
"Set a place and time": "場所と時間を設定する"
} }

View File

@ -521,5 +521,6 @@
"mitm": "제3자가 메시지를 읽거나 수정했을 수 있습니다.", "mitm": "제3자가 메시지를 읽거나 수정했을 수 있습니다.",
"Bold reading": "굵은 글씨", "Bold reading": "굵은 글씨",
"SHOW EDITS": "수정사항 보기", "SHOW EDITS": "수정사항 보기",
"Attach an image, video or audio file": "이미지, 비디오 또는 오디오 파일 첨부" "Attach an image, video or audio file": "이미지, 비디오 또는 오디오 파일 첨부",
"Set a place and time": "장소와 시간을 정하다"
} }

View File

@ -521,5 +521,6 @@
"mitm": "Peyam dikaribû ji hêla aliyek sêyemîn ve were xwendin an guhertin", "mitm": "Peyam dikaribû ji hêla aliyek sêyemîn ve were xwendin an guhertin",
"Bold reading": "Xwendina qelew", "Bold reading": "Xwendina qelew",
"SHOW EDITS": "GERÎŞTAN NÎŞAN DE", "SHOW EDITS": "GERÎŞTAN NÎŞAN DE",
"Attach an image, video or audio file": "Wêneyek, vîdyoyek an pelê deng veke" "Attach an image, video or audio file": "Wêneyek, vîdyoyek an pelê deng veke",
"Set a place and time": "Cih û dem destnîşan bikin"
} }

View File

@ -517,5 +517,6 @@
"mitm": "Message could have been read or modified by a third party", "mitm": "Message could have been read or modified by a third party",
"Bold reading": "Bold reading", "Bold reading": "Bold reading",
"SHOW EDITS": "SHOW EDITS", "SHOW EDITS": "SHOW EDITS",
"Attach an image, video or audio file": "Attach an image, video or audio file" "Attach an image, video or audio file": "Attach an image, video or audio file",
"Set a place and time": "Set a place and time"
} }

View File

@ -521,5 +521,6 @@
"mitm": "Wiadomość mogła zostać przeczytana lub zmodyfikowana przez osobę trzecią", "mitm": "Wiadomość mogła zostać przeczytana lub zmodyfikowana przez osobę trzecią",
"Bold reading": "Odważne czytanie", "Bold reading": "Odważne czytanie",
"SHOW EDITS": "POKAŻ EDYCJE", "SHOW EDITS": "POKAŻ EDYCJE",
"Attach an image, video or audio file": "Dołącz obraz, plik wideo lub audio" "Attach an image, video or audio file": "Dołącz obraz, plik wideo lub audio",
"Set a place and time": "Ustaw miejsce i czas"
} }

View File

@ -521,5 +521,6 @@
"mitm": "A mensagem pode ter sido lida ou modificada por terceiros", "mitm": "A mensagem pode ter sido lida ou modificada por terceiros",
"Bold reading": "Leitura em negrito", "Bold reading": "Leitura em negrito",
"SHOW EDITS": "MOSTRAR EDIÇÕES", "SHOW EDITS": "MOSTRAR EDIÇÕES",
"Attach an image, video or audio file": "Anexe um arquivo de imagem, vídeo ou áudio" "Attach an image, video or audio file": "Anexe um arquivo de imagem, vídeo ou áudio",
"Set a place and time": "Defina um local e hora"
} }

View File

@ -521,5 +521,6 @@
"mitm": "Сообщение могло быть прочитано или изменено третьим лицом", "mitm": "Сообщение могло быть прочитано или изменено третьим лицом",
"Bold reading": "Смелое чтение", "Bold reading": "Смелое чтение",
"SHOW EDITS": "ПОКАЗАТЬ РЕДАКТИРОВАНИЕ", "SHOW EDITS": "ПОКАЗАТЬ РЕДАКТИРОВАНИЕ",
"Attach an image, video or audio file": "Прикрепите изображение, видео или аудио файл" "Attach an image, video or audio file": "Прикрепите изображение, видео или аудио файл",
"Set a place and time": "Назначить место и время"
} }

View File

@ -521,5 +521,6 @@
"mitm": "Ujumbe ungeweza kusomwa au kurekebishwa na mtu mwingine", "mitm": "Ujumbe ungeweza kusomwa au kurekebishwa na mtu mwingine",
"Bold reading": "Kusoma kwa ujasiri", "Bold reading": "Kusoma kwa ujasiri",
"SHOW EDITS": "ONYESHA MABADILIKO", "SHOW EDITS": "ONYESHA MABADILIKO",
"Attach an image, video or audio file": "Ambatisha picha, video au faili ya sauti" "Attach an image, video or audio file": "Ambatisha picha, video au faili ya sauti",
"Set a place and time": "Weka mahali na wakati"
} }

View File

@ -521,5 +521,6 @@
"mitm": "Повідомлення могло бути прочитане або змінене третьою стороною", "mitm": "Повідомлення могло бути прочитане або змінене третьою стороною",
"Bold reading": "Сміливе читання", "Bold reading": "Сміливе читання",
"SHOW EDITS": "ПОКАЗАТИ ЗМІНИ", "SHOW EDITS": "ПОКАЗАТИ ЗМІНИ",
"Attach an image, video or audio file": "Прикріпіть зображення, відео чи аудіофайл" "Attach an image, video or audio file": "Прикріпіть зображення, відео чи аудіофайл",
"Set a place and time": "Встановіть місце і час"
} }

View File

@ -521,5 +521,6 @@
"mitm": "消息可能已被第三方阅读或修改", "mitm": "消息可能已被第三方阅读或修改",
"Bold reading": "大胆阅读", "Bold reading": "大胆阅读",
"SHOW EDITS": "显示编辑", "SHOW EDITS": "显示编辑",
"Attach an image, video or audio file": "附加图像、视频或音频文件" "Attach an image, video or audio file": "附加图像、视频或音频文件",
"Set a place and time": "设置地点和时间"
} }

View File

@ -632,6 +632,8 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {},
replies_section += '</div>\n' replies_section += '</div>\n'
date_and_location = \ date_and_location = \
begin_edit_section(translate['Set a place and time'])
date_and_location += \
'<div class="container">\n' '<div class="container">\n'
if endpoint == 'newpost': if endpoint == 'newpost':
date_and_location += \ date_and_location += \
@ -651,6 +653,7 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {},
date_and_location += \ date_and_location += \
edit_text_field(translate['Location'], 'location', '') edit_text_field(translate['Location'], 'location', '')
date_and_location += '</div>\n' date_and_location += '</div>\n'
date_and_location += end_edit_section()
instance_title = get_config_param(base_dir, 'instanceTitle') instance_title = get_config_param(base_dir, 'instanceTitle')
new_post_form = html_header_with_external_style(css_filename, new_post_form = html_header_with_external_style(css_filename,