Re: Hints

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Marek Černocký <marek(at)manet(dot)cz>, Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Hints
Date: 2013-04-25 13:54:12
Message-ID: CA+OCxowG18WVhr4Zeie0kZ3UCUBPJYa+ubkXVObfy84P9Oe1jw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Wed, Apr 24, 2013 at 6:09 PM, Marek Černocký <marek(at)manet(dot)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

In response to

  • Hints at 2013-04-24 17:09:07 from Marek Černocký

Responses

  • Re: Hints at 2013-04-25 14:19:53 from Marek Černocký

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2013-04-25 13:55:51 Re: PATCH: Debugger Redesign
Previous Message Dave Page 2013-04-25 13:29:38 pgAdmin III commit: Remove ancient (and badly written) check for acloca