diff options
Diffstat (limited to 'plugins/HistoryStats/src/main.cpp')
-rw-r--r-- | plugins/HistoryStats/src/main.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/plugins/HistoryStats/src/main.cpp b/plugins/HistoryStats/src/main.cpp index 4f7a1a09d4..f44efb8a85 100644 --- a/plugins/HistoryStats/src/main.cpp +++ b/plugins/HistoryStats/src/main.cpp @@ -211,10 +211,10 @@ static INT_PTR MenuHistoryPaste(WPARAM wParam, LPARAM lParam) // ask user if this is really what he wants
ext::string strConfirm = ext::str(ext::kformat(TranslateT("You're going to copy the complete history of #{source_name} (#{source_proto}) to #{target_name} (#{target_proto}). Afterwards, the target history will contain entries from both histories. There is no way to revert this operation. Be careful! This is a rather big operation and has the potential to damage your database. Be sure to have a backup of this database before performing this operation.\r\n\r\nAre you sure you would like to continue?")))
- % _T("#{source_name}") * mu::clist::getContactDisplayName(g_hHistoryCopyContact)
- % _T("#{source_proto}") * utils::fromA(GetContactProto(g_hHistoryCopyContact))
- % _T("#{target_name}") * mu::clist::getContactDisplayName(hTarget)
- % _T("#{target_proto}") * utils::fromA(GetContactProto(hTarget)));
+ % L"#{source_name}" * mu::clist::getContactDisplayName(g_hHistoryCopyContact)
+ % L"#{source_proto}" * utils::fromA(GetContactProto(g_hHistoryCopyContact))
+ % L"#{target_name}" * mu::clist::getContactDisplayName(hTarget)
+ % L"#{target_proto}" * utils::fromA(GetContactProto(hTarget)));
if (MessageBox(0, strConfirm.c_str(), TranslateT("HistoryStats - Confirm")), MB_ICONQUESTION | MB_YESNO | MB_DEFBUTTON2) != IDYES)
{
@@ -265,9 +265,9 @@ static INT_PTR MenuHistoryPaste(WPARAM wParam, LPARAM lParam) // output summary
ext::string strSummary = ext::str(ext::kformat(TranslateT("Successfully read #{success} events of which #{fail_add} couldn't be added to the target history. #{fail} events couldn't be read from the source history.")))
- % _T("#{success}") * dwCountSuccess
- % _T("#{fail}") * dwCountFailRead
- % _T("#{fail_add}") * dwCountFailAdd);
+ % L"#{success}" * dwCountSuccess
+ % L"#{fail}" * dwCountFailRead
+ % L"#{fail_add}" * dwCountFailAdd);
MessageBox(0, strSummary.c_str(), TranslateT("HistoryStats - Information")), MB_ICONINFORMATION);
@@ -412,7 +412,7 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID) extern "C" __declspec(dllexport) const PLUGININFOEX* MirandaPluginInfoEx(DWORD)
{
- OutputDebugString(_T("HistoryStats: MirandaPluginInfoEx() was called.\n"));
+ OutputDebugString(L"HistoryStats: MirandaPluginInfoEx() was called.\n");
// MEMO: (don't) fail, if version is below minimum
return &g_pluginInfoEx;
@@ -431,8 +431,8 @@ extern "C" __declspec(dllexport) int Load() {
MessageBox(
0,
- _T("Failed to register a required window class. Can't continue loading plugin."),
- _T("HistoryStats - Error"),
+ L"Failed to register a required window class. Can't continue loading plugin.",
+ L"HistoryStats - Error",
MB_OK | MB_ICONERROR);
return 1;
@@ -443,11 +443,11 @@ extern "C" __declspec(dllexport) int Load() {
MessageBox(
0,
- _T("This version of HistoryStats isn't compatible with your Miranda NG ")
- _T("version. Possibly, your Miranda NG is outdated or you are trying to ")
- _T("use the Unicode version with a non-Unicode Miranda NG.\r\n\r\n")
- _T("Please go to the plugin's homepage and check the requirements."),
- _T("HistoryStats - Error"),
+ L"This version of HistoryStats isn't compatible with your Miranda NG "
+ L"version. Possibly, your Miranda NG is outdated or you are trying to "
+ L"use the Unicode version with a non-Unicode Miranda NG.\r\n\r\n"
+ L"Please go to the plugin's homepage and check the requirements.",
+ L"HistoryStats - Error",
MB_OK | MB_ICONERROR);
return 1;
|