Write to log the diagnostic about unsuccessful reading language file

This commit is contained in:
Stas Degteff 2007-02-04 18:41:45 +00:00
parent 08e75a4a4d
commit a17d4d06da

View File

@ -703,6 +703,8 @@ void LoadLanguage(const char* file)
// Assign weekday/month names
AssignDateNames();
}
else
LOG.printf("Can't load language file \"%s\", OS reports: %s!", file, strerror(errno));
}