Skip to content

Commit

Permalink
Clarified invalid nickname message (fixes #2157)
Browse files Browse the repository at this point in the history
Apparently nicks require at least 1 alphanumeric character, meaning the previous message
was rather confusing, since the apparently valid nickname of "-_-" did not work.
  • Loading branch information
Vultraz committed Nov 3, 2017
1 parent 67a4339 commit a9b234d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game_initialization/multiplayer.cpp
Expand Up @@ -262,7 +262,7 @@ static wesnothd_connection_ptr open_connection(CVideo& video, const std::string&
error_message = vgettext("The nickname ‘$nick’ is already taken.", i18n_symbols);
} else if((*error)["error_code"] == MP_INVALID_CHARS_IN_NAME_ERROR) {
error_message = vgettext("The nickname ‘$nick’ contains invalid "
"characters. Only alpha-numeric characters, underscores and "
"characters. Only alpha-numeric characters (one at minimum), underscores and "
"hyphens are allowed.", i18n_symbols);
} else if((*error)["error_code"] == MP_NAME_TOO_LONG_ERROR) {
error_message = vgettext("The nickname ‘$nick’ is too long. Nicks must "
Expand Down

0 comments on commit a9b234d

Please sign in to comment.