Bugzilla – Attachment 102869 Details for
Bug 23787
Add AUTO_RENEWALS in sample_notices.sql
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23787: Add AUTO_RENEALS sample notice to es-ES installer
Bug-23787-Add-AUTORENEALS-sample-notice-to-es-ES-i.patch (text/plain), 2.12 KB, created by
Andrew Fuerste-Henry
on 2020-04-13 16:12:15 UTC
(
hide
)
Description:
Bug 23787: Add AUTO_RENEALS sample notice to es-ES installer
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2020-04-13 16:12:15 UTC
Size:
2.12 KB
patch
obsolete
>From 2e280629cd993891678de57454e29ddcbfc627fd Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Mon, 13 Apr 2020 15:06:28 +0200 >Subject: [PATCH] Bug 23787: Add AUTO_RENEALS sample notice to es-ES installer > >Keeping this one separate as there is another bug to move >es-ES to use the new .yml based tanslation process. This >way this patch could be dropped easily if the other >bug makes it in first. > >Test plan of second patch applies. > >Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> >--- > .../data/mysql/es-ES/mandatory/sample_notices.sql | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > >diff --git a/installer/data/mysql/es-ES/mandatory/sample_notices.sql b/installer/data/mysql/es-ES/mandatory/sample_notices.sql >index 4ee0a6c800..d37cb003d9 100644 >--- a/installer/data/mysql/es-ES/mandatory/sample_notices.sql >+++ b/installer/data/mysql/es-ES/mandatory/sample_notices.sql >@@ -378,3 +378,24 @@ INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, > </tr> > </tfoot> > </table>', 'print', 'default'); >+ >+INSERT INTO letter (module, code, name, title, content, message_transport_type) VALUES ('circulation', 'AUTO_RENEWALS', 'Notification of automatic renewal', 'Automatic renewal notice', >+"Dear [% borrower.firstname %] [% borrower.surname %], >+[% IF checkout.auto_renew_error %] >+The following item, [% biblio.title %], has not been renewed because: >+[% IF checkout.auto_renew_error == 'too_many' %] >+You have reached the maximum number of checkouts possible. >+[% ELSIF checkout.auto_renew_error == 'on_reserve' %] >+This item is on hold for another patron. >+[% ELSIF checkout.auto_renew_error == 'restriction' %] >+You are currently restricted. >+[% ELSIF checkout.auto_renew_error == 'overdue' %] >+You have overdue items. >+[% ELSIF checkout.auto_renew_error == 'auto_too_late' %] >+It\'s too late to renew this item. >+[% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %] >+Your total unpaid fines are too high. >+[% END %] >+[% ELSE %] >+The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due %] >+[% END %]", 'email'); >-- >2.11.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 23787
:
93937
|
94968
|
100418
|
100486
|
100526
|
102731
|
102829
|
102830
|
102831
|
102868
|
102869
|
103763
|
104385
|
104675
|
104676
|
104677