1. David Jean Louis
  2. polib
Issue #1 resolved

untranslated_entries() also show fuzzy message

Sharuzzaman Ahmat Raslan
created an issue

I found out that untranslated_entries() function also show fuzzy message. This was caused by the selection criteria for untranslated_entries() is not considering not fuzzy as another factor.

Patches below will fix the issue.

{{{ --- polib.py.old 2010-02-02 21:50:26.000000000 +0800 +++ polib.py 2010-02-02 21:52:58.000000000 +0800 @@ -679,7 +679,7 @@ >>> len(po.untranslated_entries()) 6 """ - return [e for e in self if not e.translated() and not e.obsolete] + return [e for e in self if not e.translated() and not e.obsolete and not 'fuzzy' in e.flags]

 def fuzzy_entries(self):
     """

}}}