[Koha-patches] [PATCH] BUG 3625: untranslatable strings in opac-shelves.tmpl
Katrin Fischer
katrin.fischer.83 at web.de
Mon Sep 14 23:09:37 CEST 2009
select all, clear all, tag, place hold
---
.../opac-tmpl/prog/en/modules/opac-shelves.tmpl | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl
index 5458799..4b8429a 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl
@@ -72,10 +72,10 @@ function tagAdded() {
}
$(function() {
- $("span.clearall").html("<a id=\"CheckNone\" href=\"#\">Clear All<\/a>");
- $("span.checkall").html("<a id=\"CheckAll\" href=\"#\">Select All<\/a>");
+ $("span.clearall").html("<a id=\"CheckNone\" href=\"#\">"+_('Clear All')+"<\/a>");
+ $("span.checkall").html("<a id=\"CheckAll\" href=\"#\">"+_('Select All')+"<\/a>");
$(".sendlist").show();
- <!-- TMPL_IF NAME="RequestOnOpac" -->$("#placehold").html("<a href=\"#\" class=\"hold tag_hides\">Place Hold<\/a>");
+ <!-- TMPL_IF NAME="RequestOnOpac" -->$("#placehold").html("<a href=\"#\" class=\"hold tag_hides\">"+_('Place Hold')+"<\/a>");
$("a.hold").click(function(){
holdSelections();
return false;
@@ -116,7 +116,7 @@ $(function() {
tagSelected();
return false;
});
- $("#addtags").html("<a id=\"tagsel_tag\" href=\"#\">Tag<\/a>");
+ $("#addtags").html("<a id=\"tagsel_tag\" href=\"#\">"+_("Tag")+"<\/a>");
$("#tagsel_button").click(function(){
tagAdded();
return false;
--
1.6.0.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-BUG-3625-untranslatable-strings-in-opac-shelves.tmp.patch
Type: text/x-patch
Size: 1771 bytes
Desc: not available
URL: </pipermail/koha-patches/attachments/20090914/bfc91245/attachment-0002.bin>
More information about the Koha-patches
mailing list