Bugzilla – Attachment 137664 Details for
Bug 30992
Hard to translate single word strings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30992: Improve translatability for Waiting at|On hold
Bug-30992-Improve-translatability-for-Waiting-atOn.patch (text/plain), 4.42 KB, created by
Jonathan Druart
on 2022-07-13 06:02:31 UTC
(
hide
)
Description:
Bug 30992: Improve translatability for Waiting at|On hold
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-07-13 06:02:31 UTC
Size:
4.42 KB
patch
obsolete
>From 13064b41faffd8f628f69138d89db230645f1928 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 13 Jul 2022 08:01:34 +0200 >Subject: [PATCH] Bug 30992: Improve translatability for Waiting at|On hold > >--- > .../bootstrap/en/modules/opac-reserve.tt | 20 ++++--------------- > opac/opac-reserve.pl | 2 +- > 2 files changed, 5 insertions(+), 17 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >index e16095740e0..0d881b1fafe 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >@@ -438,24 +438,12 @@ > [% IF ( itemLoo.reservedate ) %] > <span class="waiting"> > [% IF ( itemLoo.waitingdate ) %] >- <span>Waiting</span> >+ <span>Waiting for patron at [% itemLoo.ExpectedAtLibrary | html %] since [% itemLoo.waitingdate | $KohaDates %]</span> >+ [% ELSIF ( itemLoo.reservedate ) %] >+ <span>On hold for patron expected at [% itemLoo.ExpectedAtLibrary | html %] since [% itemLoo.reservedate | $KohaDates %]</span> > [% ELSE %] >- <span>On hold</span> >+ <span>On hold for patron expected at [% itemLoo.ExpectedAtLibrary | html %] since [% itemLoo.waitingdate | $KohaDates %]</span> > [% END %] >- <span>for patron</span> >- [% IF ( itemLoo.waitingdate ) %] >- <span>at</span> >- [% ELSE %] >- <span>expected at</span> >- [% END %] >- [% itemLoo.ExpectedAtLibrary | html %] <span>since</span> >- [% IF ( itemLoo.waitingdate ) %] >- [% itemLoo.waitingdate | $KohaDates %] >- [% ELSE %] >- [% IF ( itemLoo.reservedate ) %] >- [% itemLoo.reservedate | html %] >- [% END %] >- [% END %]. > </span> > [% ELSE %] > <span class="notonhold">Not on hold</span> >diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl >index e62a3ba9afd..fe4da033197 100755 >--- a/opac/opac-reserve.pl >+++ b/opac/opac-reserve.pl >@@ -515,7 +515,7 @@ foreach my $biblioNum (@biblionumbers) { > > if ( my $first_hold = $holds->next ) { > $itemLoopIter->{backgroundcolor} = 'reserved'; >- $itemLoopIter->{reservedate} = output_pref({ dt => dt_from_string($first_hold->reservedate), dateonly => 1 }); # FIXME Should be formatted in the template >+ $itemLoopIter->{reservedate} = $first_hold->reservedate, > $itemLoopIter->{ExpectedAtLibrary} = $first_hold->branchcode; > $itemLoopIter->{waitingdate} = $first_hold->waitingdate; > } >-- >2.25.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30992
:
137664
|
137665
|
137666
|
137667
|
137855
|
138393
|
138394
|
138661
|
138662
|
138764