User:WikiaPhoenix/global.js

// Abbreviates the title of the edit summary if the minor edit checkbox is available. if (document.getElementById('wpMinoredit') !== null){ document.getElementsByClassName("wpSummary_canMinorEdit")[0].innerHTML = "Red.sammanfattning"; }

// Translates the title of the Top Pages box. document.getElementsByClassName("top-wiki-main header-test-1")[0].innerHTML = "Populäraste sidorna";

// Translates the left navigation bar in the search results. document.getElementsByClassName("articles")[0].innerHTML = "Artiklar"; document.getElementsByClassName("photos-and-videos")[0].innerHTML = "Foton och videor"; document.getElementsByClassName("people")[0].innerHTML = "Personer";

// Translates the Insights menu in the WikiActivity document.getElementsByClassName("insights-module-item insights-icon-uncategorizedpages")[0].innerHTML = "Sidor utan kategorier";

// Translates the "Back" button during edit mode. document.getElementsByClassName("wikia-button secondary")[0].innerHTML = "Tillbaka";

// Translates the "Pages" count. document.getElementsByClassName("wds-community-header__counter-label")[0].innerHTML = "sidor";

// Translates the "Pages" count. document.getElementsByClassName("wds-button wds-is-secondary wds-global-navigation__link-button")[0].innerHTML = "Starta en wiki";