These series of patches improves word wrapping code for Gettext catalog.
Created attachment 105631 [details] 0001-Count-separator-during-word-wrapping-in-PO.patch
Created attachment 105632 [details] 0002-Reworking-word-wrapping-for-Gettext-catalog.patch
Created attachment 105633 [details] 0003-Simplify-code-where-we-need-to-add-empty-line.patch
Created attachment 105647 [details] 0002-Reworking-word-wrapping-for-Gettext-catalog.patch Fixed small typo in code.
I have just checked the patch. It seems to solve the problems with the PO export. Can we merge these patches?
@Azamat H. Hackimov: Please upload your patches to phabricator.kde.org/differential for review, thanks.
https://phabricator.kde.org/D10009
Created attachment 124302 [details] 0001-Rewrite-word-wrapping-for-gettext-entries.patch
Created attachment 126052 [details] 0001-Rewrite-word-wrapping-for-gettext-entries.patch
*** Removed for violation of KDE Community standards ***
Reopened due unresolved status. All activity moved to https://invent.kde.org/sdk/lokalize/-/merge_requests/27