Bug 11283: make restriction type translatable
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 22 Nov 2013 13:54:10 +0000 (08:54 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 27 Nov 2013 16:47:42 +0000 (16:47 +0000)
commit3a76f4298c0fb298cca0db31b04c0d8d5c028531
tree5fc70c294ab916ad2c412b64825d936ee0d49d48
parent71a3516d211600d35e4ddeef45f5403affc09598
Bug 11283: make restriction type translatable

The new restrictions system has different types:
MANUAL, OVERDUES and SUSPENSION.

Those are shown in the interface and seem to come directly from the
database, so they are not translatable.

As they are hardcoded translations should be possible and be handled in
the template.

Test Plan:
1) Create a patron with one of each type of restriction
2) Apply this patch
3) Note you see the type with only the first letter capitialized,
   this indicates you are seeing the translatable string

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script. Strings now appear in
updated po files:
  msgid "%s %s Manual %s Overdues %s Suspension %s "

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc