mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 22:52:25 +01:00
label[]: Fix cut-off translated text
This commit is contained in:
parent
ea9b241c13
commit
2c9edefde3
@ -1403,7 +1403,8 @@ void GUIFormSpecMenu::parseLabel(parserData* data, const std::string &element)
|
||||
std::vector<std::string> lines = split(text, '\n');
|
||||
|
||||
for (unsigned int i = 0; i != lines.size(); i++) {
|
||||
std::wstring wlabel = utf8_to_wide(unescape_string(lines[i]));
|
||||
std::wstring wlabel = unescape_translate(unescape_string(
|
||||
utf8_to_wide(lines[i])));
|
||||
|
||||
core::rect<s32> rect;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user