Bug 10181: Make string translatable
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 15 Apr 2015 08:54:48 +0000 (10:54 +0200)
committerLiz Rea <wizzyrea@gmail.com>
Mon, 16 Nov 2015 23:32:04 +0000 (12:32 +1300)
Signed-off-by: Joonas Kylmälä <j.kylmala@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 49f2837b2e75511becd09059db99d209917647a7)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit b94d2d97d2c0e852649e7be1de4acb2ca4f0e81d)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>

acqui/basket.pl
acqui/invoice.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt

index 9f8b831..f6e21d7 100755 (executable)
@@ -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'};
index bc09ed5..cb2ec8f 100755 (executable)
@@ -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;
index 65c6ab8..1e06ccd 100644 (file)
                         <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 %]