// September 2015 // Levee Patroller / Dijk Patrouille // This source file is (c) by Deltares. This source file is open source but only available to select users. Do not redistribute without written permission of Stichting Deltares, Delft, The Netherlands. // This header has been automatically generated. //============================================================================= // // ------------------------------------------------------------ // © 2006, Geodelft // // Date Id Modification // 2006-10-07 The Created this header // 2006-10-08 The Implemented Dutch translations //============================================================================= class Tab_PlayerSettings extends GUITabPanel; var bool bChanged; var GeoPlayerController GeoPC; var localized string NL_PlayerNameEditCaption, EN_PlayerNameEditCaption, NL_PlayerNameEditHint, EN_PlayerNameEditHint, NL_FOVEditCaption, EN_FOVEditCaption, NL_FOVEditHint, EN_FOVEditHint; //============================================================================= // Date Id Modification // 2006-10-07 The Created this header //============================================================================= function UpdateLanguage() { if (GeoPC.Dutch) { moEditBox(Controls[0]).MyLabel.Caption = NL_PlayerNameEditCaption; moEditBox(Controls[0]).MyEditBox.SetHint(NL_PlayerNameEditHint); moNumericEdit(Controls[1]).MyLabel.Caption = NL_FOVEditCaption; moNumericEdit(Controls[1]).MyNumericEdit.SetHint(NL_FOVEditHint); } else { moEditBox(Controls[0]).MyLabel.Caption = EN_PlayerNameEditCaption; moEditBox(Controls[0]).MyEditBox.SetHint(EN_PlayerNameEditHint); moNumericEdit(Controls[1]).MyLabel.Caption = EN_FOVEditCaption; moNumericEdit(Controls[1]).MyNumericEdit.SetHint(EN_FOVEditHint); } } //============================================================================= // Date Id Modification // 2006-10-07 The Created this header //============================================================================= function InitComponent(GUIController MyController, GUIComponent MyOwner) { local int i; Super.Initcomponent(MyController, MyOwner); GeoPC = GeoPlayerController(PlayerOwner()); UpdateLanguage(); for (i=0;i