Re: [COMMITTERS] pgsql: Translation updates

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: pgtranslation-translators(at)pgfoundry(dot)org
Subject: Re: [COMMITTERS] pgsql: Translation updates
Date: 2009-05-14 22:41:25
Message-ID: 20090514224125.GT5986@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Alvaro Herrera wrote:
> Alvaro Herrera wrote:
> > Log Message:
> > -----------
> > Translation updates
>
> I just now remembered that we have a new rule about including only >80%
> files, so some of these files may need to be removed. Sorry for the
> mess :-(

This is the list of files that would be removed in the backend if we
enforced this policy:

af.po: 91 (2%) remove
cs.po: 564 (18%) remove
de.po: 2808 (91%)
es.po: 3075 (99%)
fr.po: 3057 (99%)
hr.po: 1682 (54%) remove
hu.po: 477 (15%) remove
it.po: 471 (15%) remove
ja.po: 2832 (91%)
ko.po: 2179 (70%) remove
nb.po: 200 (6%) remove
nl.po: 409 (13%) remove
pl.po: 919 (29%) remove
pt_BR.po: 2829 (91%)
ro.po: 422 (13%) remove
ru.po: 1272 (41%) remove
sk.po: 2073 (67%) remove
sl.po: 374 (12%) remove
sv.po: 1856 (60%) remove
tr.po: 2571 (83%)
zh_CN.po: 1878 (60%) remove
zh_TW.po: 1128 (36%) remove

It is a long list of files to remove so I'm not sure about removing them
hastily for today's beta. We can further discuss this before the 8.4
release.

These numbers come from this snippet:

for i in *po; do
all=$(LC_ALL=C msgfmt -c -v $i 2>&1)
translated=$(echo $all | sed -e 's/\([0-9]*\) translated messages.*/\1/')
percent=$(echo "$translated 100 * $total / p" | dc)
echo -n "$i: $translated ($percent%)"
if [ $percent -lt 80 ]; then
echo " remove"
else
echo ""
fi
done

$total has been previously set manually (to 3083).

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-05-14 23:06:43 Re: [COMMITTERS] pgsql: Translation updates
Previous Message Tom Lane 2009-05-14 22:22:28 Re: pgsql: Add recovery_end_command option to recovery.conf.

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-05-14 23:02:10 Re: valgrind error in tsvectorin
Previous Message Greg Stark 2009-05-14 22:41:17 Re: valgrind error in tsvectorin