1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Reduce translations log spam

This commit is contained in:
sfan5 2024-03-04 23:59:29 +01:00
parent bf52d1e624
commit d88f0866b7
2 changed files with 9 additions and 18 deletions

View file

@ -32,8 +32,8 @@ class Translations
public:
void loadTranslation(const std::string &data);
void clear();
const std::wstring &getTranslation(
const std::wstring &textdomain, const std::wstring &s);
const std::wstring &getTranslation(const std::wstring &textdomain,
const std::wstring &s) const;
private:
std::unordered_map<std::wstring, std::wstring> m_translations;