diff --git a/static/skin/i18n/en.json b/static/skin/i18n/en.json index cd5f71b46..1e6c97ad0 100644 --- a/static/skin/i18n/en.json +++ b/static/skin/i18n/en.json @@ -43,4 +43,5 @@ , "magnet-alt-text": "download magnet" , "torrent-download-link-text": "Torrent file" , "torrent-download-alt-text": "download torrent" + , "library-opds-feed": "Library OPDS Feed" } diff --git a/static/skin/i18n/qqq.json b/static/skin/i18n/qqq.json index 752ae1050..1a7fe6ffb 100644 --- a/static/skin/i18n/qqq.json +++ b/static/skin/i18n/qqq.json @@ -45,4 +45,5 @@ , "magnet-alt-text": "Hint for the icon of a magnet link" , "torrent-download-link-text": "Link text for downloading the torrent file" , "torrent-download-alt-text": "Hint for the icon of torrent download" + , "library-opds-feed": "Hint for the library OPDS feed link" } diff --git a/static/skin/i18n/test.json b/static/skin/i18n/test.json index 7b0857bae..46ccb8306 100644 --- a/static/skin/i18n/test.json +++ b/static/skin/i18n/test.json @@ -32,4 +32,5 @@ , "magnet-alt-text": "download [I18N TESTING] magnet" , "torrent-download-link-text": "Torrent [I18N TESTING] file" , "torrent-download-alt-text": "download [I18N TESTING] torrent" + , "library-opds-feed": "Library [I18N] OPDS [TESTING] Feed" } diff --git a/static/skin/index.js b/static/skin/index.js index de047f592..072ab59ab 100644 --- a/static/skin/index.js +++ b/static/skin/index.js @@ -475,6 +475,11 @@ document.getElementById('searchButton').value = searchText; document.getElementById('categoryFilter').children[0].innerHTML = $t("book-filtering-all-categories"); document.getElementById('languageFilter').children[0].innerHTML = $t("book-filtering-all-languages"); + const feedLogoElem = document.getElementById('feedLogo'); + const libraryOpdsFeedHint = $t("library-opds-feed"); + for (const attr of ["alt", "aria-label", "title"] ) { + feedLogoElem.setAttribute(attr, libraryOpdsFeedHint); + } } async function onload() { diff --git a/static/templates/index.html b/static/templates/index.html index 6096c7015..aae63a6a1 100644 --- a/static/templates/index.html +++ b/static/templates/index.html @@ -10,11 +10,11 @@ href="{{root}}/skin/index.css?KIWIXCACHEID" rel="Stylesheet" /> - @@ -45,7 +45,12 @@
-