Open dwaynebailey opened 14 years ago
I'm not particularly keen, to be honest. It doesn't seem very useful (although I can see some use for it). Is this very common in existing PO files? Would users use this?
(In reply to BZ-IMPORT::comment #1
)
I'm not particularly keen, to be honest. It doesn't seem very useful (although I can see some use for it). Is this very common in existing PO files? Would users use this?
I think with comments its very useful, without comments it can be used as markers for things you want to review at a later date. Think of it as releasable fuzzy.
About 550 files with it so no not very common at all.
Users using it probably depends on how intuitive and accessible it is. I don't think the Poedit method is easy as you manually select a marker.
Poedit can store up to 10 bookmarks. Using Alt+0... Alt+9 to set and Ctrl+0... Ctrl+9 to jump to that bookmark.
These are stored in the header as follows: "X-Poedit-Bookmarks: 0,2,-1,-1,-1,-1,-1,-1,-1,-1\n"
Basic plan
1) Read the Poedit bookmarks. Should return a list of unit numbers. We want to keep the positions since they mean something in Poedit but we won't care about them. 2) Set bookmarks. I'd prefer Ctrl-B or similar to tag a unit as a bookmark and to allow an unlimited number. For the first 10 we fill in any missing ones for POedit. Beyond 10 we add our own X-Bookmark entry (do we want users?) 3) Mode: Accelerate first 10, show this and use ellipses to limit length.
Advanced plan
1) When a user selects Ctrl-B to add a bookmark they can annotate it. Something like "Please check the wording", we already support (review) in PO. It is good to keep this clean of normal translator comments. 2) Make it easier to find and delete (review) comments i.e. have a start and finish.