From 911eb24b160a894274d4d640a5beb8bb759280cc Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Tue, 30 Mar 2010 11:17:58 +0200 Subject: [PATCH] (BUG #4350) parcel.tmpl: add Translatable text Signed-off-by: Galen Charlton --- .../intranet-tmpl/prog/en/modules/acqui/parcel.tmpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tmpl index 926740c31a..086d314f50 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tmpl @@ -32,7 +32,7 @@ function pendingCollapse() { $("#pendingcollapserow").remove(); $("#pendingt tbody.filterclass tr:gt(" + (rowsToCollapse-1) + ")").hide(); - $("#pendingt").before("

Only the first " + rowsToCollapse + " items are displayed. Click here to show all " + rowCountPending + " items<\/a>.<\/p>"); + $("#pendingt").before("

" + _("Only the first ") + rowsToCollapse + _(" items are displayed.") + "" + _("Click here to show all ") + rowCountPending + _(" items") + "<\/a>.<\/p>"); } @@ -40,21 +40,21 @@ function pendingExpand() { $("#pendingcollapserow").remove(); $("#pendingt tr").show(); - $("#pendingt").before("

" + rowCountPending + " items are displayed. Click here to show only the first " + rowsToCollapse + " items<\/a>.<\/p>"); + $("#pendingt").before("

" + rowCountPending + _(" items are displayed.") + "" + _("Click here to show only the first ") + rowsToCollapse + _(" items") + "<\/a>.<\/p>"); } // Collapse already received items table function receivedCollapse() { $("#receivedcollapserow").remove(); $("#receivedt tbody.filterclass tr:gt(" + (rowsToCollapse-1) + ")").hide(); - $("#receivedt").before("

Only the first " + rowsToCollapse + " items are displayed. Click here to show all " + rowCountReceived + " items<\/a>.<\/p>"); + $("#receivedt").before("

" + _("Only the first ") + rowsToCollapse + _(" items are displayed.") + "" + _("Click here to show all ") + rowCountReceived + _(" items") + "<\/a>.<\/p>"); } // Expand already received items table function receivedExpand() { $("#receivedcollapserow").remove(); $("#receivedt tr").show(); - $("#receivedt").before("

All " + rowCountReceived + " items are displayed. Click here to show only the first " + rowsToCollapse + " items<\/a>.<\/p>"); + $("#receivedt").before("

" + _("All ") + rowCountReceived + _(" items are displayed.") + "" + _("Click here to show only the first ") + rowsToCollapse + _(" items") + "<\/a>.<\/p>"); } // Launch filtering @@ -87,7 +87,7 @@ + '' + order.basketno + '' + ' ' + order.ordernumber + ' ' + '' - + '' + order.title + ' by ' + order.author + ' – ' + order.isbn + '' + + '' + order.title + '' + _(" by ") + order.author + ' – ' + order.isbn + '' + 'MARC | Card' + '' + order.quantity + '' + '' + order.ecost + '' -- 2.39.2