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 ++-- themes/default/views/photo.html.php | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'themes') 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(){ diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index 85143da8..cc4cc750 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -41,5 +41,8 @@
description) ?>
+ photo_bottom() ?> -- cgit v1.2.3