See https://phabricator.kde.org/D3546
BTW, recently ported kundo2_aware_xgettext.sh from calligra.git: D3644