Improve a translation string

fixes #11442
This commit is contained in:
sfan5 2022-05-25 18:27:34 +02:00
parent 25ba9d848d
commit 0c6a029413

@ -252,13 +252,11 @@ bool GUIModalMenu::preprocessEvent(const SEvent &event)
return retval; return retval;
m_jni_field_name = field_name; 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())); std::string label = wide_to_utf8(getLabelByID(hovered->getID()));
if (label.empty()) if (label.empty())
label = "text"; label = "text";
message += strgettext(label) + ":"; /*~ Imperative, as in "Type in text" */
std::string message = fmtgettext("Enter %s:");
// single line text input // single line text input
int type = 2; int type = 2;