Re: Patch to reduce the number of messages to translate - Mailing list pgsql-jdbc

From Xavier Poinsard
Subject Re: Patch to reduce the number of messages to translate
Date
Msg-id 41C8297D.1090409@free.fr
Whole thread Raw
In response to Re: Patch to reduce the number of messages to translate  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Patch to reduce the number of messages to translate  (Nicolai Tufar <ntufar@gmail.com>)
Re: Patch to reduce the number of messages to translate  ("Xavier Poinsard" <xpoinsard@free.fr>)
List pgsql-jdbc
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.
>


Attachment

pgsql-jdbc by date:

Previous
From: "Xavier Poinsard"
Date:
Subject: Re: Patch to reduce the number of messages to translate
Next
From: Nicolai Tufar
Date:
Subject: Re: Patch to reduce the number of messages to translate