projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ab6029
)
Added i18n to my javascript changes as per trac #417
author
Emily O'Leary
<lotusecho@ThinkLotus>
Mon, 25 Mar 2013 02:16:12 +0000
(22:16 -0400)
committer
Rodney Ewing
<ewing.rj@gmail.com>
Wed, 7 Aug 2013 23:33:09 +0000
(16:33 -0700)
mediagoblin/static/js/comment_show.js
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/static/js/comment_show.js
b/mediagoblin/static/js/comment_show.js
index cb69fccd2032c8cc43c3ff3488e7cf1d6f96c911..35183beb1811234f81c60e4cd3f5451bfc55cbdd 100644
(file)
--- 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>");
});
}