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);
|
2023-05-11 15:55:04 +00:00
|
|
|
LocalizedObject.SetString("search", Localize("KFGFxMenu_Inventory", "SearchText", "KFGame"));
|
|
|
|
LocalizedObject.SetString("clearsearch", Localize("KFGFxMenu_Inventory", "ClearSearchText", "KFGame"));
|
2020-12-13 15:01:13 +00:00
|
|
|
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
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|