From 10a92cee582836515e312fbf74a907812db4b751 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 3 Oct 2020 10:42:33 +0100 Subject: [PATCH] Translations for rss 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 | 6 ++++-- 16 files changed, 34 insertions(+), 17 deletions(-) diff --git a/translations/ar.json b/translations/ar.json index 175c18086..8d74c498f 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -292,5 +292,6 @@ "Edit Links": "تحرير الارتباطات", "One link per line. Description followed by the link.": "رابط واحد في كل سطر. الوصف متبوع بالرابط.", "Left column image": "صورة العمود الأيسر", - "Right column image": "صورة العمود الأيمن" + "Right column image": "صورة العمود الأيمن", + "RSS feed for this site": "تغذية RSS لهذا الموقع" } diff --git a/translations/ca.json b/translations/ca.json index 4db8dccdb..f9ea3d294 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -292,5 +292,6 @@ "Edit Links": "Edita els enllaços", "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" + "Right column image": "Imatge de la columna dreta", + "RSS feed for this site": "Feed RSS per a aquest lloc" } diff --git a/translations/cy.json b/translations/cy.json index f8e478d5b..e915f0d9c 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -292,5 +292,6 @@ "Edit Links": "Golygu Dolenni", "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" + "Right column image": "Delwedd colofn dde", + "RSS feed for this site": "Porthiant RSS ar gyfer y wefan hon" } diff --git a/translations/de.json b/translations/de.json index c59998200..82c773bd2 100644 --- a/translations/de.json +++ b/translations/de.json @@ -292,5 +292,6 @@ "Edit Links": "Links bearbeiten", "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" + "Right column image": "Bild in der rechten Spalte", + "RSS feed for this site": "RSS-Feed für diese Site" } diff --git a/translations/en.json b/translations/en.json index 8f2228f73..f8dd26592 100644 --- a/translations/en.json +++ b/translations/en.json @@ -292,5 +292,6 @@ "Edit Links": "Edit Links", "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" + "Right column image": "Right column image", + "RSS feed for this site": "RSS feed for this site" } diff --git a/translations/es.json b/translations/es.json index 868a74a4c..36d4f255d 100644 --- a/translations/es.json +++ b/translations/es.json @@ -292,5 +292,6 @@ "Edit Links": "Editar enlaces", "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" + "Right column image": "Imagen de la columna derecha", + "RSS feed for this site": "Fuente RSS para este sitio" } diff --git a/translations/fr.json b/translations/fr.json index 4e94aa25d..b44725ee2 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -292,5 +292,6 @@ "Edit Links": "Modifier les liens", "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" + "Right column image": "Image de la colonne de droite", + "RSS feed for this site": "Flux RSS de ce site" } diff --git a/translations/ga.json b/translations/ga.json index 63ff5ebcc..e28e7b30d 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -292,5 +292,6 @@ "Edit Links": "Cuir Naisc in eagar", "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" + "Right column image": "Íomhá colún ar dheis", + "RSS feed for this site": "Fotha RSS don láithreán seo" } diff --git a/translations/hi.json b/translations/hi.json index dd57c06ca..0e51d9f22 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -292,5 +292,6 @@ "Edit Links": "लिंक संपादित करें", "One link per line. Description followed by the link.": "प्रति पंक्ति एक लिंक। लिंक के बाद विवरण।", "Left column image": "बाएं स्तंभ की छवि", - "Right column image": "राइट कॉलम छवि" + "Right column image": "राइट कॉलम छवि", + "RSS feed for this site": "इस साइट के लिए आरएसएस फ़ीड" } diff --git a/translations/it.json b/translations/it.json index af7a51db3..6f2ecf9f0 100644 --- a/translations/it.json +++ b/translations/it.json @@ -292,5 +292,6 @@ "Edit Links": "Modifica collegamenti", "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" + "Right column image": "Immagine della colonna di destra", + "RSS feed for this site": "Feed RSS per questo sito" } diff --git a/translations/ja.json b/translations/ja.json index dd5ccdcfe..07debc515 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -292,5 +292,6 @@ "Edit Links": "リンクの編集", "One link per line. Description followed by the link.": "1行に1つのリンク。 説明の後にリンクが続きます。", "Left column image": "左の列の画像", - "Right column image": "右の列の画像" + "Right column image": "右の列の画像", + "RSS feed for this site": "このサイトのRSSフィード" } diff --git a/translations/oc.json b/translations/oc.json index fd8656071..4cefb5f3c 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -288,5 +288,6 @@ "Edit Links": "Edit Links", "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" + "Right column image": "Right column image", + "RSS feed for this site": "RSS feed for this site" } diff --git a/translations/pt.json b/translations/pt.json index 83aefbda0..798d19a71 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -292,5 +292,6 @@ "Edit Links": "Editar Links", "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" + "Right column image": "Imagem da coluna direita", + "RSS feed for this site": "Feed RSS para este site" } diff --git a/translations/ru.json b/translations/ru.json index 948d05935..e257eaf3b 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -292,5 +292,6 @@ "Edit Links": "Редактировать ссылки", "One link per line. Description followed by the link.": "По одной ссылке в строке. Описание с последующей ссылкой.", "Left column image": "Изображение в левом столбце", - "Right column image": "Изображение в правом столбце" + "Right column image": "Изображение в правом столбце", + "RSS feed for this site": "RSS-канал для этого сайта" } diff --git a/translations/zh.json b/translations/zh.json index 6384cb2d0..f1e4ebfed 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -292,5 +292,6 @@ "Edit Links": "编辑连结", "One link per line. Description followed by the link.": "每行一个链接。 描述,然后是链接。", "Left column image": "左栏图片", - "Right column image": "右栏图片" + "Right column image": "右栏图片", + "RSS feed for this site": "该站点的RSS feed" } diff --git a/webinterface.py b/webinterface.py index 47f52b745..12e3dd1c4 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5213,8 +5213,10 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str, httpPrefix + '://' + domainFull + \ '/blog/' + nickname + '/rss.xml">' + \ 'RSS\n' + '" loading="lazy" alt="' + \ + translate['RSS feed for this site'] + \ + '" title="' + translate['RSS feed for this site'] + \ + '" src="/' + iconsDir + '/rss.png" />\n' if editImageClass == 'leftColEdit': htmlStr += ' \n'