diff options
author | Dart Raiden <wowemuh@gmail.com> | 2016-09-17 18:48:35 +0000 |
---|---|---|
committer | Dart Raiden <wowemuh@gmail.com> | 2016-09-17 18:48:35 +0000 |
commit | daf624b5103faf66238b255e6cff871d0d59715b (patch) | |
tree | d7e3b113e197640a31f5ee3105ab3633b835712b /plugins/AvatarHistory/src/AvatarHistory.cpp | |
parent | bf78f5c61903c55626ba3817155327cacdf3dcc8 (diff) |
AvatarHistory: don't need translate debug messages
git-svn-id: http://svn.miranda-ng.org/main/trunk@17312 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AvatarHistory/src/AvatarHistory.cpp')
-rw-r--r-- | plugins/AvatarHistory/src/AvatarHistory.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/AvatarHistory/src/AvatarHistory.cpp b/plugins/AvatarHistory/src/AvatarHistory.cpp index fd70eff119..0ffab0984f 100644 --- a/plugins/AvatarHistory/src/AvatarHistory.cpp +++ b/plugins/AvatarHistory/src/AvatarHistory.cpp @@ -123,7 +123,7 @@ static int AvatarChanged(WPARAM hContact, LPARAM lParam) if (!ret || !mir_wstrcmp(dbvOldHash.ptszVal, L"-")) {
//avoid duplicate "removed avatar" notifications
//do not notify on an empty profile
- ShowDebugPopup(hContact, TranslateT("AVH Debug"), TranslateT("Removed avatar, no avatar before... skipping"));
+ ShowDebugPopup(hContact, L"AVH Debug", L"Removed avatar, no avatar before... skipping");
db_free(&dbvOldHash);
return 0;
}
@@ -138,7 +138,7 @@ static int AvatarChanged(WPARAM hContact, LPARAM lParam) else {
if (ret && !mir_wstrcmp(dbvOldHash.ptszVal, avatar->hash)) {
// same avatar hash, skipping
- ShowDebugPopup(hContact, TranslateT("AVH Debug"), TranslateT("Hashes are the same... skipping"));
+ ShowDebugPopup(hContact, L"AVH Debug", L"Hashes are the same... skipping");
db_free(&dbvOldHash);
return 0;
}
@@ -154,7 +154,7 @@ static int AvatarChanged(WPARAM hContact, LPARAM lParam) if (CopyImageFile(avatar->filename, history_filename))
ShowPopup(hContact, TranslateT("Avatar History: Unable to save avatar"), history_filename);
else
- ShowDebugPopup(hContact, TranslateT("AVH Debug: File copied successfully"), history_filename);
+ ShowDebugPopup(hContact, L"AVH Debug: File copied successfully", history_filename);
MCONTACT hMetaContact = db_mc_getMeta(hContact);
if (hMetaContact && ContactEnabled(hMetaContact, "LogToDisk", AVH_DEF_LOGTOHISTORY)) {
@@ -164,7 +164,7 @@ static int AvatarChanged(WPARAM hContact, LPARAM lParam) if (CopyImageFile(avatar->filename, filename))
ShowPopup(hContact, TranslateT("Avatar History: Unable to save avatar"), filename);
else
- ShowDebugPopup(hContact, TranslateT("AVH Debug: File copied successfully"), filename);
+ ShowDebugPopup(hContact, L"AVH Debug: File copied successfully", filename);
}
}
}
@@ -193,7 +193,7 @@ static int AvatarChanged(WPARAM hContact, LPARAM lParam) if (CopyImageFile(avatar->filename, history_filename))
ShowPopup(hContact, TranslateT("Avatar History: Unable to save avatar"), history_filename);
else
- ShowDebugPopup(hContact, TranslateT("AVH Debug: File copied successfully"), history_filename);
+ ShowDebugPopup(hContact, L"AVH Debug: File copied successfully", history_filename);
}
if (opts.log_per_contact_folders) {
|