aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmily O'Leary <lotusecho@ThinkLotus>2013-03-24 22:16:12 -0400
committerRodney Ewing <ewing.rj@gmail.com>2013-08-07 16:33:09 -0700
commitbb3299ce219d538cc2c3b0f41f535665fb901aff (patch)
treea6256958b946c42fd6b097e247eae62bfbd51b6b
parent5ab60299619557307cf38aa14824c8576f23f21c (diff)
downloadmediagoblin-bb3299ce219d538cc2c3b0f41f535665fb901aff.tar.lz
mediagoblin-bb3299ce219d538cc2c3b0f41f535665fb901aff.tar.xz
mediagoblin-bb3299ce219d538cc2c3b0f41f535665fb901aff.zip
Added i18n to my javascript changes as per trac #417
-rw-r--r--mediagoblin/static/js/comment_show.js2
1 files changed, 1 insertions, 1 deletions
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("<div id=comment_preview><h3>Comment Preview</h3><br />" + decodeURIComponent(data) +
+ $('#comment_preview').replaceWith("<div id=comment_preview><h3>{% trans -%}Comment Preview{%- endtrans %}</h3><br />" + decodeURIComponent(data) +
"<hr style='border: 1px solid #333;' /></div>");
});
}