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 --- protocols/Weather/weather.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Weather/weather.cpp') diff --git a/protocols/Weather/weather.cpp b/protocols/Weather/weather.cpp index ad51c93a01..6fc059caa6 100644 --- a/protocols/Weather/weather.cpp +++ b/protocols/Weather/weather.cpp @@ -280,8 +280,8 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *link) DBWriteContactSettingString(NULL, "KnownModules", "Weather Protocol", "Weather,WeatherCondition,Current"); // add sound event - SkinAddNewSound("weatherupdated", Translate("Weather Condition Changed"), ""); - SkinAddNewSound("weatheralert", Translate("Weather Alert Issued"), ""); + SkinAddNewSoundEx("weatherupdated", NULL, LPGEN("Weather Condition Changed")); + SkinAddNewSoundEx("weatheralert", NULL, LPGEN("Weather Alert Issued")); // window needed for popup commands TCHAR SvcFunc[100]; -- cgit v1.2.3