MTrop / DoomTools

Doom-related tools for Java. Home of DECOHack and lots of other utilities. Build WAD projects (and soon, other kinds) with ease!
https://mtrop.github.io/DoomTools/
MIT License
46 stars 5 forks source link

[DoomTools-GUI] OS Type Should be a Part of Language Management (for Keystrokes) #70

Closed MTrop closed 2 years ago

MTrop commented 2 years ago

DoomTools GUI uses an internal set of properties files for getting the correct language data for displaying on screen for localized languages. This works for the written word, but there's one more thing that it governs that needs to be localized to OS - shortcut keys.

In Windows, using CTRL is acceptable for most common operations (and some flavors of Linux). In macOS, however, the COMMAND key is king. This must be reflected at the language level, since that is the place that also defines mnemonics that are language-originated, and is still a good idea to support anyway since there can be a bunch of shortcuts that are vastly different across OSes (Redo is CTRL+Y in Windows, COMMAND+SHIFT+Z in macOS).

MTrop commented 2 years ago

In addition - this should be nipped in the bud ASAP, as more utilities get added to the GUI.

MTrop commented 2 years ago

Added. I forget which commit.