Write to log the diagnostic about unsuccessful reading language file
This commit is contained in:
parent
08e75a4a4d
commit
a17d4d06da
@ -703,6 +703,8 @@ void LoadLanguage(const char* file)
|
|||||||
// Assign weekday/month names
|
// Assign weekday/month names
|
||||||
AssignDateNames();
|
AssignDateNames();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
LOG.printf("Can't load language file \"%s\", OS reports: %s!", file, strerror(errno));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user