Permalink
Browse files

Registration confirmation dialog: Fix grammar

Fixes commit 7927529.
  • Loading branch information...
srifqi authored and paramat committed Jan 13, 2018
1 parent 8349a3d commit 670f8afd1896c2a88d6aec926a82d561a8478412
Showing with 5 additions and 4 deletions.
  1. +5 −4 src/gui/guiConfirmRegistration.cpp
@@ -88,12 +88,13 @@ void GUIConfirmRegistration::regenerateGui(v2u32 screensize)
core::rect<s32> rect(0, 0, 540, 90);
rect += topleft_client + v2s32(30, ypos);
static const std::string info_text_template = strgettext(
"You are about to join this server (%1$s) with the "
"name \"%2$s\" the first time. If you proceed, a "
"You are about to join the server at %1$s with the "
"name \"%2$s\" for the first time. If you proceed, a "
"new account using your credentials will be created "
"on this server.\n"
"Please type your password once again to confirm "
"account creation or cancel to abort.");
"Please retype your password and click Register and "
"Join to confirm account creation or click Cancel to "
"abort.");
char info_text_buf[1024];
snprintf(info_text_buf, sizeof(info_text_buf), info_text_template.c_str(),
address.c_str(), m_playername.c_str());

4 comments on commit 670f8af

@jastevenson303

This comment has been minimized.

Copy link
Contributor

jastevenson303 replied Jan 22, 2018

It's asking me to retype my password when I never typed one in the first place.

@rubenwardy

This comment has been minimized.

Copy link
Member

rubenwardy replied Jan 22, 2018

Just press enter. An empty password is a password

@jastevenson303

This comment has been minimized.

Copy link
Contributor

jastevenson303 replied Jan 23, 2018

I did. And then I came to talk about it. And now?

@paramat

This comment has been minimized.

Copy link
Member

paramat replied Jan 23, 2018

Ok, if the first pssword entered was blank, it will ask you to re-enter what you provided the first time, i don't think we need to alter the text for this situation as a blank password is a user error anyway. "Please retype your password" fairly obviously means enter what you entered before.

Please sign in to comment.