From 7771d82291c8cd6f25207c880cc866d6b1aac15c Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 9 Dec 2012 14:34:43 +0000 Subject: translation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@2703 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dbx_mmap_SA/src/security.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/Dbx_mmap_SA/src/security.cpp b/plugins/Dbx_mmap_SA/src/security.cpp index 6d44723dbf..97120953c6 100644 --- a/plugins/Dbx_mmap_SA/src/security.cpp +++ b/plugins/Dbx_mmap_SA/src/security.cpp @@ -131,7 +131,7 @@ int CDdxMmapSA::CheckPassword(WORD checkWord, TCHAR *szDBName) } } if (!Found){ - MessageBoxA(0, "Sorry, but your database encrypted with unknown module", "Error", MB_OK); + MessageBox(0, TranslateT("Sorry, but your database encrypted with unknown module"), TranslateT("Error"), MB_OK | MB_ICONERROR); bCheckingPass = 0; return 0; } @@ -167,14 +167,14 @@ int SelectEncoder() int i; if (arCryptors.getCount() == 0){ - MessageBox(0, TranslateT("Crypto modules not found"), TranslateT("Error"), MB_OK); + MessageBox(0, TranslateT("Crypto modules not found"), TranslateT("Error"), MB_OK | MB_ICONERROR); return 1; } uid = DBGetContactSettingWord(NULL, "SecureMMAP", "CryptoModule", 0); if (uid == 0){ - MessageBox(0, TranslateT("Crypto module hasn't been chosen, using first one found"), TranslateT("Notice"), MB_OK); + MessageBox(0, TranslateT("Crypto module hasn't been chosen, using first one found"), TranslateT("Notice"), MB_OK | MB_ICONINFORMATION); DBWriteContactSettingWord(NULL, "SecureMMAP", "CryptoModule", arCryptors[0]->cryptor->uid); CryptoEngine = arCryptors[0]->cryptor; } @@ -188,7 +188,7 @@ int SelectEncoder() } } if (!Found){ - MessageBox(0, TranslateT("Crypto module hasn't been chosen, using first one found"), TranslateT("Notice"), MB_OK); + MessageBox(0, TranslateT("Crypto module hasn't been chosen, using first one found"), TranslateT("Notice"), MB_OK | MB_ICONINFORMATION); DBWriteContactSettingWord(NULL, "SecureMMAP", "CryptoModule", arCryptors[0]->cryptor->uid); CryptoEngine = arCryptors[0]->cryptor; } @@ -262,7 +262,7 @@ void CDdxMmapSA::EncryptDB() return; if (memcmp(m_dbHeader.signature, &dbSignatureSecured, sizeof(m_dbHeader.signature)) == 0){ - MessageBox(0, TranslateT("DB is already secured!"), TranslateT("Error"), MB_OK); + MessageBox(0, TranslateT("DB is already secured!"), TranslateT("Error"), MB_OK | MB_ICONERROR); return; } -- cgit v1.2.3