Updating fuzzy string with old msgid renders PO file invalid
gtranslator 42.0
Steps to reproduce: Edit a PO file a fuzzy string that has an old commented-out msgid, e.g.
#, fuzzy
#| msgctxt "Wi-Fi Hotspot"
#| msgid "Security type"
msgid "Security Level 0"
msgstr "Verschlüsselungsart"
Use gtranslator to translate the string and save the PO file. It ends up like
#| msgctxt "Wi-Fi Hotspot"
msgid "Security Level 0"
msgstr "Sicherheitsstufe 0"
and msgfmt -vc file.po reports a syntax error.
Reason is the old "#| msgid"was removed, but the old "| msgctxt" was kept. Either both must be kept or removed.
Edited by Christian Kirbach