mirror of
https://github.com/glest/glest-source.git
synced 2025-08-14 04:13:58 +02:00
- do not display missing lang string errors on console unless in verbose mode
This commit is contained in:
@@ -402,7 +402,7 @@ string Lang::get(const string &s, string uselanguage, bool fallbackToDefault) {
|
||||
if(strings.getpath() != "") {
|
||||
if(fallbackToDefault == false || SystemFlags::VERBOSE_MODE_ENABLED) {
|
||||
if(GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false) {
|
||||
SystemFlags::OutputDebug(SystemFlags::debugError,"In [%s::%s Line: %d] Error [%s] uselanguage [%s] text [%s]\n",__FILE__,__FUNCTION__,__LINE__,ex.what(),uselanguage.c_str(),s.c_str());
|
||||
if(SystemFlags::VERBOSE_MODE_ENABLED) SystemFlags::OutputDebug(SystemFlags::debugError,"In [%s::%s Line: %d] Error [%s] uselanguage [%s] text [%s]\n",__FILE__,__FUNCTION__,__LINE__,ex.what(),uselanguage.c_str(),s.c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user