The en_* locales would really benefit from having a keyboard shortcut that copied the original string(s) and put focus into the input field for potential editing, and allowing the existing Shift-Enter keyboard shortcut to submit the string.
For en_GB, en_AU, en_SA, en_CA, and en_NZ, this would make translations in the ballpark of twice as quick. Those inputting strings for a locale where the original string is in a variation of that locale would also benefit (i.e. Informal German into Formal German etc. or some combinations of Spanish or Portuguese.)
The Trac ticket has a patch as a starting point.
Not sure if entirely relevant, but it'd definitely make things more accessible, allowing a user to focus their hands solely on the keyboard, instead of going back and forth between mouse/keyboard, allowing for better efficiency, less energy used, and such.
Aka: Yes to all of the above! Please, great GlotPress gods, please bestow this feature upon us!
Finding shortcuts which work for everyone is hard. The PR uses some which are already used by the OS.
What do you think about using something like https://craig.is/killing/mice which provides a simple API and also a plugin to record shortcuts so a user could define their own shortcuts for specific actions?
The trade off is standardization vs customization, in this case I think standardization wins out, but that's my opionion.
Something like Mousetrap could simplify our keyboard handling but I'm not sure it's worth the extra library. It could be worth a look though during the redesign for a more fulsome review of our keyboard interactions.
I'm interested what other users think about this:
GlotDict have different hotkeys maybe can be helpful :-) https://github.com/Mte90/GlotDict#hotkeys
Are you using keyboard shortcuts?
Yep, shift + enter for saving translations.
What actions should have a shortcut?
Copying from Original, for sure! Approving/rejecting would be useful, but I'd prioritise the copying function over those.
Which keys should be used for shortcut? Should they be customisable?
As I don't use ctrl + arrow keys for their intended purposes (Mac user, hi), I'd be up for using some combination of them - I'd say ctrl + down arrow, as it'd feel like you're pulling the original translation down, making it easy to remember. (I can then re-map the shortcut for switching application windows in my settings, no worries.) That being said, having the shortcut be customisable would be very handy!!
Are you using any other services which provides keyboard shortcuts which you can recommend?
When using it previously, Notational Velocity had awesome shortcuts. GitHub as well! Atom's also pretty neat shortcut-wise.
This is from someone coming from the viewpoint of an English variant, copying from the original string is 95%+ of the actions performed for English variants
Please get inspiration from GlotDict: https://github.com/Mte90/GlotDict#hotkeys
A way to easily define a set of actions as a user would be great of course! Like the CTRL+SHIFT+F in GlotDict that would check for a space in front of ':' and replace it with a non-breaking space.