Skip to content

Commit

Permalink
Demote "skipping textdomain" error to warning level
Browse files Browse the repository at this point in the history
The "no location found for '<path>', skipping textdomain" error message
is usually inoffensive and merely means that there is a textdomain
declaration pointing to a directory that doesn't exist, so it shouldn't
really be an error. Since we don't have anything midway between warning
and info messages, this should remain in place as a warning for WML
coders typoing textdomain declarations or forgetting to include their
add-on's translations with it.
  • Loading branch information
irydacea committed Jun 29, 2014
1 parent 9e2563a commit 37a8e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/language.cpp
Expand Up @@ -305,7 +305,7 @@ void init_textdomains(const config& cfg)
if (location.empty()) {
//if location is empty, this causes a crash on Windows, so we
//disallow adding empty domains
ERR_G << "no location found for '" << path << "', skipping textdomain" << std::endl;
WRN_G << "no location found for '" << path << "', skipping textdomain" << std::endl;
} else {
t_string::add_textdomain(name, location);
}
Expand Down

0 comments on commit 37a8e25

Please sign in to comment.