From d09ef2215433892dbd6e79fe41084dedd0e47931 Mon Sep 17 00:00:00 2001 From: czaks Date: Sat, 27 Jul 2013 01:12:22 -0400 Subject: [PATCH] hide-images.js: javascript i18n --- js/hide-images.js | 4 ++-- 1 file 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 = $('File (hide): '); + var replacement = $(''+_('File')+' ('+_('hide')+'): '); replacement.find('a').click(function() { hidden_data[board][id] = Math.round(Date.now() / 1000); store_data(); - var show_link = $('show').click(function() { + var show_link = $(''+_('show')+'').click(function() { delete hidden_data[board][id]; store_data();