Checked using and some manual proofreading:
def check_entry(po_file, entry):
if entry.msgid.endswith(' ::'):
return
if entry.msgid.endswith('::'):
if entry.msgstr.endswith(': ::'):
return
entry.msgstr = entry.msgstr.rstrip(' :. ') + ' ::'
Long debate between those words. We could use "modifiable" too but the
binary relation between "immuable" and "modifiable" is less clear.
"muable" was in the 6th edition of the dictionnary of the Académie
française.