diff options
author | sfan5 <sfan5@live.de> | 2022-05-25 18:27:34 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-05-29 14:00:19 +0200 |
commit | 0c6a02941320cb089a5965857866ff064ba986b6 (patch) | |
tree | 9104309312ee0c13eebe742a4f278764b79e3976 /src/gui/modalMenu.cpp | |
parent | 25ba9d848d8199fd37ea29fe80704116ac9107c1 (diff) | |
download | minetest-0c6a02941320cb089a5965857866ff064ba986b6.tar.gz minetest-0c6a02941320cb089a5965857866ff064ba986b6.tar.bz2 minetest-0c6a02941320cb089a5965857866ff064ba986b6.zip |
Improve a translation string
fixes #11442
Diffstat (limited to 'src/gui/modalMenu.cpp')
-rw-r--r-- | src/gui/modalMenu.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/modalMenu.cpp b/src/gui/modalMenu.cpp index d27f63d94..b05bed490 100644 --- a/src/gui/modalMenu.cpp +++ b/src/gui/modalMenu.cpp @@ -252,13 +252,11 @@ bool GUIModalMenu::preprocessEvent(const SEvent &event) return retval; m_jni_field_name = field_name; - /*~ Imperative, as in "Enter/type in text". - Don't forget the space. */ - std::string message = gettext("Enter "); std::string label = wide_to_utf8(getLabelByID(hovered->getID())); if (label.empty()) label = "text"; - message += strgettext(label) + ":"; + /*~ Imperative, as in "Type in text" */ + std::string message = fmtgettext("Enter %s:"); // single line text input int type = 2; |