From: | Dennis Björklund <db(at)zigo(dot)dhs(dot)org> |
---|---|
To: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
Cc: | pgsql-translators(at)postgresql(dot)org |
Subject: | Re: branching time |
Date: | 2019-04-28 21:05:36 |
Message-ID: | a4707553-ca91-4912-9071-0d473889ca71@zigo.dhs.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-translators |
I wrote my own little python-hack before I noticed that you were doing
the same here.
It just do some regexps over the po-file and handle single line entries
only (I didn't use msgfilter). Not much error handling but it seem to
work pretty well. I'll attach it in case it is useful for someone else.
/Dennis
Den 2019-04-28 kl. 21:31, skrev Alvaro Herrera:
> On 2019-Apr-28, Alvaro Herrera wrote:
>
>> It wasn't as successful as I expected, mostly because msgfilter is
>> limited; it doesn't let you remove the "fuzzy" flag from the message
>> when you get a match, so you need to revise the file afterwards each
>> updated entry to remove the flag from each entry ... but of course there
>> are fuzzies for other reasons, so it's very error-prone. Anyway, I
>> think it's much faster than doing it all by hand.
> It brought pg_basebackup from 27% to 83%, without any manual work aside
> from the removal of fuzziness markings, so I think this is worth the effort.
>
Attachment | Content-Type | Size |
---|---|---|
fix-pg-trans.py | text/x-python | 3.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2019-04-28 21:35:39 | Re: branching time |
Previous Message | Alvaro Herrera | 2019-04-28 19:31:39 | Re: branching time |