added translation to unread infinite loader

v1.18.x
psychobunny 11 years ago
parent 98cf6eec71
commit ceac8e2dc9

@ -74,15 +74,18 @@ define(function() {
var html = templates.prepare(templates['unread'].blocks['topics']).parse({
topics: topics
}),
container = $('#topics-container');
});
translator.translate(html, function(translatedHTML) {
var container = $('#topics-container');
$('#category-no-topics').remove();
html = $(html);
html = $(translatedHTML);
container.append(html);
$('span.timeago').timeago();
app.makeNumbersHumanReadable(html.find('.human-readable-number'));
});
}
function loadMoreTopics() {

Loading…
Cancel
Save