SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. open ts file 2. translate an entry 3. save 4. close ts file 5. try to reopen ts file OBSERVED RESULT Error. EXPECTED RESULT No error. SOFTWARE/OS VERSIONS Operating System: Fedora Linux 39 KDE Plasma Version: 5.27.9 KDE Frameworks Version: 5.111.0 Qt Version: 5.15.11 Graphics Platform: X11 ADDITIONAL INFORMATION After opening a ts file, its translations counts isn't displayed correctly.
I've just tried this and I can open it after editing it and saving it in lokalize just fine. Please attach the .ts file you're having problems with (before editing it)
Created attachment 163982 [details] The .ts file that I'm having problems with Opening after editing gives me an error like this "Error opening the file /home/$USER/Desktop/sqlb_pl.ts, line: 7 699"
A possibly relevant merge request was started @ https://invent.kde.org/sdk/lokalize/-/merge_requests/81
Git commit 28955c1609200435ba94d31fd3289167e02602e6 by Albert Astals Cid. Committed on 14/12/2023 at 00:52. Pushed by aacid into branch 'master'. Don't break ts files with obsolete fields on saving them M +1 -0 src/catalog/ts/tsstorage.cpp https://invent.kde.org/sdk/lokalize/-/commit/28955c1609200435ba94d31fd3289167e02602e6
Git commit a8e24987c2f3c5f922b905a7271ffd1e361f9e71 by Albert Astals Cid. Committed on 14/12/2023 at 23:12. Pushed by aacid into branch 'release/23.08'. Don't break ts files with obsolete fields on saving them (cherry picked from commit 28955c1609200435ba94d31fd3289167e02602e6) M +1 -0 src/catalog/ts/tsstorage.cpp https://invent.kde.org/sdk/lokalize/-/commit/a8e24987c2f3c5f922b905a7271ffd1e361f9e71