diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-15 19:26:03 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-15 19:26:03 +0000 |
commit | e2fc4058cc0d71e012446b84ce7bcfc936b72b47 (patch) | |
tree | 30231bfda5e0822ea6f39049ae6f06a18958a492 /src/modules/skin | |
parent | ab66f0d4f139770ecd12c9f8f276136f6b2af885 (diff) |
hotkey modifiers' translation
git-svn-id: http://svn.miranda-ng.org/main/trunk@5374 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/skin')
-rw-r--r-- | src/modules/skin/hotkey_opts.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/skin/hotkey_opts.cpp b/src/modules/skin/hotkey_opts.cpp index 07c31fdc91..8a583f3523 100644 --- a/src/modules/skin/hotkey_opts.cpp +++ b/src/modules/skin/hotkey_opts.cpp @@ -66,10 +66,10 @@ static TCHAR *sttHokeyVkToName(WORD vkKey) void HotkeyToName(TCHAR *buf, int size, BYTE shift, BYTE key)
{
mir_sntprintf(buf, size, _T("%s%s%s%s%s"),
- (shift & HOTKEYF_CONTROL) ? _T("Ctrl + ") : _T(""),
- (shift & HOTKEYF_ALT) ? _T("Alt + ") : _T(""),
- (shift & HOTKEYF_SHIFT) ? _T("Shift + ") : _T(""),
- (shift & HOTKEYF_EXT) ? _T("Win + ") : _T(""),
+ (shift & HOTKEYF_CONTROL) ? TranslateT("Ctrl + ") : _T(""),
+ (shift & HOTKEYF_ALT) ? TranslateT("Alt + ") : _T(""),
+ (shift & HOTKEYF_SHIFT) ? TranslateT("Shift + ") : _T(""),
+ (shift & HOTKEYF_EXT) ? TranslateT("Win + ") : _T(""),
sttHokeyVkToName(key));
}
|