From 89d34a7c48ef6934556494de6d3fcf8113487478 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 18 Jun 2008 11:24:58 -0500 Subject: [PATCH] A better fix for Bug 2229, I think. Text inside basket.js can be translated fine, this instance simply lacked the call to the dummy function for gettext. It's important /not/ to have the "Cart" text in masthead.inc because there should be no Cart link for users with javascript turned off. Signed-off-by: Joshua Ferraro --- koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc | 2 +- koha-tmpl/opac-tmpl/prog/en/js/basket.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc index 3fcd68e0ab..bc384f5801 100755 --- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc @@ -65,7 +65,7 @@ -Cart + Lists diff --git a/koha-tmpl/opac-tmpl/prog/en/js/basket.js b/koha-tmpl/opac-tmpl/prog/en/js/basket.js index a2eb4b4d48..856c6a6654 100644 --- a/koha-tmpl/opac-tmpl/prog/en/js/basket.js +++ b/koha-tmpl/opac-tmpl/prog/en/js/basket.js @@ -425,7 +425,7 @@ function hideCart(){ } $("#cartDetails").ready(function(){ - $("#cmspan").html("\"\" Cart"); + $("#cmspan").html("\"\" "+_("Cart")+""); $("#cartDetails,#cartmenulink").click(function(){ hideCart(); }); $("#cartmenulink").click(function(){ openBasket(); return false; }); $("#cartmenulink").hoverIntent(function(){ -- 2.39.5