From: | Euler Taveira <euler(at)timbira(dot)com(dot)br> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-committers(at)postgresql(dot)org |
Subject: | Re: pgsql: Translation updates |
Date: | 2014-12-15 17:06:10 |
Message-ID: | 548F1502.2040806@timbira.com.br |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
On 15-12-2014 13:36, Tom Lane wrote:
> Euler Taveira <euler(at)timbira(dot)com(dot)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(at)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(at)vostro:/a/sw/postgres$ git pull
Already up-to-date.
euler(at)vostro:/a/sw/postgres$ git archive --format=tgz --prefix=pg94/
REL9_4_STABLE > /tmp/pg94.tgz
euler(at)vostro:/a/sw/postgres$ cd /tmp/
euler(at)vostro:/tmp$ tar -zxf pg94.tgz
euler(at)vostro:/tmp$ cd pg94/
euler(at)vostro:/tmp/pg94$ ./configure --enable-nls
euler(at)vostro:/tmp/pg94$ cd src/backend/
euler(at)vostro:/tmp/pg94/src/backend$ make update-po
euler(at)vostro:/tmp/pg94/src/backend$ mv po/pt_BR.po.new po/pt_BR.po
euler(at)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(at)vostro:/tmp/pg94/src/backend$ cd /a/sw/messages/
euler(at)vostro:/a/sw/messages$ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
euler(at)vostro:/a/sw/messages$ git archive --format=tgz --prefix=master/
master > /tmp/master.tgz
euler(at)vostro:/a/sw/messages$ cd /tmp/
euler(at)vostro:/tmp$ tar -zxf master.tgz
euler(at)vostro:/tmp$ cp master/pt_BR/postgres.po pg94/src/backend/po/pt_BR.po
euler(at)vostro:/tmp$ cd pg94/src/backend/
euler(at)vostro:/tmp/pg94/src/backend$ make update-po
euler(at)vostro:/tmp/pg94/src/backend$ mv po/pt_BR.po.new po/pt_BR.po
euler(at)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2014-12-15 17:29:25 | Re: pgsql: Translation updates |
Previous Message | Tom Lane | 2014-12-15 16:36:05 | Re: pgsql: Translation updates |