1
0
KF2-Dev-Scripts/KFGame/Classes/KFGFxWidget_ButtonPrompt.uc

41 lines
1.3 KiB
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
//=============================================================================
// KFGFxWidget_ButtonPrompt
//=============================================================================
//
//=============================================================================
// Killing Floor 2
// Copyright (C) 2015 Tripwire Interactive LLC
// - Zane Gholson 11/17/2014
//=============================================================================
class KFGFxWidget_ButtonPrompt extends KFGFxObject_Menu;
var localized string CancelString;
var localized string ConfirmString;
function InitializeMenu( KFGFxMoviePlayer_Manager InManager )
{
super.InitializeMenu(InManager);
LocalizeWidget();
}
function LocalizeWidget()
{
local GFxObject LocalizedObject;
LocalizedObject = CreateObject("Object");
LocalizedObject.SetString("cancel", CancelString);
LocalizedObject.SetString("confirm", ConfirmString);
LocalizedObject.SetString("reset",Localize("KFGFxOptionsMenu_Graphics","DefaultString","KFGame"));
LocalizedObject.SetString("party", Localize("KFGFxWidget_BaseParty", "SquadString", "KFGame"));
LocalizedObject.SetString("config", Localize("KFGFxPerksContainer_SkillsSummary", "ConfigureString", "KFGame"));
SetObject("localizedText", LocalizedObject);
}
DefaultProperties
{
}