From bb3299ce219d538cc2c3b0f41f535665fb901aff Mon Sep 17 00:00:00 2001 From: Emily O'Leary Date: Sun, 24 Mar 2013 22:16:12 -0400 Subject: [PATCH] Added i18n to my javascript changes as per trac #417 --- mediagoblin/static/js/comment_show.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediagoblin/static/js/comment_show.js b/mediagoblin/static/js/comment_show.js index cb69fccd..35183beb 100644 --- a/mediagoblin/static/js/comment_show.js +++ b/mediagoblin/static/js/comment_show.js @@ -22,7 +22,7 @@ function previewComment(){ content = $('#comment_content').val(); $.getJSON($('#previewURL').val(),JSON.stringify($('#comment_content').val()), function(data){ - $('#comment_preview').replaceWith("

Comment Preview


" + decodeURIComponent(data) + + $('#comment_preview').replaceWith("

{% trans -%}Comment Preview{%- endtrans %}


" + decodeURIComponent(data) + "
"); }); } -- 2.25.1