[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [286] trunk/menu.pl



Revision: 286
          http://svn.sourceforge.net/ledger-smb/?rev=286&view=rev
Author:   tetragon
Date:     2006-10-23 21:34:44 -0700 (Mon, 23 Oct 2006)

Log Message:
-----------
Unhardcode logout locale from fr_CA

Modified Paths:
--------------
    trunk/menu.pl

Modified: trunk/menu.pl
===================================================================
--- trunk/menu.pl	2006-10-24 04:08:32 UTC (rev 285)
+++ trunk/menu.pl	2006-10-24 04:34:44 UTC (rev 286)
@@ -87,7 +87,7 @@
 # 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');


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.