Bugzilla – Attachment 49178 Details for
Bug 13877
seasonal predictions showing wrong in test
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13877 - Make serialseq season name translatable regardless its position in a string
Bug-13877---Make-serialseq-season-name-translatabl.patch (text/plain), 3.65 KB, created by
Alex Arnaud
on 2016-03-15 15:37:04 UTC
(
hide
)
Description:
Bug 13877 - Make serialseq season name translatable regardless its position in a string
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2016-03-15 15:37:04 UTC
Size:
3.65 KB
patch
obsolete
>From 6b789b36b8e86bb9ca1f0896dd011ee2d0d47f67 Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Tue, 15 Mar 2016 16:36:28 +0100 >Subject: [PATCH] Bug 13877 - Make serialseq season name translatable > regardless its position in a string > >--- > .../prog/en/modules/serials/serials-collection.tt | 16 ++++++++-------- > .../prog/en/modules/serials/showpredictionpattern.tt | 16 ++++++++-------- > 2 files changed, 16 insertions(+), 16 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >index f4b6785..45615a2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >@@ -269,14 +269,14 @@ $(document).ready(function() { > </span> > </td> > <td> >- [% IF ( matches = serial.serialseq.match('Spring(.*)') ) %] >- Spring[% matches.join("") %] >- [% ELSIF ( matches = serial.serialseq.match('Summer(.*)') ) %] >- Summer[% matches.join("") %] >- [% ELSIF ( matches = serial.serialseq.match('Fall(.*)') ) %] >- Fall[% matches.join("") %] >- [% ELSIF ( matches = serial.serialseq.match('Winter(.*)') ) %] >- Winter[% matches.join("") %] >+ [% IF ( matches = serial.serialseq.match('(.*)Spring(.*)') ) %] >+ [% matches.0 %]Spring[% matches.1 %] >+ [% IF ( matches = serial.serialseq.match('(.*)Summer(.*)') ) %] >+ [% matches.0 %]Summer[% matches.1 %] >+ [% IF ( matches = serial.serialseq.match('(.*)Fall(.*)') ) %] >+ [% matches.0 %]Fall[% matches.1 %] >+ [% IF ( matches = serial.serialseq.match('(.*)Winter(.*)') ) %] >+ [% matches.0 %]Winter[% matches.1 %] > [% ELSE %] > [% serial.serialseq %] > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/showpredictionpattern.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/showpredictionpattern.tt >index db8a9ec..deed7d4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/showpredictionpattern.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/showpredictionpattern.tt >@@ -57,14 +57,14 @@ > [% FOREACH prediction IN predictions_loop %] > <tr> > <td> >- [% IF ( matches = prediction.number.match('Spring(.*)') ) %] >- Spring[% matches.join("") %] >- [% ELSIF ( matches = prediction.number.match('Summer(.*)') ) %] >- Summer[% matches.join("") %] >- [% ELSIF ( matches = prediction.number.match('Fall(.*)') ) %] >- Fall[% matches.join("") %] >- [% ELSIF ( matches = prediction.number.match('Winter(.*)') ) %] >- Winter[% matches.join("") %] >+ [% IF ( matches = prediction.number.match('(.*)Spring(.*)') ) %] >+ [% matches.0 %]Spring[% matches.1 %] >+ [% ELSIF ( matches = prediction.number.match('(.*)Summer(.*)') ) %] >+ [% matches.0 %]Summer[% matches.1 %] >+ [% ELSIF ( matches = prediction.number.match('(.*)Fall(.*)') ) %] >+ [% matches.0 %]Fall[% matches.1 %] >+ [% ELSIF ( matches = prediction.number.match('(.*)Winter(.*)') ) %] >+ [% matches.0 %]Winter[% matches.1 %] > [% ELSE %] > [% prediction.number %] > [% END %] >-- >2.7.0
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 13877
:
37019
|
37020
|
39228
|
45537
|
49178
|
50373
|
50572
|
50845
|
50895
|
50896