]> git.lizzy.rs Git - minetest.git/commitdiff
Move missing translations warnings to verbosestream (#8156)
authorNathanaƫl Courant <Ekdohibs@users.noreply.github.com>
Sat, 2 Feb 2019 11:00:06 +0000 (12:00 +0100)
committerSmallJoker <SmallJoker@users.noreply.github.com>
Sat, 2 Feb 2019 11:00:06 +0000 (12:00 +0100)
They should not spam the console and logs.

src/translation.cpp

index 60531be67ee3c14a0265c17b32c15fc828dfac3c..649c3b282086c7e7fe3671f500a0db7ff530461b 100644 (file)
@@ -41,7 +41,7 @@ const std::wstring &Translations::getTranslation(
        try {
                return m_translations.at(key);
        } catch (const std::out_of_range &) {
-               warningstream << "Translations: can't find translation for string \""
+               verbosestream << "Translations: can't find translation for string \""
                              << wide_to_utf8(s) << "\" in textdomain \""
                              << wide_to_utf8(textdomain) << "\"" << std::endl;
                // Silence that warning in the future