* src/scm/main.scm (gnc:startup): call gnc:setup-gettext and

setlocale just after loading app-utils.  If this isn't early
enough, we'll need to try something else.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6105 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Rob Browning 2001-11-28 22:40:35 +00:00
parent b51182e3b2
commit 958dcdd6fa

View File

@ -140,7 +140,11 @@
;; right now we have to statically load all these at startup time. ;; right now we have to statically load all these at startup time.
;; Hopefully we can gradually make them autoloading. ;; Hopefully we can gradually make them autoloading.
(gnc:module-load "gnucash/engine" 0) (gnc:module-load "gnucash/engine" 0)
(gnc:module-load "gnucash/app-utils" 0) (gnc:module-load "gnucash/app-utils" 0)
(gnc:setup-gettext)
(setlocale LC_ALL "")
(gnc:module-load "gnucash/app-file" 0) (gnc:module-load "gnucash/app-file" 0)
(gnc:module-load "gnucash/register/ledger-core" 0) (gnc:module-load "gnucash/register/ledger-core" 0)
(gnc:module-load "gnucash/register/register-core" 0) (gnc:module-load "gnucash/register/register-core" 0)
@ -269,8 +273,6 @@
;; (statprof-reset 0 50000) ;; 20 times/sec ;; (statprof-reset 0 50000) ;; 20 times/sec
;; (statprof-start) ;; (statprof-start)
(setlocale LC_ALL "")
;; Now the fun begins. ;; Now the fun begins.
(gnc:startup) (gnc:startup)