mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-31 01:15:48 -04:00
only show localization warnings in debug mode
This commit is contained in:
@@ -100,11 +100,12 @@ jstring JNICALL ScriptMethodsStringNamespace::getString(JNIEnv *env, jobject sel
|
||||
JavaString result(localized);
|
||||
return result.getReturnValue();
|
||||
}
|
||||
#ifdef DEBUG
|
||||
else
|
||||
{
|
||||
WARNING(true, ("JavaLibrary::log failed to localize the stringId(%s, %s)", table.c_str(), asciiId.c_str()));
|
||||
}
|
||||
|
||||
#endif
|
||||
return 0;
|
||||
|
||||
} // JavaLibrary::getString
|
||||
|
||||
Reference in New Issue
Block a user