Clarified invalid nickname message (fixes #2157)
Apparently nicks require at least 1 alphanumeric character, meaning the previous message was rather confusing, since the apparently valid nickname of "-_-" did not work.
This commit is contained in:
parent
67a43390f8
commit
a9b234d7e4
1 changed files with 1 additions and 1 deletions
|
@ -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 "
|
||||
|
|
Loading…
Add table
Reference in a new issue