From 75c7dbb4a770830d78129608344c8a09ee7f567d 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=UTF-8 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 (cherry picked from commit b94d2d97d2c0e852649e7be1de4acb2ca4f0e81d) Signed-off-by: Liz Rea --- 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 9f8b831ff7..f6e21d72e4 100755 --- a/acqui/basket.pl +++ b/acqui/basket.pl @@ -478,8 +478,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 bc09ed5061..cb2ec8f781 100755 --- a/acqui/invoice.pl +++ b/acqui/invoice.pl @@ -219,8 +219,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 65c6ab8ae1..1e06ccd20a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -466,7 +466,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 %]