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

SF.net SVN: ledger-smb: [981] branches/1.2/menu.pl



Revision: 981
          http://svn.sourceforge.net/ledger-smb/?rev=981&view=rev
Author:   tetragon
Date:     2007-03-21 22:05:24 -0700 (Wed, 21 Mar 2007)

Log Message:
-----------
Change first locale used to system locale

Modified Paths:
--------------
    branches/1.2/menu.pl

Modified: branches/1.2/menu.pl
===================================================================
--- branches/1.2/menu.pl	2007-03-22 04:55:05 UTC (rev 980)
+++ branches/1.2/menu.pl	2007-03-22 05:05:24 UTC (rev 981)
@@ -69,7 +69,7 @@
 $pos = rindex $0, '/';
 $script = substr($0, $pos + 1);
 
-$locale = LedgerSMB::Locale->get_handle($myconfig{countrycode}) or
+$locale = LedgerSMB::Locale->get_handle(${LedgerSMB::Sysconfig::language}) or
 	$form->error(__FILE__.':'.__LINE__.": Locale not loaded: $!\n");
 # we use $script for the language module
 $form->{script} = $script;


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