diff options
| author | czaks <marcin@6irc.net> | 2013-07-03 01:04:08 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-31 04:13:29 -0400 |
| commit | 61a305a1a27d414072b0de24441c07b1630c3075 (patch) | |
| tree | 71d05ca445168ed891bd5355d11cd8cf732b23f3 /js/quick-reply.js | |
| parent | 701cf42eef17963fc57159e5383c020e76c0181f (diff) | |
js i18n: misc fixes; quick-reply.js i18n
Conflicts:
tools/i18n_compile.php
Diffstat (limited to 'js/quick-reply.js')
| -rw-r--r-- | js/quick-reply.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/quick-reply.js b/js/quick-reply.js index bc36ca48..ea504b48 100644 --- a/js/quick-reply.js +++ b/js/quick-reply.js @@ -17,7 +17,7 @@ $(document).ready(function(){ return; // not index txt_new_topic = $('form[name=post] input[type=submit]').val(); - txt_new_reply = txt_new_topic == 'Submit' ? txt_new_topic : new_reply_string; + txt_new_reply = txt_new_topic == _('Submit') ? txt_new_topic : new_reply_string; undo_quick_reply = function() { $('div.banner').remove(); @@ -27,9 +27,9 @@ $(document).ready(function(){ $('div.post.op').each(function() { var id = $(this).children('p.intro').children('a.post_no:eq(1)').text(); - $('<a href="?/b/res/69.html">[Quick reply]</a>').insertAfter($(this).children('p.intro').children('a:last')).click(function() { + $('<a href="#">['+_("Quick reply")+']</a>').insertAfter($(this).children('p.intro').children('a:last')).click(function() { $('div.banner').remove(); - $('<div class="banner">Posting mode: Replying to <small>>>' + id + '</small> <a class="unimportant" onclick="undo_quick_reply()" href="javascript:void(0)">[Return]</a></div>') + $('<div class="banner">'+fmt(_("Posting mode: Replying to <small>>>{0}</small>"), [id])+' <a class="unimportant" onclick="undo_quick_reply()" href="javascript:void(0)">['+_("Return")+']</a></div>') .insertBefore('form[name=post]'); $('form[name=post] input[type=submit]').val(txt_new_reply); |
