From 7215358090cd166d536eca629aaa88d41fb16498 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 4 Jan 2022 22:48:13 +0000 Subject: [PATCH] Wording for creating news reports --- 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/ku.json | 3 ++- translations/oc.json | 3 ++- translations/pt.json | 3 ++- translations/ru.json | 3 ++- translations/sw.json | 3 ++- translations/zh.json | 3 ++- webapp_create_post.py | 5 ++++- 18 files changed, 38 insertions(+), 18 deletions(-) diff --git a/translations/ar.json b/translations/ar.json index cfd71044d..07d6e5aed 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -502,5 +502,6 @@ "Theme Designer": "مصمم المظهر", "Reset": "إعادة ضبط", "Encryption Keys": "مفاتيح التشفير", - "Filtered words within bio": "كلمات مفلترة داخل السيرة الذاتية" + "Filtered words within bio": "كلمات مفلترة داخل السيرة الذاتية", + "Write your news report": "اكتب تقريرك الإخباري" } diff --git a/translations/ca.json b/translations/ca.json index 24d353dd3..44f9bbf56 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -502,5 +502,6 @@ "Theme Designer": "Dissenyador temàtic", "Reset": "Restableix", "Encryption Keys": "Claus de xifratge", - "Filtered words within bio": "Paraules filtrades dins de la biografia" + "Filtered words within bio": "Paraules filtrades dins de la biografia", + "Write your news report": "Escriu la teva notícia" } diff --git a/translations/cy.json b/translations/cy.json index a0408376e..ade3b4cd2 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -502,5 +502,6 @@ "Theme Designer": "Dylunydd Thema", "Reset": "Ail gychwyn", "Encryption Keys": "Allweddi Amgryptio", - "Filtered words within bio": "Geiriau wedi'u hidlo o fewn cofiant" + "Filtered words within bio": "Geiriau wedi'u hidlo o fewn cofiant", + "Write your news report": "Ysgrifennwch eich adroddiad newyddion" } diff --git a/translations/de.json b/translations/de.json index 59f5c2b52..486108644 100644 --- a/translations/de.json +++ b/translations/de.json @@ -502,5 +502,6 @@ "Theme Designer": "Themendesigner", "Reset": "Zurücksetzen", "Encryption Keys": "Verschlüsselungsschlüssel", - "Filtered words within bio": "Gefilterte Wörter in der Biografie" + "Filtered words within bio": "Gefilterte Wörter in der Biografie", + "Write your news report": "Schreiben Sie Ihren Nachrichtenbericht" } diff --git a/translations/en.json b/translations/en.json index 48fae7462..509731bcb 100644 --- a/translations/en.json +++ b/translations/en.json @@ -502,5 +502,6 @@ "Theme Designer": "Theme Designer", "Reset": "Reset", "Encryption Keys": "Encryption Keys", - "Filtered words within bio": "Filtered words within bio" + "Filtered words within bio": "Filtered words within bio", + "Write your news report": "Write your news report" } diff --git a/translations/es.json b/translations/es.json index be6e0cd62..cad2b0fa5 100644 --- a/translations/es.json +++ b/translations/es.json @@ -502,5 +502,6 @@ "Theme Designer": "Diseñadora de temas", "Reset": "Reiniciar", "Encryption Keys": "Claves de cifrado", - "Filtered words within bio": "Palabras filtradas dentro de la biografía" + "Filtered words within bio": "Palabras filtradas dentro de la biografía", + "Write your news report": "Escribe tu informe de noticias" } diff --git a/translations/fr.json b/translations/fr.json index 3dbf85e40..c80c0f01e 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -502,5 +502,6 @@ "Theme Designer": "Concepteur de thème", "Reset": "Réinitialiser", "Encryption Keys": "Clés de cryptage", - "Filtered words within bio": "Mots filtrés dans la biographie" + "Filtered words within bio": "Mots filtrés dans la biographie", + "Write your news report": "Rédigez votre reportage" } diff --git a/translations/ga.json b/translations/ga.json index 9c4908c2f..6403f181f 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -502,5 +502,6 @@ "Theme Designer": "Dearthóir Téama", "Reset": "Athshocraigh", "Encryption Keys": "Eochracha Criptithe", - "Filtered words within bio": "Focail scagtha laistigh den bheathaisnéis" + "Filtered words within bio": "Focail scagtha laistigh den bheathaisnéis", + "Write your news report": "Scríobh do thuairisc nuachta" } diff --git a/translations/hi.json b/translations/hi.json index 2177de773..2075a6c93 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -502,5 +502,6 @@ "Theme Designer": "थीम डिजाइनर", "Reset": "रीसेट", "Encryption Keys": "एन्क्रिप्शन कुंजी", - "Filtered words within bio": "जीवनी के भीतर फ़िल्टर किए गए शब्द" + "Filtered words within bio": "जीवनी के भीतर फ़िल्टर किए गए शब्द", + "Write your news report": "अपनी समाचार रिपोर्ट लिखें" } diff --git a/translations/it.json b/translations/it.json index 74420ce18..5317e383d 100644 --- a/translations/it.json +++ b/translations/it.json @@ -502,5 +502,6 @@ "Theme Designer": "Progettista di temi", "Reset": "Ripristina", "Encryption Keys": "Chiavi di crittografia", - "Filtered words within bio": "Parole filtrate all'interno della biografia" + "Filtered words within bio": "Parole filtrate all'interno della biografia", + "Write your news report": "Scrivi il tuo reportage" } diff --git a/translations/ja.json b/translations/ja.json index 605a29904..7e2249f12 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -502,5 +502,6 @@ "Theme Designer": "テーマデザイナー", "Reset": "リセット", "Encryption Keys": "暗号化キー", - "Filtered words within bio": "伝記内のフィルタリングされた単語" + "Filtered words within bio": "伝記内のフィルタリングされた単語", + "Write your news report": "ニュースレポートを書く" } diff --git a/translations/ku.json b/translations/ku.json index 8e9101149..2dde594b0 100644 --- a/translations/ku.json +++ b/translations/ku.json @@ -502,5 +502,6 @@ "Theme Designer": "Theme Designer", "Reset": "Reset", "Encryption Keys": "Bişkojkên Şîfrekirinê", - "Filtered words within bio": "Peyvên fîlterkirî di hundurê biyografiyê de" + "Filtered words within bio": "Peyvên fîlterkirî di hundurê biyografiyê de", + "Write your news report": "Rapora xwe ya nûçeyan binivîsin" } diff --git a/translations/oc.json b/translations/oc.json index 9431782ba..43291df8b 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -498,5 +498,6 @@ "Theme Designer": "Theme Designer", "Reset": "Reset", "Encryption Keys": "Encryption Keys", - "Filtered words within bio": "Filtered words within bio" + "Filtered words within bio": "Filtered words within bio", + "Write your news report": "Write your news report" } diff --git a/translations/pt.json b/translations/pt.json index c0d3e32d3..56249adab 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -502,5 +502,6 @@ "Theme Designer": "Designer de Tema", "Reset": "Redefinir", "Encryption Keys": "Chaves de criptografia", - "Filtered words within bio": "Palavras filtradas na biografia" + "Filtered words within bio": "Palavras filtradas na biografia", + "Write your news report": "Escreva sua reportagem" } diff --git a/translations/ru.json b/translations/ru.json index 70b8032b9..d796c6564 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -502,5 +502,6 @@ "Theme Designer": "Дизайнер тем", "Reset": "Сброс настроек", "Encryption Keys": "Ключи шифрования", - "Filtered words within bio": "Отфильтрованные слова в биографии" + "Filtered words within bio": "Отфильтрованные слова в биографии", + "Write your news report": "Напишите свой новостной репортаж" } diff --git a/translations/sw.json b/translations/sw.json index 3ecc75fa6..e19823ac5 100644 --- a/translations/sw.json +++ b/translations/sw.json @@ -502,5 +502,6 @@ "Theme Designer": "Mbuni wa Mandhari", "Reset": "Weka upya", "Encryption Keys": "Vifunguo vya Usimbaji", - "Filtered words within bio": "Maneno yaliyochujwa ndani ya wasifu" + "Filtered words within bio": "Maneno yaliyochujwa ndani ya wasifu", + "Write your news report": "Andika ripoti yako ya habari" } diff --git a/translations/zh.json b/translations/zh.json index bf8cca74d..c27204325 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -502,5 +502,6 @@ "Theme Designer": "主题设计师", "Reset": "重启", "Encryption Keys": "加密密钥", - "Filtered words within bio": "传记中的过滤词" + "Filtered words within bio": "传记中的过滤词", + "Write your news report": "写你的新闻报道" } diff --git a/webapp_create_post.py b/webapp_create_post.py index b536a2859..70810d117 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -385,7 +385,10 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, translate['Replying to'] + '...' placeholder_message = '' if category != 'accommodation': - placeholder_message = translate['Write something'] + '...' + if default_timeline == 'tlfeatures': + placeholder_message = translate['Write your news report'] + '...' + else: + placeholder_message = translate['Write something'] + '...' else: idx = 'Introduce yourself and specify the date ' + \ 'and time when you wish to stay'