MediaWiki:Gadget-Hitcounter-text.js: Skillnad mellan sidversioner
Ingen redigeringssammanfattning |
Ingen redigeringssammanfattning |
||
| Rad 3: | Rad 3: | ||
var text = $('#footer-info-viewcount').text(); | var text = $('#footer-info-viewcount').text(); | ||
$('#footer-info-viewcount').text(text.replace(/\.$/, ' sedan | if ($('html').attr('lang') == 'sv') { | ||
$('#footer-info-viewcount').text(text.replace(/\.$/, ' sedan 2020-09-25.')); | |||
} else { | |||
$('#footer-info-viewcount').text(text.replace(/\.$/, ' since 2020-09-25.')); | |||
} | |||