diff options
| author | czaks <marcin@6irc.net> | 2013-07-27 01:12:22 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-31 04:42:07 -0400 |
| commit | e648121e4ad07aadec7579d62a56190ca19d3fe5 (patch) | |
| tree | 972916b9fd7a9a097fcb2b54dff48099207766e4 /js | |
| parent | a1b739b818eef2aa17846cd171f04e21dc7d34e4 (diff) | |
hide-images.js: javascript i18n
Diffstat (limited to 'js')
| -rw-r--r-- | js/hide-images.js | 4 |
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(); |
