From 30ab6ceb71842f003f649b3d62b89af010cf40d1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 20 Jun 2012 17:00:14 +0000 Subject: - direct call of MS_SKIN_ADDNEWSOUND replaced with Skin_AddSound() call; - obsolete structure SKINSOUNDDESC removed - dynamically translated hot keys; - checked correct LPGEN'ing of the sounds creation; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@500 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/chat/options.cpp | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'plugins/TabSRMM/chat/options.cpp') diff --git a/plugins/TabSRMM/chat/options.cpp b/plugins/TabSRMM/chat/options.cpp index a00a87161b..28f0362869 100644 --- a/plugins/TabSRMM/chat/options.cpp +++ b/plugins/TabSRMM/chat/options.cpp @@ -1463,18 +1463,19 @@ int OptionsInit(void) g_Settings.hGroup = 0; LoadGlobalSettings(); g_Settings.Highlight = new CMUCHighlight(); - SkinAddNewSoundEx("ChatMessage", "Group chats", "Incoming message"); - SkinAddNewSoundEx("ChatSent", "Group chats", "Outgoing message"); - SkinAddNewSoundEx("ChatHighlight", "Group chats", "Message is highlighted"); - SkinAddNewSoundEx("ChatAction", "Group chats", "User has performed an action"); - SkinAddNewSoundEx("ChatJoin", "Group chats", "User has joined"); - SkinAddNewSoundEx("ChatPart", "Group chats", "User has left"); - SkinAddNewSoundEx("ChatKick", "Group chats", "User has kicked some other user"); - SkinAddNewSoundEx("ChatMode", "Group chats", "User's status was changed"); - SkinAddNewSoundEx("ChatNick", "Group chats", "User has changed name"); - SkinAddNewSoundEx("ChatNotice", "Group chats", "User has sent a notice"); - SkinAddNewSoundEx("ChatQuit", "Group chats", "User has disconnected"); - SkinAddNewSoundEx("ChatTopic", "Group chats", "The topic has been changed"); + + SkinAddNewSoundEx("ChatMessage", LPGEN("Group chats"), LPGEN("Incoming message")); + SkinAddNewSoundEx("ChatSent", LPGEN("Group chats"), LPGEN("Outgoing message")); + SkinAddNewSoundEx("ChatHighlight", LPGEN("Group chats"), LPGEN("Message is highlighted")); + SkinAddNewSoundEx("ChatAction", LPGEN("Group chats"), LPGEN("User has performed an action")); + SkinAddNewSoundEx("ChatJoin", LPGEN("Group chats"), LPGEN("User has joined")); + SkinAddNewSoundEx("ChatPart", LPGEN("Group chats"), LPGEN("User has left")); + SkinAddNewSoundEx("ChatKick", LPGEN("Group chats"), LPGEN("User has kicked some other user")); + SkinAddNewSoundEx("ChatMode", LPGEN("Group chats"), LPGEN("User's status was changed")); + SkinAddNewSoundEx("ChatNick", LPGEN("Group chats"), LPGEN("User has changed name")); + SkinAddNewSoundEx("ChatNotice", LPGEN("Group chats"), LPGEN("User has sent a notice")); + SkinAddNewSoundEx("ChatQuit", LPGEN("Group chats"), LPGEN("User has disconnected")); + SkinAddNewSoundEx("ChatTopic", LPGEN("Group chats"), LPGEN("The topic has been changed")); LoadMsgDlgFont(FONTSECTION_CHAT, 0, &lf, NULL, CHAT_FONTMODULE); hFont = CreateFontIndirect(&lf); -- cgit v1.2.3