From 3ff94967fa3eb2ab7ec4fc4d0bb0106612cbccb2 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 3 Oct 2020 19:03:58 +0100 Subject: [PATCH] Edit newswire label --- 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 | 6 ++---- 16 files changed, 32 insertions(+), 19 deletions(-) diff --git a/translations/ar.json b/translations/ar.json index 8d74c498f..81bc9f8cb 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -293,5 +293,6 @@ "One link per line. Description followed by the link.": "رابط واحد في كل سطر. الوصف متبوع بالرابط.", "Left column image": "صورة العمود الأيسر", "Right column image": "صورة العمود الأيمن", - "RSS feed for this site": "تغذية RSS لهذا الموقع" + "RSS feed for this site": "تغذية RSS لهذا الموقع", + "Edit newswire": "" } diff --git a/translations/ca.json b/translations/ca.json index f9ea3d294..6333ff481 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -293,5 +293,6 @@ "One link per line. Description followed by the link.": "Un enllaç per línia. Descripció seguida de l'enllaç.", "Left column image": "Imatge de la columna esquerra", "Right column image": "Imatge de la columna dreta", - "RSS feed for this site": "Feed RSS per a aquest lloc" + "RSS feed for this site": "Feed RSS per a aquest lloc", + "Edit newswire": "" } diff --git a/translations/cy.json b/translations/cy.json index e915f0d9c..588f9ee39 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -293,5 +293,6 @@ "One link per line. Description followed by the link.": "Un dolen y llinell. Disgrifiad wedi'i ddilyn gan y ddolen.", "Left column image": "Delwedd colofn chwith", "Right column image": "Delwedd colofn dde", - "RSS feed for this site": "Porthiant RSS ar gyfer y wefan hon" + "RSS feed for this site": "Porthiant RSS ar gyfer y wefan hon", + "Edit newswire": "" } diff --git a/translations/de.json b/translations/de.json index 82c773bd2..87f8367b3 100644 --- a/translations/de.json +++ b/translations/de.json @@ -293,5 +293,6 @@ "One link per line. Description followed by the link.": "Ein Link pro Zeile. Beschreibung gefolgt vom Link.", "Left column image": "Bild in der linken Spalte", "Right column image": "Bild in der rechten Spalte", - "RSS feed for this site": "RSS-Feed für diese Site" + "RSS feed for this site": "RSS-Feed für diese Site", + "Edit newswire": "" } diff --git a/translations/en.json b/translations/en.json index f8dd26592..99fb0dbf2 100644 --- a/translations/en.json +++ b/translations/en.json @@ -293,5 +293,6 @@ "One link per line. Description followed by the link.": "One link per line. Description followed by the link. Titles should begin with #", "Left column image": "Left column image", "Right column image": "Right column image", - "RSS feed for this site": "RSS feed for this site" + "RSS feed for this site": "RSS feed for this site", + "Edit newswire": "Edit newswire" } diff --git a/translations/es.json b/translations/es.json index 36d4f255d..4ec152b5d 100644 --- a/translations/es.json +++ b/translations/es.json @@ -293,5 +293,6 @@ "One link per line. Description followed by the link.": "Un enlace por línea. Descripción seguida del enlace.", "Left column image": "Imagen de la columna izquierda", "Right column image": "Imagen de la columna derecha", - "RSS feed for this site": "Fuente RSS para este sitio" + "RSS feed for this site": "Fuente RSS para este sitio", + "Edit newswire": "" } diff --git a/translations/fr.json b/translations/fr.json index b44725ee2..33f556918 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -293,5 +293,6 @@ "One link per line. Description followed by the link.": "Un lien par ligne. Description suivie du lien.", "Left column image": "Image de la colonne de gauche", "Right column image": "Image de la colonne de droite", - "RSS feed for this site": "Flux RSS de ce site" + "RSS feed for this site": "Flux RSS de ce site", + "Edit newswire": "" } diff --git a/translations/ga.json b/translations/ga.json index e28e7b30d..29be130be 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -293,5 +293,6 @@ "One link per line. Description followed by the link.": "Nasc amháin in aghaidh an líne. Cur síos agus an nasc ina dhiaidh sin.", "Left column image": "Íomhá colún ar chlé", "Right column image": "Íomhá colún ar dheis", - "RSS feed for this site": "Fotha RSS don láithreán seo" + "RSS feed for this site": "Fotha RSS don láithreán seo", + "Edit newswire": "" } diff --git a/translations/hi.json b/translations/hi.json index 0e51d9f22..cb3082de6 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -293,5 +293,6 @@ "One link per line. Description followed by the link.": "प्रति पंक्ति एक लिंक। लिंक के बाद विवरण।", "Left column image": "बाएं स्तंभ की छवि", "Right column image": "राइट कॉलम छवि", - "RSS feed for this site": "इस साइट के लिए आरएसएस फ़ीड" + "RSS feed for this site": "इस साइट के लिए आरएसएस फ़ीड", + "Edit newswire": "" } diff --git a/translations/it.json b/translations/it.json index 6f2ecf9f0..6d9b7b97e 100644 --- a/translations/it.json +++ b/translations/it.json @@ -293,5 +293,6 @@ "One link per line. Description followed by the link.": "Un collegamento per riga. Descrizione seguita dal collegamento.", "Left column image": "Immagine della colonna di sinistra", "Right column image": "Immagine della colonna di destra", - "RSS feed for this site": "Feed RSS per questo sito" + "RSS feed for this site": "Feed RSS per questo sito", + "Edit newswire": "" } diff --git a/translations/ja.json b/translations/ja.json index 07debc515..1346e4077 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -293,5 +293,6 @@ "One link per line. Description followed by the link.": "1行に1つのリンク。 説明の後にリンクが続きます。", "Left column image": "左の列の画像", "Right column image": "右の列の画像", - "RSS feed for this site": "このサイトのRSSフィード" + "RSS feed for this site": "このサイトのRSSフィード", + "Edit newswire": "" } diff --git a/translations/oc.json b/translations/oc.json index 4cefb5f3c..d2ab2b3d4 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -289,5 +289,6 @@ "One link per line. Description followed by the link.": "One link per line. Description followed by the link. Titles should begin with #", "Left column image": "Left column image", "Right column image": "Right column image", - "RSS feed for this site": "RSS feed for this site" + "RSS feed for this site": "RSS feed for this site", + "Edit newswire": "Edit newswire" } diff --git a/translations/pt.json b/translations/pt.json index 798d19a71..51efe428c 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -293,5 +293,6 @@ "One link per line. Description followed by the link.": "Um link por linha. Descrição seguida pelo link.", "Left column image": "Imagem da coluna esquerda", "Right column image": "Imagem da coluna direita", - "RSS feed for this site": "Feed RSS para este site" + "RSS feed for this site": "Feed RSS para este site", + "Edit newswire": "" } diff --git a/translations/ru.json b/translations/ru.json index e257eaf3b..9235258aa 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -293,5 +293,6 @@ "One link per line. Description followed by the link.": "По одной ссылке в строке. Описание с последующей ссылкой.", "Left column image": "Изображение в левом столбце", "Right column image": "Изображение в правом столбце", - "RSS feed for this site": "RSS-канал для этого сайта" + "RSS feed for this site": "RSS-канал для этого сайта", + "Edit newswire": "" } diff --git a/translations/zh.json b/translations/zh.json index f1e4ebfed..7e0993360 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -293,5 +293,6 @@ "One link per line. Description followed by the link.": "每行一个链接。 描述,然后是链接。", "Left column image": "左栏图片", "Right column image": "右栏图片", - "RSS feed for this site": "该站点的RSS feed" + "RSS feed for this site": "该站点的RSS feed", + "Edit newswire": "" } diff --git a/webinterface.py b/webinterface.py index b76a602ed..f5e3777da 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5199,7 +5199,6 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str, # show the edit icon htmlStr += \ ' ' + \ '' + \
@@ -5313,12 +5312,11 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str,
         # show the edit icon
         htmlStr += \
             '        <a href=' + \ '' + \
-            translate['Edit Links'] + '\n' if editImageClass == 'rightColEdit':