diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-16 18:46:30 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-16 18:46:30 +0000 |
commit | d96f8c25bdab08f82e99913f1a46e0b7eb88a316 (patch) | |
tree | 6e233acd4e79f7b4d54b2e9f4e7b1f41dc4281af /plugins/WhenWasIt | |
parent | 13757ca8746dd25c01edde8f1a299500a3a3bfea (diff) |
_T > TaranslateT when needed (patch from person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3120 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WhenWasIt')
-rw-r--r-- | plugins/WhenWasIt/src/services.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/WhenWasIt/src/services.cpp b/plugins/WhenWasIt/src/services.cpp index 58e1013b48..0af7b99e39 100644 --- a/plugins/WhenWasIt/src/services.cpp +++ b/plugins/WhenWasIt/src/services.cpp @@ -212,8 +212,8 @@ INT_PTR RefreshUserDetailsService(WPARAM wParam, LPARAM lParam) HANDLE result = CreateThread(NULL, 0, RefreshUserDetailsWorkerThread, NULL, 0, &threadID);
if ( !result) {
TCHAR buffer[1024];
- _stprintf(buffer, _T("Could not create worker thread. Error#%d - threadID %d"), GetLastError(), threadID);
- MessageBox(0, buffer, _T("Error"), MB_OK | MB_ICONERROR);
+ _stprintf(buffer, TranslateT("Could not create worker thread. Error#%d - threadID %d"), GetLastError(), threadID);
+ MessageBox(0, buffer, TranslateT("Error"), MB_OK | MB_ICONERROR);
}
if ((result != NULL) && (result != INVALID_HANDLE_VALUE))
@@ -279,7 +279,7 @@ int DoImport(TCHAR *fileName) {
FILE *fin = _tfopen(fileName, _T("rt"));
if ( !fin) {
- MessageBox(0, _T("Could not open file to import birthdays"), _T("Error"), MB_OK | MB_ICONERROR);
+ MessageBox(0, TranslateT("Could not open file to import birthdays"), TranslateT("Error"), MB_OK | MB_ICONERROR);
return 1;
}
@@ -328,12 +328,12 @@ int DoExport(TCHAR *fileName) {
FILE *fout = _tfopen(fileName, _T("wt"));
if ( !fout) {
- MessageBox(0, _T("Could not open file to export birthdays"), _T("Error"), MB_OK | MB_ICONERROR);
+ MessageBox(0, TranslateT("Could not open file to export birthdays"), TranslateT("Error"), MB_OK | MB_ICONERROR);
return 1;
}
- _ftprintf(fout, _T("%c%s"), _T(COMMENT_CHAR), _T("Please do not edit this file by hand. Use the export function of WhenWasIt plugin.\n"));
- _ftprintf(fout, _T("%c%s"), _T(COMMENT_CHAR), _T("Warning! Please do not mix Unicode and Ansi exported birthday files. You should use the same version (Ansi/Unicode) of WhenWasIt that was used to export the info.\n"));
- _ftprintf(fout, _T("%c%s"), _T(COMMENT_CHAR), _T("This file was exported with a Unicode version of WhenWasIt. Please only use a Unicode version of the plugin to import the birthdays.\n"));
+ _ftprintf(fout, _T("%c%s"), _T(COMMENT_CHAR), TranslateT("Please do not edit this file by hand. Use the export function of WhenWasIt plugin.\n"));
+ _ftprintf(fout, _T("%c%s"), _T(COMMENT_CHAR), TranslateT("Warning! Please do not mix Unicode and Ansi exported birthday files. You should use the same version (Ansi/Unicode) of WhenWasIt that was used to export the info.\n"));
+ _ftprintf(fout, _T("%c%s"), _T(COMMENT_CHAR), TranslateT("This file was exported with a Unicode version of WhenWasIt. Please only use a Unicode version of the plugin to import the birthdays.\n"));
HANDLE hContact = db_find_first();
while (hContact) {
|