Why make Keyboard Shortcut Keys replaceable in POT for translation, wouldn't it be far better to have a configuraable text file that allows individual's to customize and also perhaps allows keyboard macros?
As an example, each basic action could be is assigned some number = a key.
Number Key Action
1010 : + = Zoom in
1011: - = Zoom out
1012: F8 = Larger scale
1023: F9 = Smaller scale
1024: Ctrl-R = Create
Route
1025: F2 = Auto Follow
1026: none = Options
1027: T = Show
Enc Text
1028: none = Hide
AIS Targets
1029: none = Show Currents
1030: none = Show Tides
1031: none =
Route and Mark Manager
1032: none = Enable
Tracking
1033: F5 = Change Color Scheme
1034: none = About Opencpn
1035: none = Dashboard
1036: none = Grib
1037: none = Wmm
1038: Ctrl-Space =
MOB
For additional keys look at the manual
https://opencpn.org/wiki/dokuwiki/do...oard_shortcuts
Also perhaps the various Options Icons & Tabs and certain settings could be made available so that those settings could be quickly changed.
This would all be in a text file that could be edited. I don't know if it would slow down OpenCPN though, perhaps it is just brought in at startup and cached so it would be the same speed.
This would be more flexible and perhaps there could be a POT for the Shortcut Keyboard itself to internationalize it.
Keyboard Macros
Possibly the next step would be the ability to create a keyboard macro, a string of several commands...with the ability to pause and prompt for entry of data or an action like pick a point, etc.
What would the signal key be for starting a keyboard macro?
[signal key] + [letter]
We need a good programmer to write this.
Bdbcat could assign the numbers perhaps?
This is already in Tracker FS#1179 FS#1397
https://opencpn.org/flyspray/index.p...s&task_id=1179
https://opencpn.org/flyspray/index.p...s&task_id=1397
Which have only 5 votes together.
So VOTE!
NOTE: Because we have different keys for Win Mac Lin the text file would be more extended.