|
|
@ -67,7 +67,7 @@ define(function() {
|
|
|
|
|
|
|
|
|
|
|
|
function parseAndTranslate(posts, callback) {
|
|
|
|
function parseAndTranslate(posts, callback) {
|
|
|
|
ajaxify.loadTemplate('home', function(homeTemplate) {
|
|
|
|
ajaxify.loadTemplate('home', function(homeTemplate) {
|
|
|
|
var html = templates.parse(templates.getBlock(homeTemplate, 'categories.posts'), {categories: {posts: posts}});
|
|
|
|
var html = templates.parse(templates.getBlock(homeTemplate, 'posts'), {categories: {posts: posts}});
|
|
|
|
|
|
|
|
|
|
|
|
translator.translate(html, function(translatedHTML) {
|
|
|
|
translator.translate(html, function(translatedHTML) {
|
|
|
|
translatedHTML = $(translatedHTML);
|
|
|
|
translatedHTML = $(translatedHTML);
|
|
|
|