po: remove fuzzy flag when an entry is modified

Julien LepillerTue May 01 13:19:08+0200 2018

a278841

po: remove fuzzy flag when an entry is modified

offlate/systems/entry.py

3434
3535
    def update(self, index, content):
3636
        Entry.update(self, index, content)
37+
        self.fuzzy = False
38+
        self.entry.flags = [x for x in self.entry.flags if x != 'fuzzy']
3739
        if 0 in self.entry.msgstr_plural:
3840
            self.entry.msgstr_plural[index] = content
3941
        else: