Re: Mac Language and _() - Mailing list pgadmin-hackers

From Andreas Pflug
Subject Re: Mac Language and _()
Date
Msg-id 4150654B.8080407@pse-consulting.de
Whole thread Raw
In response to Mac Language and _()  (Adam H.Pendleton <fmonkey@fmonkey.net>)
Responses Re: Mac Language and _()
List pgadmin-hackers
Adam H.Pendleton wrote:
> I've isolated the pgAdmin3 crash on Mac:
>
> listViews->AddPage(properties, _("Properties"));        // NBP_PROPERTIES
>
> This fails, but this:
>
> listViews->AddPage(properties, wxT("Properties"));        // NBP_PROPERTIES
>
> succeeds, so clearly there is something amiss with the
> unicode/translation stuff.  It probably has something to do with the
> fact that pgAdmin3 thinks I'm Chinese.  I'm not sure what to do
> next...any ideas?

Maybe your mac detects the missing the slant eyes :-)

First you can remove language files, in that case it should fall back to
english.

Still, in any case a wrong/missing translation may not result in an
invalid string, apparently that's what's happening.

It might be quite hard to locate this with pgadmin sources. AFAIR
there's a locale sample in wx, can you try that?

Regards,
Andreas

pgadmin-hackers by date:

Previous
From: Adam H.Pendleton
Date:
Subject: Mac Language and _()
Next
From: Adam H.Pendleton
Date:
Subject: Re: pgAdmin3 on Mac