Support multiple languages in the lookup for event descriptions.
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 16 Mar 2010 01:14:16 +0000 (01:14 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 16 Mar 2010 01:14:16 +0000 (01:14 +0000)
commitd4abe1c111e8ae6316601eaa2a5654a1b90b3649
tree63f051f64e2714d4940a4c2b4ae5e92b8b1fdc26
parentb40ea6efef2d9b0bb1b7cc234f85572e684791b1
Support multiple languages in the lookup for event descriptions.

Capture the current locale, which reflects the message most
recently received, and confine the lookup to messages in that
language.  If you don't find a description, and the language is
different from the default language (hard-coded as "en-US"),
try again with the default language.

Also: eliminate a needless memset().

M    Open-ILS/src/c-apps/oils_event.c

git-svn-id: svn://svn.open-ils.org/ILS/trunk@15852 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/c-apps/oils_event.c