Bug 7298: (follow-up) fix translation for CSV strings
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 24 Sep 2013 08:19:27 +0000 (10:19 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 31 Oct 2013 15:51:45 +0000 (15:51 +0000)
Following the same way as bug 10935, the headers are in an include file.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Translatability tested successfully.
Passes all tests.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/acqui/lateorders.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/csv/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 (file)
index 0000000..a235269
--- /dev/null
@@ -0,0 +1 @@
+ORDER DATE,ESTIMATED DELIVERY DATE,VENDOR,INFORMATION,TOTAL COST,BASKET,CLAIMS COUNT,CLAIMED DATE
index f66ce67..34d9db0 100644 (file)
@@ -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 %]