pyg3t / poproofread

GNU General Public License v3.0
0 stars 0 forks source link

Wish: It would be nice to compare original and translation line by line #13

Open KennethNielsen opened 9 years ago

KennethNielsen commented 9 years ago

Then a translation unit is large and spanning over several lines, it would be nice to have some way to compare the original text and the translation line by line.

I imagine two functions for this:

1) "Highlight next line" - if no highlighting is active, it should highlight the first line in both the msgid text and the msgstr text in some way at the same time. If highlighting already is active, it should move the hightlighting to the next line in both msgid and msgtext.

2) "Highlight previous line" - if no highlighting is active, it should highlight the last line in both the msgid text and the msgstr text at the same time. If highlighting already is active, it should move the hightlighting to the previous line in both msgid and msgtext.

The functions could be default bound to for example Ctrl+Down and Ctrl+Up.

By a line I mean the text between two consecutive newline characters (\n), not the physical lines in the po file.

One more thing: If the translation unit is so large that there is not space to show it all in the same time in the window without using scroolbars, it should still somehow be possible to see the corresponding highlighted lines at the same time. Maybe by having the msgid and msgtext texts in different windows that scroll synchronius or by so other means.


Imported from Launchpad using lp2gh.

KennethNielsen commented 9 years ago

(by k-nielsen81) Hallo Byrial

Thanks for the report. This sounds like a interesting and useful feature for PoProofRead. I'll give the implementation some thought, and figure out where to put it on the prioritized list (for which release and so on).

Regards Kenneth