Registration confirmation dialog: Fix grammar

Fixes commit 792752997c5ae2aaa4f54d0a2e2af2a96d7d1e9f.
This commit is contained in:
Muhammad Rifqi Priyo Susanto 2018-01-13 22:32:05 +07:00 committed by paramat
parent 8349a3db10
commit 670f8afd18

@ -88,12 +88,13 @@ void GUIConfirmRegistration::regenerateGui(v2u32 screensize)
core::rect<s32> rect(0, 0, 540, 90); core::rect<s32> rect(0, 0, 540, 90);
rect += topleft_client + v2s32(30, ypos); rect += topleft_client + v2s32(30, ypos);
static const std::string info_text_template = strgettext( static const std::string info_text_template = strgettext(
"You are about to join this server (%1$s) with the " "You are about to join the server at %1$s with the "
"name \"%2$s\" the first time. If you proceed, a " "name \"%2$s\" for the first time. If you proceed, a "
"new account using your credentials will be created " "new account using your credentials will be created "
"on this server.\n" "on this server.\n"
"Please type your password once again to confirm " "Please retype your password and click Register and "
"account creation or cancel to abort."); "Join to confirm account creation or click Cancel to "
"abort.");
char info_text_buf[1024]; char info_text_buf[1024];
snprintf(info_text_buf, sizeof(info_text_buf), info_text_template.c_str(), snprintf(info_text_buf, sizeof(info_text_buf), info_text_template.c_str(),
address.c_str(), m_playername.c_str()); address.c_str(), m_playername.c_str());