[Koha-bugs] [Bug 12509] Untranslatable "Restriction added by overdues process"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 7 15:30:09 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12509

--- Comment #3 from alonso morgane <morgane.alonso at biblibre.com> ---
Created attachment 52129
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52129&action=edit
Follow-up Bug 12509 - Untranslatable : Fix problem with Restriction added by
overdues process

Changes the value of the "comment" column in "borrower_debarments" table from
"Restriction added by overdues process yyyy-mm-dd hh:mm:ss" to "OVERDUE_PROCESS
yyyy-mm-dd hh:mm:ss" in the overdue_notices.pl. Then in the templates
"moremember.tt", "circulation.tt", "memberentrygen.tt", "opac-reserve.tt" and
"opac-user.tt" the value of "comment" is check, if it's an automatical comment
due to overdue process it'll write "Restriction added by overdues process
yyyy-mm-dd hh:mm:ss", then if there is a customizable comment it will be
written without modification. Like this, the comment "Restriction added by
overdues process" is written in the po files and can be translated later.

To test:
1) create a patron with automatical restriction due to overdue process;
2) apply patch;
3) run misc/cronjobs/overdue_notices.pl;
4) verify if the comment "Restriction added by overdues process" is well
written and translatable on the following page :
    - opac patron home page (opac-user.tt);
    - opac item reservation page (opac-reserve.tt);
    - pro patron page (moremember.tt);
    - reservation item for a patron (circulation.tt, memberentrygen.tt);
5) try to translate the comment in po files;
6) sign off.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list