Restructured every menu to properly translate into the client's language.
This commit is contained in:
@ -815,8 +815,7 @@ InfectMenuClients(client)
|
||||
// Set client as translation target.
|
||||
SetGlobalTransTarget(client);
|
||||
|
||||
SetMenuTitle(menu_infect_clients, "%t\n ", "Infect menu clients title");
|
||||
|
||||
decl String:title[MENU_LINE_TITLE_LENGTH];
|
||||
decl String:clientoption[MENU_LINE_REG_LENGTH];
|
||||
decl String:clientuserid[8];
|
||||
|
||||
@ -853,6 +852,9 @@ InfectMenuClients(client)
|
||||
AddMenuItem(menu_infect_clients, clientuserid, clientoption);
|
||||
}
|
||||
|
||||
Format(title, sizeof(title), "%t\n ", "Infect menu clients title");
|
||||
SetMenuTitle(menu_infect_clients, title);
|
||||
|
||||
// Create a "Back" button to the main admin menu.
|
||||
SetMenuExitBackButton(menu_infect_clients, true);
|
||||
|
||||
|
Reference in New Issue
Block a user