From 87606f6255330fc7f2309aaa6dbe3e90d47bd21a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 15 Apr 2022 13:56:30 +0100 Subject: [PATCH 1/9] Section for attached image --- cwlists/satire.json | 1 + translations/ar.json | 3 ++- translations/ca.json | 3 ++- translations/cy.json | 3 ++- translations/de.json | 3 ++- translations/en.json | 3 ++- translations/es.json | 3 ++- translations/fr.json | 3 ++- translations/ga.json | 3 ++- translations/hi.json | 3 ++- translations/it.json | 3 ++- translations/ja.json | 3 ++- translations/ko.json | 3 ++- translations/ku.json | 3 ++- translations/oc.json | 3 ++- translations/pl.json | 3 ++- translations/pt.json | 3 ++- translations/ru.json | 3 ++- translations/sw.json | 3 ++- translations/uk.json | 3 ++- translations/zh.json | 3 ++- webapp_create_post.py | 7 ++++++- 22 files changed, 47 insertions(+), 21 deletions(-) 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'] From bf36c3f4516c6af0eb6e978294bc4e80de52c10b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 15 Apr 2022 14:04:16 +0100 Subject: [PATCH 2/9] Change new post sections --- webapp_create_post.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/webapp_create_post.py b/webapp_create_post.py index 4f45bb5b0..2d327bc3e 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -612,23 +612,27 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, citations_str += ' \n' citations_str += '
\n' + replies_section = '' date_and_location = '' if endpoint not in ('newshare', 'newwanted', 'newreport', 'newquestion'): if not is_new_reminder: - date_and_location = \ + replies_section = \ '
\n' if category != 'accommodation': - date_and_location += \ + replies_section += \ '

\n' else: - date_and_location += \ + replies_section += \ '\n' + replies_section += '
\n' + date_and_location = \ + '
\n' if endpoint == 'newpost': date_and_location += \ '

