Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [PATCH] l10n: de.po: translate 2 new, 3 fuzzy messages

From: Nguyen Thai Ngoc Duy <hidden>
Date: 2016-06-15 22:53:58

2012/6/3 Jiang Xin [off-list ref]:
The modifications of location lines (#: filename:line) are tedious.
You can exclude them out of the diff file by a little:

 1. Creae a diff driver with a textconv program:

    $ git config --global diff.podiff.textconv "sed -e '/^#/ d'"

 2. Set attribute for '.po' files

    $ echo "*.po diff=podiff" >> $(git rev-parse --git-dir)/info/attributes

Next time the diff you generated is more clear.
It also creates a non-applicable patch. The problem with .po files is
there are two sources of modification: msgmerge and human. It'd be
much better if git could learn (with user's help) to separate those
and allow to track/show human changes only.

I'm also gnome translator coordinator and what I'm doing now is create
two commits each time I receive a translation update: one with
msgmerge wrapped in 70 chars, then translator's changes (also
re-wrapped in 70 chars as different editors produce different default
wrapping). It's not perfect as msgmerge can move translations up and
down (randomly to me), but that's all I can do.
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help