Differing titles for left column rss feed

main
Bob Mottram 2020-11-08 13:54:47 +00:00
parent 1b69ea8bda
commit 46b3729506
16 changed files with 42 additions and 22 deletions

View File

@ -327,5 +327,6 @@
"Create an article": "قم بإنشاء مقال",
"Settings": "إعدادات",
"Citations": "اقتباسات",
"Choose newswire items referenced in your article": "اختر العناصر الإخبارية المشار إليها في مقالتك"
"Choose newswire items referenced in your article": "اختر العناصر الإخبارية المشار إليها في مقالتك",
"RSS feed for your blog": "تغذية RSS لمدونتك"
}

View File

@ -327,5 +327,6 @@
"Create an article": "Creeu un article",
"Settings": "Configuració",
"Citations": "Cites",
"Choose newswire items referenced in your article": "Trieu articles de newswire als quals faci referència el vostre article"
"Choose newswire items referenced in your article": "Trieu articles de newswire als quals faci referència el vostre article",
"RSS feed for your blog": "Feed RSS del vostre bloc"
}

View File

@ -327,5 +327,6 @@
"Create an article": "Creu erthygl",
"Settings": "Gosodiadau",
"Citations": "Dyfyniadau",
"Choose newswire items referenced in your article": "Dewiswch eitemau newyddion y cyfeirir atynt yn eich erthygl"
"Choose newswire items referenced in your article": "Dewiswch eitemau newyddion y cyfeirir atynt yn eich erthygl",
"RSS feed for your blog": "Porthiant RSS ar gyfer eich blog"
}

View File

@ -327,5 +327,6 @@
"Create an article": "Erstellen Sie einen Artikel",
"Settings": "Einstellungen",
"Citations": "Zitate",
"Choose newswire items referenced in your article": "Wählen Sie Newswire-Artikel aus, auf die in Ihrem Artikel verwiesen wird"
"Choose newswire items referenced in your article": "Wählen Sie Newswire-Artikel aus, auf die in Ihrem Artikel verwiesen wird",
"RSS feed for your blog": "RSS-Feed für Ihr Blog"
}

View File

@ -327,5 +327,6 @@
"Create an article": "Create an article",
"Settings": "Settings",
"Citations": "Citations",
"Choose newswire items referenced in your article": "Choose newswire items referenced in your article"
"Choose newswire items referenced in your article": "Choose newswire items referenced in your article",
"RSS feed for your blog": "RSS feed for your blog"
}

View File

@ -327,5 +327,6 @@
"Create an article": "Crea un articulo",
"Settings": "Configuraciones",
"Citations": "Citas",
"Choose newswire items referenced in your article": "Elija elementos de Newswire a los que se hace referencia en su artículo"
"Choose newswire items referenced in your article": "Elija elementos de Newswire a los que se hace referencia en su artículo",
"RSS feed for your blog": "Fuente RSS para tu blog"
}

View File

@ -327,5 +327,6 @@
"Create an article": "Créer un article",
"Settings": "Réglages",
"Citations": "Citations",
"Choose newswire items referenced in your article": "Choisissez les éléments de fil d'actualité référencés dans votre article"
"Choose newswire items referenced in your article": "Choisissez les éléments de fil d'actualité référencés dans votre article",
"RSS feed for your blog": "Flux RSS pour votre blog"
}

View File

@ -327,5 +327,6 @@
"Create an article": "Cruthaigh alt",
"Settings": "Socruithe",
"Citations": "Citations",
"Choose newswire items referenced in your article": "Roghnaigh míreanna sreanga nuachta dá dtagraítear i dalt"
"Choose newswire items referenced in your article": "Roghnaigh míreanna sreanga nuachta dá dtagraítear i dalt",
"RSS feed for your blog": "Fotha RSS do do bhlag"
}

View File

@ -327,5 +327,6 @@
"Create an article": "एक लेख बनाएँ",
"Settings": "समायोजन",
"Citations": "उद्धरण",
"Choose newswire items referenced in your article": "अपने लेख में संदर्भित newswire आइटम चुनें"
"Choose newswire items referenced in your article": "अपने लेख में संदर्भित newswire आइटम चुनें",
"RSS feed for your blog": "RSS आपके ब्लॉग के लिए फ़ीड करता है"
}

View File

