diff options
Diffstat (limited to 'plugins/SendScreenshotPlus')
| -rw-r--r-- | plugins/SendScreenshotPlus/src/Main.cpp | 8 | ||||
| -rw-r--r-- | plugins/SendScreenshotPlus/src/UMainForm.cpp | 11 | ||||
| -rw-r--r-- | plugins/SendScreenshotPlus/src/version.h | 2 | 
3 files changed, 10 insertions, 11 deletions
| diff --git a/plugins/SendScreenshotPlus/src/Main.cpp b/plugins/SendScreenshotPlus/src/Main.cpp index 23d5ac51ba..4088f562f1 100644 --- a/plugins/SendScreenshotPlus/src/Main.cpp +++ b/plugins/SendScreenshotPlus/src/Main.cpp @@ -73,14 +73,14 @@ TCHAR* GetCustomPath() {  		pszPath = mir_tstrdup(szPath);  	}  	if(!pszPath){ -		MessageBox(NULL, _T("Can not retrieve Screenshot path."), _T("Send Screenshot"), MB_OK | MB_ICONERROR | MB_APPLMODAL); +		MessageBox(NULL, _T("Can not retrieve screenshot path."), _T("SendSS"), MB_OK | MB_ICONERROR | MB_APPLMODAL);  		return 0;  	}  	int result = CreateDirectoryTreeT(pszPath);  	if(result){  		TCHAR szError[MAX_PATH]; -		mir_sntprintf(szError,MAX_PATH,TranslateT("Could not create Screenshot folder (error code: %d):\n%s\nDo you have write permissions?"),result,pszPath); -		MessageBox(NULL, szError, _T("Send Screenshot"), MB_OK | MB_ICONERROR | MB_APPLMODAL); +		mir_sntprintf(szError,MAX_PATH,TranslateT("Could not create screenshot folder (error code: %d):\n%s\nDo you have write permissions?"),result,pszPath); +		MessageBox(NULL, szError, _T("SendSS"), MB_OK | MB_ICONERROR | MB_APPLMODAL);  		mir_free(pszPath);  		return 0;  	} @@ -255,7 +255,7 @@ DLL_EXPORT int Load(void)  	mir_getLP(&pluginInfo);  	INT_PTR result=CallService(MS_IMG_GETINTERFACE,FI_IF_VERSION,(LPARAM)&FIP);  	if(FIP==NULL || result!=S_OK) { -		MessageBox(NULL, TranslateT("Fatal error, image services not found. SendScreenshot will be disabled."), TranslateT("Error"), MB_OK | MB_ICONERROR | MB_APPLMODAL); +		MessageBox(NULL, TranslateT("Image services (AdvaImg) not found.\nSendSS disabled."), TranslateT("SendSS"), MB_OK | MB_ICONERROR | MB_APPLMODAL);  		return 1;  	}  	/// hook events diff --git a/plugins/SendScreenshotPlus/src/UMainForm.cpp b/plugins/SendScreenshotPlus/src/UMainForm.cpp index 184890fa96..b62ebb58d3 100644 --- a/plugins/SendScreenshotPlus/src/UMainForm.cpp +++ b/plugins/SendScreenshotPlus/src/UMainForm.cpp @@ -644,8 +644,8 @@ void TfrmMain::UMevent(WPARAM wParam, LPARAM lParam) {  	switch (lParam) {  		case EVT_CaptureDone:  			if (!m_Screenshot && m_opt_tabCapture!=2) { -				TCHAR *err = TranslateT("Can't create a Screenshot"); -				MessageBox(m_hWnd,err,ERROR_TITLE,MB_OK|MB_ICONWARNING); +				TCHAR *err = TranslateT("Couldn't take a screenshot"); +				MessageBox(NULL,err,ERROR_TITLE,MB_OK|MB_ICONWARNING);  				Show();  				return;  			} @@ -654,14 +654,13 @@ void TfrmMain::UMevent(WPARAM wParam, LPARAM lParam) {  		case EVT_SendFileDone:  			break;  		case EVT_CheckOpenAgain: -			if (m_opt_chkOpenAgain) { -				if (m_Screenshot) { +			if(m_opt_chkOpenAgain){ +				if(m_Screenshot){  					FIP->FI_Unload(m_Screenshot);  					m_Screenshot = NULL;  				}  				Show(); -			}else{ -				// Saving Options and close +			}else{// Saving Options and close  				SaveOptions();  				Close();  			} diff --git a/plugins/SendScreenshotPlus/src/version.h b/plugins/SendScreenshotPlus/src/version.h index 5d0485b932..cea87e90ff 100644 --- a/plugins/SendScreenshotPlus/src/version.h +++ b/plugins/SendScreenshotPlus/src/version.h @@ -1,6 +1,6 @@  #define __MAJOR_VERSION            0  #define __MINOR_VERSION            8 -#define __RELEASE_NUM              7 +#define __RELEASE_NUM              9  #define __BUILD_NUM                0  #include <stdver.h> | 
