Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 98A562E0055 for ; Fri, 14 Mar 2008 19:27:00 -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 13749-09 for ; Fri, 14 Mar 2008 19:26:35 -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 3FC592E004C for ; Fri, 14 Mar 2008 19:26:35 -0300 (ADT) Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by sd-2317.dedibox.fr (Postfix) with ESMTP id 4A88625CF for ; Fri, 14 Mar 2008 23:26:28 +0100 (CET) Message-ID: <47DAFAF6.80204@lelarge.info> Date: Fri, 14 Mar 2008 23:23:50 +0100 From: Guillaume Lelarge User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: PostgreSQL www Subject: Re: Patch to make some strings available to translations References: <47DAF7E3.8070502@lelarge.info> In-Reply-To: <47DAF7E3.8070502@lelarge.info> 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/356 X-Sequence-Number: 14475 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. -- Guillaume. http://www.postgresqlfr.org http://dalibo.com