Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 994092E026F for ; Fri, 14 Mar 2008 19:58:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 33388-09 for ; Fri, 14 Mar 2008 19:57:55 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sd-2317.dedibox.fr (sd-2317.dedibox.fr [88.191.17.192]) by postgresql.org (Postfix) with ESMTP id 85E0C2E003D for ; Fri, 14 Mar 2008 19:57:55 -0300 (ADT) Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by sd-2317.dedibox.fr (Postfix) with ESMTP id 0D194344E; Fri, 14 Mar 2008 23:57:54 +0100 (CET) Message-ID: <47DB0253.50003@lelarge.info> Date: Fri, 14 Mar 2008 23:55:15 +0100 From: Guillaume Lelarge User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: Magnus Hagander CC: PostgreSQL www Subject: Re: Patch to make some strings available to translations References: <47DAF7E3.8070502@lelarge.info> <47DAFAF6.80204@lelarge.info> <47DB02DD.6030203@hagander.net> In-Reply-To: <47DB02DD.6030203@hagander.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/360 X-Sequence-Number: 14479 Magnus Hagander a écrit : > Guillaume Lelarge wrote: >> Guillaume Lelarge a écrit : >>> I already sent this patch a few months before, but didn't get an >>> answer on it. So, I updated it and hope for the best :) >>> >>> Anyways, a few words on one file of this patch. I had to change >>> system/global/pgpage.php in two ways. >>> >>> First, to add '.UTF-8' to the locale. Without, I couldn't get any >>> gettext translation to work. I wonder if Adrian had to do the same >>> for his translation. I don't think the way I did it is absolutely >>> right, so I would like comments on this. >>> >>> Second, base_href is set to http://www.postgresql.org/, making any >>> links go to the official website. I'm wondering why we didn't use the >>> value of $_SETTINGS['hosted_url'] for example as it can be a local >>> setting. >>> >>> Any comments ? better ways to solve these ? >>> >> >> I forgot something. "tools/schema.sql" seems to be the schema of the >> pgweb database. Unfortunately, it doesn't seem up to date... at least, >> the organisation column is missing on the events table. > > Yeah, that's a known problem. I'm working with JD (I hope) to get it set > up so it'll automatically be committed there from the production db. > OK. Can you send me an updated schema.sql so that I can better work on the website' translation issues ? Thanks. -- Guillaume. http://www.postgresqlfr.org http://dalibo.com