mirror of
https://github.com/minetest/minetest.git
synced 2024-12-02 12:33:45 +01:00
Move missing translations warnings to verbosestream (#8156)
They should not spam the console and logs.
This commit is contained in:
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
|
||||||
|
Loading…
Reference in New Issue
Block a user