From: Nathanaƫl Courant Date: Sat, 2 Feb 2019 11:00:06 +0000 (+0100) Subject: Move missing translations warnings to verbosestream (#8156) X-Git-Tag: 5.0.0~58 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=91e5a33cfa44dcd1ff504b2353e89ccd557f89f2;p=oweals%2Fminetest.git Move missing translations warnings to verbosestream (#8156) They should not spam the console and logs. --- diff --git a/src/translation.cpp b/src/translation.cpp index 60531be67..649c3b282 100644 --- a/src/translation.cpp +++ b/src/translation.cpp @@ -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