pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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: Tue, 21 Dec 2004 14:47:41 +0100
Message-ID: <41C8297D.1090409@free.fr> (raw)
In-Reply-To: <200412201943.25017.peter_e@gmx.net>
References: <41C21526.6060205@free.fr>
	<200412172316.28229.peter_e@gmx.net>
	<41C43673.3030700@free.fr>
	<200412201943.25017.peter_e@gmx.net>

Here is the modified patch with hopefully no adjective problems.

The changes are now the following :

- "Conversion of box failed: {0}." => "Conversion to type {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 value for type {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 type {1}"
  with Types.BIT,Types.OTHER


Peter Eisentraut wrote:
> You could rephrase the messages like this:
> 
>     invalid input value for type "{0}": {1}
> 
> Then there should be no problem.
> 

Attachments:

  ReduceMessagespatch2.txt.gz (application/x-gzip, 1.6K) download

view thread (11+ messages)  latest in thread

Message-ID: <41C8297D.1090409@free.fr>
Permalink:  ../41C8297D.1090409@free.fr/
Also on:    postgresql.org/message-id/41C8297D.1090409@free.fr

 · 

reply

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: <41C8297D.1090409@free.fr>
  References: <41C21526.6060205@free.fr> <200412172316.28229.peter_e@gmx.net> <41C43673.3030700@free.fr> <200412201943.25017.peter_e@gmx.net> <41C8297D.1090409@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