[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: improvement feature for msgmerge
From: |
Bruno Haible |
Subject: |
Re: improvement feature for msgmerge |
Date: |
Fri, 14 Jan 2005 13:37:11 +0100 |
User-agent: |
KMail/1.5 |
Pablo Saratxaga wrote on 2004-09-23:
> msgmerge ability to look at various files (with -C file) is very
> useful to help translators fill a new or modified po file.
>
> however, when doing "msgmerge -C big.po old.po template.pot > new.po"
> if "old.po" has some fuzzy entries, they will be kept, even if
> translated versions exist in big.po
>
> it would be nice to have an --overwrite-fuzzy parameter so that
> if there is a translated entry in one of the -C files, it will
> overwrite a fuzzy entry in old.po, eg:
>
> msgmerge --overwrite-fuzzy -C big.po old.po template.pot > new.po
Thanks for the suggestion.
I think there are two cases:
- fuzzy entry in old.po and non-fuzzy entry in big.po.
In this case, I think it should even be the default behaviour
to use the non-fuzzy entry from big.po. Rationale: If the
entry in old.po was absent, the non-fuzzy entry from big.po
would be used as well, and since it is non-fuzzy, it means
the translator trusts it and doesn't need to review it.
- fuzzy entry in old.po and fuzzy entry in big.po.
For this case, I think a command-line option is needed.
Maybe the same technique as in msgcat can be used: concatenate
all possible msgstrs and mark the result as fuzzy.
What do you think?
Bruno
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: improvement feature for msgmerge,
Bruno Haible <=