From bdfcae57cdff19a9f5b6e50061465b19da333b46 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 24 Sep 2013 10:19:27 +0200 Subject: [PATCH] Bug 7298: (follow-up) fix translation for CSV strings Following the same way as bug 10935, the headers are in an include file. Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer Translatability tested successfully. Passes all tests. Signed-off-by: Galen Charlton --- .../prog/en/includes/csv_headers/acqui/lateorders.tt | 1 + .../intranet-tmpl/prog/en/modules/acqui/csv/lateorders.tt | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/acqui/lateorders.tt diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/acqui/lateorders.tt b/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/acqui/lateorders.tt new file mode 100644 index 0000000000..a235269f1b --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/acqui/lateorders.tt @@ -0,0 +1 @@ +ORDER DATE,ESTIMATED DELIVERY DATE,VENDOR,INFORMATION,TOTAL COST,BASKET,CLAIMS COUNT,CLAIMED DATE diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/csv/lateorders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/csv/lateorders.tt index f66ce67262..34d9db015d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/csv/lateorders.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/csv/lateorders.tt @@ -1,7 +1,4 @@ -[% USE KohaDates %] -LATE ORDERS -ORDER DATE,ESTIMATED DELIVERY DATE,VENDOR,INFORMATION,TOTAL COST,BASKET,CLAIMS COUNT,CLAIMED DATE - +[% USE KohaDates %][% INCLUDE csv_headers/acqui/lateorders.tt %] [% FOREACH o IN orders %]"[% o.orderdate %] ([% o.latesince %] days)","[% o.estimateddeliverydate | $KohaDates %]","[% o.supplier (o.supplierid) %]","[% o.title %] [% IF o.author %]Author: [% o.author %].[% END %][% IF o.publisher %]Published by: [% o.publisher %].[% END %]","[% o.unitpricesupplier %] x [% o.quantity_to_receive %] = [% o.subtotal %] ([% o.budget %])","[% o.basketname %] ([% o.basketno %])","[% o.claims_count %]","[% o.claimed_date %]" [% END %] -- 2.39.5