summaryrefslogtreecommitdiff
path: root/src/lang
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-04-22 08:17:36 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-04-24 08:02:54 +0200
commite1cebe0ea0719ad408a0a7494efe1d8581b702ce (patch)
treea9891283253ab252620e621145e5de94c4a29bc0 /src/lang
parent2e0f3799a809086054f6d5ac4120283b5bb6fa3b (diff)
downloadopenttd-e1cebe0ea0719ad408a0a7494efe1d8581b702ce.tar.xz
Add: [Network] Validate the client name server side, so no clients with invalid names can actually join
Diffstat (limited to 'src/lang')
-rw-r--r--src/lang/english.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lang/english.txt b/src/lang/english.txt
index 7ba1768e2..ff12f122a 100644
--- a/src/lang/english.txt
+++ b/src/lang/english.txt
@@ -2188,6 +2188,7 @@ STR_NETWORK_ERROR_TIMEOUT_PASSWORD :{WHITE}You took
STR_NETWORK_ERROR_TIMEOUT_COMPUTER :{WHITE}Your computer is too slow to keep up with the server
STR_NETWORK_ERROR_TIMEOUT_MAP :{WHITE}Your computer took too long to download the map
STR_NETWORK_ERROR_TIMEOUT_JOIN :{WHITE}Your computer took too long to join the server
+STR_NETWORK_ERROR_INVALID_CLIENT_NAME :{WHITE}Your player name is not valid
############ Leave those lines in this order!!
STR_NETWORK_ERROR_CLIENT_GENERAL :general error
@@ -2210,6 +2211,7 @@ STR_NETWORK_ERROR_CLIENT_TIMEOUT_PASSWORD :received no pas
STR_NETWORK_ERROR_CLIENT_TIMEOUT_COMPUTER :general timeout
STR_NETWORK_ERROR_CLIENT_TIMEOUT_MAP :downloading map took too long
STR_NETWORK_ERROR_CLIENT_TIMEOUT_JOIN :processing map took too long
+STR_NETWORK_ERROR_CLIENT_INVALID_CLIENT_NAME :invalid client name
############ End of leave-in-this-order
STR_NETWORK_ERROR_CLIENT_GUI_LOST_CONNECTION_CAPTION :{WHITE}Possible connection loss