diff options
-rw-r--r-- | plugins/NotesAndReminders/src/main.cpp | 4 | ||||
-rw-r--r-- | plugins/NotesAndReminders/src/notes.cpp | 2 | ||||
-rw-r--r-- | plugins/NotesAndReminders/src/reminders.cpp | 4 |
3 files changed, 5 insertions, 5 deletions
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));
|