Bugzilla – Attachment 80656 Details for
Bug 21571
Translate notices fail on ACCTDETAILS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21571: Make ACCTDETAILS translatable
Bug-21571-Make-ACCTDETAILS-translatable.patch (text/plain), 1.14 KB, created by
Jonathan Druart
on 2018-10-16 14:57:43 UTC
(
hide
)
Description:
Bug 21571: Make ACCTDETAILS translatable
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-10-16 14:57:43 UTC
Size:
1.14 KB
patch
obsolete
>From d9152605f4b93b289e277d9ea4fd2ad552e706aa Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 16 Oct 2018 11:51:40 -0300 >Subject: [PATCH] Bug 21571: Make ACCTDETAILS translatable > >This patch makes the notice "ACCTDETAILS" translatable. > >Test plan: >1. Switch on TranslateNotices and AutoEmailOpacUser >2. Define templates for different languages for ACCTDETAILS >3. Create a new patron, define an email address, userid and password. >Also pick a different "preferred language" then the default value >4. You should receive the email with the correct, translated, email. >--- > C4/Letters.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/Letters.pm b/C4/Letters.pm >index 4954067427..c2fff16da0 100644 >--- a/C4/Letters.pm >+++ b/C4/Letters.pm >@@ -527,6 +527,7 @@ sub SendAlerts { > module => 'members', > letter_code => $letter_code, > branchcode => $externalid->{'branchcode'}, >+ lang => $externalid->{lang} || 'default', > tables => { > 'branches' => $library, > 'borrowers' => $externalid->{'borrowernumber'}, >-- >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 21571
:
80656
|
82324
|
82729