From b94d2d97d2c0e852649e7be1de4acb2ca4f0e81d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 15 Apr 2015 10:54:48 +0200 Subject: [PATCH] Bug 10181: Make string translatable MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Joonas Kylmälä Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 49f2837b2e75511becd09059db99d209917647a7) Signed-off-by: Chris Cormack --- acqui/basket.pl | 2 -- acqui/invoice.pl | 2 -- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 6 +++++- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/acqui/basket.pl b/acqui/basket.pl index cfa803b5d8..8242228079 100755 --- a/acqui/basket.pl +++ b/acqui/basket.pl @@ -415,8 +415,6 @@ sub get_order_infos { my $seriestitle = $order->{'seriestitle'}; $line{'title'} .= " / $seriestitle" if $seriestitle; $line{'title'} .= " / $volume" if $volume; - } else { - $line{'title'} = "Deleted bibliographic notice, can't find title."; } my $biblionumber = $order->{'biblionumber'}; diff --git a/acqui/invoice.pl b/acqui/invoice.pl index c5090f2e3b..026fd13b9d 100755 --- a/acqui/invoice.pl +++ b/acqui/invoice.pl @@ -210,8 +210,6 @@ sub get_infos { my $seriestitle = $order->{'seriestitle'}; $line{'title'} .= " / $seriestitle" if $seriestitle; $line{'title'} .= " / $volume" if $volume; - } else { - $line{'title'} = "Deleted bibliographic notice, can't find title."; } return \%line; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index 47fefeb7e1..39b72065cf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -447,7 +447,11 @@

[% IF ( books_loo.order_received ) %] (rcvd)[% END %] - [% books_loo.title |html %] by [% books_loo.author %] + [% IF books_loo.title %] + [% books_loo.title |html %] by [% books_loo.author %] + [% ELSE %] + Deleted bibliographic record, can't find title
+ [% END %]
[% IF ( books_loo.isbn ) %] - [% books_loo.isbn %][% END %] [% IF ( books_loo.issn ) %] - [% books_loo.issn %][% END %] -- 2.39.5