Bug 428186

Summary: Support sorting by source file path
Product: [Applications] lokalize Reporter: Alexander Potashev <aspotashev>
Component: editorAssignee: Simon Depiets <sdepiets>
Status: REPORTED ---    
Severity: wishlist CC: shafff
Priority: NOR    
Version First Reported In: 19.12   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Potashev 2020-10-24 15:19:52 UTC
SUMMARY
It would be nice if messages in .po file could be sortable by source file path + line number.

Use case: when a .po file is sorted by msgid+msgctxt, it's not easy to translate a subset of messages coming from a specific .cpp/.ui/.qml file because they won't be consecutive anymore in the .po. Context: https://invent.kde.org/graphics/krita/-/merge_requests/536#note_119875

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Alexander Potashev 2020-10-24 15:23:27 UTC
Alternatively, we could introduce a specific editing mode in Lokalize where all messages would be grouped by source file or even organized as a tree equivalent to the source repo tree.

Note: Qt Linguist's UI is similar, however it groups by C++/Qt classes.