summaryrefslogtreecommitdiff
path: root/js/hide-images.js
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-07-27 01:12:22 -0400
committerczaks <marcin@6irc.net>2013-07-27 01:12:22 -0400
commitd09ef2215433892dbd6e79fe41084dedd0e47931 (patch)
tree6b02149cae0cc3e6b4175180c8fcf8265f9fd352 /js/hide-images.js
parent880cf25366797affa6279508f3ba8779e3b6da46 (diff)
hide-images.js: javascript i18n
Diffstat (limited to 'js/hide-images.js')
-rw-r--r--js/hide-images.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/hide-images.js b/js/hide-images.js
index 7344cd8f..365ebac6 100644
--- a/js/hide-images.js
+++ b/js/hide-images.js
@@ -47,13 +47,13 @@ $(document).ready(function(){
var fileinfo = $(this).parent().prev();
var id = $(this).parent().parent().find('>p.intro>a.post_no:eq(1),>div.post.op>p.intro>a.post_no:eq(1)').text();
- var replacement = $('<span>File <small>(<a class="hide-image-link" href="javascript:void(0)">hide</a>)</small>: </span>');
+ var replacement = $('<span>'+_('File')+' <small>(<a class="hide-image-link" href="javascript:void(0)">'+_('hide')+'</a>)</small>: </span>');
replacement.find('a').click(function() {
hidden_data[board][id] = Math.round(Date.now() / 1000);
store_data();
- var show_link = $('<a class="show-image-link" href="javascript:void(0)">show</a>').click(function() {
+ var show_link = $('<a class="show-image-link" href="javascript:void(0)">'+_('show')+'</a>').click(function() {
delete hidden_data[board][id];
store_data();