}
if (current_playername.length() > PLAYERNAME_SIZE-1) {
- error_message = wgettext("Player name to long.");
+ error_message = wgettext("Player name too long.");
playername = current_playername.substr(0,PLAYERNAME_SIZE-1);
g_settings->set("name", playername);
continue;
if (playername_length == PLAYERNAME_SIZE) {
actionstream<<"Server: Player with name exceeding max length "
<<"tried to connect from "<<addr_s<<std::endl;
- DenyAccess(peer_id, L"Name to long");
+ DenyAccess(peer_id, L"Name too long");
return;
}