diff options
Diffstat (limited to 'tests/localetest.cpp')
-rw-r--r-- | tests/localetest.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/tests/localetest.cpp b/tests/localetest.cpp index e1a0e7e..26f6b28 100644 --- a/tests/localetest.cpp +++ b/tests/localetest.cpp @@ -1,5 +1,10 @@ -/* - * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org) +/****************************************************************************** + * + * localetest.cpp - + * + * $Id: localetest.cpp 3005 2014-01-09 04:06:11Z greg.hellings $ + * + * Copyright 2000-2013 CrossWire Bible Society (http://www.crosswire.org) * CrossWire Bible Society * P. O. Box 2528 * Tempe, AZ 85280-2528 @@ -28,9 +33,9 @@ int main(int argc, char **argv) { exit(-1); } - LocaleMgr lm; + LocaleMgr *lm = LocaleMgr::getSystemLocaleMgr(); - std::cout << lm.translate(argv[2], argv[1]) << "\n"; + std::cout << lm->translate(argv[2], argv[1]) << "\n"; /* VerseKey bla; |