mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-04 21:15:55 +01:00
admin/manage translations, misc
- Translate Manage templates and JS - Change `translator.translate -> .html` into `.translateHtml` where fitting - Translate `admin/partials/download_plugin_item`
This commit is contained in:
committed by
Julian Lam
parent
94eb74646c
commit
038c45f4b6
@@ -116,9 +116,7 @@ define('admin/general/dashboard', ['semver', 'Chart', 'translator'], function (s
|
||||
updatePresenceGraph(data.users);
|
||||
updateTopicsGraph(data.topics);
|
||||
|
||||
translator.translate(html, function (html) {
|
||||
$('#active-users').html(html);
|
||||
});
|
||||
$('#active-users').translateHtml(html);
|
||||
};
|
||||
|
||||
var graphs = {
|
||||
|
||||
Reference in New Issue
Block a user