diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-05 15:48:18 +0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-06 01:26:23 +0800 |
commit | a46c4a64312e0cfbf2e6888742f8136f98b6bc7d (patch) | |
tree | a58a95d7f0f0ae29d894cb06cf1f1f4ff0257d08 /themes/default/js | |
parent | 7612c8d4045bb8347c8f0548269d8cc7a028bc4a (diff) |
Localize the 'Add a comment' message
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
Diffstat (limited to 'themes/default/js')
-rw-r--r-- | themes/default/js/ui.init.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/js/ui.init.js b/themes/default/js/ui.init.js index ae6f1966..9d9d3079 100644 --- a/themes/default/js/ui.init.js +++ b/themes/default/js/ui.init.js @@ -12,7 +12,7 @@ var shortForms = new Array( ); $(document).ready(function() { - + // Initialize Superfish menus $("ul.gMenu").addClass("sf-menu"); $('ul.sf-menu').superfish({ @@ -64,7 +64,7 @@ $(document).ready(function() { // Collapse comments form, insert button to expand if ($("#gAddCommentForm").length) { - var showCommentForm = '<a href="#add_comment_form" class="showCommentForm gButtonLink ui-corner-all ui-icon-left ui-state-default right"><span class="ui-icon ui-icon-comment"></span>Add a comment</a>'; + var showCommentForm = '<a href="#add_comment_form" class="showCommentForm gButtonLink ui-corner-all ui-icon-left ui-state-default right"><span class="ui-icon ui-icon-comment"></span>' + ADD_A_COMMENT + '</a>'; $("#gAddCommentForm").hide(); $("#gComments").prepend(showCommentForm); $(".showCommentForm").click(function(){ |