Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id D52242E004D for ; Thu, 27 Mar 2008 07:42:12 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 93955-03 for ; Thu, 27 Mar 2008 07:42:03 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from svr2.hagander.net (svr2.hagander.net [88.198.128.226]) by postgresql.org (Postfix) with ESMTP id 5199E2E0031 for ; Thu, 27 Mar 2008 07:42:09 -0300 (ADT) Received: from dynamic.hagander.net ([127.0.0.1]) (encrypted and authenticated) by svr2.hagander.net (Postfix) with ESMTP id 4BA7FDCC9E2; Thu, 27 Mar 2008 11:42:07 +0100 (CET) Received: from mha-laptop (localhost [127.0.0.1]) by mha-laptop.hagander.net (Postfix) with ESMTP id 52F82FF09C; Thu, 27 Mar 2008 11:43:25 +0100 (CET) Date: Thu, 27 Mar 2008 11:43:24 +0100 From: Magnus Hagander To: Guillaume Lelarge Cc: Alvaro Herrera , PostgreSQL www Subject: Re: Patch to make some strings available to translations Message-ID: <20080327114324.71ed6bd5@mha-laptop> In-Reply-To: <47EADA2E.5010608@lelarge.info> References: <47DAF7E3.8070502@lelarge.info> <47DD4BAA.5000402@hagander.net> <47DD9F5C.1060101@lelarge.info> <47E0B5CD.9030504@lelarge.info> <47E18498.4060609@lelarge.info> <47E18CDB.60303@hagander.net> <47E18DFA.5030003@lelarge.info> <47E52413.1030407@lelarge.info> <47E52489.7030608@lelarge.info> <20080322205914.GF13206@alvh.no-ip.org> <47E57F91.9010809@lelarge.info> <20080326223645.6ea671b1@mha-laptop> <47EADA2E.5010608@lelarge.info> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.0; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/603 X-Sequence-Number: 14722 Guillaume Lelarge wrote: > Magnus Hagander a =C3=A9crit : > > On Sat, 22 Mar 2008 22:52:17 +0100 > > Guillaume Lelarge wrote: > >=20 > >> Alvaro Herrera a =C3=A9crit : > >>> Guillaume Lelarge wrote: > >>> > >>>>> I guess I was wrong. You'll find a patch attached that > >>>>> implements a func_image function via a call to > >>>>> setCallbackFunction. > >>>>> > >>>>> I can also send a complete patch (the previous one which adds =20 > >>>>> translation to some texts, and this patch). > >>> Suggestion: check if the image exists in the translated version, > >>> serve the english version if not. That way you only need to > >>> produce alternate images for those that need translation. > >>> > >> Damn, forgot about this one. You're right. Patch version 2 > >> attached. > >=20 > > Applied, thanks. > >=20 >=20 > Thanks a lot. >=20 > > Can you please re-send the patch with the other translation stuff? > > I've managed to mess up the different versions of it so I'm no > > longer sure I'm working off the correct one :-( > >=20 >=20 > Here it is. Thanks for looking at it. >=20 >=20 > --=20 > Guillaume. > http://www.postgresqlfr.org > http://dalibo.com This patch no longer applies :-( The change to pgpage.php was in your other patch. There's a whole bunch of conflicts in index.html. Also, the page as generated does not come out as XHTML valid. This is because you changed it to use ' instead of " for some attributes, and when there is ' in the text (The world's most advanced...), the HTML is broken. I'd really like a way to keep the "s on the tags instead of ', so please see if you can find some way for that :-) //Magnus