Skip to content

Commit

Permalink
Registration confirmation dialog: Fix grammar
Browse files Browse the repository at this point in the history
Fixes commit 7927529.
  • Loading branch information
srifqi authored and paramat committed Jan 13, 2018
1 parent 8349a3d commit 670f8af
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/gui/guiConfirmRegistration.cpp
Expand Up @@ -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());
Expand Down

2 comments on commit 670f8af

@rubenwardy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just press enter. An empty password is a password

@paramat
Copy link
Contributor

@paramat paramat commented on 670f8af Jan 23, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.