projects
/
evergreen
/
equinox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de4e782
)
if no locale config is present in oils_web, assume en_US exists and is valid
author
berick
<berick@esilibrary.com>
Wed, 9 Feb 2011 17:29:26 +0000
(12:29 -0500)
committer
Bill Erickson
<berick@esilibrary.com>
Wed, 20 Jul 2011 18:25:04 +0000
(14:25 -0400)
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm
patch
|
blob
|
history
diff --git
a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm
b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm
index
800c312
..
17b226d
100644
(file)
--- a/
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm
+++ b/
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm
@@
-246,6
+246,8
@@
sub load_locale_handlers {
my $ctx = shift;
my $locales = $ctx->{locales};
+ $locales->{en_US} = {} unless exists $locales->{en_US};
+
for my $lang (keys %$locales) {
my $messages = $locales->{$lang};
$messages = '' if ref $messages; # empty {}