Re: Hints - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Hints
Date
Msg-id CA+OCxowG18WVhr4Zeie0kZ3UCUBPJYa+ubkXVObfy84P9Oe1jw@mail.gmail.com
Whole thread Raw
In response to Hints  (Marek Černocký <marek@manet.cz>)
Responses Re: Hints
List pgadmin-hackers
On Wed, Apr 24, 2013 at 6:09 PM, Marek Černocký <marek@manet.cz> wrote:
> Hi,
>
>
> I updated Czech version of hint files. (attachment hints-cs_CZ.zip)
>
> While testing, I found two problems with hints.
>
> 1. Displays garbage non-ASCII chars for UTF-8 encoded files. I changed
> code to suppose all hint files are UTF-8 encoded and load it right way.
> I fixed files, which didn't have UTF-8 header.

Are they all UTF-8? I wouldn't be surprised if some languages were
using other encodings.

> 2. If config file .pgadmin3 has not set item LanguageId,
> wxLANGUAGE_UNKNOWN is used and user see en_US hints instead by your
> locale. I changed it to wxLANGUAGE_DEFAULT.

If memory serves, that's intentionally done to ensure it falls back to
the one, guaranteed supported language.

However, these are translation issues which is not an area I'm overly
confident in, so I'll leave it to Guillaume to comment further.

Thanks.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin III commit: Remove ancient (and badly written) check for acloca
Next
From: Dave Page
Date:
Subject: Re: PATCH: Debugger Redesign