From: Xavier Poinsard <xpoinsard@free.fr>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: Re: Patch to reduce the number of messages to translate
Date: Sat, 18 Dec 2004 14:53:55 +0100
Message-ID: <41C43673.3030700@free.fr> (raw)
In-Reply-To: <200412172316.28229.peter_e@gmx.net>
References: <41C21526.6060205@free.fr>
<Pine.BSO.4.56.0412171641070.29231@leary.csoft.net>
<200412172316.28229.peter_e@gmx.net>
Peter Eisentraut wrote:
> Kris Jurka wrote:
>
>>>For example "Bad short" => "Bad {0}" with "short" as argument.
>>>This way "Bad int" becomes "Bad {0}" we have reduced the number of
>>>messages to translate.
>>
>>Is this a good idea? I'm willing to take your word as someone who
>>actually does translations, but I wanted to confirm that
>>parameterizing the message in this way won't cause translation
>>problems.
>
>
> I'm pretty sure it will. Splitting the adjective away from the noun
> isn't a good idea.
>
I typed quickly the message with my patch ; the changes are the following :
- "Conversion of box failed: {0}." => "Conversion of {1} failed: {0}."
with box,circle,line,lseg,point
- "The JVM claims not to support the ASCII encoding." => "The JVM claims
not to support the {0} encoding."
with ASCII,UTF-8
- "Bad byte: {0}" => "Bad {1}: {0}"
with byte,short,int,long,BigDecimal,float,double,date
- "Cannot cast an instance of {0} to Types.BIT" => "Cannot cast an
instance of {0} to {1}"
with Types.BIT,Types.OTHER
As you can see, the new parameters have all the same gender : they are
all java type names or encodings. Since they have the same gender, the
adjective will be the same for all.
As far as I know, this type of replacement can't be a problem.
If the new parameters were real nouns with different genders, it would
be a problem, but not in these cases.
No ?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: xpoinsard@free.fr, peter_e@gmx.net, books@ejurka.com
Subject: Re: Patch to reduce the number of messages to translate
In-Reply-To: <41C43673.3030700@free.fr>
References: <41C21526.6060205@free.fr> <Pine.BSO.4.56.0412171641070.29231@leary.csoft.net> <200412172316.28229.peter_e@gmx.net> <41C43673.3030700@free.fr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox