From 966392d6875c12dc7a3034d4c13a7e63b22dcdba Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 7 Dec 2020 10:52:35 +0000 Subject: [PATCH] More specific header for shared items --- 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/oc.json | 3 ++- translations/pt.json | 3 ++- translations/ru.json | 3 ++- translations/zh.json | 3 ++- webapp_create_post.py | 8 ++++++-- 16 files changed, 36 insertions(+), 17 deletions(-) diff --git a/translations/ar.json b/translations/ar.json index b3752456c..2a96a612f 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -338,5 +338,6 @@ "Debian": "Debian", "Select the edit icon to add RSS feeds": "حدد رمز التحرير لإضافة موجز ويب لـ RSS", "Select the edit icon to add web links": "حدد رمز التحرير لإضافة روابط الويب", - "Hashtag Categories RSS Feed": "Hashtag Categories RSS Feed" + "Hashtag Categories RSS Feed": "Hashtag Categories RSS Feed", + "Ask about a shared item.": "اسأل عن عنصر مشترك." } diff --git a/translations/ca.json b/translations/ca.json index 45a703b61..7ff65aab7 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -338,5 +338,6 @@ "Debian": "Debian", "Select the edit icon to add RSS feeds": "Seleccioneu la icona d'edició per afegir canals RSS", "Select the edit icon to add web links": "Seleccioneu la icona d'edició per afegir enllaços web", - "Hashtag Categories RSS Feed": "Feed RSS de categories de hashtag" + "Hashtag Categories RSS Feed": "Feed RSS de categories de hashtag", + "Ask about a shared item.": "Pregunteu sobre un element compartit." } diff --git a/translations/cy.json b/translations/cy.json index fd9d78d3f..b10bb537e 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -338,5 +338,6 @@ "Debian": "Debian", "Select the edit icon to add RSS feeds": "Dewiswch yr eicon golygu i ychwanegu porthwyr RSS", "Select the edit icon to add web links": "Dewiswch yr eicon golygu i ychwanegu dolenni gwe", - "Hashtag Categories RSS Feed": "Categorïau Hashtag RSS Feed" + "Hashtag Categories RSS Feed": "Categorïau Hashtag RSS Feed", + "Ask about a shared item.": "Gofynnwch am eitem a rennir." } diff --git a/translations/de.json b/translations/de.json index 27500796b..ebd9e4e5a 100644 --- a/translations/de.json +++ b/translations/de.json @@ -338,5 +338,6 @@ "Debian": "Debian", "Select the edit icon to add RSS feeds": "Wählen Sie das Bearbeitungssymbol, um RSS-Feeds hinzuzufügen", "Select the edit icon to add web links": "Wählen Sie das Bearbeitungssymbol, um Weblinks hinzuzufügen", - "Hashtag Categories RSS Feed": "Hashtag Kategorien RSS Feed" + "Hashtag Categories RSS Feed": "Hashtag Kategorien RSS Feed", + "Ask about a shared item.": "Fragen Sie nach einem gemeinsamen Artikel." } diff --git a/translations/en.json b/translations/en.json index cdf939477..45e450a1e 100644 --- a/translations/en.json +++ b/translations/en.json @@ -338,5 +338,6 @@ "Debian": "Debian", "Select the edit icon to add RSS feeds": "Select the edit icon to add RSS feeds", "Select the edit icon to add web links": "Select the edit icon to add web links", - "Hashtag Categories RSS Feed": "Hashtag Categories RSS Feed" + "Hashtag Categories RSS Feed": "Hashtag Categories RSS Feed", + "Ask about a shared item.": "Ask about a shared item." } diff --git a/translations/es.json b/translations/es.json index 7a8471633..12e541e78 100644 --- a/translations/es.json +++ b/translations/es.json @@ -338,5 +338,6 @@ "Debian": "Debian", "Select the edit icon to add RSS feeds": "Seleccione el icono de edición para agregar fuentes RSS", "Select the edit icon to add web links": "Seleccione el icono de edición para agregar enlaces web", - "Hashtag Categories RSS Feed": "Feed RSS de categorías de hashtags" + "Hashtag Categories RSS Feed": "Feed RSS de categorías de hashtags", + "Ask about a shared item.": "Pregunte por un elemento compartido." } diff --git a/translations/fr.json b/translations/fr.json index 0b00ed4b1..7816fc8f8 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -338,5 +338,6 @@ "Debian": "Debian", "Select the edit icon to add RSS feeds": "Sélectionnez l'icône d'édition pour ajouter des flux RSS", "Select the edit icon to add web links": "Sélectionnez l'icône de modification pour ajouter des liens Web", - "Hashtag Categories RSS Feed": "Flux RSS des catégories Hashtag" + "Hashtag Categories RSS Feed": "Flux RSS des catégories Hashtag", + "Ask about a shared item.": "Renseignez-vous sur un élément partagé." } diff --git a/translations/ga.json b/translations/ga.json index 118845962..ac41d0205 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -338,5 +338,6 @@ "Debian": "Debian", "Select the edit icon to add RSS feeds": "Roghnaigh an deilbhín eagar chun fothaí RSS a chur leis", "Select the edit icon to add web links": "Roghnaigh an deilbhín eagar chun naisc ghréasáin a chur leis", - "Hashtag Categories RSS Feed": "Catagóirí Hashtag RSS Feed" + "Hashtag Categories RSS Feed": "Catagóirí Hashtag RSS Feed", + "Ask about a shared item.": "Fiafraigh faoi earra roinnte." } diff --git a/translations/hi.json b/translations/hi.json index 1bca2fa83..65fec21ff 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -338,5 +338,6 @@ "Debian": "Debian", "Select the edit icon to add RSS feeds": "RSS फ़ीड जोड़ने के लिए संपादन आइकन का चयन करें", "Select the edit icon to add web links": "वेब लिंक जोड़ने के लिए संपादन आइकन का चयन करें", - "Hashtag Categories RSS Feed": "हैशटैग श्रेणियाँ आरएसएस फ़ीड" + "Hashtag Categories RSS Feed": "हैशटैग श्रेणियाँ आरएसएस फ़ीड", + "Ask about a shared item.": "एक साझा आइटम के बारे में पूछें।" } diff --git a/translations/it.json b/translations/it.json index 1c05b8908..fabd4f973 100644 --- a/translations/it.json +++ b/translations/it.json @@ -338,5 +338,6 @@ "Debian": "Debian", "Select the edit icon to add RSS feeds": "Seleziona l'icona di modifica per aggiungere feed RSS", "Select the edit icon to add web links": "Seleziona l'icona di modifica per aggiungere link web", - "Hashtag Categories RSS Feed": "Feed RSS delle categorie hashtag" + "Hashtag Categories RSS Feed": "Feed RSS delle categorie hashtag", + "Ask about a shared item.": "Chiedi informazioni su un elemento condiviso." } diff --git a/translations/ja.json b/translations/ja.json index 4e1065001..7bed89c46 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -338,5 +338,6 @@ "Debian": "Debian", "Select the edit icon to add RSS feeds": "編集アイコンを選択してRSSフィードを追加します", "Select the edit icon to add web links": "編集アイコンを選択してWebリンクを追加します", - "Hashtag Categories RSS Feed": "ハッシュタグカテゴリRSSフィード" + "Hashtag Categories RSS Feed": "ハッシュタグカテゴリRSSフィード", + "Ask about a shared item.": "共有アイテムについて質問します。" } diff --git a/translations/oc.json b/translations/oc.json index b8fd14c6d..a224b833a 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -334,5 +334,6 @@ "Debian": "Debian", "Select the edit icon to add RSS feeds": "Select the edit icon to add RSS feeds", "Select the edit icon to add web links": "Select the edit icon to add web links", - "Hashtag Categories RSS Feed": "Hashtag Categories RSS Feed" + "Hashtag Categories RSS Feed": "Hashtag Categories RSS Feed", + "Ask about a shared item.": "Ask about a shared item." } diff --git a/translations/pt.json b/translations/pt.json index eda0cfe87..305243eac 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -338,5 +338,6 @@ "Debian": "Debian", "Select the edit icon to add RSS feeds": "Selecione o ícone de edição para adicionar feeds RSS", "Select the edit icon to add web links": "Selecione o ícone de edição para adicionar links da web", - "Hashtag Categories RSS Feed": "Feed RSS das categorias de hashtag" + "Hashtag Categories RSS Feed": "Feed RSS das categorias de hashtag", + "Ask about a shared item.": "Pergunte sobre um item compartilhado." } diff --git a/translations/ru.json b/translations/ru.json index 043800408..3c0155cea 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -338,5 +338,6 @@ "Debian": "Debian", "Select the edit icon to add RSS feeds": "Щелкните значок редактирования, чтобы добавить RSS-каналы", "Select the edit icon to add web links": "Щелкните значок редактирования, чтобы добавить веб-ссылки", - "Hashtag Categories RSS Feed": "RSS-канал категорий хэштегов" + "Hashtag Categories RSS Feed": "RSS-канал категорий хэштегов", + "Ask about a shared item.": "Спросите об общем элементе." } diff --git a/translations/zh.json b/translations/zh.json index 38b30eabc..470be2cd5 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -338,5 +338,6 @@ "Debian": "Debian", "Select the edit icon to add RSS feeds": "选择编辑图标以添加RSS feed", "Select the edit icon to add web links": "选择编辑图标以添加Web链接", - "Hashtag Categories RSS Feed": "标签类别RSS提要" + "Hashtag Categories RSS Feed": "标签类别RSS提要", + "Ask about a shared item.": "询问共享项目。" } diff --git a/webapp_create_post.py b/webapp_create_post.py index 849d4f88b..695b6e9b3 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -187,8 +187,12 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {}, if not path.endswith('/newreport'): if not inReplyTo or shareDescription or \ path.endswith('/newreminder'): - newPostText = '

' + \ - translate['Write your post text below.'] + '

\n' + if shareDescription: + newPostText = '

' + \ + translate['Write your post text below.'] + '

\n' + else: + newPostText = '

' + \ + translate['Ask about a shared item.'] + '

\n' else: newPostText = \ '

' + \