When working on po files, would it be possible to spellcheck only translated msgstr strings and not also msgid ones?
That is possible but will need extensions to the highlighting file which defines which parts can be spellchecked.
Jonathan, would you want to give this some try, given you updated the gettext stuff in the past?
It's conceivable for me, I'll look at it in the following days.
Thanks!
Git commit 0f150cafac4ba81916d2f11f8d6a3ec11049126b by Jonathan Poelen. Committed on 28/08/2019 at 00:19. Pushed by jpoelen into branch 'master'. Gettext: Add "Translated String" style and spellChecking attribute Summary: New style ("Translated String") for a string associated with msgstr. Normal String and some other styles are now spellChecking=false. Hardcoded colors are removed. Reviewers: #framework_syntax_highlighting, dhaumann, cullmann Reviewed By: #framework_syntax_highlighting, cullmann Subscribers: kwrite-devel, kde-frameworks-devel Tags: #kate, #frameworks Differential Revision: https://phabricator.kde.org/D23513 M +28 -28 autotests/html/highlight.po.html M +19 -19 autotests/reference/highlight.po.ref M +59 -35 data/syntax/gettext.xml https://commits.kde.org/syntax-highlighting/0f150cafac4ba81916d2f11f8d6a3ec11049126b