@ -327,5 +327,6 @@
"Create an article": "Crea un articolo",
"Settings": "impostazioni",
"Citations": "Citazioni",
"Choose newswire items referenced in your article": "Scegli gli articoli del newswire a cui fa riferimento il tuo articolo"
"Choose newswire items referenced in your article": "Scegli gli articoli del newswire a cui fa riferimento il tuo articolo",
"RSS feed for your blog": "Feed RSS per il tuo blog"
}

View File

@ -327,5 +327,6 @@
"Create an article": "記事を作成する",
"Settings": "設定",
"Citations": "引用",
"Choose newswire items referenced in your article": "あなたの記事で参照されているニュースワイヤーアイテムを選択してください"
"Choose newswire items referenced in your article": "あなたの記事で参照されているニュースワイヤーアイテムを選択してください",
"RSS feed for your blog": "ブログのRSSフィード"
}

View File

@ -323,5 +323,6 @@
"Create an article": "Create an article",
"Settings": "Settings",
"Citations": "Citations",
"Choose newswire items referenced in your article": "Choose newswire items referenced in your article"
"Choose newswire items referenced in your article": "Choose newswire items referenced in your article",
"RSS feed for your blog": "RSS feed for your blog"
}

View File

@ -327,5 +327,6 @@
"Create an article": "Crie um artigo",
"Settings": "Definições",
"Citations": "Citações",
"Choose newswire items referenced in your article": "Escolha os itens de notícias mencionados em seu artigo"
"Choose newswire items referenced in your article": "Escolha os itens de notícias mencionados em seu artigo",
"RSS feed for your blog": "Feed RSS para o seu blog"
}

View File

@ -327,5 +327,6 @@
"Create an article": "Создать статью",
"Settings": "Настройки",
"Citations": "Цитаты",
"Choose newswire items referenced in your article": "Выберите элементы ленты новостей, на которые есть ссылки в вашей статье"
"Choose newswire items referenced in your article": "Выберите элементы ленты новостей, на которые есть ссылки в вашей статье",
"RSS feed for your blog": "RSS-канал для вашего блога"
}

View File

@ -327,5 +327,6 @@
"Create an article": "建立文章",
"Settings": "设定值",
"Citations": "引文",
"Choose newswire items referenced in your article": "选择文章中引用的新闻专栏文章"
"Choose newswire items referenced in your article": "选择文章中引用的新闻专栏文章",
"RSS feed for your blog": "您博客的RSS供稿"
}

View File

@ -3642,7 +3642,8 @@ def htmlProfile(rssIconAtTop: bool,
getLeftColumnContent(baseDir, 'news', domainFull,
httpPrefix, translate,
iconsDir, False,
False, None, rssIconAtTop, True)
False, None, rssIconAtTop, True,
True)
profileHeaderStr += ' </td>\n'
profileHeaderStr += ' <td valign="top" class="col-center">\n'
else:
@ -5681,7 +5682,8 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
httpPrefix: str, translate: {},
iconsDir: str, editor: bool,
showBackButton: bool, timelinePath: str,
rssIconAtTop: bool, showHeaderImage: bool) -> str:
rssIconAtTop: bool, showHeaderImage: bool,
frontPage: bool) -> str:
"""Returns html content for the left column
"""
htmlStr = ''
@ -5756,12 +5758,15 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
else:
# rss feed for all accounts on the instance
rssUrl = httpPrefix + '://' + domainFull + '/blog/rss.xml'
if not frontPage:
rssTitle = translate['RSS feed for your blog']
else:
rssTitle = translate['RSS feed for this site']
rssIconStr = \
' <a href="' + rssUrl + '">' + \
'<img class="' + editImageClass + \
'" loading="lazy" alt="' + \
translate['RSS feed for this site'] + \
'" title="' + translate['RSS feed for this site'] + \
'" loading="lazy" alt="' + rssTitle + \
'" title="' + rssTitle + \
'" src="/' + iconsDir + '/logorss.png" /></a>\n'
if rssIconAtTop:
htmlStr += rssIconStr
@ -6234,7 +6239,7 @@ def htmlLinksMobile(cssCache: {}, baseDir: str,
httpPrefix, translate,
iconsDir, editor,
False, timelinePath,
rssIconAtTop, False)
rssIconAtTop, False, False)
htmlStr += '</div>\n' + htmlFooter()
return htmlStr
@ -7124,7 +7129,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
getLeftColumnContent(baseDir, nickname, domainFull,
httpPrefix, translate, iconsDir,
editor, False, None, rssIconAtTop,
True)
True, False)
tlStr += ' <td valign="top" class="col-left">' + \
leftColumnStr + ' </td>\n'
# center column containing posts