diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-12-22 17:10:00 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-12-22 17:10:00 +0000 |
commit | 7a94e8013c96b328945c75ddceda66b290963e82 (patch) | |
tree | c7bce8fe1452d37516aaf59dd0334a6883b0229c /plugins | |
parent | 8ae43bc7ae47274e86a95aee4db58c064611e835 (diff) |
translation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@2803 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-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));
|