diff options
Diffstat (limited to 'src/modules/skin/hotkey_opts.cpp')
-rw-r--r-- | src/modules/skin/hotkey_opts.cpp | 66 |
1 files changed, 32 insertions, 34 deletions
diff --git a/src/modules/skin/hotkey_opts.cpp b/src/modules/skin/hotkey_opts.cpp index c54a21a20e..83521c149f 100644 --- a/src/modules/skin/hotkey_opts.cpp +++ b/src/modules/skin/hotkey_opts.cpp @@ -44,58 +44,56 @@ static TCHAR *sttHokeyVkToName(WORD vkKey) case VK_NUMLOCK: case VK_CAPITAL: case VK_SCROLL: - return _T(""); - - case VK_DIVIDE: - case VK_INSERT: - case VK_HOME: - case VK_PRIOR: - case VK_DELETE: - case VK_END: - case VK_NEXT: - case VK_LEFT: - case VK_RIGHT: - case VK_UP: - case VK_DOWN: - code |= (1UL << 24); - + return TranslateT("");
case VK_BROWSER_BACK:
- return _T("Browser_Back");
+ return TranslateT("Browser: Back");
case VK_BROWSER_FORWARD:
- return _T("Browser_Forward");
+ return TranslateT("Browser: Forward");
case VK_BROWSER_REFRESH:
- return _T("Browser_Refresh");
+ return TranslateT("Browser: Refresh");
case VK_BROWSER_STOP:
- return _T("Browser_Stop");
+ return TranslateT("Browser: Stop");
case VK_BROWSER_SEARCH:
- return _T("Browser_Search");
+ return TranslateT("Browser: Search");
case VK_BROWSER_FAVORITES:
- return _T("Browser_Fav");
+ return TranslateT("Browser: Fav");
case VK_BROWSER_HOME:
- return _T("Browser_Home");
+ return TranslateT("Browser: Home");
case VK_VOLUME_MUTE:
- return _T("Mute");
+ return TranslateT("Mute");
case VK_VOLUME_DOWN:
- return _T("Vol-");
+ return TranslateT("Vol-");
case VK_VOLUME_UP:
- return _T("Vol+");
+ return TranslateT("Vol+");
case VK_MEDIA_NEXT_TRACK:
- return _T("Media_Next_Track");
+ return TranslateT("Media: Next Track");
case VK_MEDIA_PREV_TRACK:
- return _T("Media_Prev_Track");
+ return TranslateT("Media: Prev. Track");
case VK_MEDIA_STOP:
- return _T("Media_Stop");
+ return TranslateT("Media: Stop");
case VK_MEDIA_PLAY_PAUSE:
- return _T("Media_Play/Pause");
+ return TranslateT("Media: Play/Pause");
case VK_LAUNCH_MAIL:
- return _T("Mail");
+ return TranslateT("Mail");
case VK_LAUNCH_MEDIA_SELECT:
- return _T("Media_Select");
+ return TranslateT("Media: Select");
case VK_LAUNCH_APP1:
- return _T("App1");
- case VK_LAUNCH_APP2: - return _T("App2"); + return TranslateT("App 1");
+ case VK_LAUNCH_APP2:
+ return TranslateT("App 2"); + case VK_DIVIDE: + case VK_INSERT: + case VK_HOME: + case VK_PRIOR: + case VK_DELETE: + case VK_END: + case VK_NEXT: + case VK_LEFT: + case VK_RIGHT: + case VK_UP: + case VK_DOWN: + code |= (1UL << 24); } GetKeyNameText(code, buf, 256); |