X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0D4E13ABC14 for ; Tue, 21 Dec 2004 14:31:01 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 14699-10 for ; Tue, 21 Dec 2004 14:30:54 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by svr1.postgresql.org (Postfix) with ESMTP id 63D723ABBFC for ; Tue, 21 Dec 2004 14:30:56 +0000 (GMT) Received: by rproxy.gmail.com with SMTP id c16so309503rne for ; Tue, 21 Dec 2004 06:30:56 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=ADO9SyoxnR29FQdX45SAVrb/p6Z1Mue6Dj6rJUgzvZd49TjuKb8ZiA3nxo6OQYVANySuGmPBinuDsAcwgqSxCf59ec6wc/I8dHz+3Ulbcu2uBz1NmZV7l1PyGaTXrM4vpz/pg2Z3ZxrSt4ec2BBk5p+HHYgp0H+DZEdbxereKVA= Received: by 10.38.77.71 with SMTP id z71mr440282rna; Tue, 21 Dec 2004 06:30:56 -0800 (PST) Received: by 10.38.67.62 with HTTP; Tue, 21 Dec 2004 06:30:56 -0800 (PST) Message-ID: Date: Tue, 21 Dec 2004 16:30:56 +0200 From: Nicolai Tufar Reply-To: Nicolai Tufar To: pgsql-jdbc@postgresql.org Subject: Re: Patch to reduce the number of messages to translate In-Reply-To: <41C8297D.1090409@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.065 tagged_above=0 required=5 tests=AWL, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200412/151 X-Sequence-Number: 11817 By replacing type names we are creating a potential confusion. A translator who is not familiar with the code may translate type names like "long" or "integer". I am for leaving the strings as they are. Translators are copy+paste then edit the messages anyways. Best regards, Nicolai On Tue, 21 Dec 2004 14:47:41 +0100, Xavier Poinsard wrote: > 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. > > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 7: don't forget to increase your free space map settings > > > >