diff options
| author | czaks <marcin@6irc.net> | 2013-07-03 01:17:56 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-31 04:38:23 -0400 |
| commit | 4922828e35eca8b28135a681a6f5d0e9a93641fd (patch) | |
| tree | 843df7596485c02a582955e963243f0a1027a40c /js/expand.js | |
| parent | 0a97cf721584e352806354e2c5c6392175d89d7c (diff) | |
js i18n: expand.js
Diffstat (limited to 'js/expand.js')
| -rw-r--r-- | js/expand.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/expand.js b/js/expand.js index 6e5fa659..d5706643 100644 --- a/js/expand.js +++ b/js/expand.js @@ -17,7 +17,7 @@ $(document).ready(function(){ $('div.post.op span.omitted').each(function() { $(this) - .html($(this).text().replace(/Click reply to view\./, '<a href="javascript:void(0)">Click to expand</a>.')) + .html($(this).text().replace(_("Click reply to view."), '<a href="javascript:void(0)">'+_("Click to expand")+'</a>.')) .find('a').click(function() { var thread = $(this).parent().parent().parent(); var id = thread.attr('id').replace(/^thread_/, ''); @@ -40,7 +40,7 @@ $(document).ready(function(){ last_expanded = post_in_doc; } }); - $('<span class="omitted"><a href="javascript:void(0)">Hide expanded replies</a>.</span>') + $('<span class="omitted"><a href="javascript:void(0)">' + _('Hide expanded replies') + '</a>.</span>') .insertAfter(thread.find('span.omitted').css('display', 'none')) .click(function() { thread.find('.expanded').remove(); |
