more logging for failure to set textdomain, let's hope it helps with #11848

This commit is contained in:
András Salamon 2005-06-22 12:11:26 +00:00
parent 9437eff3d8
commit 620d3f4462

View file

@ -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);
}
}