"running-version":"You are running <strong>NodeBB v<span id=\"version\">%1</span></strong>.",
"keep-updated":"Always make sure that your NodeBB is up to date for the latest security patches and bug fixes.",
"up-to-date":"<p>You are <strong>up-to-date</strong> <i class=\"fa fa-check\"></i></p>",
"upgrade-available":"<p>A new version (v%1) has been released. Consider <a href=\"https://docs.nodebb.org/en/latest/upgrading/index.html\">upgrading your NodeBB</a>.</p>",
"prerelease-upgrade-available":"<p>This is an outdated pre-release version of NodeBB. A new version (v%1) has been released. Consider <a href=\"https://docs.nodebb.org/en/latest/upgrading/index.html\">upgrading your NodeBB</a>.</p>",
"prerelease-warning":"<p>This is a <strong>pre-release</strong> version of NodeBB. Unintended bugs may occur. <i class=\"fa fa-exclamation-triangle\"></i></p>",
checkEl.append('<p>A new version (v'+latestVersion+') has been released. Consider <a href="https://docs.nodebb.org/en/latest/upgrading/index.html">upgrading your NodeBB</a>.</p>');
text ='[[admin/general/dashboard:upgrade-available, '+latestVersion+']]';
}else{
checkEl.append('<p>This is an outdated pre-release version of NodeBB. A new version (v'+latestVersion+') has been released. Consider <a href="https://docs.nodebb.org/en/latest/upgrading/index.html">upgrading your NodeBB</a>.</p>');
text ='[[admin/general/dashboard:prerelease-upgrade-available, '+latestVersion+']]';
checkEl.append('<p>This is a <strong>pre-release</strong> version of NodeBB. Unintended bugs may occur. <i class="fa fa-exclamation-triangle"></i>.</p>');
text ='[[admin/general/dashboard:prerelease-warning]]';
}
translator.translate(text,function(text){
checkEl.append(text);
});
});
$('[data-toggle="tooltip"]').tooltip();
@ -92,26 +97,28 @@ define('admin/general/dashboard', ['semver', 'Chart'], function (semver, Chart)