branch | svghmi |
changeset 3140 | cae53fe54cf2 |
parent 3137 | ac3ec66e9c6d |
child 3156 | 76c0c0a524c9 |
child 3158 | 4171f7dd109a |
--- a/svghmi/svghmi.py Sun Feb 14 05:22:30 2021 +0100 +++ b/svghmi/svghmi.py Sun Feb 14 05:29:51 2021 +0100 @@ -532,6 +532,9 @@ def GetTranslations(self, _context, msgs): messages = EtreeToMessages(msgs) + if len(messages) == 0: + return + SaveCatalog(self._getPOTpath(), messages) translations = ReadTranslations(self.CTNPath())