41 lines
1.3 KiB
Ucode
41 lines
1.3 KiB
Ucode
//=============================================================================
|
|
// 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
|
|
{
|
|
|
|
} |