Section for attached image

merge-requests/23/head
Bob Mottram 2022-04-15 13:56:30 +01:00
parent b99f07004d
commit 87606f6255
22 changed files with 47 additions and 21 deletions

View File

@ -95,6 +95,7 @@
"theoxymoron.co.uk",
"thepeoplescube.com",
"thepoke.co.uk",
"therightists.com",
"rochdaleherald.co.uk",
"politicalgarbagechute.com",
"the-postillon.com",

View File

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

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -520,5 +520,6 @@
"Known Search Bots": "ज्ञात वेब खोज बॉट्स",
"mitm": "संदेश किसी तीसरे पक्ष द्वारा पढ़ा या संशोधित किया जा सकता था",
"Bold reading": "बोल्ड रीडिंग",
"SHOW EDITS": "संपादन दिखाएं"
"SHOW EDITS": "संपादन दिखाएं",
"Attach an image, video or audio file": "एक छवि, वीडियो या ऑडियो फ़ाइल संलग्न करें"
}

View File

@ -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"
}

View File

@ -520,5 +520,6 @@
"Known Search Bots": "既知のWeb検索ボット",
"mitm": "メッセージが第三者によって読み取られたり変更されたりした可能性があります",
"Bold reading": "大胆な読書",
"SHOW EDITS": "編集を表示"
"SHOW EDITS": "編集を表示",
"Attach an image, video or audio file": "画像、ビデオ、またはオーディオファイルを添付します"
}

View File

@ -520,5 +520,6 @@
"Known Search Bots": "알려진 웹 검색 봇",
"mitm": "제3자가 메시지를 읽거나 수정했을 수 있습니다.",
"Bold reading": "굵은 글씨",
"SHOW EDITS": "수정사항 보기"
"SHOW EDITS": "수정사항 보기",
"Attach an image, video or audio file": "이미지, 비디오 또는 오디오 파일 첨부"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

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

View File

@ -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"
}

View File

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

View File

@ -520,5 +520,6 @@
"Known Search Bots": "已知的网络搜索机器人",
"mitm": "消息可能已被第三方阅读或修改",
"Bold reading": "大胆阅读",
"SHOW EDITS": "显示编辑"
"SHOW EDITS": "显示编辑",
"Attach an image, video or audio file": "附加图像、视频或音频文件"
}

View File

@ -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 = ' <div class="container">\n'
new_post_image_section = \
begin_edit_section(translate['Attach an image, video or audio file'])
new_post_image_section += ' <div class="container">\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 += ' </div>\n'
new_post_image_section += end_edit_section()
scope_icon = 'scope_public.png'
scope_description = translate['Public']