\n' date_and_location += date_and_time_str - date_and_location += '
\n' - date_and_location += '
\n' date_and_location += \ edit_text_field(translate['Location'], 'location', '') date_and_location += '
\n' @@ -854,7 +856,8 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, str(message_box_height) + 'px"' + selected_str + \ ' spellcheck="true" autocomplete="on">' + \ '\n' - new_post_form += extra_fields + citations_str + date_and_location + new_post_form += \ + extra_fields + citations_str + replies_section + date_and_location if not media_instance or reply_str: new_post_form += new_post_image_section From 233d1400fc5c1be7d3b877247d71a115b7da9ba8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 15 Apr 2022 14:17:38 +0100 Subject: [PATCH 3/9] Section for place and time on new post screen --- translations/ar.json | 3 ++- translations/ca.json | 3 ++- translations/cy.json | 3 ++- translations/de.json | 3 ++- translations/en.json | 3 ++- translations/es.json | 3 ++- translations/fr.json | 3 ++- translations/ga.json | 3 ++- translations/hi.json | 3 ++- translations/it.json | 3 ++- translations/ja.json | 3 ++- translations/ko.json | 3 ++- translations/ku.json | 3 ++- translations/oc.json | 3 ++- translations/pl.json | 3 ++- translations/pt.json | 3 ++- translations/ru.json | 3 ++- translations/sw.json | 3 ++- translations/uk.json | 3 ++- translations/zh.json | 3 ++- webapp_create_post.py | 3 +++ 21 files changed, 43 insertions(+), 20 deletions(-) diff --git a/translations/ar.json b/translations/ar.json index 33a09a5b3..4c6ea5ce2 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -521,5 +521,6 @@ "mitm": "يمكن قراءة الرسالة أو تعديلها من قبل طرف ثالث", "Bold reading": "قراءة جريئة", "SHOW EDITS": "عرض التعديلات", - "Attach an image, video or audio file": "إرفاق صورة أو فيديو أو ملف صوتي" + "Attach an image, video or audio file": "إرفاق صورة أو فيديو أو ملف صوتي", + "Set a place and time": "حدد المكان والزمان" } diff --git a/translations/ca.json b/translations/ca.json index 85f0f5339..ce42ddc1a 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -521,5 +521,6 @@ "mitm": "El missatge podria haver estat llegit o modificat per un tercer", "Bold reading": "Lectura atrevida", "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" } diff --git a/translations/cy.json b/translations/cy.json index 0383fdef7..2a0b8b9b1 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -521,5 +521,6 @@ "mitm": "Gallai'r neges fod wedi cael ei darllen neu ei haddasu gan drydydd parti", "Bold reading": "Darllen beiddgar", "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" } diff --git a/translations/de.json b/translations/de.json index 8f5e1edc9..af6ae2faf 100644 --- a/translations/de.json +++ b/translations/de.json @@ -521,5 +521,6 @@ "mitm": "Die Nachricht könnte von einem Dritten gelesen oder geändert worden sein", "Bold reading": "Mutige Lektüre", "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" } diff --git a/translations/en.json b/translations/en.json index e2e00d08a..d393f6c2f 100644 --- a/translations/en.json +++ b/translations/en.json @@ -521,5 +521,6 @@ "mitm": "Message could have been read or modified by a third party", "Bold reading": "Bold reading", "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" } diff --git a/translations/es.json b/translations/es.json index d72b468e6..5927b602b 100644 --- a/translations/es.json +++ b/translations/es.json @@ -521,5 +521,6 @@ "mitm": "El mensaje podría haber sido leído o modificado por un tercero", "Bold reading": "Lectura en negrita", "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" } diff --git a/translations/fr.json b/translations/fr.json index 575831804..bada75844 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -521,5 +521,6 @@ "mitm": "Le message a pu être lu ou modifié par un tiers", "Bold reading": "Lecture audacieuse", "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" } diff --git a/translations/ga.json b/translations/ga.json index 119596466..1b90f985f 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -521,5 +521,6 @@ "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", - "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" } diff --git a/translations/hi.json b/translations/hi.json index 85d1a0dc5..5d27b5b11 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -521,5 +521,6 @@ "mitm": "संदेश किसी तीसरे पक्ष द्वारा पढ़ा या संशोधित किया जा सकता था", "Bold reading": "बोल्ड रीडिंग", "SHOW EDITS": "संपादन दिखाएं", - "Attach an image, video or audio file": "एक छवि, वीडियो या ऑडियो फ़ाइल संलग्न करें" + "Attach an image, video or audio file": "एक छवि, वीडियो या ऑडियो फ़ाइल संलग्न करें", + "Set a place and time": "एक जगह और समय निर्धारित करें" } diff --git a/translations/it.json b/translations/it.json index 8f6e5ce89..741a808d4 100644 --- a/translations/it.json +++ b/translations/it.json @@ -521,5 +521,6 @@ "mitm": "Il messaggio potrebbe essere stato letto o modificato da terzi", "Bold reading": "Lettura audace", "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" } diff --git a/translations/ja.json b/translations/ja.json index 07aa7992c..4871e4da4 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -521,5 +521,6 @@ "mitm": "メッセージが第三者によって読み取られたり変更されたりした可能性があります", "Bold reading": "大胆な読書", "SHOW EDITS": "編集を表示", - "Attach an image, video or audio file": "画像、ビデオ、またはオーディオファイルを添付します" + "Attach an image, video or audio file": "画像、ビデオ、またはオーディオファイルを添付します", + "Set a place and time": "場所と時間を設定する" } diff --git a/translations/ko.json b/translations/ko.json index 38bfd2c74..4836da347 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -521,5 +521,6 @@ "mitm": "제3자가 메시지를 읽거나 수정했을 수 있습니다.", "Bold reading": "굵은 글씨", "SHOW EDITS": "수정사항 보기", - "Attach an image, video or audio file": "이미지, 비디오 또는 오디오 파일 첨부" + "Attach an image, video or audio file": "이미지, 비디오 또는 오디오 파일 첨부", + "Set a place and time": "장소와 시간을 정하다" } diff --git a/translations/ku.json b/translations/ku.json index 6d6a2e898..cdfeeac31 100644 --- a/translations/ku.json +++ b/translations/ku.json @@ -521,5 +521,6 @@ "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", - "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" } diff --git a/translations/oc.json b/translations/oc.json index 57e2d5471..5ee449a61 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -517,5 +517,6 @@ "mitm": "Message could have been read or modified by a third party", "Bold reading": "Bold reading", "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" } diff --git a/translations/pl.json b/translations/pl.json index c8b247fbf..85c74a770 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -521,5 +521,6 @@ "mitm": "Wiadomość mogła zostać przeczytana lub zmodyfikowana przez osobę trzecią", "Bold reading": "Odważne czytanie", "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" } diff --git a/translations/pt.json b/translations/pt.json index ef5632fb5..bfbe8b1e8 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -521,5 +521,6 @@ "mitm": "A mensagem pode ter sido lida ou modificada por terceiros", "Bold reading": "Leitura em negrito", "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" } diff --git a/translations/ru.json b/translations/ru.json index d1bf1fa5e..036b4e415 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -521,5 +521,6 @@ "mitm": "Сообщение могло быть прочитано или изменено третьим лицом", "Bold reading": "Смелое чтение", "SHOW EDITS": "ПОКАЗАТЬ РЕДАКТИРОВАНИЕ", - "Attach an image, video or audio file": "Прикрепите изображение, видео или аудио файл" + "Attach an image, video or audio file": "Прикрепите изображение, видео или аудио файл", + "Set a place and time": "Назначить место и время" } diff --git a/translations/sw.json b/translations/sw.json index 1a5500fdf..f7f5060c4 100644 --- a/translations/sw.json +++ b/translations/sw.json @@ -521,5 +521,6 @@ "mitm": "Ujumbe ungeweza kusomwa au kurekebishwa na mtu mwingine", "Bold reading": "Kusoma kwa ujasiri", "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" } diff --git a/translations/uk.json b/translations/uk.json index a30b62c38..8dea89d41 100644 --- a/translations/uk.json +++ b/translations/uk.json @@ -521,5 +521,6 @@ "mitm": "Повідомлення могло бути прочитане або змінене третьою стороною", "Bold reading": "Сміливе читання", "SHOW EDITS": "ПОКАЗАТИ ЗМІНИ", - "Attach an image, video or audio file": "Прикріпіть зображення, відео чи аудіофайл" + "Attach an image, video or audio file": "Прикріпіть зображення, відео чи аудіофайл", + "Set a place and time": "Встановіть місце і час" } diff --git a/translations/zh.json b/translations/zh.json index e1a3dcf82..a9ed4a854 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -521,5 +521,6 @@ "mitm": "消息可能已被第三方阅读或修改", "Bold reading": "大胆阅读", "SHOW EDITS": "显示编辑", - "Attach an image, video or audio file": "附加图像、视频或音频文件" + "Attach an image, video or audio file": "附加图像、视频或音频文件", + "Set a place and time": "设置地点和时间" } diff --git a/webapp_create_post.py b/webapp_create_post.py index 2d327bc3e..1e9522254 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -632,6 +632,8 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, replies_section += '\n' date_and_location = \ + begin_edit_section(translate['Set a place and time']) + date_and_location += \ '
\n' if endpoint == 'newpost': date_and_location += \ @@ -651,6 +653,7 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, date_and_location += \ edit_text_field(translate['Location'], 'location', '') date_and_location += '
\n' + date_and_location += end_edit_section() instance_title = get_config_param(base_dir, 'instanceTitle') new_post_form = html_header_with_external_style(css_filename, From 456e8ed6da52d3f6b0f4b5e780cf9a79b293348c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 15 Apr 2022 14:21:46 +0100 Subject: [PATCH 4/9] Container not needed --- webapp_create_post.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/webapp_create_post.py b/webapp_create_post.py index 1e9522254..75baab61b 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -368,7 +368,6 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, 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', '') @@ -379,7 +378,6 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, formats_string = formats_string.replace(', .svg', '').replace('.svg, ', '') 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' @@ -633,8 +631,6 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, date_and_location = \ begin_edit_section(translate['Set a place and time']) - date_and_location += \ - '
\n' if endpoint == 'newpost': date_and_location += \ '

Date: Fri, 15 Apr 2022 14:27:25 +0100 Subject: [PATCH 5/9] Sequence --- webapp_create_post.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/webapp_create_post.py b/webapp_create_post.py index 75baab61b..9967abe7d 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -368,9 +368,6 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, new_post_image_section = \ begin_edit_section(translate['Attach an image, video or audio file']) - new_post_image_section += \ - edit_text_field(translate['Image description'], 'imageDescription', '') - new_post_image_section += \ ' \n' + new_post_image_section += \ + edit_text_field(translate['Image description'], 'imageDescription', '') new_post_image_section += end_edit_section() scope_icon = 'scope_public.png' From 3eb5a633ea4e331630f797584855e8f2915e0a18 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 15 Apr 2022 14:39:45 +0100 Subject: [PATCH 6/9] Change description --- translations/ar.json | 3 ++- translations/ca.json | 3 ++- translations/cy.json | 3 ++- translations/de.json | 3 ++- translations/en.json | 3 ++- translations/es.json | 3 ++- translations/fr.json | 3 ++- translations/ga.json | 3 ++- translations/hi.json | 3 ++- translations/it.json | 3 ++- translations/ja.json | 3 ++- translations/ko.json | 3 ++- translations/ku.json | 3 ++- translations/oc.json | 3 ++- translations/pl.json | 3 ++- translations/pt.json | 3 ++- translations/ru.json | 3 ++- translations/sw.json | 3 ++- translations/uk.json | 3 ++- translations/zh.json | 3 ++- webapp_create_post.py | 3 ++- 21 files changed, 42 insertions(+), 21 deletions(-) diff --git a/translations/ar.json b/translations/ar.json index 4c6ea5ce2..768119172 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -522,5 +522,6 @@ "Bold reading": "قراءة جريئة", "SHOW EDITS": "عرض التعديلات", "Attach an image, video or audio file": "إرفاق صورة أو فيديو أو ملف صوتي", - "Set a place and time": "حدد المكان والزمان" + "Set a place and time": "حدد المكان والزمان", + "Describe your attachment": "صِف مرفقك" } diff --git a/translations/ca.json b/translations/ca.json index ce42ddc1a..bd882938e 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -522,5 +522,6 @@ "Bold reading": "Lectura atrevida", "SHOW EDITS": "MOSTRA EDICIONS", "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" + "Set a place and time": "Estableix un lloc i una hora", + "Describe your attachment": "Descriu el teu adjunt" } diff --git a/translations/cy.json b/translations/cy.json index 2a0b8b9b1..d2c29f290 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -522,5 +522,6 @@ "Bold reading": "Darllen beiddgar", "SHOW EDITS": "GOLYGIADAU SIOE", "Attach an image, video or audio file": "Atodwch ddelwedd, fideo neu ffeil sain", - "Set a place and time": "Gosodwch le ac amser" + "Set a place and time": "Gosodwch le ac amser", + "Describe your attachment": "Disgrifiwch eich atodiad" } diff --git a/translations/de.json b/translations/de.json index af6ae2faf..ab0c99f36 100644 --- a/translations/de.json +++ b/translations/de.json @@ -522,5 +522,6 @@ "Bold reading": "Mutige Lektüre", "SHOW EDITS": "BEARBEITUNGEN ZEIGEN", "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" + "Set a place and time": "Legen Sie einen Ort und eine Zeit fest", + "Describe your attachment": "Beschreiben Sie Ihren Anhang" } diff --git a/translations/en.json b/translations/en.json index d393f6c2f..e3be841f7 100644 --- a/translations/en.json +++ b/translations/en.json @@ -522,5 +522,6 @@ "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": "Set a place and time" + "Set a place and time": "Set a place and time", + "Describe your attachment": "Describe your attachment" } diff --git a/translations/es.json b/translations/es.json index 5927b602b..2fdb496ea 100644 --- a/translations/es.json +++ b/translations/es.json @@ -522,5 +522,6 @@ "Bold reading": "Lectura en negrita", "SHOW EDITS": "MOSTRAR EDICIONES", "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" + "Set a place and time": "Establece un lugar y una hora", + "Describe your attachment": "Describa su apego" } diff --git a/translations/fr.json b/translations/fr.json index bada75844..4dd1f6a67 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -522,5 +522,6 @@ "Bold reading": "Lecture audacieuse", "SHOW EDITS": "AFFICHER LES MODIFICATIONS", "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" + "Set a place and time": "Fixez un lieu et une heure", + "Describe your attachment": "Décrivez votre pièce jointe" } diff --git a/translations/ga.json b/translations/ga.json index 1b90f985f..4440165e1 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -522,5 +522,6 @@ "Bold reading": "Léamh trom", "SHOW EDITS": "EAGARTHÓIRÍ TAISPEÁINT", "Attach an image, video or audio file": "Ceangail íomhá, físeán nó comhad fuaime", - "Set a place and time": "Socraigh áit agus am" + "Set a place and time": "Socraigh áit agus am", + "Describe your attachment": "Déan cur síos ar do cheangaltán" } diff --git a/translations/hi.json b/translations/hi.json index 5d27b5b11..01c0c83f5 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -522,5 +522,6 @@ "Bold reading": "बोल्ड रीडिंग", "SHOW EDITS": "संपादन दिखाएं", "Attach an image, video or audio file": "एक छवि, वीडियो या ऑडियो फ़ाइल संलग्न करें", - "Set a place and time": "एक जगह और समय निर्धारित करें" + "Set a place and time": "एक जगह और समय निर्धारित करें", + "Describe your attachment": "अपने अनुलग्नक का वर्णन करें" } diff --git a/translations/it.json b/translations/it.json index 741a808d4..8f4f3b7d9 100644 --- a/translations/it.json +++ b/translations/it.json @@ -522,5 +522,6 @@ "Bold reading": "Lettura audace", "SHOW EDITS": "MOSTRA MODIFICHE", "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" + "Set a place and time": "Stabilisci un luogo e un'ora", + "Describe your attachment": "Descrivi il tuo allegato" } diff --git a/translations/ja.json b/translations/ja.json index 4871e4da4..fce3621a5 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -522,5 +522,6 @@ "Bold reading": "大胆な読書", "SHOW EDITS": "編集を表示", "Attach an image, video or audio file": "画像、ビデオ、またはオーディオファイルを添付します", - "Set a place and time": "場所と時間を設定する" + "Set a place and time": "場所と時間を設定する", + "Describe your attachment": "愛着を説明してください" } diff --git a/translations/ko.json b/translations/ko.json index 4836da347..c42edd013 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -522,5 +522,6 @@ "Bold reading": "굵은 글씨", "SHOW EDITS": "수정사항 보기", "Attach an image, video or audio file": "이미지, 비디오 또는 오디오 파일 첨부", - "Set a place and time": "장소와 시간을 정하다" + "Set a place and time": "장소와 시간을 정하다", + "Describe your attachment": "첨부 파일 설명" } diff --git a/translations/ku.json b/translations/ku.json index cdfeeac31..1b9c476cb 100644 --- a/translations/ku.json +++ b/translations/ku.json @@ -522,5 +522,6 @@ "Bold reading": "Xwendina qelew", "SHOW EDITS": "GERÎŞTAN NÎŞAN DE", "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" + "Set a place and time": "Cih û dem destnîşan bikin", + "Describe your attachment": "Girêdana xwe diyar bike" } diff --git a/translations/oc.json b/translations/oc.json index 5ee449a61..45fcc73e9 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -518,5 +518,6 @@ "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": "Set a place and time" + "Set a place and time": "Set a place and time", + "Describe your attachment": "Describe your attachment" } diff --git a/translations/pl.json b/translations/pl.json index 85c74a770..528f1cdba 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -522,5 +522,6 @@ "Bold reading": "Odważne czytanie", "SHOW EDITS": "POKAŻ EDYCJE", "Attach an image, video or audio file": "Dołącz obraz, plik wideo lub audio", - "Set a place and time": "Ustaw miejsce i czas" + "Set a place and time": "Ustaw miejsce i czas", + "Describe your attachment": "Opisz swój załącznik" } diff --git a/translations/pt.json b/translations/pt.json index bfbe8b1e8..01f0b2aa8 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -522,5 +522,6 @@ "Bold reading": "Leitura em negrito", "SHOW EDITS": "MOSTRAR EDIÇÕES", "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" + "Set a place and time": "Defina um local e hora", + "Describe your attachment": "Descreva seu anexo" } diff --git a/translations/ru.json b/translations/ru.json index 036b4e415..682d9f724 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -522,5 +522,6 @@ "Bold reading": "Смелое чтение", "SHOW EDITS": "ПОКАЗАТЬ РЕДАКТИРОВАНИЕ", "Attach an image, video or audio file": "Прикрепите изображение, видео или аудио файл", - "Set a place and time": "Назначить место и время" + "Set a place and time": "Назначить место и время", + "Describe your attachment": "Опишите вашу привязанность" } diff --git a/translations/sw.json b/translations/sw.json index f7f5060c4..d7b07fa47 100644 --- a/translations/sw.json +++ b/translations/sw.json @@ -522,5 +522,6 @@ "Bold reading": "Kusoma kwa ujasiri", "SHOW EDITS": "ONYESHA MABADILIKO", "Attach an image, video or audio file": "Ambatisha picha, video au faili ya sauti", - "Set a place and time": "Weka mahali na wakati" + "Set a place and time": "Weka mahali na wakati", + "Describe your attachment": "Eleza kiambatisho chako" } diff --git a/translations/uk.json b/translations/uk.json index 8dea89d41..ff15b1fff 100644 --- a/translations/uk.json +++ b/translations/uk.json @@ -522,5 +522,6 @@ "Bold reading": "Сміливе читання", "SHOW EDITS": "ПОКАЗАТИ ЗМІНИ", "Attach an image, video or audio file": "Прикріпіть зображення, відео чи аудіофайл", - "Set a place and time": "Встановіть місце і час" + "Set a place and time": "Встановіть місце і час", + "Describe your attachment": "Опишіть свою прихильність" } diff --git a/translations/zh.json b/translations/zh.json index a9ed4a854..27e4e7175 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -522,5 +522,6 @@ "Bold reading": "大胆阅读", "SHOW EDITS": "显示编辑", "Attach an image, video or audio file": "附加图像、视频或音频文件", - "Set a place and time": "设置地点和时间" + "Set a place and time": "设置地点和时间", + "Describe your attachment": "描述你的附件" } diff --git a/webapp_create_post.py b/webapp_create_post.py index 9967abe7d..8d3405753 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -376,7 +376,8 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, new_post_image_section += \ ' accept="' + formats_string + '">\n' new_post_image_section += \ - edit_text_field(translate['Image description'], 'imageDescription', '') + edit_text_field(translate['Describe your attachment'], + 'imageDescription', '') new_post_image_section += end_edit_section() scope_icon = 'scope_public.png' From 943c3acae84dbe29997cf5b1518b59dbaafa0611 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 15 Apr 2022 14:46:25 +0100 Subject: [PATCH 7/9] Add some emoji --- webapp_create_post.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp_create_post.py b/webapp_create_post.py index 8d3405753..43edda4e7 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -366,8 +366,8 @@ 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 = \ - begin_edit_section(translate['Attach an image, video or audio file']) + attach_str = 'Attach an image, video or audio file' + new_post_image_section = begin_edit_section('📷 ' + translate[attach_str]) new_post_image_section += \ ' Date: Fri, 15 Apr 2022 20:18:59 +0100 Subject: [PATCH 8/9] Language dropdown on new post screen --- translations/ar.json | 23 ++++++++++++++++++++++- translations/ca.json | 23 ++++++++++++++++++++++- translations/cy.json | 23 ++++++++++++++++++++++- translations/de.json | 23 ++++++++++++++++++++++- translations/en.json | 23 ++++++++++++++++++++++- translations/es.json | 23 ++++++++++++++++++++++- translations/fr.json | 23 ++++++++++++++++++++++- translations/ga.json | 23 ++++++++++++++++++++++- translations/hi.json | 23 ++++++++++++++++++++++- translations/it.json | 23 ++++++++++++++++++++++- translations/ja.json | 23 ++++++++++++++++++++++- translations/ko.json | 23 ++++++++++++++++++++++- translations/ku.json | 23 ++++++++++++++++++++++- translations/oc.json | 23 ++++++++++++++++++++++- translations/pl.json | 23 ++++++++++++++++++++++- translations/pt.json | 23 ++++++++++++++++++++++- translations/ru.json | 23 ++++++++++++++++++++++- translations/sw.json | 23 ++++++++++++++++++++++- translations/uk.json | 23 ++++++++++++++++++++++- translations/zh.json | 23 ++++++++++++++++++++++- webapp_create_post.py | 22 ++++++++++++++++++++++ 21 files changed, 462 insertions(+), 20 deletions(-) diff --git a/translations/ar.json b/translations/ar.json index 768119172..82cfd684e 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -523,5 +523,26 @@ "SHOW EDITS": "عرض التعديلات", "Attach an image, video or audio file": "إرفاق صورة أو فيديو أو ملف صوتي", "Set a place and time": "حدد المكان والزمان", - "Describe your attachment": "صِف مرفقك" + "Describe your attachment": "صِف مرفقك", + "Language used": "اللغة المستخدمة", + "lang_ar": "عربي", + "lang_cy": "تهرب من دفع الرهان", + "lang_en": "إنجليزي", + "lang_fr": "فرنسي", + "lang_hi": "الهندية", + "lang_ja": "اليابانية", + "lang_ku": "كردي", + "lang_pl": "تلميع", + "lang_ru": "الروسية", + "lang_uk": "الأوكرانية", + "lang_ca": "الكاتالونية", + "lang_de": "ألمانية", + "lang_es": "الأسبانية", + "lang_ga": "ايرلندية", + "lang_it": "إيطالي", + "lang_ko": "الكورية", + "lang_oc": "الأوكسيتانية", + "lang_pt": "البرتغالية", + "lang_sw": "السواحيلية", + "lang_zh": "صينى" } diff --git a/translations/ca.json b/translations/ca.json index bd882938e..56a0d088e 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -523,5 +523,26 @@ "SHOW EDITS": "MOSTRA EDICIONS", "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", - "Describe your attachment": "Descriu el teu adjunt" + "Describe your attachment": "Descriu el teu adjunt", + "Language used": "Llengua utilitzada", + "lang_ar": "àrab", + "lang_cy": "Gal·lès", + "lang_en": "Anglès", + "lang_fr": "Francès", + "lang_hi": "Hindi", + "lang_ja": "Japonès", + "lang_ku": "Kurd", + "lang_pl": "Polonès", + "lang_ru": "Rus", + "lang_uk": "Ucraïnès", + "lang_ca": "Català", + "lang_de": "Alemany", + "lang_es": "Espanyol", + "lang_ga": "Irlandès", + "lang_it": "Italià", + "lang_ko": "Coreà", + "lang_oc": "Occità", + "lang_pt": "Portuguès", + "lang_sw": "Suahili", + "lang_zh": "Xinès" } diff --git a/translations/cy.json b/translations/cy.json index d2c29f290..46678d36e 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -523,5 +523,26 @@ "SHOW EDITS": "GOLYGIADAU SIOE", "Attach an image, video or audio file": "Atodwch ddelwedd, fideo neu ffeil sain", "Set a place and time": "Gosodwch le ac amser", - "Describe your attachment": "Disgrifiwch eich atodiad" + "Describe your attachment": "Disgrifiwch eich atodiad", + "Language used": "Iaith a ddefnyddir", + "lang_ar": "Arabeg", + "lang_cy": "Cymraeg", + "lang_en": "Saesneg", + "lang_fr": "Ffrangeg", + "lang_hi": "Hindi", + "lang_ja": "Japaneaidd", + "lang_ku": "Cwrdaidd", + "lang_pl": "Pwyleg", + "lang_ru": "Rwsieg", + "lang_uk": "Wcrain", + "lang_ca": "Catalaneg", + "lang_de": "Almaeneg", + "lang_es": "Sbaeneg", + "lang_ga": "Gwyddelod", + "lang_it": "Eidaleg", + "lang_ko": "Corëeg", + "lang_oc": "Ocsitaneg", + "lang_pt": "Portiwgaleg", + "lang_sw": "Swahili", + "lang_zh": "Tseiniaidd" } diff --git a/translations/de.json b/translations/de.json index ab0c99f36..95e049766 100644 --- a/translations/de.json +++ b/translations/de.json @@ -523,5 +523,26 @@ "SHOW EDITS": "BEARBEITUNGEN ZEIGEN", "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", - "Describe your attachment": "Beschreiben Sie Ihren Anhang" + "Describe your attachment": "Beschreiben Sie Ihren Anhang", + "Language used": "Sprache verwendet", + "lang_ar": "Arabisch", + "lang_cy": "Walisisch", + "lang_en": "Englisch", + "lang_fr": "Französisch", + "lang_hi": "Hindi", + "lang_ja": "Japanisch", + "lang_ku": "Kurdisch", + "lang_pl": "Polieren", + "lang_ru": "Russisch", + "lang_uk": "Ukrainisch", + "lang_ca": "Katalanisch", + "lang_de": "Deutsch", + "lang_es": "Spanisch", + "lang_ga": "Irisch", + "lang_it": "Italienisch", + "lang_ko": "Koreanisch", + "lang_oc": "Okzitanisch", + "lang_pt": "Portugiesisch", + "lang_sw": "Suaheli", + "lang_zh": "Chinesisch" } diff --git a/translations/en.json b/translations/en.json index e3be841f7..6b0837189 100644 --- a/translations/en.json +++ b/translations/en.json @@ -523,5 +523,26 @@ "SHOW EDITS": "SHOW EDITS", "Attach an image, video or audio file": "Attach an image, video or audio file", "Set a place and time": "Set a place and time", - "Describe your attachment": "Describe your attachment" + "Describe your attachment": "Describe your attachment", + "Language used": "Language used", + "lang_ar": "Arabic", + "lang_cy": "Welsh", + "lang_en": "English", + "lang_fr": "French", + "lang_hi": "Hindi", + "lang_ja": "Japanese", + "lang_ku": "Kurdish", + "lang_pl": "Polish", + "lang_ru": "Russian", + "lang_uk": "Ukrainian", + "lang_ca": "Catalan", + "lang_de": "German", + "lang_es": "Spanish", + "lang_ga": "Irish", + "lang_it": "Italian", + "lang_ko": "Korean", + "lang_oc": "Occitan", + "lang_pt": "Portuguese", + "lang_sw": "Swahili", + "lang_zh": "Chinese" } diff --git a/translations/es.json b/translations/es.json index 2fdb496ea..17b8fa63e 100644 --- a/translations/es.json +++ b/translations/es.json @@ -523,5 +523,26 @@ "SHOW EDITS": "MOSTRAR EDICIONES", "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", - "Describe your attachment": "Describa su apego" + "Describe your attachment": "Describa su apego", + "Language used": "Idioma utilizado", + "lang_ar": "Arábica", + "lang_cy": "Galesa", + "lang_en": "Inglesa", + "lang_fr": "Francesa", + "lang_hi": "Hindi", + "lang_ja": "Japonesa", + "lang_ku": "Kurda", + "lang_pl": "Polaca", + "lang_ru": "Rusa", + "lang_uk": "Ucrania", + "lang_ca": "Catalana", + "lang_de": "Alemana", + "lang_es": "Española", + "lang_ga": "Irlandesa", + "lang_it": "Italiana", + "lang_ko": "Coreana", + "lang_oc": "Occitano", + "lang_pt": "Portuguesa", + "lang_sw": "Swahili", + "lang_zh": "China" } diff --git a/translations/fr.json b/translations/fr.json index 4dd1f6a67..f58c6dfbe 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -523,5 +523,26 @@ "SHOW EDITS": "AFFICHER LES MODIFICATIONS", "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", - "Describe your attachment": "Décrivez votre pièce jointe" + "Describe your attachment": "Décrivez votre pièce jointe", + "Language used": "Langue utilisée", + "lang_ar": "Arabe", + "lang_cy": "Gallois", + "lang_en": "Anglaise", + "lang_fr": "Français", + "lang_hi": "Hindi", + "lang_ja": "Japonaise", + "lang_ku": "Kurde", + "lang_pl": "Polonais", + "lang_ru": "Russe", + "lang_uk": "Ukrainienne", + "lang_ca": "Catalane", + "lang_de": "Allemande", + "lang_es": "Espagnole", + "lang_ga": "Irlandaise", + "lang_it": "Italienne", + "lang_ko": "Coréenne", + "lang_oc": "Occitan", + "lang_pt": "Portugais", + "lang_sw": "Swahili", + "lang_zh": "Chinoise" } diff --git a/translations/ga.json b/translations/ga.json index 4440165e1..d926e2297 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -523,5 +523,26 @@ "SHOW EDITS": "EAGARTHÓIRÍ TAISPEÁINT", "Attach an image, video or audio file": "Ceangail íomhá, físeán nó comhad fuaime", "Set a place and time": "Socraigh áit agus am", - "Describe your attachment": "Déan cur síos ar do cheangaltán" + "Describe your attachment": "Déan cur síos ar do cheangaltán", + "Language used": "Teanga a úsáidtear", + "lang_ar": "Araibis", + "lang_cy": "Breatnais", + "lang_en": "Béarla", + "lang_fr": "Fraincis", + "lang_hi": "Hiondúis", + "lang_ja": "Seapánach", + "lang_ku": "Coirdis", + "lang_pl": "Polainnis", + "lang_ru": "Rúisis", + "lang_uk": "Úcráinis", + "lang_ca": "Catalóinis", + "lang_de": "Gearmáinis", + "lang_es": "Spainnis", + "lang_ga": "Gaeilge", + "lang_it": "Iodálach", + "lang_ko": "Cóiréis", + "lang_oc": "Béarla", + "lang_pt": "Portaingéilis", + "lang_sw": "Swahili", + "lang_zh": "Síneach" } diff --git a/translations/hi.json b/translations/hi.json index 01c0c83f5..117e07501 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -523,5 +523,26 @@ "SHOW EDITS": "संपादन दिखाएं", "Attach an image, video or audio file": "एक छवि, वीडियो या ऑडियो फ़ाइल संलग्न करें", "Set a place and time": "एक जगह और समय निर्धारित करें", - "Describe your attachment": "अपने अनुलग्नक का वर्णन करें" + "Describe your attachment": "अपने अनुलग्नक का वर्णन करें", + "Language used": "इस्तेमाल की जाने वाली भाषा", + "lang_ar": "अरबी", + "lang_cy": "वेल्शो", + "lang_en": "अंग्रेज़ी", + "lang_fr": "फ्रेंच", + "lang_hi": "हिन्दी", + "lang_ja": "जापानी", + "lang_ku": "कुर्द", + "lang_pl": "पोलिश", + "lang_ru": "रूसी", + "lang_uk": "यूक्रेनी", + "lang_ca": "कातालान", + "lang_de": "जर्मन", + "lang_es": "स्पैनिश", + "lang_ga": "आयरिश", + "lang_it": "इतालवी", + "lang_ko": "कोरियाई", + "lang_oc": "ओसीटान", + "lang_pt": "पुर्तगाली", + "lang_sw": "Swahili", + "lang_zh": "चीनी" } diff --git a/translations/it.json b/translations/it.json index 8f4f3b7d9..943f9fb17 100644 --- a/translations/it.json +++ b/translations/it.json @@ -523,5 +523,26 @@ "SHOW EDITS": "MOSTRA MODIFICHE", "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", - "Describe your attachment": "Descrivi il tuo allegato" + "Describe your attachment": "Descrivi il tuo allegato", + "Language used": "Linguaggio utilizzato", + "lang_ar": "Araba", + "lang_cy": "Gallese", + "lang_en": "Inglese", + "lang_fr": "Francese", + "lang_hi": "Hindi", + "lang_ja": "Giapponese", + "lang_ku": "Curda", + "lang_pl": "Polacca", + "lang_ru": "Russa", + "lang_uk": "Ucraina", + "lang_ca": "Catalana", + "lang_de": "Tedesca", + "lang_es": "Spagnola", + "lang_ga": "Irlandesi", + "lang_it": "Italiana", + "lang_ko": "Coreana", + "lang_oc": "Occitano", + "lang_pt": "Portoghese", + "lang_sw": "Swahili", + "lang_zh": "Cinese" } diff --git a/translations/ja.json b/translations/ja.json index fce3621a5..5c0a3a5cf 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -523,5 +523,26 @@ "SHOW EDITS": "編集を表示", "Attach an image, video or audio file": "画像、ビデオ、またはオーディオファイルを添付します", "Set a place and time": "場所と時間を設定する", - "Describe your attachment": "愛着を説明してください" + "Describe your attachment": "愛着を説明してください", + "Language used": "使用言語", + "lang_ar": "アラビア語", + "lang_cy": "ウェールズ", + "lang_en": "英語", + "lang_fr": "フランス語", + "lang_hi": "ヒンディー語", + "lang_ja": "日本", + "lang_ku": "クルド", + "lang_pl": "研磨", + "lang_ru": "ロシア", + "lang_uk": "ウクライナ語", + "lang_ca": "カタロニア語", + "lang_de": "ドイツ人", + "lang_es": "スペイン語", + "lang_ga": "アイルランド人", + "lang_it": "イタリア語", + "lang_ko": "韓国語", + "lang_oc": "オック語", + "lang_pt": "ポルトガル語", + "lang_sw": "スワヒリ語", + "lang_zh": "中国語" } diff --git a/translations/ko.json b/translations/ko.json index c42edd013..357d59cc9 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -523,5 +523,26 @@ "SHOW EDITS": "수정사항 보기", "Attach an image, video or audio file": "이미지, 비디오 또는 오디오 파일 첨부", "Set a place and time": "장소와 시간을 정하다", - "Describe your attachment": "첨부 파일 설명" + "Describe your attachment": "첨부 파일 설명", + "Language used": "사용 언어", + "lang_ar": "아라비아 말", + "lang_cy": "웨일스 말", + "lang_en": "영어", + "lang_fr": "프랑스 국민", + "lang_hi": "힌디 어", + "lang_ja": "일본어", + "lang_ku": "쿠르드어", + "lang_pl": "광택", + "lang_ru": "러시아인", + "lang_uk": "우크라이나 인", + "lang_ca": "카탈로니아 사람", + "lang_de": "독일 사람", + "lang_es": "스페인의", + "lang_ga": "아일랜드의", + "lang_it": "이탈리아 사람", + "lang_ko": "한국인", + "lang_oc": "옥시탄", + "lang_pt": "포르투갈 인", + "lang_sw": "스와힐리어", + "lang_zh": "중국인" } diff --git a/translations/ku.json b/translations/ku.json index 1b9c476cb..6416f3408 100644 --- a/translations/ku.json +++ b/translations/ku.json @@ -523,5 +523,26 @@ "SHOW EDITS": "GERÎŞTAN NÎŞAN DE", "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", - "Describe your attachment": "Girêdana xwe diyar bike" + "Describe your attachment": "Girêdana xwe diyar bike", + "Language used": "Zimanê bikaranîn", + "lang_ar": "Erebî", + "lang_cy": "Galerkî", + "lang_en": "Îngilîzî", + "lang_fr": "Fransî", + "lang_hi": "Hindî", + "lang_ja": "Japonî", + "lang_ku": "Kurdî", + "lang_pl": "Polandî", + "lang_ru": "Rûsî", + "lang_uk": "Ûkraynî", + "lang_ca": "Katalanî", + "lang_de": "Almanî", + "lang_es": "Îspanyolî", + "lang_ga": "Irlandî", + "lang_it": "Îtalî", + "lang_ko": "Koreyî", + "lang_oc": "Occitan", + "lang_pt": "Portekizî", + "lang_sw": "Swahîlîyî", + "lang_zh": "Çînî" } diff --git a/translations/oc.json b/translations/oc.json index 45fcc73e9..03b7c7cb0 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -519,5 +519,26 @@ "SHOW EDITS": "SHOW EDITS", "Attach an image, video or audio file": "Attach an image, video or audio file", "Set a place and time": "Set a place and time", - "Describe your attachment": "Describe your attachment" + "Describe your attachment": "Describe your attachment", + "Language used": "Language used", + "lang_ar": "Arabic", + "lang_cy": "Welsh", + "lang_en": "English", + "lang_fr": "French", + "lang_hi": "Hindi", + "lang_ja": "Japanese", + "lang_ku": "Kurdish", + "lang_pl": "Polish", + "lang_ru": "Russian", + "lang_uk": "Ukrainian", + "lang_ca": "Catalan", + "lang_de": "German", + "lang_es": "Spanish", + "lang_ga": "Irish", + "lang_it": "Italian", + "lang_ko": "Korean", + "lang_oc": "Occitan", + "lang_pt": "Portuguese", + "lang_sw": "Swahili", + "lang_zh": "Chinese" } diff --git a/translations/pl.json b/translations/pl.json index 528f1cdba..50e42f8d5 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -523,5 +523,26 @@ "SHOW EDITS": "POKAŻ EDYCJE", "Attach an image, video or audio file": "Dołącz obraz, plik wideo lub audio", "Set a place and time": "Ustaw miejsce i czas", - "Describe your attachment": "Opisz swój załącznik" + "Describe your attachment": "Opisz swój załącznik", + "Language used": "Użyty język", + "lang_ar": "Arabski", + "lang_cy": "Walijski", + "lang_en": "Angielski", + "lang_fr": "Francuski", + "lang_hi": "Hinduski", + "lang_ja": "Japoński", + "lang_ku": "Kurdyjski", + "lang_pl": "Polski", + "lang_ru": "Rosyjski", + "lang_uk": "Ukraiński", + "lang_ca": "Kataloński", + "lang_de": "Niemiecki", + "lang_es": "Hiszpański", + "lang_ga": "Irlandzki", + "lang_it": "Włoski", + "lang_ko": "Koreański", + "lang_oc": "Prowansalski", + "lang_pt": "Portugalski", + "lang_sw": "Suahili", + "lang_zh": "Chiński" } diff --git a/translations/pt.json b/translations/pt.json index 01f0b2aa8..de70aeddb 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -523,5 +523,26 @@ "SHOW EDITS": "MOSTRAR EDIÇÕES", "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", - "Describe your attachment": "Descreva seu anexo" + "Describe your attachment": "Descreva seu anexo", + "Language used": "Idioma usado", + "lang_ar": "árabe", + "lang_cy": "Galês", + "lang_en": "Inglês", + "lang_fr": "Francesa", + "lang_hi": "Hindi", + "lang_ja": "Japonês", + "lang_ku": "Curda", + "lang_pl": "Polonês", + "lang_ru": "Russa", + "lang_uk": "Ucraniana", + "lang_ca": "Catalã", + "lang_de": "Alemã", + "lang_es": "Espanhola", + "lang_ga": "Irlandês", + "lang_it": "Italiana", + "lang_ko": "Coreana", + "lang_oc": "Occitano", + "lang_pt": "Português", + "lang_sw": "Suaíli", + "lang_zh": "Chinês" } diff --git a/translations/ru.json b/translations/ru.json index 682d9f724..b06b21eea 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -523,5 +523,26 @@ "SHOW EDITS": "ПОКАЗАТЬ РЕДАКТИРОВАНИЕ", "Attach an image, video or audio file": "Прикрепите изображение, видео или аудио файл", "Set a place and time": "Назначить место и время", - "Describe your attachment": "Опишите вашу привязанность" + "Describe your attachment": "Опишите вашу привязанность", + "Language used": "Используемый язык", + "lang_ar": "арабский", + "lang_cy": "валлийский", + "lang_en": "Английский", + "lang_fr": "Французский", + "lang_hi": "хинди", + "lang_ja": "Японский", + "lang_ku": "курдский", + "lang_pl": "польский", + "lang_ru": "Русский", + "lang_uk": "украинец", + "lang_ca": "Каталонский", + "lang_de": "Немецкий", + "lang_es": "испанский", + "lang_ga": "ирландский", + "lang_it": "итальянский", + "lang_ko": "Корейский", + "lang_oc": "окситанский", + "lang_pt": "португальский", + "lang_sw": "суахили", + "lang_zh": "Китайский" } diff --git a/translations/sw.json b/translations/sw.json index d7b07fa47..f765626ac 100644 --- a/translations/sw.json +++ b/translations/sw.json @@ -523,5 +523,26 @@ "SHOW EDITS": "ONYESHA MABADILIKO", "Attach an image, video or audio file": "Ambatisha picha, video au faili ya sauti", "Set a place and time": "Weka mahali na wakati", - "Describe your attachment": "Eleza kiambatisho chako" + "Describe your attachment": "Eleza kiambatisho chako", + "Language used": "Lugha iliyotumika", + "lang_ar": "Kiarabu", + "lang_cy": "Kiwelisi", + "lang_en": "Kiingereza", + "lang_fr": "Kifaransa", + "lang_hi": "Kihindi", + "lang_ja": "Kijapani", + "lang_ku": "Kikurdi", + "lang_pl": "Kipolandi", + "lang_ru": "Kirusi", + "lang_uk": "Kiukreni", + "lang_ca": "Kikatalani", + "lang_de": "Kijerumani", + "lang_es": "Kihispania", + "lang_ga": "Kiayalandi", + "lang_it": "Kiitaliano", + "lang_ko": "Kikorea", + "lang_oc": "Oksitani", + "lang_pt": "Kireno", + "lang_sw": "Kiswahili", + "lang_zh": "Kichina" } diff --git a/translations/uk.json b/translations/uk.json index ff15b1fff..6df79c654 100644 --- a/translations/uk.json +++ b/translations/uk.json @@ -523,5 +523,26 @@ "SHOW EDITS": "ПОКАЗАТИ ЗМІНИ", "Attach an image, video or audio file": "Прикріпіть зображення, відео чи аудіофайл", "Set a place and time": "Встановіть місце і час", - "Describe your attachment": "Опишіть свою прихильність" + "Describe your attachment": "Опишіть свою прихильність", + "Language used": "Використана мова", + "lang_ar": "aрабська", + "lang_cy": "валлійська", + "lang_en": "англійська", + "lang_fr": "французький", + "lang_hi": "гінді", + "lang_ja": "японські", + "lang_ku": "курдська", + "lang_pl": "польський", + "lang_ru": "російський", + "lang_uk": "український", + "lang_ca": "каталонська", + "lang_de": "німецька", + "lang_es": "іспанська", + "lang_ga": "ірландський", + "lang_it": "італійська", + "lang_ko": "корейський", + "lang_oc": "окситанський", + "lang_pt": "португальська", + "lang_sw": "суахілі", + "lang_zh": "китайський" } diff --git a/translations/zh.json b/translations/zh.json index 27e4e7175..e7c1cbbe9 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -523,5 +523,26 @@ "SHOW EDITS": "显示编辑", "Attach an image, video or audio file": "附加图像、视频或音频文件", "Set a place and time": "设置地点和时间", - "Describe your attachment": "描述你的附件" + "Describe your attachment": "描述你的附件", + "Language used": "使用的语言", + "lang_ar": "阿拉伯", + "lang_cy": "威尔士语", + "lang_en": "英语", + "lang_fr": "法语", + "lang_hi": "印地语", + "lang_ja": "日本人", + "lang_ku": "库尔德", + "lang_pl": "抛光", + "lang_ru": "俄语", + "lang_uk": "乌克兰", + "lang_ca": "加泰罗尼亚语", + "lang_de": "德语", + "lang_es": "西班牙语", + "lang_ga": "爱尔兰语", + "lang_it": "意大利语", + "lang_ko": "韩国人", + "lang_oc": "奥克西坦", + "lang_pt": "葡萄牙语", + "lang_sw": "斯瓦希里语", + "lang_zh": "中国人" } diff --git a/webapp_create_post.py b/webapp_create_post.py index 43edda4e7..e0a196353 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -18,6 +18,7 @@ from utils import acct_dir from utils import get_currencies from utils import get_category_types from utils import get_account_timezone +from utils import get_supported_languages from webapp_utils import begin_edit_section from webapp_utils import end_edit_section from webapp_utils import get_banner_file @@ -627,6 +628,27 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, replies_section += \ '\n' + supported_languages = get_supported_languages(base_dir) + languages_dropdown = '
' + languages_dropdown = \ + languages_dropdown.replace('

