Move missing translations warnings to verbosestream (#8156)

They should not spam the console and logs.
This commit is contained in:
Nathanaël Courant 2019-02-02 12:00:06 +01:00 committed by SmallJoker
parent d521e61ba7
commit 91e5a33cfa

@ -41,7 +41,7 @@ const std::wstring &Translations::getTranslation(
try { try {
return m_translations.at(key); return m_translations.at(key);
} catch (const std::out_of_range &) { } 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(s) << "\" in textdomain \""
<< wide_to_utf8(textdomain) << "\"" << std::endl; << wide_to_utf8(textdomain) << "\"" << std::endl;
// Silence that warning in the future // Silence that warning in the future