Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 82234 invoked from network); 21 Nov 2002 21:35:35 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 21 Nov 2002 21:35:35 -0000 Received: (qmail 13834 invoked by uid 97); 21 Nov 2002 21:36:37 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 13818 invoked by uid 97); 21 Nov 2002 21:36:37 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 13806 invoked by uid 98); 21 Nov 2002 21:36:36 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <00cf01c291a5$d06fbb90$270610ac@manu.com> From: "Magesh Umasankar" To: "Ant Developers List" References: Subject: Re: Translate i18n task modifications Date: Thu, 21 Nov 2002 16:34:31 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: localhost.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks! I have patched the main tree with part of your patch. The start and end tokens are now not limited to single characters. I haven't modified it to use Properties.load as I still want to retain using the encoding, which in your case you had said was not being used. Try it out and revert if you face any issues. Cheers, Magesh PS: Sorry for the slow turn-around. ----- Original Message ----- From: "Don Brown" To: "Ant Developers List" Sent: Thursday, October 03, 2002 1:26 PM Subject: Re: Translate i18n task modifications > Diff attached > > On Thu, 3 Oct 2002, Magesh Umasankar wrote: > > > Please send the patch using cvs diff -u > > > > Thanks, > > Magesh > > > > *********************************************** > > * Diplomat: A person who tells you to go to * > > * hell in such a way that you actually look * > > * forward to the trip. * > > *********************************************** > > ----- Original Message ----- > > From: "Don Brown" > > To: > > Sent: Wednesday, October 02, 2002 7:33 PM > > Subject: Translate i18n task modifications > > > > > > > To make the translate task useable for my project, I've made a few > > > modifications which you may or may not find useful. The modified > > > translate task, Translate2, is at > > > http://www.twdata.org/dakine/Translate2.java > > > > > > In summary the changes are: > > > * The starting and ending tokens can now be of any length > > > * The resources files are resolved with Project.resolveFile() > > > * Loaded the resources with java.util.Properties rather than the hand > > > crafted parser > > > > > > These changes made it possible for me to replace my runtime resource > > > replacement tags at build time (multiple language support is not > > > required). > > > > > > I could apply these changes to the original Translate and provide a patch > > > if needed. Thanks for the great project and all the hard work. > > > > > > Don > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > For additional commands, e-mail: > > > > > > > > > -- > > To unsubscribe, e-mail: > > For additional commands, e-mail: > > > > > ---------------------------------------------------------------------------- ---- > -- > To unsubscribe, e-mail: > For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: