Bug 428186 - Support sorting by source file path
Summary: Support sorting by source file path
Status: REPORTED
Alias: None
Product: lokalize
Classification: Applications
Component: editor (show other bugs)
Version: 19.12
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Simon Depiets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-24 15:19 UTC by Alexander Potashev
Modified: 2020-10-24 15:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.