From 5e494a4b0f4cccaff0d0c1c0a8922d7576d180b7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 16 Oct 2020 15:12:26 +0100 Subject: [PATCH] Title on publish button --- 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 | 3 ++- 16 files changed, 32 insertions(+), 16 deletions(-) diff --git a/translations/ar.json b/translations/ar.json index 603a17353..de49c1547 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -310,5 +310,6 @@ "A list of editor nicknames. One per line.": "قائمة بأسماء المحرر. واحد في كل سطر.", "Site Editors": "محررو الموقع", "Allow news posts": "السماح بنشر الأخبار", - "Publish": "ينشر" + "Publish": "ينشر", + "Publish a news article": "انشر مقالة إخبارية" } diff --git a/translations/ca.json b/translations/ca.json index f8f82bba2..3499c9de7 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -310,5 +310,6 @@ "A list of editor nicknames. One per line.": "Una llista de sobrenoms de l'editor. Un per línia.", "Site Editors": "Editors de llocs", "Allow news posts": "Permet publicacions de notícies", - "Publish": "Publica" + "Publish": "Publica", + "Publish a news article": "Publicar un article de notícies" } diff --git a/translations/cy.json b/translations/cy.json index c39c3014f..2ab1795cc 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -310,5 +310,6 @@ "A list of editor nicknames. One per line.": "Rhestr o lysenwau golygydd. Un i bob llinell.", "Site Editors": "Golygyddion Safle", "Allow news posts": "Caniatáu swyddi newyddion", - "Publish": "Cyhoeddi" + "Publish": "Cyhoeddi", + "Publish a news article": "Cyhoeddi erthygl newyddion" } diff --git a/translations/de.json b/translations/de.json index 2ce3fac07..ceb6179e6 100644 --- a/translations/de.json +++ b/translations/de.json @@ -310,5 +310,6 @@ "A list of editor nicknames. One per line.": "Eine Liste der Editor-Spitznamen. Eine pro Zeile.", "Site Editors": "Site-Editoren", "Allow news posts": "Nachrichtenbeiträge zulassen", - "Publish": "Veröffentlichen" + "Publish": "Veröffentlichen", + "Publish a news article": "Veröffentlichen Sie einen Nachrichtenartikel" } diff --git a/translations/en.json b/translations/en.json index 9c5b4686f..e5a65517c 100644 --- a/translations/en.json +++ b/translations/en.json @@ -310,5 +310,6 @@ "A list of editor nicknames. One per line.": "A list of editor nicknames. One per line.", "Site Editors": "Site Editors", "Allow news posts": "Allow news posts", - "Publish": "Publish" + "Publish": "Publish", + "Publish a news article": "Publish a news article" } diff --git a/translations/es.json b/translations/es.json index 2edf00660..32c7ac5f8 100644 --- a/translations/es.json +++ b/translations/es.json @@ -310,5 +310,6 @@ "A list of editor nicknames. One per line.": "Una lista de apodos de los editores. Uno por línea.", "Site Editors": "Editores del sitio", "Allow news posts": "Permitir publicaciones de noticias", - "Publish": "Publicar" + "Publish": "Publicar", + "Publish a news article": "Publica un artículo de noticias" } diff --git a/translations/fr.json b/translations/fr.json index 802c8550d..068971bde 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -310,5 +310,6 @@ "A list of editor nicknames. One per line.": "Une liste de surnoms d'éditeur. Un par ligne.", "Site Editors": "Éditeurs du site", "Allow news posts": "Autoriser les articles d'actualité", - "Publish": "Publier" + "Publish": "Publier", + "Publish a news article": "Publier un article de presse" } diff --git a/translations/ga.json b/translations/ga.json index 01181293e..547f6b56a 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -310,5 +310,6 @@ "A list of editor nicknames. One per line.": "Liosta leasainmneacha eagarthóra. Ceann in aghaidh na líne.", "Site Editors": "Eagarthóirí Suímh", "Allow news posts": "Ceadaigh poist nuachta", - "Publish": "Fhoilsiú" + "Publish": "Fhoilsiú", + "Publish a news article": "Foilsigh alt nuachta" } diff --git a/translations/hi.json b/translations/hi.json index 263272197..758a933ab 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -310,5 +310,6 @@ "A list of editor nicknames. One per line.": "संपादक उपनामों की एक सूची। प्रति पंक्ति एक।", "Site Editors": "साइट संपादकों", "Allow news posts": "समाचार पोस्ट की अनुमति दें", - "Publish": "प्रकाशित करना" + "Publish": "प्रकाशित करना", + "Publish a news article": "एक समाचार लेख प्रकाशित करें" } diff --git a/translations/it.json b/translations/it.json index e93791bac..e103f50c9 100644 --- a/translations/it.json +++ b/translations/it.json @@ -310,5 +310,6 @@ "A list of editor nicknames. One per line.": "Un elenco di soprannomi dell'editor. Uno per riga.", "Site Editors": "Editori del sito", "Allow news posts": "Consenti post di notizie", - "Publish": "Pubblicare" + "Publish": "Pubblicare", + "Publish a news article": "Pubblica un articolo di notizie" } diff --git a/translations/ja.json b/translations/ja.json index b02321f6a..ac44cd3e0 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -310,5 +310,6 @@ "A list of editor nicknames. One per line.": "編集者のニックネームのリスト。 1行に1つ。", "Site Editors": "サイト編集者", "Allow news posts": "ニュース投稿を許可する", - "Publish": "公開する" + "Publish": "公開する", + "Publish a news article": "ニュース記事を公開する" } diff --git a/translations/oc.json b/translations/oc.json index aa45e85ac..3e7c8007c 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -306,5 +306,6 @@ "A list of editor nicknames. One per line.": "A list of editor nicknames. One per line.", "Site Editors": "Site Editors", "Allow news posts": "Allow news posts", - "Publish": "Publish" + "Publish": "Publish", + "Publish a news article": "Publish a news article" } diff --git a/translations/pt.json b/translations/pt.json index e316fb199..a894c6c02 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -310,5 +310,6 @@ "A list of editor nicknames. One per line.": "Uma lista de apelidos de editores. Um por linha.", "Site Editors": "Editores do site", "Allow news posts": "Permitir postagens de notícias", - "Publish": "Publicar" + "Publish": "Publicar", + "Publish a news article": "Publique um artigo de notícias" } diff --git a/translations/ru.json b/translations/ru.json index 0452b6dfa..6ae4b03f5 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -310,5 +310,6 @@ "A list of editor nicknames. One per line.": "Список ников редакторов. По одному на строку.", "Site Editors": "Редакторы сайта", "Allow news posts": "Разрешить публикации новостей", - "Publish": "Публиковать" + "Publish": "Публиковать", + "Publish a news article": "Опубликовать новостную статью" } diff --git a/translations/zh.json b/translations/zh.json index 9ed983313..d2a33c46b 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -310,5 +310,6 @@ "A list of editor nicknames. One per line.": "编辑者昵称列表。 每行一个。", "Site Editors": "网站编辑", "Allow news posts": "允许新闻发布", - "Publish": "发布" + "Publish": "发布", + "Publish a news article": "发布新闻文章" } diff --git a/webinterface.py b/webinterface.py index 5b44343a4..14b4aa121 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5707,7 +5707,8 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str, if showPublishButton: htmlStr += \ ' ' + \ + '/users/' + nickname + '/newblog" ' + \ + 'title="' + translate['Publish a news article'] + '">' + \ '\n'