Node.js based forum software built for the modern web
translating parsed template in client side code
Julian Lam1a741da3d45c
diff --git a/public/src/admin/appearance/themes.js b/public/src/admin/appearance/themes.jsindex 17bae639d7..901f64b688 100644--- a/public/src/admin/appearance/themes.js+++ b/public/src/admin/appearance/themes.js@@ -76,8 +76,10 @@ define('admin/appearance/themes', function() {templates.parse('admin/partials/theme_list', {themes: themes}, function(html) {- instListEl.html(html);- highlightSelectedTheme(config['theme:id']);+ translator.translate(html, function(html) {+ instListEl.html(html);+ highlightSelectedTheme(config['theme:id']);+ });});}});