summaryrefslogtreecommitdiff
path: root/plugins/Alarms/alarmlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Alarms/alarmlist.cpp')
-rw-r--r--plugins/Alarms/alarmlist.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/Alarms/alarmlist.cpp b/plugins/Alarms/alarmlist.cpp
index 9bce8b546b..35ac1fa022 100644
--- a/plugins/Alarms/alarmlist.cpp
+++ b/plugins/Alarms/alarmlist.cpp
@@ -722,12 +722,13 @@ int IdleChanged(WPARAM wParam, LPARAM lParam)
return 0;
}
-void InitList() {
+void InitList()
+{
InitializeCriticalSection(&alarm_cs);
- SkinAddNewSoundEx("Triggered1", Translate("Alarms"), Translate("Alert 1"));
- SkinAddNewSoundEx("Triggered2", Translate("Alarms"), Translate("Alert 2"));
- SkinAddNewSoundEx("Triggered3", Translate("Alarms"), Translate("Alert 3"));
+ SkinAddNewSoundEx("Triggered1", LPGEN("Alarms"), LPGEN("Alert 1"));
+ SkinAddNewSoundEx("Triggered2", LPGEN("Alarms"), LPGEN("Alert 2"));
+ SkinAddNewSoundEx("Triggered3", LPGEN("Alarms"), LPGEN("Alert 3"));
// load last checked time
DBCONTACTGETSETTING dbcgs;