[Koha-bugs] [Bug 5646] New: translated message names on sql level break messaging
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 21 13:27:25 CET 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5646
Summary: translated message names on sql level break messaging
Change sponsored?: ---
Product: Koha
Version: rel_3_2
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: P5
Component: I18N/L10N
AssignedTo: frederic at tamil.fr
ReportedBy: katrin.fischer at bsz-bw.de
QAContact: koha-bugs at lists.koha-community.org
Estimated Hours: 0.0
If you tranlate the message names in the installer sql files your messages will
stop working, because the code relies on those have a specific value.
- advance_notices.pl
- C4/Members/Messaging.pm
- C4/Form/MessagingPreferences.pm
...
In C4/Members/Messaging.pm I found following lines:
47 my $preferences = C4::Members::Messaging::GetMessagingPreferences( {
borrowernumber => $borrower->{'borrowernumber'},
48 message_name => 'DUE' } );
50 my $preferences = C4::Members::Messaging::GetMessagingPreferences( {
categorycode => 'LIBRARY',
51 message_name => 'DUE' } );
We don't have DUE as a message name in the en file. Bug?
Patch will undo my translation and other people's translations of those values.
This means message names in borrower category and borrower account are not
translatable at the moment. I think we need to change the templates to make
them translatable?
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the Koha-bugs
mailing list