mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 19:29:09 +00:00
Make Localization log message more useful.
This commit is contained in:
@ -958,7 +958,7 @@ void pfLocalizationDataMgr::IConvertElement(LocElementInfo *elementInfo, const s
|
|||||||
numArgs = argCount;
|
numArgs = argCount;
|
||||||
else if (argCount != numArgs)
|
else if (argCount != numArgs)
|
||||||
{
|
{
|
||||||
std::wstring errorStr = L"WARNING: Argument number mismatch in element " + curPath;
|
std::wstring errorStr = L"WARNING: Argument number mismatch in element " + curPath + L" for " + curTranslation->first;
|
||||||
char* cErrorStr = hsWStringToString(errorStr.c_str());
|
char* cErrorStr = hsWStringToString(errorStr.c_str());
|
||||||
fLog->AddLine(cErrorStr);
|
fLog->AddLine(cErrorStr);
|
||||||
delete [] cErrorStr;
|
delete [] cErrorStr;
|
||||||
|
Reference in New Issue
Block a user