Bug 510320

Summary: Lokalize unwraps all long msgid's while translating translating (change a msgstr) and saving *.po file
Product: [Applications] lokalize Reporter: AlexB <kde-identity-of-alex>
Component: generalAssignee: Finley Watson <fin-w>
Status: REPORTED ---    
Severity: major CC: aacid, sdepiets, shafff
Priority: NOR    
Version First Reported In: 25.08.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description AlexB 2025-10-06 20:00:31 UTC
SUMMARY

Lokalize unwraps all long `msgid's` while translating translating (change of a `msgstr`) and saving `*.po` file
In project settings in Lokalize **wrap** is set to `-1`, but this should be applied to `msgstr's` and not to `msgid's`, because else during proof reading one will see many changed `msgid's`.

STEPS TO REPRODUCE
1. Save https://websvn.kde.org/branches/stable/l10n-kf5/de/docmessages/bluedevil/kcontrol_bluedevil.po?revision=1689427&view=co locally
2. Open in Lokalize (Project settings → wrap should be set to `-1`)
3. Add a translation (one msgstr will be changed)
4. Save
5. Compare original file with edited and saved → all long `msgid's` are unwrapped.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.17.0
Qt Version: 6.8.2

CCMAIL: kde-i18n-de@kde.org