more logging for failure to set textdomain, let's hope it helps with #11848
This commit is contained in:
parent
9437eff3d8
commit
620d3f4462
1 changed files with 3 additions and 1 deletions
|
@ -255,7 +255,9 @@ void init_textdomains(const config& cfg)
|
|||
|
||||
//if location is empty, this causes a crash on Windows, so we
|
||||
//disallow adding empty domains
|
||||
if(location.empty() == false) {
|
||||
if(location.empty()) {
|
||||
std::cerr << "no location found for '" << path << "', not adding textdomain\n";
|
||||
} else {
|
||||
t_string::add_textdomain(name, location);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue