From 49f2837b2e75511becd09059db99d209917647a7 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 --- 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 6805e9e6ee..5fa94f86ef 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 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 de16aa0463..6c67fbc3e4 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 @@

[% 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