From 774219c7cef5fc7cd4a70acf0fc61314f6551d6d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 29 Nov 2020 11:19:09 +0000 Subject: [PATCH] First time user prompt --- 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_column_right.py | 23 +++++++++++++++-------- 16 files changed, 45 insertions(+), 23 deletions(-) diff --git a/translations/ar.json b/translations/ar.json index 1e7970f58..d9500e6d4 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -335,5 +335,6 @@ "moderator": "الوسيط", "editor": "محرر", "delegator": "المفوض", - "Debian": "Debian" + "Debian": "Debian", + "Select the edit icon to add RSS feeds": "حدد رمز التحرير لإضافة موجز ويب لـ RSS" } diff --git a/translations/ca.json b/translations/ca.json index e88c0ee14..77f53cc8c 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -335,5 +335,6 @@ "moderator": "moderador", "editor": "editor", "delegator": "delegador", - "Debian": "Debian" + "Debian": "Debian", + "Select the edit icon to add RSS feeds": "Seleccioneu la icona d'edició per afegir canals RSS" } diff --git a/translations/cy.json b/translations/cy.json index fe5f2db59..c45ec9f06 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -335,5 +335,6 @@ "moderator": "cymedrolwr", "editor": "golygydd", "delegator": "dirprwy", - "Debian": "Debian" + "Debian": "Debian", + "Select the edit icon to add RSS feeds": "Dewiswch yr eicon golygu i ychwanegu porthwyr RSS" } diff --git a/translations/de.json b/translations/de.json index e29985f71..60c2370e1 100644 --- a/translations/de.json +++ b/translations/de.json @@ -335,5 +335,6 @@ "moderator": "Moderator", "editor": "Editor", "delegator": "Delegator", - "Debian": "Debian" + "Debian": "Debian", + "Select the edit icon to add RSS feeds": "Wählen Sie das Bearbeitungssymbol, um RSS-Feeds hinzuzufügen" } diff --git a/translations/en.json b/translations/en.json index 3c3eeb9f7..45b650d22 100644 --- a/translations/en.json +++ b/translations/en.json @@ -335,5 +335,6 @@ "moderator": "moderator", "editor": "editor", "delegator": "delegator", - "Debian": "Debian" + "Debian": "Debian", + "Select the edit icon to add RSS feeds": "Select the edit icon to add RSS feeds" } diff --git a/translations/es.json b/translations/es.json index 2e0e784d4..9a093a940 100644 --- a/translations/es.json +++ b/translations/es.json @@ -335,5 +335,6 @@ "moderator": "moderador", "editor": "editor", "delegator": "delegador", - "Debian": "Debian" + "Debian": "Debian", + "Select the edit icon to add RSS feeds": "Seleccione el icono de edición para agregar fuentes RSS" } diff --git a/translations/fr.json b/translations/fr.json index 084e465e7..9143941a9 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -335,5 +335,6 @@ "moderator": "modérateur", "editor": "éditeur", "delegator": "délégant", - "Debian": "Debian" + "Debian": "Debian", + "Select the edit icon to add RSS feeds": "Sélectionnez l'icône d'édition pour ajouter des flux RSS" } diff --git a/translations/ga.json b/translations/ga.json index 62aae6181..99fdb623e 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -335,5 +335,6 @@ "moderator": "modhnóir", "editor": "eagarthóir", "delegator": "toscaire", - "Debian": "Debian" + "Debian": "Debian", + "Select the edit icon to add RSS feeds": "Roghnaigh an deilbhín eagar chun fothaí RSS a chur leis" } diff --git a/translations/hi.json b/translations/hi.json index f8f10a7b4..9de81af51 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -335,5 +335,6 @@ "moderator": "मध्यस्थ", "editor": "संपादक", "delegator": "डैलिगेटर", - "Debian": "Debian" + "Debian": "Debian", + "Select the edit icon to add RSS feeds": "RSS फ़ीड जोड़ने के लिए संपादन आइकन का चयन करें" } diff --git a/translations/it.json b/translations/it.json index 6a4a17180..f2f4b889f 100644 --- a/translations/it.json +++ b/translations/it.json @@ -335,5 +335,6 @@ "moderator": "moderatore", "editor": "editore", "delegator": "delegatore", - "Debian": "Debian" + "Debian": "Debian", + "Select the edit icon to add RSS feeds": "Seleziona l'icona di modifica per aggiungere feed RSS" } diff --git a/translations/ja.json b/translations/ja.json index 2cd54884c..fb4be4728 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -335,5 +335,6 @@ "moderator": "モデレータ", "editor": "編集者", "delegator": "委任者", - "Debian": "Debian" + "Debian": "Debian", + "Select the edit icon to add RSS feeds": "編集アイコンを選択してRSSフィードを追加します" } diff --git a/translations/oc.json b/translations/oc.json index 8d28745f1..58391f8de 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -331,5 +331,6 @@ "moderator": "moderator", "editor": "editor", "delegator": "delegator", - "Debian": "Debian" + "Debian": "Debian", + "Select the edit icon to add RSS feeds": "Select the edit icon to add RSS feeds" } diff --git a/translations/pt.json b/translations/pt.json index c4f2c22e9..6d24c7e6c 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -335,5 +335,6 @@ "moderator": "moderador", "editor": "editor", "delegator": "delegador", - "Debian": "Debian" + "Debian": "Debian", + "Select the edit icon to add RSS feeds": "Selecione o ícone de edição para adicionar feeds RSS" } diff --git a/translations/ru.json b/translations/ru.json index c7f973c7b..4af05f5e1 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -335,5 +335,6 @@ "moderator": "Модератор", "editor": "редактор", "delegator": "делегат", - "Debian": "Debian" + "Debian": "Debian", + "Select the edit icon to add RSS feeds": "Щелкните значок редактирования, чтобы добавить RSS-каналы" } diff --git a/translations/zh.json b/translations/zh.json index 3faad347a..9196c1f20 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -335,5 +335,6 @@ "moderator": "主持人", "editor": "编辑", "delegator": "委托人", - "Debian": "Debian" + "Debian": "Debian", + "Select the edit icon to add RSS feeds": "选择编辑图标以添加RSS feed" } diff --git a/webapp_column_right.py b/webapp_column_right.py index 921a22d41..4dbbaac36 100644 --- a/webapp_column_right.py +++ b/webapp_column_right.py @@ -443,14 +443,21 @@ def htmlNewswireMobile(cssCache: {}, baseDir: str, nickname: str, headerButtonsFrontScreen(translate, nickname, 'newswire', authorized, iconsAsButtons, iconsPath) + '' - htmlStr += \ - getRightColumnContent(baseDir, nickname, domainFull, - httpPrefix, translate, - iconsPath, moderator, editor, - newswire, positiveVoting, - False, timelinePath, showPublishButton, - showPublishAsIcon, rssIconAtTop, False, - authorized, False) + if newswire: + htmlStr += \ + getRightColumnContent(baseDir, nickname, domainFull, + httpPrefix, translate, + iconsPath, moderator, editor, + newswire, positiveVoting, + False, timelinePath, showPublishButton, + showPublishAsIcon, rssIconAtTop, False, + authorized, False) + else: + if editor: + htmlStr += '


\n' + htmlStr += '
\n ' + htmlStr += translate['Select the edit icon to add RSS feeds'] + htmlStr += '\n
\n' # end of col-right-mobile htmlStr += ''