agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Euler Taveira <euler@timbira.com.br>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Translation updates
Date: Mon, 15 Dec 2014 14:06:10 -0300
Message-ID: <548F1502.2040806@timbira.com.br> (raw)
In-Reply-To: <10525.1418661365@sss.pgh.pa.us>
References: <E1Y0OC1-0005S9-Fm@gemulon.postgresql.org>
	<548EDD34.4060806@timbira.com.br>
	<548F047E.4010900@gmx.net>
	<548F0A57.4040105@timbira.com.br>
	<10525.1418661365@sss.pgh.pa.us>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

On 15-12-2014 13:36, Tom Lane wrote:
> Euler Taveira <euler@timbira.com.br> writes:
>> On 15-12-2014 12:55, Peter Eisentraut wrote:
>>> On 12/15/14 8:08 AM, Euler Taveira wrote:
>>>> It seems you forgot to update pt_BR.
> 
>>> I'm running the script I always run.  Which file do you think was omitted?
> 
>> initdb
>> pg_basebackup
>> pgscripts
>> postgres
>> psql
> 
> I looked at this, but it's not obvious that anything is wrong.  Many of
> the pt_BR.po files were updated, and the ones that were not are in
> subdirectories whose message sets have evidently not changed much lately,
> because a lot of the other .po files are as old or older.
> 
The steps that reproduce what I'm trying to say:

euler@vostro:/a/sw/postgres$ git checkout REL9_4_STABLE
Already on 'REL9_4_STABLE'
Your branch is up-to-date with 'origin/REL9_4_STABLE'.
euler@vostro:/a/sw/postgres$ git pull
Already up-to-date.
euler@vostro:/a/sw/postgres$ git archive --format=tgz --prefix=pg94/
REL9_4_STABLE > /tmp/pg94.tgz
euler@vostro:/a/sw/postgres$ cd /tmp/
euler@vostro:/tmp$ tar -zxf pg94.tgz
euler@vostro:/tmp$ cd pg94/
euler@vostro:/tmp/pg94$ ./configure --enable-nls
euler@vostro:/tmp/pg94$ cd src/backend/
euler@vostro:/tmp/pg94/src/backend$ make update-po
euler@vostro:/tmp/pg94/src/backend$ mv po/pt_BR.po.new po/pt_BR.po
euler@vostro:/tmp/pg94/src/backend$ msgfmt -c -v -o /dev/null po/pt_BR.po
3934 mensagens traduzidas, 137 traduções aproximadas (fuzzy), 38
mensagens não traduzidas.

... but if I replace the po file with the one in the translation
repository [1]:

euler@vostro:/tmp/pg94/src/backend$ cd /a/sw/messages/
euler@vostro:/a/sw/messages$ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
euler@vostro:/a/sw/messages$ git archive --format=tgz --prefix=master/
master > /tmp/master.tgz
euler@vostro:/a/sw/messages$ cd /tmp/
euler@vostro:/tmp$ tar -zxf master.tgz
euler@vostro:/tmp$ cp master/pt_BR/postgres.po pg94/src/backend/po/pt_BR.po
euler@vostro:/tmp$ cd pg94/src/backend/
euler@vostro:/tmp/pg94/src/backend$ make update-po
euler@vostro:/tmp/pg94/src/backend$ mv po/pt_BR.po.new po/pt_BR.po
euler@vostro:/tmp/pg94/src/backend$ msgfmt -c -v -o /dev/null po/pt_BR.po
4109 mensagens traduzidas.

This is true for all of those mentioned files.


[1] http://git.postgresql.org/gitweb/?p=pgtranslation/messages.git;a=summary


-- 
   Euler Taveira                   Timbira - http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (485+ messages)  latest in thread

Message-ID: <548F1502.2040806@timbira.com.br>
Permalink:  ../548F1502.2040806@timbira.com.br/
Also on:    postgresql.org/message-id/548F1502.2040806@timbira.com.br

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: euler@timbira.com.br, tgl@sss.pgh.pa.us, peter_e@gmx.net
  Subject: Re: pgsql: Translation updates
  In-Reply-To: <548F1502.2040806@timbira.com.br>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox