diff --git a/cwlists/satire.json b/cwlists/satire.json index 132c658fa..08e4e0915 100644 --- a/cwlists/satire.json +++ b/cwlists/satire.json @@ -95,6 +95,7 @@ "theoxymoron.co.uk", "thepeoplescube.com", "thepoke.co.uk", + "therightists.com", "rochdaleherald.co.uk", "politicalgarbagechute.com", "the-postillon.com", diff --git a/translations/ar.json b/translations/ar.json index e37a219e9..33a09a5b3 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -520,5 +520,6 @@ "Known Search Bots": "روبوتات بحث الويب المعروفة", "mitm": "يمكن قراءة الرسالة أو تعديلها من قبل طرف ثالث", "Bold reading": "قراءة جريئة", - "SHOW EDITS": "عرض التعديلات" + "SHOW EDITS": "عرض التعديلات", + "Attach an image, video or audio file": "إرفاق صورة أو فيديو أو ملف صوتي" } diff --git a/translations/ca.json b/translations/ca.json index 543178e8a..85f0f5339 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -520,5 +520,6 @@ "Known Search Bots": "Bots de cerca web coneguts", "mitm": "El missatge podria haver estat llegit o modificat per un tercer", "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" } diff --git a/translations/cy.json b/translations/cy.json index 6ee8d7df8..0383fdef7 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -520,5 +520,6 @@ "Known Search Bots": "Bots Chwilio Gwe Hysbys", "mitm": "Gallai'r neges fod wedi cael ei darllen neu ei haddasu gan drydydd parti", "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" } diff --git a/translations/de.json b/translations/de.json index 93037f42a..8f5e1edc9 100644 --- a/translations/de.json +++ b/translations/de.json @@ -520,5 +520,6 @@ "Known Search Bots": "Bekannte Bots für die Websuche", "mitm": "Die Nachricht könnte von einem Dritten gelesen oder geändert worden sein", "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" } diff --git a/translations/en.json b/translations/en.json index 024f4573f..e2e00d08a 100644 --- a/translations/en.json +++ b/translations/en.json @@ -520,5 +520,6 @@ "Known Search Bots": "Known Web Search Bots", "mitm": "Message could have been read or modified by a third party", "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" } diff --git a/translations/es.json b/translations/es.json index b009522af..d72b468e6 100644 --- a/translations/es.json +++ b/translations/es.json @@ -520,5 +520,6 @@ "Known Search Bots": "Bots de búsqueda web conocidos", "mitm": "El mensaje podría haber sido leído o modificado por un tercero", "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" } diff --git a/translations/fr.json b/translations/fr.json index f932bd705..575831804 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -520,5 +520,6 @@ "Known Search Bots": "Robots de recherche Web connus", "mitm": "Le message a pu être lu ou modifié par un tiers", "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" } diff --git a/translations/ga.json b/translations/ga.json index a5c8836cb..119596466 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -520,5 +520,6 @@ "Known Search Bots": "Róbónna Cuardach Gréasáin Aitheanta", "mitm": "D'fhéadfadh tríú páirtí an teachtaireacht a léamh nó a mhodhnú", "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" } diff --git a/translations/hi.json b/translations/hi.json index f97bfe869..85d1a0dc5 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -520,5 +520,6 @@ "Known Search Bots": "ज्ञात वेब खोज बॉट्स", "mitm": "संदेश किसी तीसरे पक्ष द्वारा पढ़ा या संशोधित किया जा सकता था", "Bold reading": "बोल्ड रीडिंग", - "SHOW EDITS": "संपादन दिखाएं" + "SHOW EDITS": "संपादन दिखाएं", + "Attach an image, video or audio file": "एक छवि, वीडियो या ऑडियो फ़ाइल संलग्न करें" } diff --git a/translations/it.json b/translations/it.json index 2e47edd74..8f6e5ce89 100644 --- a/translations/it.json +++ b/translations/it.json @@ -520,5 +520,6 @@ "Known Search Bots": "Bot di ricerca Web noti", "mitm": "Il messaggio potrebbe essere stato letto o modificato da terzi", "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" } diff --git a/translations/ja.json b/translations/ja.json index a4e390b59..07aa7992c 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -520,5 +520,6 @@ "Known Search Bots": "既知のWeb検索ボット", "mitm": "メッセージが第三者によって読み取られたり変更されたりした可能性があります", "Bold reading": "大胆な読書", - "SHOW EDITS": "編集を表示" + "SHOW EDITS": "編集を表示", + "Attach an image, video or audio file": "画像、ビデオ、またはオーディオファイルを添付します" } diff --git a/translations/ko.json b/translations/ko.json index e32e293a1..38bfd2c74 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -520,5 +520,6 @@ "Known Search Bots": "알려진 웹 검색 봇", "mitm": "제3자가 메시지를 읽거나 수정했을 수 있습니다.", "Bold reading": "굵은 글씨", - "SHOW EDITS": "수정사항 보기" + "SHOW EDITS": "수정사항 보기", + "Attach an image, video or audio file": "이미지, 비디오 또는 오디오 파일 첨부" } diff --git a/translations/ku.json b/translations/ku.json index 54ecfdca6..6d6a2e898 100644 --- a/translations/ku.json +++ b/translations/ku.json @@ -520,5 +520,6 @@ "Known Search Bots": "Botên Lêgerîna Webê yên naskirî", "mitm": "Peyam dikaribû ji hêla aliyek sêyemîn ve were xwendin an guhertin", "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" } diff --git a/translations/oc.json b/translations/oc.json index 0715ea292..57e2d5471 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -516,5 +516,6 @@ "Known Search Bots": "Known Web Search Bots", "mitm": "Message could have been read or modified by a third party", "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" } diff --git a/translations/pl.json b/translations/pl.json index 76d0279fd..c8b247fbf 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -520,5 +520,6 @@ "Known Search Bots": "Znane boty wyszukiwania w sieci", "mitm": "Wiadomość mogła zostać przeczytana lub zmodyfikowana przez osobę trzecią", "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" } diff --git a/translations/pt.json b/translations/pt.json index dfca1a257..ef5632fb5 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -520,5 +520,6 @@ "Known Search Bots": "Bots de pesquisa na Web conhecidos", "mitm": "A mensagem pode ter sido lida ou modificada por terceiros", "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" } diff --git a/translations/ru.json b/translations/ru.json index 697040b14..d1bf1fa5e 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -520,5 +520,6 @@ "Known Search Bots": "Известные боты веб-поиска", "mitm": "Сообщение могло быть прочитано или изменено третьим лицом", "Bold reading": "Смелое чтение", - "SHOW EDITS": "ПОКАЗАТЬ РЕДАКТИРОВАНИЕ" + "SHOW EDITS": "ПОКАЗАТЬ РЕДАКТИРОВАНИЕ", + "Attach an image, video or audio file": "Прикрепите изображение, видео или аудио файл" } diff --git a/translations/sw.json b/translations/sw.json index f2666243e..1a5500fdf 100644 --- a/translations/sw.json +++ b/translations/sw.json @@ -520,5 +520,6 @@ "Known Search Bots": "Vijibu vya Utafutaji wa Wavuti vinavyojulikana", "mitm": "Ujumbe ungeweza kusomwa au kurekebishwa na mtu mwingine", "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" } diff --git a/translations/uk.json b/translations/uk.json index 081e7ba6d..a30b62c38 100644 --- a/translations/uk.json +++ b/translations/uk.json @@ -520,5 +520,6 @@ "Known Search Bots": "Відомі пошукові роботи в Інтернеті", "mitm": "Повідомлення могло бути прочитане або змінене третьою стороною", "Bold reading": "Сміливе читання", - "SHOW EDITS": "ПОКАЗАТИ ЗМІНИ" + "SHOW EDITS": "ПОКАЗАТИ ЗМІНИ", + "Attach an image, video or audio file": "Прикріпіть зображення, відео чи аудіофайл" } diff --git a/translations/zh.json b/translations/zh.json index 114885e74..e1a3dcf82 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -520,5 +520,6 @@ "Known Search Bots": "已知的网络搜索机器人", "mitm": "消息可能已被第三方阅读或修改", "Bold reading": "大胆阅读", - "SHOW EDITS": "显示编辑" + "SHOW EDITS": "显示编辑", + "Attach an image, video or audio file": "附加图像、视频或音频文件" } diff --git a/webapp_create_post.py b/webapp_create_post.py index 584be618b..4f45bb5b0 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -18,6 +18,8 @@ from utils import acct_dir from utils import get_currencies from utils import get_category_types from utils import get_account_timezone +from webapp_utils import begin_edit_section +from webapp_utils import end_edit_section from webapp_utils import get_banner_file from webapp_utils import html_header_with_external_style from webapp_utils import html_footer @@ -364,7 +366,9 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, for curr_post_type in new_post_endpoints: path_base = path_base.replace('/' + curr_post_type, '') - new_post_image_section = '
\n' + new_post_image_section = \ + begin_edit_section(translate['Attach an image, video or audio file']) + new_post_image_section += '
\n' new_post_image_section += \ edit_text_field(translate['Image description'], 'imageDescription', '') @@ -376,6 +380,7 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, new_post_image_section += \ ' accept="' + formats_string + '">\n' new_post_image_section += '
\n' + new_post_image_section += end_edit_section() scope_icon = 'scope_public.png' scope_description = translate['Public']