From b30645e36c0ed6db1c80459a8316a8ec967d5db9 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Fri, 5 Jun 2009 00:48:18 -0700 Subject: Localize the 'Add a comment' message --- themes/default/js/ui.init.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'themes/default/js/ui.init.js') 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 = 'Add a comment'; + var showCommentForm = '' + ADD_A_COMMENT + ''; $("#gAddCommentForm").hide(); $("#gComments").prepend(showCommentForm); $(".showCommentForm").click(function(){ -- cgit v1.2.3