From 50d26c83b9b22f0f9b153c890ade3d49c8af6831 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 29 Apr 2022 22:06:07 +0100 Subject: [PATCH] Warning message when creating new DM --- 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 | 1 + 21 files changed, 41 insertions(+), 20 deletions(-) diff --git a/translations/ar.json b/translations/ar.json index e1a2eb44d..bfdba7c96 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -547,5 +547,6 @@ "lang_zh": "صينى", "Common emoji": "الرموز التعبيرية الشائعة", "Copy and paste into your text": "نسخ ولصق في النص الخاص بك", - "shrug": "هز كتفيه" + "shrug": "هز كتفيه", + "DM warning": "لا يتم تشفير الرسائل المباشرة من طرف إلى طرف. لا تشارك أي معلومات حساسة للغاية هنا." } diff --git a/translations/ca.json b/translations/ca.json index 9d8833dc1..4c78b759a 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -547,5 +547,6 @@ "lang_zh": "Xinès", "Common emoji": "Emoji comú", "Copy and paste into your text": "Copia i enganxa al teu text", - "shrug": "arronsar les espatlles" + "shrug": "arronsar les espatlles", + "DM warning": "Els missatges directes no estan xifrats d'extrem a extrem. No compartiu cap informació molt sensible aquí." } diff --git a/translations/cy.json b/translations/cy.json index b560e80ff..870d7179c 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -547,5 +547,6 @@ "lang_zh": "Tseiniaidd", "Common emoji": "Emoji cyffredin", "Copy and paste into your text": "Copïwch a gludwch i'ch testun", - "shrug": "shrug" + "shrug": "shrug", + "DM warning": "Nid yw negeseuon uniongyrchol wedi'u hamgryptio o'r dechrau i'r diwedd. Peidiwch â rhannu unrhyw wybodaeth hynod sensitif yma." } diff --git a/translations/de.json b/translations/de.json index c47cdf0ef..12aa0ad4b 100644 --- a/translations/de.json +++ b/translations/de.json @@ -547,5 +547,6 @@ "lang_zh": "Chinesisch", "Common emoji": "Gewöhnliches Emoji", "Copy and paste into your text": "Kopieren und in Ihren Text einfügen", - "shrug": "zucken" + "shrug": "zucken", + "DM warning": "Direktnachrichten sind nicht Ende-zu-Ende verschlüsselt. Geben Sie hier keine hochsensiblen Informationen weiter." } diff --git a/translations/en.json b/translations/en.json index 3a09dd809..65033950a 100644 --- a/translations/en.json +++ b/translations/en.json @@ -547,5 +547,6 @@ "lang_zh": "Chinese", "Common emoji": "Common emoji", "Copy and paste into your text": "Copy and paste into your text", - "shrug": "shrug" + "shrug": "shrug", + "DM warning": "Direct messages are not end-to-end encrypted. Do not share any highly sensitive information here." } diff --git a/translations/es.json b/translations/es.json index 861013de4..5fe6b7380 100644 --- a/translations/es.json +++ b/translations/es.json @@ -547,5 +547,6 @@ "lang_zh": "China", "Common emoji": "Emoticonos comunes", "Copy and paste into your text": "Copia y pega en tu texto", - "shrug": "encogimiento de hombros" + "shrug": "encogimiento de hombros", + "DM warning": "Los mensajes directos no están cifrados de extremo a extremo. No comparta ninguna información altamente confidencial aquí." } diff --git a/translations/fr.json b/translations/fr.json index 480e522c1..c314cf2cf 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -547,5 +547,6 @@ "lang_zh": "Chinoise", "Common emoji": "Émoji commun", "Copy and paste into your text": "Copiez et collez dans votre texte", - "shrug": "hausser les épaules" + "shrug": "hausser les épaules", + "DM warning": "Les messages directs ne sont pas chiffrés de bout en bout. Ne partagez aucune information hautement sensible ici." } diff --git a/translations/ga.json b/translations/ga.json index b6fb83e86..3b3c68a19 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -547,5 +547,6 @@ "lang_zh": "Síneach", "Common emoji": "Emoji coitianta", "Copy and paste into your text": "Cóipeáil agus greamaigh isteach i do théacs", - "shrug": "shrug" + "shrug": "shrug", + "DM warning": "Níl teachtaireachtaí díreacha criptithe ó cheann go ceann. Ná roinn aon fhaisnéis an-íogair anseo." } diff --git a/translations/hi.json b/translations/hi.json index 539f025f8..a8bd2d4ab 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -547,5 +547,6 @@ "lang_zh": "चीनी", "Common emoji": "आम इमोजी", "Copy and paste into your text": "अपने टेक्स्ट में कॉपी और पेस्ट करें", - "shrug": "कंधे उचकाने की क्रिया" + "shrug": "कंधे उचकाने की क्रिया", + "DM warning": "डायरेक्ट मैसेज एंड-टू-एंड एन्क्रिप्टेड नहीं होते हैं। यहां कोई अति संवेदनशील जानकारी साझा न करें।" } diff --git a/translations/it.json b/translations/it.json index cea417eb7..c9514e64a 100644 --- a/translations/it.json +++ b/translations/it.json @@ -547,5 +547,6 @@ "lang_zh": "Cinese", "Common emoji": "Emoji comuni", "Copy and paste into your text": "Copia e incolla nel tuo testo", - "shrug": "scrollare le spalle" + "shrug": "scrollare le spalle", + "DM warning": "I messaggi diretti non sono crittografati end-to-end. Non condividere qui alcuna informazione altamente sensibile." } diff --git a/translations/ja.json b/translations/ja.json index 8fe3eea7c..c49b27646 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -547,5 +547,6 @@ "lang_zh": "中国語", "Common emoji": "一般的な絵文字", "Copy and paste into your text": "コピーしてテキストに貼り付けます", - "shrug": "肩をすくめる" + "shrug": "肩をすくめる", + "DM warning": "ダイレクトメッセージはエンドツーエンドで暗号化されません。 ここでは機密性の高い情報を共有しないでください。" } diff --git a/translations/ko.json b/translations/ko.json index dd85895cb..c8a4ff8e4 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -547,5 +547,6 @@ "lang_zh": "중국인", "Common emoji": "일반적인 이모티콘", "Copy and paste into your text": "텍스트에 복사하여 붙여넣기", - "shrug": "어깨를 으쓱하다" + "shrug": "어깨를 으쓱하다", + "DM warning": "다이렉트 메시지는 종단 간 암호화되지 않습니다. 여기에 매우 민감한 정보를 공유하지 마십시오." } diff --git a/translations/ku.json b/translations/ku.json index 0c113099f..5f5f2ce08 100644 --- a/translations/ku.json +++ b/translations/ku.json @@ -547,5 +547,6 @@ "lang_zh": "Çînî", "Common emoji": "Emojiyên hevpar", "Copy and paste into your text": "Di nivîsa xwe de kopî bikin û bixin", - "shrug": "şuştin" + "shrug": "şuştin", + "DM warning": "Peyamên rasterast bi dawî-bi-dawî ne şîfrekirî ne. Li vir agahdariya pir hesas parve nekin." } diff --git a/translations/oc.json b/translations/oc.json index 469d5f0d0..3df346be1 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -543,5 +543,6 @@ "lang_zh": "Chinese", "Common emoji": "Common emoji", "Copy and paste into your text": "Copy and paste into your text", - "shrug": "shrug" + "shrug": "shrug", + "DM warning": "Direct messages are not end-to-end encrypted. Do not share any highly sensitive information here." } diff --git a/translations/pl.json b/translations/pl.json index 75e7b0d51..dc3a3d77e 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -547,5 +547,6 @@ "lang_zh": "Chiński", "Common emoji": "Popularne emotikony", "Copy and paste into your text": "Skopiuj i wklej do swojego tekstu", - "shrug": "wzruszać ramionami" + "shrug": "wzruszać ramionami", + "DM warning": "Wiadomości na czacie nie są szyfrowane metodą end-to-end. Nie udostępniaj tutaj żadnych wysoce wrażliwych informacji." } diff --git a/translations/pt.json b/translations/pt.json index 6654832c2..66ea3ba0c 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -547,5 +547,6 @@ "lang_zh": "Chinês", "Common emoji": "Emoji comum", "Copy and paste into your text": "Copie e cole no seu texto", - "shrug": "dar de ombros" + "shrug": "dar de ombros", + "DM warning": "As mensagens diretas não são criptografadas de ponta a ponta. Não compartilhe nenhuma informação altamente sensível aqui." } diff --git a/translations/ru.json b/translations/ru.json index 1a5c51bce..319c87d3a 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -547,5 +547,6 @@ "lang_zh": "Китайский", "Common emoji": "Общие смайлики", "Copy and paste into your text": "Скопируйте и вставьте в свой текст", - "shrug": "пожимание плечами" + "shrug": "пожимание плечами", + "DM warning": "Прямые сообщения не подвергаются сквозному шифрованию. Не делитесь здесь особо конфиденциальной информацией." } diff --git a/translations/sw.json b/translations/sw.json index 0442893f4..5d5480d85 100644 --- a/translations/sw.json +++ b/translations/sw.json @@ -547,5 +547,6 @@ "lang_zh": "Kichina", "Common emoji": "Emoji ya kawaida", "Copy and paste into your text": "Nakili na ubandike kwenye maandishi yako", - "shrug": "piga mabega" + "shrug": "piga mabega", + "DM warning": "Ujumbe wa moja kwa moja haujasimbwa kutoka mwisho hadi mwisho. Usishiriki maelezo yoyote nyeti sana hapa." } diff --git a/translations/uk.json b/translations/uk.json index 2e285f3c5..fa97bb50c 100644 --- a/translations/uk.json +++ b/translations/uk.json @@ -547,5 +547,6 @@ "lang_zh": "китайський", "Common emoji": "Звичайні емодзі", "Copy and paste into your text": "Скопіюйте та вставте у свій текст", - "shrug": "знизати плечима" + "shrug": "знизати плечима", + "DM warning": "Прямі повідомлення не наскрізне шифруються. Не публікуйте тут дуже конфіденційну інформацію." } diff --git a/translations/zh.json b/translations/zh.json index 7c9d98310..140f49b10 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -547,5 +547,6 @@ "lang_zh": "中国人", "Common emoji": "常见表情符号", "Copy and paste into your text": "复制并粘贴到您的文本中", - "shrug": "耸耸肩" + "shrug": "耸耸肩", + "DM warning": "直接消息不是端到端加密的。 不要在这里分享任何高度敏感的信息。" } diff --git a/webapp_create_post.py b/webapp_create_post.py index 6019f8762..dd9aeadfb 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -439,6 +439,7 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, scope_icon = 'scope_dm.png' scope_description = translate['DM'] endpoint = 'newdm' + placeholder_message = '⚠ ' + translate['DM warning'] elif is_new_reminder: scope_icon = 'scope_reminder.png' scope_description = translate['Reminder']