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 132734 - Setting message fuzzy does not increment fuzzy counter
Setting message fuzzy does not increment fuzzy counter
Status: RESOLVED FIXED
Product: gtranslator
Classification: Other
Component: Interface
0.x
Other Linux
: Normal normal
: 1.0
Assigned To: Ross Golder
Fatih Demir
Depends on:
Blocks:
 
 
Reported: 2004-01-28 05:38 UTC by Ross Golder
Modified: 2005-02-05 08:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix for the fuzzy count (600 bytes, patch)
2005-02-04 21:14 UTC, Loïc Minier
none Details | Review

Description Ross Golder 2004-01-28 05:38:20 UTC
If you continually toggle the fuzzy status (Alt+2), the fuzzy message
counter decrements, but never increments.
Comment 1 Loïc Minier 2005-02-04 21:14:03 UTC
Created attachment 37006 [details] [review]
Fix for the fuzzy count

I think this is a bug similar to Debian bug <http://bugs.debian.org/257183>
(where fuzzy translations are decremented twice and might get negative).

I've looked at places where the number of fuzzy translations is updated
(po->fuzzy++ or po->fuzzy--) and came to really two places being called in the
case described in the Debian bug mentionned above.

This patch proposes not to update the counter when the GtkCheckMenuItem is
updated (and the update macro is called), but since I don't understand exactly
how the preference to update the fuzzy status is supposed to work, I can't
check whether it still works as expected.

Could someone have a look at the patch and the behavior of gtranslator with
this option without and with the patch?
Comment 2 Ross Golder 2005-02-05 08:13:20 UTC
Applied to CVS. Thanks.