After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 550208 - Preserve previous (#|) msgid in fuzzy translations
Preserve previous (#|) msgid in fuzzy translations
Status: RESOLVED FIXED
Product: damned-lies
Classification: Infrastructure
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: damned-lies Maintainer(s)
damned-lies Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-09-01 13:04 UTC by Leonardo Ferreira Fontenelle
Modified: 2009-01-18 15:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Leonardo Ferreira Fontenelle 2008-09-01 13:04:51 UTC
If msgmerge is invoked with "--previous", fuzzy translations will preserve the msgid of the old translation in a proper syntax, with #| . That should help translators see what changed between the old and the new msgid, so that they can fix the fuzzy translation more efficiently.

Or maybe that "word diff"?

http://danilo.segan.org/blog/prevod/po-merging-and-diffs
Comment 1 Leonardo Ferreira Fontenelle 2009-01-03 20:24:44 UTC
I agree this is far from top priority. Could someone please confirm the report as a good enhancement suggestion, or discard it?
Comment 2 Claude Paroz 2009-01-03 21:48:32 UTC
If I remember rightly, danilo had introduce this at least for documentation, and then removed it again. It would be nice to have his comment on this.
I'm not sure this functionality has only advantages.
Comment 3 Danilo Segan 2009-01-07 16:21:06 UTC
Previous implementation used my own "msgmerge" implementation (when GNU gettext had no support for it natively), which was slower than what GNU gettext provides (especially since it calculated the "word diffs" as well).

I believe it's good to use this now that GNU gettext provides it as a stable feature.
Comment 4 Claude Paroz 2009-01-10 16:25:57 UTC
2009-01-10  Claude Paroz  <claude {at} 2xlibre.net>

	* stats/models.py: Put XGETTEXT_ARG in env dict.
	Add --previous to msgmerge call.
	Fixes bug #550208.
Comment 5 Wouter Bolsterlee (uws) 2009-01-10 18:09:10 UTC
Perhaps an idea to have this for "intltool-update" as well?
Comment 6 Petr Kovar 2009-01-18 15:34:14 UTC
See bug #565054.