As a translator I want a to set an Option to enable 'Enter' to save and move to the next string and use Shift+Enter to add a new line, so that I can quickly edit and navigate while working on on the editor -add options menu to enable 'Enter' to save and move to the next string -dynamically change tooltips for Save as Approved button
Implemented. see https://github.com/zanata/zanata/commit/a056bda2b6da8cc59818c49e6a99896aa5e84c3d and https://github.com/zanata/zanata/commit/33b38473fdd7af19fca8f7f919ebd409ec761b5c
James, this bug is re-assigned to you because: 1. Ctrl-Enter should still be working as "Saved as Approved" when "Enable 'Enter' Key to save" is off. 2. Shift-Enter should be able to insert the newline, no matter "Enable 'Enter' Key to save" is on or off.
(In reply to comment #2) > James, this bug is re-assigned to you because: > > 1. Ctrl-Enter should still be working as "Saved as Approved" when "Enable > 'Enter' Key to save" is off. > > 2. Shift-Enter should be able to insert the newline, no matter "Enable 'Enter' > Key to save" is on or off. OK, I will reinstate the Ctrl-Enter, and make 'Shift-Enter' be able to insert the newline, when "Enable 'Enter' Key to save" is on
Hi Ding, I have modified the code to reinstate Ctrl-Enter to be working as "Saved as Approved" when "Enable 'Enter' Key to save" is off. I also found that Shift-Enter should be able to insert the newline when "Enable 'Enter' Key to save" is off. And we don't need any further key event handler for Shift-Enter when "Enable 'Enter' Key to save" is off.
Dean, are you happy with this now?
VERIFIED with Zanata version 1.4.2-SNAPSHOT (20111014-1658).