mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
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>
This commit is contained in:
parent
4a3728d828
commit
c6eddb0bae
6 changed files with 23 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue