Angus Leeming <[EMAIL PROTECTED]> writes:

| Angus Leeming wrote:
>> Lars Gullik Bjønnes wrote:
>> 
>>> Angus Leeming <[EMAIL PROTECTED]> writes:
>>> 
>>> | ATM, NO messages will be translated in LyX 1.4.x.
>>> 
>>> So, did you kill it?
>> 
>> No. Anything that triggered that posting of a message through gettext
>> before the localedir was discoved would trigger it before too. So
>> "lyx -help" etc has never been internationalized in LyX 1.4.x. Running
>> "lyx -dbg init" has had the interesting effect of ensuring that you'll
>> run in English in LyX 1.4.x.
>
| Actually, I have to change my answer to Yes.
>
| Try "build/src/lyx-qt -dbg init". LyX will die with
>
| Assertion triggered in const lyx::support::Package& lyx::support::package()
| by failing check "initialised_" in file package.C:83
>
| because of the early invocation of gettext and the call to
| package().locale_dir() in messages.C.

Why don't you let it initialize itself on first use?

The constructor could just set some values to be stored for the actual
initialization that will come later?

-- 
        Lgb

Reply via email to