<br><p>Hi</p><p>I’m having an issue with the pre-commit hook when trying to commit a Persian translation file. The hook blocks the commit with the following error:</p><pre><code>Commit blocked by pre-commit hook (exit code 1) with output:
<stdin>:2351: 'msgstr' is not a valid KDE KUIT format string, unlike 'msgid'. Reason: error while parsing: Premature end of data in tag para line 1

msgfmt: found 1 fatal error

trunk/l10n-kf6/fa/messages/gwenview/gwenview.po:
ERROR: There were syntax errors detected in a po file you committed.
ERROR: Please correct them first.
</code></pre><p>The translation was done using Lokalize, and I have already removed the problematic line mentioned in the error in lokalize which is the 401 string, but the hook still prevents the commit. I’ve also verified that the file opens and saves fine in Lokalize without any apparent issues.</p><p>Could you please advise how to resolve this issue or whether this might be a false positive from the pre-commit hook?<br></p><p style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br>Also this is the Translated file which i had attached here.</p><p>Best regards,<br></p><p>
Sohrab</p><br>