diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-03-23 17:46:06 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-03-23 17:46:06 +0000 |
commit | 3f52c0846802526781c66d12d7e041cd991bc459 (patch) | |
tree | 4a955002c0488f48471e93e88b5b4c03431b46e0 /src/modules/skin/hotkey_opts.cpp | |
parent | 0c55481e15c493e3462ea74297e320997ec1de32 (diff) |
Fix for r12483
-Using TranslateT
-Fixed missing break
git-svn-id: http://svn.miranda-ng.org/main/trunk@12485 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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); |