Restructured every menu to properly translate into the client's language.

This commit is contained in:
Greyscale
2009-07-27 17:02:49 -07:00
parent 70e5c93a2e
commit 5ee1395fb1
9 changed files with 112 additions and 82 deletions

View File

@ -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);