diff --git a/Localization/INT/ServerExt.int b/Localization/INT/ServerExt.int index 33c50f5..ad95a1d 100644 Binary files a/Localization/INT/ServerExt.int and b/Localization/INT/ServerExt.int differ diff --git a/ServerExt/Classes/UI_MidGameMenu.uc b/ServerExt/Classes/UI_MidGameMenu.uc index 7b52305..ce40e44 100644 --- a/ServerExt/Classes/UI_MidGameMenu.uc +++ b/ServerExt/Classes/UI_MidGameMenu.uc @@ -9,6 +9,23 @@ var transient KFGUI_Button PrevButton; var transient int NumButtons,NumButtonRows; var transient bool bInitSpectate,bOldSpectate,bInitSkipTrader; +var localized string MapVoteButtonText; +var localized string MapVoteButtonToolTip; +var localized string SettingsButtonText; +var localized string SettingsButtonToolTip; +var localized string SkipTraderButtonText; +var localized string SkipTraderButtonToolTip; +var localized string SpectateButtonText; +var localized string SpectateButtonToolTip; +var localized string CloseButtonText; +var localized string CloseButtonToolTip; +var localized string DisconnectButtonText; +var localized string DisconnectButtonToolTip; +var localized string ExitButtonText; +var localized string ExitButtonToolTip; +var localized string JoinButtonText; +var localized string JoinButtonToolTip; + function InitMenu() { local int i; @@ -17,14 +34,13 @@ function InitMenu() PageSwitcher = KFGUI_SwitchMenuBar(FindComponentID('Pager')); Super(KFGUI_Page).InitMenu(); - // TODO: localize - AddMenuButton('Mapvote',"Map Vote","Show mapvote menu"); - AddMenuButton('Settings',"Settings","Enter the game settings"); - SkipTraderButton = AddMenuButton('SkipTrader',"Skip Trader","start voting for skip trader"); - SpectateButton = AddMenuButton('Spectate',"",""); - AddMenuButton('Close',"Close","Close this menu"); - AddMenuButton('Disconnect',"Disconnect","Disconnect from this server"); - AddMenuButton('Exit',"Exit","Exit this game"); + AddMenuButton('Mapvote',MapVoteButtonText,MapVoteButtonToolTip); + AddMenuButton('Settings',SettingsButtonText,SettingsButtonToolTip); + SkipTraderButton = AddMenuButton('SkipTrader',SkipTraderButtonText,SkipTraderButtonToolTip); + SpectateButton = AddMenuButton('Spectate',SpectateButtonText,SpectateButtonToolTip); + AddMenuButton('Close',CloseButtonText,CloseButtonToolTip); + AddMenuButton('Disconnect',DisconnectButtonText,DisconnectButtonToolTip); + AddMenuButton('Exit',ExitButtonText,ExitButtonToolTip); for( i=0; i