diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-02-25 16:56:52 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-02-25 16:56:52 +0200 |
commit | bb5528246b71975133456bc5e54ed84b4ff4a4a8 (patch) | |
tree | 0f2fe4d2857b1ae8c4012bf47a06eab5b5048f9b /main.cpp | |
parent | 6a42053a9796fb2a2cdc0ef795fda101a0167247 (diff) |
modified: main.cpp
Diffstat (limited to 'main.cpp')
-rwxr-xr-x | main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -552,7 +552,7 @@ static BOOL CALLBACK DlgProcGpgBinOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LP if(_waccess(gpg_lang_path, 0) != -1) lang_exists = true; if(gpg_exists && !lang_exists) //TODO: check gpg version - MessageBox(0, TranslateW("gpg binary found in miranda folder, but english locale does not exists.\nit's highly recommended to place \\gnupg.nls\\en@quot.mo in gnupg folder under miranda root.\nwithout this file you may expirense many problem with gpg output on non english systems.\nand plugin may completely do not work.\nyou have beed warned."), _T("Warning"), MB_OK); + MessageBoxA(0, Translate("gpg binary found in miranda folder, but english locale does not exists.\nit's highly recommended to place \\gnupg.nls\\en@quot.mo in gnupg folder under miranda root.\nwithout this file you may expirense many problem with gpg output on non english systems.\nand plugin may completely do not work.\nyou have beed warned."), "Warning", MB_OK); mir_free(gpg_path); mir_free(gpg_lang_path); } @@ -570,7 +570,7 @@ static BOOL CALLBACK DlgProcGpgBinOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LP { if(errno == ENOENT) { - MessageBox(0, TranslateW("wrong gpg binary location found in system.\nplease choose another location"), _T("Warning"), MB_OK); + MessageBoxA(0, Translate("wrong gpg binary location found in system.\nplease choose another location"), "Warning", MB_OK); } } } @@ -614,10 +614,10 @@ static BOOL CALLBACK DlgProcGpgBinOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LP else { bad_version = false; - MessageBox(0, TranslateW("This is not gnupg binary !\nrecommended to use GnuPG v1.x.x with this plugn."), _T("Warning"), MB_OK); + MessageBoxA(0, Translate("This is not gnupg binary !\nrecommended to use GnuPG v1.x.x with this plugn."), "Warning", MB_OK); } if(bad_version) - MessageBox(0, TranslateW("Unsupported gnupg version found, use at you own risk!\nrecommended to use GnuPG v1.x.x with this plugn."), _T("Warning"), MB_OK); + MessageBoxA(0, Translate("Unsupported gnupg version found, use at you own risk!\nrecommended to use GnuPG v1.x.x with this plugn."), "Warning", MB_OK); } mir_free(tmp); if(!gpg_exists) @@ -629,7 +629,7 @@ static BOOL CALLBACK DlgProcGpgBinOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LP SetDlgItemText(hwndDlg, IDC_HOME_DIR, !gpg_exists?tmp:_T("gpg")); mir_free(tmp); if(gpg_exists && lang_exists && !bad_version) - MessageBox(0, TranslateW("Your GPG version is supported. The language file was found.\nGPG plugin should work fine.\nPress OK to continue."), _T("Info"), MB_OK); + MessageBoxA(0, Translate("Your GPG version is supported. The language file was found.\nGPG plugin should work fine.\nPress OK to continue."), "Info", MB_OK); extern bool bIsMiranda09; EnableWindow(GetDlgItem(hwndDlg, IDC_AUTO_EXCHANGE), bIsMiranda09); return TRUE; |