From 2c9edefde3d941b1efa5c93a087814d6bc3509e6 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Sat, 7 Sep 2019 11:15:12 +0200 Subject: [PATCH] label[]: Fix cut-off translated text --- src/gui/guiFormSpecMenu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp index c0fa2470b..e02abf018 100644 --- a/src/gui/guiFormSpecMenu.cpp +++ b/src/gui/guiFormSpecMenu.cpp @@ -1403,7 +1403,8 @@ void GUIFormSpecMenu::parseLabel(parserData* data, const std::string &element) std::vector 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 rect;