mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-20 04:59:11 +00:00
(svn r17877) -Fix (r1322/r1174/r464): do not hardcode 'Ban' for GUI purposes, i.e. make it translatable
This commit is contained in:
@@ -1817,7 +1817,7 @@ struct NetworkClientListPopupWindow : Window {
|
||||
GetString(this->action[i], STR_NETWORK_CLIENTLIST_KICK, lastof(this->action[i]));
|
||||
this->proc[i++] = &ClientList_Kick;
|
||||
|
||||
seprintf(this->action[i], lastof(this->action[i]), "Ban"); // XXX GetString?
|
||||
GetString(this->action[i], STR_NETWORK_CLIENTLIST_BAN, lastof(this->action[i]));
|
||||
this->proc[i++] = &ClientList_Ban;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user