Make tpac cache locale-aware
authorBill Erickson <berick@esilibrary.com>
Fri, 17 Aug 2012 14:11:50 +0000 (10:11 -0400)
committerBill Erickson <berick@esilibrary.com>
Mon, 20 Aug 2012 20:15:24 +0000 (16:15 -0400)
commitabc81e460aa2ca8c0a88f94adeedfe6f1508f998
treebb0db5a864447a69dbb10e392a47dbf72d98e441
parenta2521d36859d4062383e48e1bf5389ceb950c7e1
Make tpac cache locale-aware

Add a locale level to the TPAC object cache.  Each component of the
cache now looks like $cache{$component}{$locale}{stuff...}

e.g. $cache{list}{en_ca}{aout} = [...] # en_ca-fetched org unit types

The calling code in the templates requires no changes (abstraction
FTW).

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm