Fixes in translations. Added note about compiling. See details.

Fixed weapon type restriction menu not translating the first time.
Fixed zmarket weapon type selection menu title not translated.
Fixed too short title string space in zmarket loadout, ztele force, zspawn force and hit group menus.
Fixed "empty" phrase not translated.
Fixed on/off translation string space too short in hit group menu.
This commit is contained in:
richard
2009-08-23 17:03:14 +02:00
parent a5e3944234
commit f804a7d4e2
6 changed files with 39 additions and 6 deletions

View File

@ -209,6 +209,9 @@ WeaponsMenuTypeWeapons(client)
decl String:typename[WEAPONS_MAX_LENGTH];
RestrictWeaponTypeGetName(g_iWeaponsCurType[client], typename, sizeof(typename));
// Set translation language.
SetGlobalTransTarget(client);
decl String:title[MENU_LINE_TITLE_LENGTH];
decl String:restrictall[MENU_LINE_REG_LENGTH];
decl String:unrestrictall[MENU_LINE_REG_LENGTH];

View File

@ -431,7 +431,7 @@ bool:ZMarketMenuLoadout(client)
decl String:nvgsbool[8];
ConfigBoolToSetting(bool:nvgsweapon[0], nvgsbool, sizeof(nvgsbool), true, client);
decl String:title[MENU_LINE_TITLE_LENGTH];
decl String:title[MENU_LINE_HUGE_LENGTH];
decl String:primary[MENU_LINE_REG_LENGTH];
decl String:secondary[MENU_LINE_REG_LENGTH];
decl String:melee[MENU_LINE_REG_LENGTH];
@ -510,6 +510,7 @@ ZMarketMenuTypes(client)
new Handle:menu_zmarket_types = CreateMenu(ZMarketMenuTypesHandle);
// Set translation target as client.
SetGlobalTransTarget(client);
decl String:title[MENU_LINE_TITLE_LENGTH];
Format(title, sizeof(title), "%t\n ", "Weapons menu zmarket types title");