From c6eddb0bae32c43ffff46e9c1e3f293d0fd9ed73 Mon Sep 17 00:00:00 2001 From: Pevernow <3450354617@qq.com> Date: Mon, 9 Aug 2021 00:59:07 +0800 Subject: Gettext support on Android (#11435) Co-authored-by: sfan5 Co-authored-by: =?UTF-8?q?Olivier=20Samyn=20=F0=9F=8E=BB?= --- src/gui/modalMenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/modalMenu.cpp b/src/gui/modalMenu.cpp index 0d3fb55f0..1016de389 100644 --- a/src/gui/modalMenu.cpp +++ b/src/gui/modalMenu.cpp @@ -268,7 +268,7 @@ bool GUIModalMenu::preprocessEvent(const SEvent &event) std::string label = wide_to_utf8(getLabelByID(hovered->getID())); if (label.empty()) label = "text"; - message += gettext(label) + ":"; + message += strgettext(label) + ":"; // single line text input int type = 2; -- cgit v1.2.3