From cfb77c8a53d3f4385fc829d28ec0d8b04b76c939 Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@biblibre.com>
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ä <j.kylmala@gmail.com>
---
 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 6805e9e..5fa94f8 100755
--- a/acqui/basket.pl
+++ b/acqui/basket.pl
@@ -417,8 +417,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 c5090f2..026fd13 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 de16aa0..6c67fbc 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt
@@ -453,7 +453,11 @@
                         <td>
                             <p>
                                 [% IF ( books_loo.order_received ) %] (rcvd)[% END %]
-                                <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% books_loo.biblionumber %]">[% books_loo.title |html %]</a> by [% books_loo.author %]
+                                [% IF books_loo.title %]
+                                    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% books_loo.biblionumber %]">[% books_loo.title |html %]</a> by [% books_loo.author %]
+                                [% ELSE %]
+                                    <em>Deleted bibliographic record, can't find title</em><br />
+                                [% END %]
                                 <br />
                                 [% IF ( books_loo.isbn ) %] - [% books_loo.isbn %][% END %]
                                 [% IF ( books_loo.issn ) %] - [% books_loo.issn %][% END %]
-- 
2.1.0