From f8760a57d41fefb23d4b3d7e1089475b8e7edacd Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 2 Nov 2020 17:40:02 +0000 Subject: [PATCH] Add a settings button to the news instance --- 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 ++- webinterface.py | 8 ++++++-- 16 files changed, 36 insertions(+), 17 deletions(-) diff --git a/translations/ar.json b/translations/ar.json index 607b7ce40..d0c16cab4 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -324,5 +324,6 @@ "User": "المستعمل", "Features" : "ميزات", "Article": "مقال إخباري", - "Create an article": "قم بإنشاء مقال" + "Create an article": "قم بإنشاء مقال", + "Settings": "إعدادات" } diff --git a/translations/ca.json b/translations/ca.json index 0b0b702d1..7bb30de20 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -324,5 +324,6 @@ "User": "Usuari", "Features" : "Article", "Article": "Reportatge", - "Create an article": "Creeu un article" + "Create an article": "Creeu un article", + "Settings": "Configuració" } diff --git a/translations/cy.json b/translations/cy.json index e4f548916..d3c964222 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -324,5 +324,6 @@ "User": "Defnyddiwr", "Features" : "Nodweddion", "Article": "Erthygl", - "Create an article": "Creu erthygl" + "Create an article": "Creu erthygl", + "Settings": "Gosodiadau" } diff --git a/translations/de.json b/translations/de.json index c486d8444..e2e373907 100644 --- a/translations/de.json +++ b/translations/de.json @@ -324,5 +324,6 @@ "User": "Nutzerin", "Features" : "Eigenschaften", "Article": "Artikel", - "Create an article": "Erstellen Sie einen Artikel" + "Create an article": "Erstellen Sie einen Artikel", + "Settings": "Einstellungen" } diff --git a/translations/en.json b/translations/en.json index 2dcd54fda..c3d6d80ea 100644 --- a/translations/en.json +++ b/translations/en.json @@ -324,5 +324,6 @@ "User": "User", "Features" : "Features", "Article": "Article", - "Create an article": "Create an article" + "Create an article": "Create an article", + "Settings": "Settings" } diff --git a/translations/es.json b/translations/es.json index c3f84bda0..547e1fb11 100644 --- a/translations/es.json +++ b/translations/es.json @@ -324,5 +324,6 @@ "User": "Usuaria", "Features" : "Caracteristicas", "Article": "Artículo", - "Create an article": "Crea un articulo" + "Create an article": "Crea un articulo", + "Settings": "Configuraciones" } diff --git a/translations/fr.json b/translations/fr.json index bb897925f..4d03a9ef9 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -324,5 +324,6 @@ "User": "Utilisatrice", "Features" : "Traits", "Article": "Article", - "Create an article": "Créer un article" + "Create an article": "Créer un article", + "Settings": "Réglages" } diff --git a/translations/ga.json b/translations/ga.json index 5cd34c5f8..1f683ad04 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -324,5 +324,6 @@ "User": "Úsáideoir", "Features" : "Gnéithe", "Article": "Airteagal", - "Create an article": "Cruthaigh alt" + "Create an article": "Cruthaigh alt", + "Settings": "Socruithe" } diff --git a/translations/hi.json b/translations/hi.json index a8736813f..c181d5b72 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -324,5 +324,6 @@ "User": "उपयोगकर्ता", "Features" : "विशेषताएं", "Article": "लेख", - "Create an article": "एक लेख बनाएँ" + "Create an article": "एक लेख बनाएँ", + "Settings": "समायोजन" } diff --git a/translations/it.json b/translations/it.json index 834628eec..0a968746b 100644 --- a/translations/it.json +++ b/translations/it.json @@ -324,5 +324,6 @@ "User": "Utente", "Features" : "Caratteristiche", "Article": "Articolo", - "Create an article": "Crea un articolo" + "Create an article": "Crea un articolo", + "Settings": "impostazioni" } diff --git a/translations/ja.json b/translations/ja.json index 1c85a5de3..6db9ca798 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -324,5 +324,6 @@ "User": "ユーザー", "Features" : "特徴", "Article": "論文", - "Create an article": "記事を作成する" + "Create an article": "記事を作成する", + "Settings": "設定" } diff --git a/translations/oc.json b/translations/oc.json index 0586b23cd..f8de1d224 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -320,5 +320,6 @@ "User": "User", "Features" : "Features", "Article": "Article", - "Create an article": "Create an article" + "Create an article": "Create an article", + "Settings": "Settings" } diff --git a/translations/pt.json b/translations/pt.json index 58e95a5bf..87519778c 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -324,5 +324,6 @@ "User": "Do utilizador", "Features" : "Recursos", "Article": "Artigo", - "Create an article": "Crie um artigo" + "Create an article": "Crie um artigo", + "Settings": "Definições" } diff --git a/translations/ru.json b/translations/ru.json index 75d6c4bd8..faeceb3a9 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -324,5 +324,6 @@ "User": "Пользователь", "Features" : "особенности", "Article": "Статья", - "Create an article": "Создать статью" + "Create an article": "Создать статью", + "Settings": "Настройки" } diff --git a/translations/zh.json b/translations/zh.json index b848bd20a..8ed04b18f 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -324,5 +324,6 @@ "User": "用户", "Features" : "特征", "Article": "文章", - "Create an article": "建立文章" + "Create an article": "建立文章", + "Settings": "设定值" } diff --git a/webinterface.py b/webinterface.py index 6a0f53579..9506dee04 100644 --- a/webinterface.py +++ b/webinterface.py @@ -6415,9 +6415,13 @@ def headerButtonsTimeline(defaultTimeline: str, if newsHeader: tlStr += \ - ' \n' + tlStr += \ + ' ' + \ + '\n' # the newswire button to show right column links if not iconsAsButtons: