summaryrefslogtreecommitdiff
path: root/plugins/MimCmd/src/MimCmd.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-22 16:10:40 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-22 16:10:40 +0300
commit6ccfdcb25f2bb3c7a4e39a055bb392c0d4bfa905 (patch)
treeb53333d819f9afe5fd44dd874cfc0f51189122f8 /plugins/MimCmd/src/MimCmd.cpp
parent295ca5e99da922699f1bae398f0411f0c99df5f6 (diff)
m_langpack.h unbound from hLangpack
Diffstat (limited to 'plugins/MimCmd/src/MimCmd.cpp')
-rw-r--r--plugins/MimCmd/src/MimCmd.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/MimCmd/src/MimCmd.cpp b/plugins/MimCmd/src/MimCmd.cpp
index 39a3dcbe39..b5d6bf3f72 100644
--- a/plugins/MimCmd/src/MimCmd.cpp
+++ b/plugins/MimCmd/src/MimCmd.cpp
@@ -43,17 +43,17 @@ void PrintUsage()
wchar_t name[128];
GetProgramName(name, _countof(name));
- wprintf(TranslateT("%s usage:\n"), name);
- wprintf(TranslateT("%s <command> [<param> [<param> [...]]].\n"), name);
- wprintf(TranslateT("This will tell Miranda to run the specified command. The commands can have zero, one or more parameters. Use '%s help' to get a list of possible commands.\n"), name);
- wprintf(TranslateT("No command can have more than %d parameters.\n"), MAX_ARGUMENTS - 1);
+ wprintf(TranslateW_LP(L"%s usage:\n"), name);
+ wprintf(TranslateW_LP(L"%s <command> [<param> [<param> [...]]].\n"), name);
+ wprintf(TranslateW_LP(L"This will tell Miranda to run the specified command. The commands can have zero, one or more parameters. Use '%s help' to get a list of possible commands.\n"), name);
+ wprintf(TranslateW_LP(L"No command can have more than %d parameters.\n"), MAX_ARGUMENTS - 1);
}
void ShowVersion()
{
wchar_t name[128];
GetProgramName(name, _countof(name));
- wprintf(TranslateT("%s version %s"), name, __VERSION_STRING_DOTS);
+ wprintf(TranslateW_LP(L"%s version %s"), name, __VERSION_STRING_DOTS);
}
int wmain(int argc, wchar_t *argv[])
@@ -104,7 +104,7 @@ int wmain(int argc, wchar_t *argv[])
wprintf(L"%s\n", reply->message);
}
else {
- wprintf(TranslateT("Unknown command '%s'.\n"), argv[1]);
+ wprintf(TranslateW_LP(L"Unknown command '%s'.\n"), argv[1]);
error = 0;
}