Move banner text icon from translation file
parent
67c46920fa
commit
76cbfeab06
|
@ -56,7 +56,7 @@
|
|||
"description": "For an wiki in English. See the bannerText message for more information. Include a leading space when appropriate."
|
||||
},
|
||||
"bannerVisit": {
|
||||
"message": "Visit $destination$ →",
|
||||
"message": "Visit $destination$",
|
||||
"description": "Text to display in the banner for the visit link",
|
||||
"placeholders": {
|
||||
"destination": {
|
||||
|
|
|
@ -210,7 +210,7 @@ function displayRedirectBanner(newUrl, id, destinationName, destinationLanguage,
|
|||
bannerWikiLink.classList.add('indie-wiki-banner-link');
|
||||
bannerText.appendChild(bannerWikiLink);
|
||||
bannerWikiLink.href = newUrl;
|
||||
bannerWikiLink.textContent = extensionAPI.i18n.getMessage('bannerVisit', [destinationName]);
|
||||
bannerWikiLink.textContent = extensionAPI.i18n.getMessage('bannerVisit', [destinationName]) + ' →';
|
||||
|
||||
// Function to insert banner into DOM before body element
|
||||
function addBannerToDOM() {
|
||||
|
|
Loading…
Reference in New Issue