mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Add clientside translations.
This commit is contained in:
@@ -547,7 +547,7 @@ bool GUIEngine::downloadFile(const std::string &url, const std::string &target)
|
||||
/******************************************************************************/
|
||||
void GUIEngine::setTopleftText(const std::string &text)
|
||||
{
|
||||
m_toplefttext = utf8_to_wide(text);
|
||||
m_toplefttext = translate_string(utf8_to_wide(text));
|
||||
|
||||
updateTopLeftTextSize();
|
||||
}
|
||||
|
Reference in New Issue
Block a user