diff options
-rw-r--r-- | app/resources/app_strings.grd | 3 | ||||
-rw-r--r-- | views/accelerator.cc | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/app/resources/app_strings.grd b/app/resources/app_strings.grd index 8cbd24d..ea93647 100644 --- a/app/resources/app_strings.grd +++ b/app/resources/app_strings.grd @@ -304,6 +304,9 @@ need to be translated for each locale.--> <message name="IDS_APP_F11_KEY" desc="F11 key"> F11 </message> + <message name="IDS_APP_BACKSPACE_KEY" desc="Backspace key"> + Backspace + </message> <!-- Shortcut Modifiers --> <message name="IDS_APP_CONTROL_MODIFIER" desc="Control key shortcut modifier"> diff --git a/views/accelerator.cc b/views/accelerator.cc index af969ac..4ac0419 100644 --- a/views/accelerator.cc +++ b/views/accelerator.cc @@ -43,6 +43,15 @@ std::wstring Accelerator::GetShortcutText() const { case VK_DELETE: string_id = IDS_APP_DELETE_KEY; break; + case VK_LEFT: + string_id = IDS_APP_LEFT_ARROW_KEY; + break; + case VK_RIGHT: + string_id = IDS_APP_RIGHT_ARROW_KEY; + break; + case VK_BACK: + string_id = IDS_APP_BACKSPACE_KEY; + break; case VK_F1: string_id = IDS_APP_F1_KEY; break; |