Add more symbols for special keys

This commit is contained in:
1024jp 2023-12-02 16:36:03 +09:00
parent 35870b7d5a
commit ca4320e790
2 changed files with 34 additions and 3 deletions

View File

@ -1,12 +1,11 @@
Change Log
==========================
# Change Log
4.7.0 (unreleased)
--------------------------
### Improvements
- [trivial] Add shortcut symbols for special keys not on common keyboards.
- [rc] Display the Globe symbol instead of “fn” for shortcuts in the Quick Action bar if the user keyboard is supposed to have the Globe key (thanks to Katsumi Kishikawa!).

View File

@ -314,6 +314,22 @@ struct Shortcut {
.f17,
.f18,
.f19,
.f20,
.f21,
.f22,
.f23,
.f24,
.f25,
.f26,
.f27,
.f28,
.f29,
.f30,
.f31,
.f32,
.f33,
.f34,
.f35,
]
@ -356,6 +372,22 @@ struct Shortcut {
.f17: "F17",
.f18: "F18",
.f19: "F19",
.f20: "F20",
.f21: "F21",
.f22: "F22",
.f23: "F23",
.f24: "F24",
.f25: "F25",
.f26: "F26",
.f27: "F27",
.f28: "F28",
.f29: "F29",
.f30: "F30",
.f31: "F31",
.f32: "F32",
.f33: "F33",
.f34: "F34",
.f35: "F35",
.help: "Help",
.space: String(localized: "Space", comment: "keyboard key name"),
.mic: "🎤︎", // U+1F3A4, U+FE0E