Rev 145 | Rev 160 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 145 | Rev 154 | ||
---|---|---|---|
Line 374... | Line 374... | ||
374 | // help menu, add/modify translations |
374 | // help menu, add/modify translations |
375 | else if (wParam_loword == MENUID_HELP_ADDMODIFYTRANSLATIONS) |
375 | else if (wParam_loword == MENUID_HELP_ADDMODIFYTRANSLATIONS) |
376 | { |
376 | { |
377 | swprintf_s (folder_path, WCHAR_SIZEOF (folder_path), L"%s\\data\\languages", app_path); |
377 | swprintf_s (folder_path, WCHAR_SIZEOF (folder_path), L"%s\\data\\languages", app_path); |
378 | ShellExecute (NULL, L"open", folder_path, NULL, NULL, SW_SHOWNORMAL); // fire up Windows Explorer |
378 | ShellExecute (NULL, L"open", folder_path, NULL, NULL, SW_SHOWNORMAL); // fire up Windows Explorer |
- | 379 | } |
|
- | 380 | ||
- | 381 | // help menu, report a problem to the author |
|
- | 382 | else if (wParam_loword == MENUID_HELP_REPORTAPROBLEM) |
|
- | 383 | { |
|
- | 384 | // send the game engine history to the author and display an error message if failed |
|
- | 385 | if (MessageBox (hMainWnd, LOCALIZE (L"ReportAProblem"), LOCALIZE (L"ImportantMessage"), MB_ICONQUESTION | MB_YESNOCANCEL | MB_DEFBUTTON3) == IDYES) |
|
- | 386 | if (Debug_SendLogToAuthor ()) |
|
- | 387 | MessageBox (hMainWnd, LOCALIZE (L"MessageSent"), PROGRAM_NAME, MB_ICONINFORMATION | MB_OK); |
|
- | 388 | else |
|
- | 389 | MessageBox (hMainWnd, LOCALIZE (L"NoInternetConnection"), LOCALIZE (L"FatalError"), MB_ICONWARNING | MB_OK); |
|
379 | } |
390 | } |
380 | 391 | ||
381 | // help menu, about |
392 | // help menu, about |
382 | else if (wParam_loword == MENUID_HELP_ABOUT) |
393 | else if (wParam_loword == MENUID_HELP_ABOUT) |
383 | DialogBox_About (); // show the About dialog box |
394 | DialogBox_About (); // show the About dialog box |