summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mmap_SA/src/security.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-12-09 14:34:43 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-12-09 14:34:43 +0000
commit7771d82291c8cd6f25207c880cc866d6b1aac15c (patch)
treebb0239435d764c4287de4633aeefbdcaa5b7ea21 /plugins/Dbx_mmap_SA/src/security.cpp
parent0934a9739127298e839287aa038ba97ed44350fc (diff)
translation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@2703 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mmap_SA/src/security.cpp')
-rw-r--r--plugins/Dbx_mmap_SA/src/security.cpp10
1 files 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;
}