Bug 412837 - Make translation units searchable by metadata/file reference
Summary: Make translation units searchable by metadata/file reference
Status: RESOLVED DUPLICATE of bug 405133
Alias: None
Product: lokalize
Classification: Applications
Component: editor (show other bugs)
Version: 19.08.1
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Simon Depiets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-11 05:38 UTC by Alexander Potashev
Modified: 2019-12-29 08:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2019-10-11 05:38:49 UTC
SUMMARY
Make translation units searchable by metadata/file reference.

Use case:
Filter all messages in www_www.po that come from file plasma-5.17.0.php.
For now these can be found with Pology, but not using just Lokalize tools:
  posieve find-messages -sntransl -scomment:'plasma-5.17.0.php' www_www.po

I see two approaches to fulfill the use case:
 1. Add column "unit metadata" in the Translation Units panel and make it searchable.
 2. Organize messages in the Translation Units panel in a tree view where top-level nodes represent source file references. Would be similar to how Qt Linguist works. I know there will be duplicate messages across different files, we can just display them multiple times in the tree view.

Example:

  + dolphincontextmenu.cpp
     . "Empty Trash"
     . "Restore"
     . "Create New"
  + panels/places/placespanel.cpp
     . "Empty Trash"
     . "Show Hidden Places"

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 Simon Depiets 2019-12-29 08:13:13 UTC

*** This bug has been marked as a duplicate of bug 405133 ***