summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-24 04:34:44 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-24 04:34:44 +0000
commit1abea22c9fbf43c024bb4c196368a8178779ff8c (patch)
treea47ca9605edef9fb8a5ec532833deff2556cdccd
parent308307e013604d41e1c623e85d4c38c2c29a0597 (diff)
Unhardcode logout locale from fr_CA
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@286 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xmenu.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu.pl b/menu.pl
index 8fecdf32..f0e918e4 100755
--- a/menu.pl
+++ b/menu.pl
@@ -87,7 +87,7 @@ use DBI qw(:sql_types);
# check for user config file, could be missing or ???
eval { require("$userspath/$form->{login}.conf"); };
if ($@) {
- $locale = LedgerSMB::Locale->get_handle("fr_CA");
+ $locale = LedgerSMB::Locale->get_handle($myconfig{countrycode});
$form->{charset} = $locale->encoding;
$form->{charset} = 'UTF-8';
$locale->encoding('UTF-8');