From c406d016d19512cceb0562c83ab7f77c09bdc01e Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sat, 19 Sep 2015 18:04:18 +0000 Subject: SendSS: Translation fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@15399 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SendScreenshotPlus/src/UMainForm.cpp | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'plugins/SendScreenshotPlus/src') diff --git a/plugins/SendScreenshotPlus/src/UMainForm.cpp b/plugins/SendScreenshotPlus/src/UMainForm.cpp index 517d3620be..a6295cdc8b 100644 --- a/plugins/SendScreenshotPlus/src/UMainForm.cpp +++ b/plugins/SendScreenshotPlus/src/UMainForm.cpp @@ -989,11 +989,16 @@ INT_PTR TfrmMain::SaveScreenshot(FIBITMAP* dib) CMString tszFileDesc; - - if (!m_opt_tabCapture && m_opt_chkClientArea) - tszFileDesc.Format(TranslateT("Screenshot for Client area of \"%s\""), winText); - else - tszFileDesc.Format(TranslateT("Screenshot of \"%s\" window"), winText); + + if (m_opt_tabCapture) + tszFileDesc.Format(TranslateT("Screenshot of \"%s\""), winText); + else + { + if (m_opt_chkClientArea) + tszFileDesc.Format(TranslateT("Screenshot for Client area of \"%s\" window"), winText); + else + tszFileDesc.Format(TranslateT("Screenshot of \"%s\" window"), winText); + } pszFileDesc = tszFileDesc.Detach(); -- cgit v1.2.3