aboutsummaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorPevernow <3450354617@qq.com>2021-08-09 00:59:07 +0800
committerGitHub <noreply@github.com>2021-08-08 18:59:07 +0200
commitc6eddb0bae32c43ffff46e9c1e3f293d0fd9ed73 (patch)
treec8cfd861330d8be7970ed67ae4e70d92b703e3f5 /src/gui
parent4a3728d828fa8896b49e80fdc68f5d7647bf45b7 (diff)
downloadminetest-c6eddb0bae32c43ffff46e9c1e3f293d0fd9ed73.tar.gz
minetest-c6eddb0bae32c43ffff46e9c1e3f293d0fd9ed73.tar.bz2
minetest-c6eddb0bae32c43ffff46e9c1e3f293d0fd9ed73.zip
Gettext support on Android (#11435)
Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: =?UTF-8?q?Olivier=20Samyn=20=F0=9F=8E=BB?= <code@oleastre.be>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/modalMenu.cpp2
1 files changed, 1 insertions, 1 deletions
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;