Bug 2546: make description of standard fine types translatable
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 23 Oct 2013 10:40:30 +0000 (12:40 +0200)
committerFridolin SOMERS <fridolin.somers@biblibre.com>
Tue, 17 Dec 2013 17:19:54 +0000 (18:19 +0100)
commiteb691ef6025d90b8f2ed3132d4b928a18887b20c
tree687be9a04d07107509fa7f28448134026fdb754e
parent8b037651780d86f6fc0576abe1a665a379a8a443
Bug 2546: make description of standard fine types translatable

The descriptions for fines are stored in English in the DB
(accountlines.description). So they are not translatable.

This patch removes the descriptions automatically added and generates
the string in the template.

Test plan:
1/ Execute the updatedatabase entry.
2/ Verify in the following pages the description is consistent:
    - members/pay.pl?borrowernumber=XXXX
    - members/boraccount.pl?borrowernumber=XXXX
    - opac-account.pl
3/ Launch the translate script and update the po files in order to
translate the new strings.
4/ Verify the strings are translated in the interface.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Works as advertised. Corrected few typos in the commit message.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 8aa0e6856dbd61bb61b1a2a0c88ec03adf65e3c7)
Signed-off-by: Fridolin SOMERS <fridolin.somers@biblibre.com>
C4/Accounts.pm
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-account.tt