[Bug 19629] New: No translatable notification in overdue notices
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19629 Bug ID: 19629 Summary: No translatable notification in overdue notices Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Tools Assignee: koha-bugs@lists.koha-community.org Reporter: sophie.meynieux@biblibre.com QA Contact: testopia@bugs.koha-community.org If PrintNoticesMaxLines is set and the number of overdue items is greater than this limit, then the phrase "List too long for form; please check your account online for a complete list of your overdue items." is added at the end of the letter. But this is not translatable, and not necessarily at the right place. Maybe it could be possible to use a placeholder (like <<items.content>>) to tell where to add this notification, and then make it translatable. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19629 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Will be easy to do using the TT syntax. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19629 Victor Grousset/tuxayo <victor.grousset@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |victor.grousset@biblibre.co | |m --- Comment #2 from Victor Grousset/tuxayo <victor.grousset@biblibre.com> --- (In reply to Jonathan Druart from comment #1)
Will be easy to do using the TT syntax.
Is this solution implementable without a major rework of how the letter is built? Relevant parts of the code: http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/over... http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/over... -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19629 --- Comment #3 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Take a look at bug 17967, and then if we can access to Koha.Preference from the notice template. I think it does not work but it can be done easily with: @ Letters.pm:1477 @ sub _process_tt { my $tt_params = { %{ _get_tt_params( $tables ) }, %{ _get_tt_params( $loops, 'is_a_loop' ) }, %$substitute }; - $content = qq|[% USE KohaDates %]$content|; + $content = qq|[% USE Koha %][% USE KohaDates %]$content|; -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19629 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=19912 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org