]> git.evergreen-ils.org Git - Evergreen.git/commit
Tpac; hold error message 18n string extraction repairs
authorBill Erickson <berick@esilibrary.com>
Wed, 2 Nov 2011 13:47:04 +0000 (09:47 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 4 Nov 2011 20:56:42 +0000 (16:56 -0400)
commit4a13d896946250245e6866357c1b2ce134c01417
tree2f77669aa584d5785220496d7dc0ede15f743f15
parent481133f0b0433ff373dcf2eb88c8bb1645bb5c2d
Tpac; hold error message 18n string extraction repairs

Make it possible for xgettext.pl (using
Locale::Maketext::Extract::Plugin::TT2) to extract hold error
message strings for translation.  The plugin is not quite
smart enough to extract wholly dynamic values from the templates, since
it (presumably) only parses the templates and does not execute them.
The solution is to wrap the strings in l() where they are defined.

Add an example for the EVENT_MSG_MAP for the event PATRON_EXCEEDS_FINES.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/templates/opac/parts/hold_error_messages.tt2
Open-ILS/src/templates/opac/parts/place_hold_result.tt2