Commits

Diego Búrigo Zacarão committed ee4a9d0

bugfix: Fixed POT stats calculation for INTLTOOL components (#549#comment:5)

Comments (0)

Files changed (1)

transifex/projects/handlers/types/pot.py

         # For intltool components that the pot file has changes, it's
         # necessary to recalc the stats even if the 'rev' is the same
         # FIXME: It's too tied
-        elif self.component.i18n_type=='INTLTOOL' and is_msgmerged:
+        elif self.component.i18n_type=='INTLTOOL' and (is_msgmerged or is_pot):
             calcstats = True
             logger.debug("It's an intltool component with POT changes.")