From 7a94e8013c96b328945c75ddceda66b290963e82 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 22 Dec 2012 17:10:00 +0000 Subject: translation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@2803 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NotesAndReminders/src/main.cpp | 4 ++-- plugins/NotesAndReminders/src/notes.cpp | 2 +- plugins/NotesAndReminders/src/reminders.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins') diff --git a/plugins/NotesAndReminders/src/main.cpp b/plugins/NotesAndReminders/src/main.cpp index d3d8549457..60302fafe3 100644 --- a/plugins/NotesAndReminders/src/main.cpp +++ b/plugins/NotesAndReminders/src/main.cpp @@ -48,7 +48,7 @@ INT_PTR PluginMenuCommandAddNew(WPARAM w,LPARAM l) INT_PTR PluginMenuCommandDeleteAll(WPARAM w,LPARAM l) { - if (g_Stickies && MessageBox(NULL, TranslateT("Are you sure you want to delete all notes?"), _T(SECTIONNAME), MB_OKCANCEL) == IDOK) + if (g_Stickies && MessageBox(NULL, TranslateT("Are you sure you want to delete all notes?"), TranslateT(SECTIONNAME), MB_OKCANCEL) == IDOK) DeleteNotes(); return 0; } @@ -85,7 +85,7 @@ INT_PTR PluginMenuCommandViewReminders(WPARAM w,LPARAM l) INT_PTR PluginMenuCommandDeleteReminders(WPARAM w,LPARAM l) { - if (RemindersList && MessageBox(NULL, TranslateT("Are you sure you want to delete all reminders?"), _T(SECTIONNAME), MB_OKCANCEL) == IDOK) + if (RemindersList && MessageBox(NULL, TranslateT("Are you sure you want to delete all reminders?"), TranslateT(SECTIONNAME), MB_OKCANCEL) == IDOK) DeleteReminders(); return 0; } diff --git a/plugins/NotesAndReminders/src/notes.cpp b/plugins/NotesAndReminders/src/notes.cpp index 25f372b1e7..a5c79ca142 100644 --- a/plugins/NotesAndReminders/src/notes.cpp +++ b/plugins/NotesAndReminders/src/notes.cpp @@ -703,7 +703,7 @@ void PurgeNotes(void) void OnDeleteNote(HWND hdlg, STICKYNOTE *SN) { - if (MessageBox(hdlg, TranslateT("Are you sure you want to delete this note?"), _T(SECTIONNAME), MB_OKCANCEL) == IDOK) + if (MessageBox(hdlg, TranslateT("Are you sure you want to delete this note?"), TranslateT(SECTIONNAME), MB_OKCANCEL) == IDOK) { DestroyWindow(hdlg); TreeDelete(&g_Stickies,SN); diff --git a/plugins/NotesAndReminders/src/reminders.cpp b/plugins/NotesAndReminders/src/reminders.cpp index 6accd3c992..21c262f2cd 100644 --- a/plugins/NotesAndReminders/src/reminders.cpp +++ b/plugins/NotesAndReminders/src/reminders.cpp @@ -2763,7 +2763,7 @@ INT_PTR CALLBACK DlgProcViewReminders(HWND Dialog,UINT Message,WPARAM wParam,LPA return TRUE; } case IDM_DELETEALLREMINDERS: - if (RemindersList && MessageBox(Dialog, TranslateT("Are you sure you want to delete all reminders?"), _T(SECTIONNAME), MB_OKCANCEL) == IDOK) + if (RemindersList && MessageBox(Dialog, TranslateT("Are you sure you want to delete all reminders?"), TranslateT(SECTIONNAME), MB_OKCANCEL) == IDOK) { SetDlgItemText(Dialog,IDC_REMINDERDATA,_T("")); DeleteReminders(); @@ -2779,7 +2779,7 @@ INT_PTR CALLBACK DlgProcViewReminders(HWND Dialog,UINT Message,WPARAM wParam,LPA { I = ListView_GetSelectionMark(H); if (I != -1 - && MessageBox(Dialog, TranslateT("Are you sure you want to delete this reminder?"), _T(SECTIONNAME), MB_OKCANCEL) == IDOK) + && MessageBox(Dialog, TranslateT("Are you sure you want to delete this reminder?"), TranslateT(SECTIONNAME), MB_OKCANCEL) == IDOK) { SetDlgItemText(Dialog,IDC_REMINDERDATA,_T("")); DeleteReminder((REMINDERDATA*)TreeGetAt(RemindersList, I)); -- cgit v1.2.3