\n' date_and_location = \ From b494eb06b4415fbae6b1496b98947b6d18029d02 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 15 Apr 2022 20:37:59 +0100 Subject: [PATCH 9/9] Set language when creating new post --- daemon.py | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/daemon.py b/daemon.py index 41610d720..f2693d88c 100644 --- a/daemon.py +++ b/daemon.py @@ -18623,6 +18623,8 @@ class PubServer(BaseHTTPRequestHandler): fields['eventTime'] = None if not fields.get('location'): fields['location'] = None + if not fields.get('languagesDropdown'): + fields['languagesDropdown'] = self.server.system_language if not citations_button_press: # Store a file which contains the time in seconds @@ -18690,7 +18692,7 @@ class PubServer(BaseHTTPRequestHandler): fields['eventDate'], fields['eventTime'], fields['location'], False, - self.server.system_language, + fields['languagesDropdown'], conversation_id, self.server.low_bandwidth, self.server.content_license_url, @@ -18784,7 +18786,7 @@ class PubServer(BaseHTTPRequestHandler): fields['eventDate'], fields['eventTime'], fields['location'], - self.server.system_language, + fields['languagesDropdown'], conversation_id, self.server.low_bandwidth, self.server.content_license_url, @@ -18946,7 +18948,7 @@ class PubServer(BaseHTTPRequestHandler): fields['eventDate'], fields['eventTime'], fields['location'], - self.server.system_language, + fields['languagesDropdown'], conversation_id, self.server.low_bandwidth, self.server.content_license_url, @@ -19007,7 +19009,7 @@ class PubServer(BaseHTTPRequestHandler): fields['eventDate'], fields['eventTime'], fields['location'], - self.server.system_language, + fields['languagesDropdown'], conversation_id, self.server.low_bandwidth, self.server.content_license_url, @@ -19080,7 +19082,7 @@ class PubServer(BaseHTTPRequestHandler): fields['eventDate'], fields['eventTime'], fields['location'], - self.server.system_language, + fields['languagesDropdown'], conversation_id, self.server.low_bandwidth, content_license_url, @@ -19145,7 +19147,7 @@ class PubServer(BaseHTTPRequestHandler): fields['eventDate'], fields['eventTime'], fields['location'], - self.server.system_language, + fields['languagesDropdown'], conversation_id, self.server.low_bandwidth, self.server.content_license_url, @@ -19191,7 +19193,7 @@ class PubServer(BaseHTTPRequestHandler): fields['imageDescription'], city, self.server.debug, fields['subject'], - self.server.system_language, + fields['languagesDropdown'], self.server.low_bandwidth, self.server.content_license_url, languages_understood) @@ -19240,7 +19242,7 @@ class PubServer(BaseHTTPRequestHandler): city, fields['subject'], int_duration, - self.server.system_language, + fields['languagesDropdown'], self.server.low_bandwidth, self.server.content_license_url, languages_understood) @@ -19314,7 +19316,7 @@ class PubServer(BaseHTTPRequestHandler): duration_str, self.server.debug, city, item_price, item_currency, - self.server.system_language, + fields['languagesDropdown'], self.server.translate, shares_file_type, self.server.low_bandwidth, self.server.content_license_url)