Re: size of .po changesets

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: size of .po changesets
Дата
Msg-id 548.1345743226@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: size of .po changesets  (Roger Leigh <rleigh@codelibre.net>)
Ответы Re: size of .po changesets
Список pgsql-hackers
Roger Leigh <rleigh@codelibre.net> writes:
> On Thu, Aug 23, 2012 at 11:21:35AM -0400, Alvaro Herrera wrote:
>> Yeah, IMHO .po files are handled pretty badly by SCMs.  I wonder if we
>> could reduce the amount of git churn caused by those files by simply
>> removing all comment lines from these files as they are exported from
>> pgtranslation into postgresql.git?

> Have you considered adding "--no-location" to XGETTEXT_OPTIONS in
> po/Makevars?  This stops the massive churn through line renumbering
> changes.

I think the line numbers are actually useful to the translators --- at
least, the theory behind having them is to make it easy to look at the
message in context.  Alvaro's point is that the copies of the .po files
in our SCM are pretty much write-only data, and could be stripped
relative to what the translators work with.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: default_isolation_level='serializable' crashes on Windows
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: 9.2RC1 wraps this Thursday ...