This repository has been archived on 2024-07-18. You can view files and clone it, but cannot push or open issues or pull requests.
lwb5/site/static/beta5/js/pg_universe-en.js

21 lines
440 B
JavaScript
Raw Normal View History

2016-01-10 11:01:49 +01:00
function makeNextText(name)
{
return "Next " + name + ": ";
}
function drawRoundRankings(points,rank)
{
var str;
if (points == "")
str = 'You are too weak to be in the overall round rankings.';
else
str = 'Your overall round ranking is <b>#' + formatNumber(rank) + '</b> (<b>' + formatNumber(points) + '</b> points)';
document.getElementById('rndrank').innerHTML = str;
}
function getDaysText(p)
{
return "day" + (p?'s':'');
}