Re: pgsql: Translation updates - Mailing list pgsql-committers
From | Euler Taveira |
---|---|
Subject | Re: pgsql: Translation updates |
Date | |
Msg-id | 548F1502.2040806@timbira.com.br Whole thread Raw |
In response to | Re: pgsql: Translation updates (Tom Lane <tgl@sss.pgh.pa.us>) |
Responses |
Re: pgsql: Translation updates
|
List | pgsql-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
pgsql-committers by date: